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:
Created attachment 568347 [details] pulp.log
Created attachment 568348 [details] grinder.log
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