Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Current logic during synchronization may not be taking into consideration sub directories in href and concatenating the pkg name to repo dir
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Add a custom repository pointing to latest katello build (see comments for a repository you can use)
2. Synchronize it
3. Promote it to the next available environment
4. Synchronize it again and attempt to promote it to the same environment as before
Actual results:
The promotion step fails and pulp.log complains with OSError: [Errno 2] No such file or directory (see attached log).
Grinder shows:
2012-03-06 14:24:15,941 27176:139969332995840: grinder.RepoFetch:INFO: RepoFetch:225 Removing orphan package: /var/lib/pulp//repos/Prague/Library/custom/Automated/katello/packages/createrepo/0.9.8/4.el6/noarch/createrepo-0.9.8-4.el6.noarch.rpm
2012-03-06 14:24:33,846 27176:139969332995840: grinder.RepoFetch:INFO: RepoFetch:225 Removing orphan package: /var/lib/pulp//repos/Prague/Library/custom/Automated/katello/packages/tzdata/2011l/4.el6/noarch/tzdata-java-2011l-4.el6.noarch.rpm
2012-03-06 14:24:33,857 27176:139969332995840: grinder.RepoFetch:INFO: RepoFetch:225 Removing orphan package: /var/lib/pulp//repos/Prague/Library/custom/Automated/katello/packages/tzdata/2011l/4.el6/noarch/tzdata-2011l-4.el6.noarch.rpm
Expected results:
Additional info:
I tried repeatedly to reproduce this issue but could not. Closing and if it shows up again we can re-open. Og: if you have a solid way to reproduce it I'm happy to work on it again