Bug #29718
closedforeman silently fails to dowload rhel rpms but marks the sync job sucessful and publishes (pulp) the fake rpms anyway
Description
foreman silenlty fails to dowload rhel rpms and arks the sync job sucessful
foreman job (also dynflow) marks the job as complete. also it reports that it synced x number of packages. in reality the rpm is not downloaded but the symlink for that package is created from pulp.
This results in packages not being availabe to hosts.
foreman 1.24.2
katello 3.14
The only way for me to fix this has been to resync from scratch the whole REPO with a complete sync. There should be a way for me to get a notification or for pulp to verify what it is publishing. A failed symmlink is a huge issue.
Files
Updated by Besmir Zanaj about 5 years ago
- Subject changed from foreman silenlty fails to dowload rhel rpms but marks the sync job sucessful and publishes (pulp) the fake rpms anyway to foreman silently fails to dowload rhel rpms but marks the sync job sucessful and publishes (pulp) the fake rpms anyway
Updated by James Jeffers about 5 years ago
Which download policy were you using when you encountered this problem?
Can you post a screenshot of your repository details? Thanks!
Updated by James Jeffers about 5 years ago
- Status changed from New to Need more information
Updated by Besmir Zanaj about 5 years ago
- File screencapture-foreman-deluxe-products-2-repositories-26-2020-05-13-14_55_25.png added
Updated by Besmir Zanaj about 5 years ago
- File deleted (
screencapture-foreman-deluxe-products-2-repositories-26-2020-05-13-14_55_25.png)
Updated by Besmir Zanaj about 5 years ago
- File screencapture-foreman--products-2-repositories-26-2020-05-13-14_55_25.png screencapture-foreman--products-2-repositories-26-2020-05-13-14_55_25.png added
readded screenshot
Updated by Ian Ballou about 5 years ago
Hi Besmir,
If you change your download policy to Immediate and then sync, the symlink issue should be fixed. Please let us know if this doesn't work.
Updated by Justin Sherrill almost 5 years ago
Besmir were you able to try to change your download policy to immediate?
Updated by Besmir Zanaj almost 5 years ago
Hi, did not try yet. enabling now
does it mean that on the next sync it will not allow to create these empty symlinks?
Updated by Besmir Zanaj almost 5 years ago
- File Selection_112.png Selection_112.png added
it got saved but threw an error anyways
Updated by Jonathon Turel almost 5 years ago
Can you go to Monitor -> Tasks and try to Resume the failed repository update task? Feel free to share more screenshots if it continues to fail.
Updated by Samir Jha almost 5 years ago
- Status changed from Need more information to Rejected
- Triaged changed from No to Yes
Hey Besmir,
Feel free to reopen the issue if you are still seeing this. Closing for triaging purposes.