https://pulp.plan.io/https://pulp.plan.io/favicon.ico2016-05-18T18:31:05ZPulpDocker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=115652016-05-18T18:31:05Zrbarlow
<ul><li><strong>Platform Release</strong> changed from <i>2.8.2</i> to <i>2.8.4</i></li></ul><p>My wild guess about this issue is that there were two concurrent syncs that both tried to create and save this same unit. One won, and this one lost. In this situation, the "loser" process should not consider the NotUniqueError to be a problem, but should catch it and simply add the unit to the repository. I think if we rework it to handle that Exception, everything will be peachy.</p>
<p>The uniqueness constraint can happen like that in a real-world scenario, so we need to address my wild guess even if it's not the true cause of jluza's traceback.</p> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=116202016-05-20T09:44:45Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Tags</strong> <i>Easy Fix</i> added</li></ul><p>This will be easily fixed with try/except block <a href="https://github.com/pulp/pulp_docker/blob/master/plugins/pulp_docker/plugins/importers/v1_sync.py#L150" class="external">https://github.com/pulp/pulp_docker/blob/master/plugins/pulp_docker/plugins/importers/v1_sync.py#L150</a></p> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=116372016-05-20T15:22:50Zmhrivnakmhrivnak@redhat.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Triaged</strong> changed from <i>No</i> to <i>Yes</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=117732016-05-26T19:09:54Zsemyerssean.myers@redhat.com
<ul><li><strong>Platform Release</strong> changed from <i>2.8.4</i> to <i>2.8.5</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=121002016-06-07T13:07:16Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>NEW</i> to <i>ASSIGNED</i></li><li><strong>Assignee</strong> set to <i>ipanova@redhat.com</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=121242016-06-07T15:42:41Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>ASSIGNED</i> to <i>POST</i></li></ul><p><a href="https://github.com/pulp/pulp_docker/pull/156" class="external">https://github.com/pulp/pulp_docker/pull/156</a></p> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=122192016-06-09T14:19:03Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Sprint/Milestone</strong> set to <i>21</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=124342016-06-17T16:46:38Zsemyerssean.myers@redhat.com
<ul><li><strong>Platform Release</strong> changed from <i>2.8.5</i> to <i>2.8.6</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=126452016-06-27T16:59:35Zsemyerssean.myers@redhat.com
<ul><li><strong>Platform Release</strong> deleted (<del><i>2.8.6</i></del>)</li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=126952016-06-29T16:35:29Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Status</strong> changed from <i>POST</i> to <i>MODIFIED</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Add check for duplicate unit key during v1 sync. closes #1925 https://pulp.plan.io/issues/1925" href="https://pulp.plan.io/projects/pulp_docker/repository/pulp_docker/revisions/139659c7cb06d33d91a5aededbf3946b47384c7f">139659c7cb06d33d91a5aededbf3946b47384c7f</a>.</p> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=126962016-06-29T16:40:06Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Platform Release</strong> set to <i>2.9.1</i></li><li><strong>Target Release - Docker</strong> set to <i>2.0.3</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=126972016-06-29T16:41:45Zipanova@redhat.comipanova@redhat.com
<ul><li><strong>Platform Release</strong> changed from <i>2.9.1</i> to <i>2.8.6</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=129742016-07-12T20:01:41Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>MODIFIED</i> to <i>5</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=130342016-07-18T19:21:18Zsemyerssean.myers@redhat.com
<ul><li><strong>Platform Release</strong> changed from <i>2.8.6</i> to <i>2.8.7</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=130552016-07-19T18:55:15Zsemyerssean.myers@redhat.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-8 priority-6 priority-default closed" href="/issues/2083">Task #2083</a>: Issues common to 2.9.1 and 2.8 stream</i> added</li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=137652016-08-12T19:28:55Zpthomas@redhat.com
<ul><li><strong>Status</strong> changed from <i>5</i> to <i>6</i></li></ul><p>verified<br>
verified that concurrent v1 sync suceeds.<br>
[root@ibm-x3550m3-10 ~]# rpm -qa pulp-server<br>
pulp-server-2.8.7-0.3.beta.el7.noarch<br>
[root@ibm-x3550m3-10 ~]#</p>
<pre><code>[root@ibm-x3550m3-10 ~]# pulp-admin docker repo sync run --repo-id v1synctest
+----------------------------------------------------------------------+
Synchronizing Repository [v1synctest]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Retrieving v1 metadata
[|]
... completed
Copying units already in pulp
[-]
... completed
Downloading remote files
[==================================================] 100%
68 of 68 items
... completed
Saving v1 images and tags
[\]
... completed
Task Succeeded
Task Succeeded
</code></pre> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=139322016-08-19T13:57:13Zsemyerssean.myers@redhat.com
<ul><li><strong>Status</strong> changed from <i>6</i> to <i>CLOSED - CURRENTRELEASE</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=252842018-03-08T18:40:19Zbmbouterbmbouter@redhat.com
<ul><li><strong>Sprint</strong> set to <i>Sprint 3</i></li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=253012018-03-08T18:41:11Zbmbouterbmbouter@redhat.com
<ul><li><strong>Sprint/Milestone</strong> deleted (<del><i>21</i></del>)</li></ul> Docker Support - Issue #1925: v1 sync errorshttps://pulp.plan.io/issues/1925?journal_id=389112019-04-15T20:30:23Zbmbouterbmbouter@redhat.com
<ul><li><strong>Tags</strong> <i>Pulp 2</i> added</li></ul>