[Pulp-list] Pulp 3.3 sync issue from artifactory

Bin Li (BLOOMBERG/ 120 PARK) bli111 at bloomberg.net
Mon Aug 31 19:42:41 UTC 2020


Yes, we have 'mirror' = True. The remote repository has not changed. This should not delete all packages from repo after sync. Version 2 repo in pulp shows all packages are deleted while remote repo has not changed from version 1.

From: dkliban at redhat.com At: 08/31/20 15:35:06To:  Bin Li (BLOOMBERG/ 120 PARK ) 
Cc:  pulp-list at redhat.com
Subject: Re: [Pulp-list] Pulp 3.3 sync issue from artifactory

I suspect that you have 'mirror' = True in your 'sync' request[0]. With this option set to True, the sync creates an exact copy of the remote repository. If no packages are found, a new version is created without any packages. When a subsequent sync occurs, no changes are detected, so a new version is not created. 

[0] https://pulp-rpm.readthedocs.io/en/latest/restapi.html#operation/repositories_rpm_rpm_sync
On Mon, Aug 31, 2020 at 3:12 PM Bin Li (BLOOMBERG/ 120 PARK) <bli111 at bloomberg.net> wrote:

We created a rpm repos on artifactory and sync the repo to pulp 3.3. All packages are synced to pulp as version 1.  If we run sync again, pulp could not find any packages and remove all previous packages in version 2. Subsequent sync also could not find any packages and the repo  version stay as version 2. So far we only experience the issue when syncing from artifactory. Please advise.

Thanks_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200831/66220144/attachment.htm>


More information about the Pulp-list mailing list