Bug 1501442
| Summary: | Repository is missing images/redhat.exec for s390x platform | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
| Component: | Repositories | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.11 | CC: | bbuckingham, bkearney, fmiranda, jjarvis, mhrivnak, mmccune, ttereshc |
| Target Milestone: | Unspecified | Keywords: | FieldEngineering, Reopened, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-07 20:51:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1593657 | ||
| Bug Blocks: | |||
|
Description
Lukas Zapletal
2017-10-12 15:08:52 UTC
It looks like when the repo is set to OnDemand, it does not download those files. If you set it to Immediate, it will download. The thing is that in s390x world you need to copy those files to CMS, therefore you cannot do that with OnDemand policy. If this is confirmed, I will turn this into Satellite bug to change default policy to Immediate for kickstart repositories, or doco only bug. After further investigation I need to change this a little bit. The error is little bit different. We are missing redhat.exec file, the others are present. generic.prm genericdvd.prm initrd.addrsize initrd.img install.img kernel.img upgrade.img This file is required in order to boot into the installer: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-installing-zvm-s390 The file is not present in the .treeinfo, this is the reason perhaps why Pulp does not download it. Please verify this is not a bug in Pulp and we can move this to RCM team to add this. Confirmed. I don't see a Pulp bug here. There have been times when one or more required files are not referenced by the treeinfo file. For those cases, we worked out with RCM that those extra files would be indexed in a "PULP_DISTRIBUTION.XML" file. Docs here: https://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html#distribution And as for downloading the required files, there is another option in case you'd like to only download the distribution files, but not necessarily all of the RPMs. Pulp has the "download" action you can call on a repo, which will download all files for all units in that repo. http://docs.pulpproject.org/dev-guide/integration/rest-api/repo/sync.html#download-a-repository Katello could create a transient repo, copy the distribution unit to it, call the "download" task on that repo, and then delete the transient repo. That would ensure the distribution unit gets fully downloaded. Thanks Michael, I copied your confirmation to the RCM ticket. Googlers: We made Red Hat RCM team aware of this issue and things needs to be changed on the content provider side (CDN) to ensure the missing file entry is present in an "index" file. I am closing this BZ now. Reopening the bug, RCM/DELIVERY say they won't update the PULP_DISTRIBUTION.XML file, if I understand correctly. We believe that this now fixed with the delivery of https://bugzilla.redhat.com/show_bug.cgi?id=1593657 in 7.6. I am closing this out as CURRENTRELEASE. If you are still seeing an issue, please feel free to open a new BZ. |