Bug 2124584

Summary: satellite-maintain advanced procedure run repositories-setup fails with "can't modify frozen String: "6.12""
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Satellite MaintainAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: apatel, ehelms, kgaikwad
Target Milestone: UnspecifiedKeywords: Regression, Triaged
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: 2024-04-18 12:55:31 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:

Description Gaurav Talreja 2022-09-06 14:33:13 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.12.0 Snap 9.0

How reproducible:
Always

Steps to Reproduce:
1. Setup Satellite 6.12 and register to CDN
2. # satellite-maintain advanced procedure run repositories-setup --version 6.12
Running ForemanMaintain::Scenario
================================================================================
Setup repositories:
| Configuring repositories for 6.12                                   [FAIL]
can't modify frozen String: "6.12"
--------------------------------------------------------------------------------
Scenario [ForemanMaintain::Scenario] failed.
 
The following steps ended up in failing state:
 
  [repositories-setup]
 
Resolve the failed steps and rerun the command.
 
If the situation persists and, you are unclear what to do next,
contact Red Hat Technical Support.
 
In case the failures are false positives, use
--whitelist="repositories-setup"


Actual results:
can't modify frozen String: "6.12"

Expected results:
repositories-setup should disable and then enable repos required for 6.12 upgrade

Additional info: