Hide Forgot
Description of problem: If a product repo URL is pointing to an empty directory (one without repodata), the sync hangs. With Sat 6.1 we had an immediate "Yum Metadata: A connection error occurred" which I would regard as the expected behaviour. Version-Release number of selected component (if applicable): katello 3.0.0. 3.el7sat foreman 1.11.0.9 1.el7sat
With Satellite 6.2 beta snap 8, I attempted the following: - create product - create repo, w/ url that points to the satellite's pub directory (e.g. http://mysatellite/pub), since it doesn't have repodata. - attempt to sync the repo With the above, the sync task immediately failed (State:stopped, Result:warning). Looking at the task via 'More Details' the following error was observed: "RPM1004: Error retrieving metadata: Not found" Based on the above, I am going to move this one to ON_QA for verification.
Tried syncing http://mysatellite/pub, faced the below message immediately upon clicking "Sync Incomplete". RPM1004: Error retrieving metadata: Not found VERIFIED with sat62-snap(GA)-12.1
~]# hammer -u admin -p changeme repository synchronize --id 60 --organization-id=1 [.........................................................................................................................................................................................................] [100%] RPM1004: Error retrieving metadata: Not found
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501