Bug 2208535
| Summary: | Prevent regenerating metadata for repositories that use complete mirroring | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jeremy Lenz <jlenz> |
| Component: | Repositories | Assignee: | Samir Jha <sajha> |
| Status: | VERIFIED --- | QA Contact: | Partha Aji <paji> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.12.0 | CC: | iballou, paji, pcreech, rlavi, sajha |
| Target Milestone: | 6.14.0 | Keywords: | 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: | 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: | |||
|
Description
Jeremy Lenz
2023-05-19 12:56:55 UTC
Created redmine issue https://projects.theforeman.org/issues/36453 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36453 has been resolved. Created and synced 2 repositories one with complete_mirror policy and the other with content_only policy
# hammer repository republish --id=1 --force=1
Could not republish the repository.:
Metadata republishing is not allowed on repositories with the 'Complete Mirroring' mirroring policy.
# hammer repository republish --id=3 --force=1
[....................................................................................................................................................................] [100%]
Verified that the force parameter has been deprecated
# hammer repository republish --id=1 --help
Usage:
hammer repository republish [OPTIONS]
Options:
....
--force BOOLEAN Force metadata regeneration to proceed. (Deprecated)
....
Added both repositories to a content view and published.
Followed that with
hammer content-view version republish --id=6
[....................................................................................................................................................................] [100%]
Noticed the content only repo's metadata got re-generated and the complete mirror one was ignored.
|