Bug 1583209
Summary: | [RFE] [Sat6] Text-Only errata are not included in hammer export causing errata count mismatch between connected and disconnected Satellite | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Jansky <jjansky> | ||||||
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.2.14 | CC: | ahumbe, apatel, bkearney, dkliban, jalviso, jsherril, kgaikwad, ltran, rabajaj, rchan, rjerrido, rochacbruno, sokeeffe, thadzhie, ttereshc, vdeshpan | ||||||
Target Milestone: | 6.10.0 | Keywords: | FutureFeature, PrioBumpField, PrioBumpGSS, PrioBumpPM | ||||||
Target Release: | Unused | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2021-11-16 14:08:26 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: | |||||||||
Attachments: |
|
Description
Jan Jansky
2018-05-28 13:13:35 UTC
Missing erratas: RHBA-2015:2444 RHBA-2016:0627 RHBA-2017:1258 RHBA-2017:1536 RHBA-2017:2283 All just text based without any package Changing the component to Pulp after confirmation with Justin. A similar issue is seen for "Red Hat Enterprise Linux 7 Server - Extras RPMs x86_64" repository. On a master satellite when we sync this repo from CDN package count is shown as 730 and when using ISS we sync it on slave satellite the package count is 334 only. On the master satellite server, in the satellite webui the package count is shown as 730 whereas in the repodata - updateinfo.xml (in /var/lib/pulp/published/yum/https/repos/RedHat/Library/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/ path) file for Extras repo we see the errata count around 330 only. So it seems that after reposync when pulp publishes the repo in Library environment the text only errata are getting excluded. Due to this when we export the repository using hammer command less number of errata are present in it. The issue needs to be fixed in the pulp repo publish task which reduces the number of errata in the repodata. Additional details about text-only errata in Extras repository: In the extras repo we are publishing text only errata's - when we release new container image - when we announce packages getting deprecated in that repo. These errata does not have any RPM packages associated with it. The Pulp upstream bug status is at NEW. Updating the external tracker on this bug. The Pulp upstream bug priority is at Low. Updating the external tracker on this bug. Unlinking the redmine issue because it's pulp2 one which will be closed as WONTFIX. No new upstream issue is associated, Pulp 3 supports text-only errata natively. I fixed the QA contact and pinged @mpusater regarding Aha card. Seems like they would prefer to have one, so I'll let them chime in. The functionality of import/export is completely different now due to changes in 6.10. Steps to retest: 1. Get 2 sat 6.10 up. One for export and one for disconnected import. #On machine to Export 2. Import manifest 3. Set RH download policy to "immediate" by going to Administer -> Setting -> Content Tab -> "Default Red Hat Repository download policy" -> Set policy to "immediate" 4. Enable the RHEL7 and RHEL7 extra repos 5. Sync the repos 6. Create a cv, add all the repos enabled in step 4 and publish cv 7. Run the export command: hammer content-export complete version --id <cv-id> --organization-id <org-id> 8. Verify that the export files are created in "/var/lib/pulp/exports/<organization name>/<cv name><export time stamp> #Import Disconnected Satellite Portion 9. On the satellite to import the cv, import manifest that would have all the repos created in step 4 10. Set "Default Red Hat Repository download policy" to "immediate" just like step 3. 11. Set "Disconnected Mode" to yes by going to Administer -> Setting -> Content Tab -> "Disconnected Mode" -> Set to "Yes" 11. SCP the files from the exported directory in step 8 to /var/lib/pulp/imports in the satellite in which you want to import (scp -r <source> <destination>) 12. Verify that the files are present in /var/lib/pulp/imports/<dir with imports> 13. Provide write permission to the dir imported: chown -R pulp:pulp /var/lib/pulp/imports/<dir with import> 14. Run the import command: hammer conent-import version --organization-id 1 --path /var/lib/pulp/imports/<dir with imports> 15. Verify that on the UI that the cv is imported with correct number of repos and erratas Expected: 15) The number of repos and erratas should match those from the exported machine. Actual: 15) The number of repos and erratas do match those from the exported machine. Verified on 6.10_09 Created attachment 1802439 [details]
errata count on connected satellite
Created attachment 1802440 [details]
errata count on disconnected satellite
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 (Moderate: Satellite 6.10 Release), 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/RHSA-2021:4702 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |