| Summary: | pulp-admin sync of cloned repo with mismatch checksum in metadata causes orphaned packages | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | user-experience | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | dgao |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | pthomas, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:15:24 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
dgao
2012-01-30 21:54:55 UTC
commit ad8f782834011921f25cbd71e8421a46e18a49fe build: 0.265 [root@katello-test ~]# rpm -q pulp pulp-0.0.266-1.el6.noarch [root@katello-test ~]# [root@katello-test ~]# pulp-admin repo create --id=foo --feed=http://qeblade20.rhq.lab.eng.bos.redhat.com/pub/updates/ Successfully created repository [ foo ] [root@katello-test ~]# pulp-admin repo sync --id=foo -FSync for repository foo started Sync: Finished 7/7 new items downloaded 0/7 existing items processed Item Details: RPMs: 7/7 [root@katello-test ~]# [root@katello-test ~]# pulp-admin -u admin -p admin repo clone --clone_id=bar --id=foo -F Repository [foo] is being cloned as [bar] Clone: Finished Item Details: RPMs: 7/7 [root@katello-test ~]# ls /var/lib/pulp/repos/bar/ animaniacs-0.1-1.noarch.rpm parent-1.0-1.noarch.rpm drpms patb-0.1-2.noarch.rpm emoticons-0.1-2.noarch.rpm repodata feedless-1.0-1.noarch.rpm warnerbros-0.1-1.noarch.rpm origin-1.0-1.noarch.rpm [root@katello-test ~]# pulp-admin -u admin -p admin repo sync --id=bar -F Sync for repository bar started Sync: Finished 0/7 new items downloaded 7/7 existing items processed Item Details: RPMs: 7/7 [root@katello-test ~]# ls /var/lib/pulp/repos/bar/ animaniacs-0.1-1.noarch.rpm parent-1.0-1.noarch.rpm drpms patb-0.1-2.noarch.rpm emoticons-0.1-2.noarch.rpm repodata feedless-1.0-1.noarch.rpm updateinfo.xml origin-1.0-1.noarch.rpm warnerbros-0.1-1.noarch.rpm [root@katello-test ~]# pulp-admin content list --orphaned No orphaned content on server [root@katello-test ~]# [root@katello-test ~]# pulp-admin content list --repoid=foo feedless-1.0-1.noarch.rpm,c1181097439ae4c69793c91febd8513475fb7ed6 warnerbros-0.1-1.noarch.rpm,1f8ef173032bafe5ded5f5997fcbb613523cbf19 animaniacs-0.1-1.noarch.rpm,dfd644f9c6ed30df24691b65db492bf28dbba9ba emoticons-0.1-2.noarch.rpm,663c89b0d29bfd5479d8736b716d50eed9495dbb origin-1.0-1.noarch.rpm,06a993d4d9550221c18d234ff395122fa4bcfb9e parent-1.0-1.noarch.rpm,31a0c8b8a50d5612be81b7246500c9cbd21a01b6 patb-0.1-2.noarch.rpm,017c12050a97cf6095892498750c2a39d2bf535e [root@katello-test ~]# pulp-admin content list --repoid=bar feedless-1.0-1.noarch.rpm,c1181097439ae4c69793c91febd8513475fb7ed6 warnerbros-0.1-1.noarch.rpm,1f8ef173032bafe5ded5f5997fcbb613523cbf19 animaniacs-0.1-1.noarch.rpm,dfd644f9c6ed30df24691b65db492bf28dbba9ba emoticons-0.1-2.noarch.rpm,663c89b0d29bfd5479d8736b716d50eed9495dbb origin-1.0-1.noarch.rpm,06a993d4d9550221c18d234ff395122fa4bcfb9e parent-1.0-1.noarch.rpm,31a0c8b8a50d5612be81b7246500c9cbd21a01b6 patb-0.1-2.noarch.rpm,017c12050a97cf6095892498750c2a39d2bf535e [root@katello-test ~]# Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |