Bug 2174912
Summary: | [RFE] add ability to skip syncing .treeinfo files | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ian Ballou <iballou> |
Component: | Repositories | Assignee: | Ian Ballou <iballou> |
Status: | CLOSED ERRATA | QA Contact: | Vladimír Sedmík <vsedmik> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.13.0 | CC: | dalley, jentrena, pcreech, rlavi, vsedmik |
Target Milestone: | 6.14.0 | Keywords: | FutureFeature, 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: | 2023-11-08 14:18:58 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: | 2135215 | ||
Bug Blocks: |
Description
Ian Ballou
2023-03-02 15:50:54 UTC
The error from Pulp looks like: raise TypeError(_(\"Treeinfo file should have INI format\"))\n", We can probably catch that error and tell users to skip the .treeinfo syncing. Upstream bug assigned to iballou Upstream bug assigned to iballou Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36411 has been resolved. Verified in 6.14.0 snap 4.0. Steps to verify: 0) Enable some RH Kickstart repo (BaseOS in case of RHEL8 and higher). 1) Set 'Ignore treeinfo' of that repository to 'Yes', try to sync it (try optimized, complete). 2) Retry with different mirroring (all but 'Complete Mirroring') and download policies. 3) Set 'Ignore treeinfo' of that repository to 'No' and resync. Expected / observed results: 1) Sync succeeded and the RPM content was available at the Published_at url, however the treeinfo file was missing, as well as the KS related content. 2) Sync succeeded for all allowed combinations and proper validation error was shown when attempted to set 'Treeinfo ignore' && 'Complete mirroring' 3) Sync succeeded and the treeinfo file and the KS related content was synchronized. 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818 |