Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2184123 - Upgrading from Satellite 6.12 to 6.13 should enable the satellite-maintenance:el8 module automatically when the Satellite 6.13 Maintenance repository is present
Summary: Upgrading from Satellite 6.12 to 6.13 should enable the satellite-maintenance...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.12.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: 6.12.4
Assignee: Eric Helms
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-03 17:26 UTC by Odilon Sousa
Modified: 2023-04-27 14:30 UTC (History)
21 users (show)

Fixed In Version: rubygem-foreman_maintain-1.1.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2143451
Environment:
Last Closed: 2023-04-27 14:30:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-13945 0 None None None 2023-04-03 17:26:54 UTC
Red Hat Issue Tracker SAT-16930 0 None None None 2023-04-03 17:27:39 UTC
Red Hat Knowledge Base (Solution) 6986053 0 None None None 2023-04-03 17:26:54 UTC
Red Hat Product Errata RHBA-2023:2052 0 None None None 2023-04-27 14:30:49 UTC

Comment 4 Lukas Pramuk 2023-04-13 10:22:17 UTC
FailedQA.

@Satellite 6.12.4 Snap1
rubygem-foreman_maintain-1.1.13-1.el8sat.noarch

# yum repolist
Updating Subscription Management repositories.
repo id                                                                                       repo name
Maintenance_6_13_RHEL8                                                                        Satellite Maintenance 6.13 RHEL8
Satellite_6_12_RHEL8                                                                          Satellite 6.12 RHEL8
rhel-8-for-x86_64-appstream-rpms                                                              Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                                                                 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

# satellite-maintain self-upgrade --maintenance-repo-label Maintenance_6_13_RHEL8
Traceback (most recent call last):
	12: from /usr/bin/satellite-maintain:23:in `<main>'
	11: from /usr/bin/satellite-maintain:23:in `load'
	10: from /usr/share/gems/gems/foreman_maintain-1.1.13/bin/foreman-maintain:15:in `<top (required)>'
	 9: from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
	 8: from /usr/share/gems/gems/foreman_maintain-1.1.13/lib/foreman_maintain/cli.rb:46:in `run'
	 7: from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
	 6: from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute'
	 5: from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
	 4: from /usr/share/gems/gems/foreman_maintain-1.1.13/lib/foreman_maintain/cli/self_upgrade_command.rb:8:in `execute'
	 3: from /usr/share/gems/gems/foreman_maintain-1.1.13/lib/foreman_maintain/cli/self_upgrade_command.rb:12:in `upgrade_scenario'
	 2: from /usr/share/gems/gems/foreman_maintain-1.1.13/lib/foreman_maintain/cli/self_upgrade_command.rb:12:in `new'
	 1: from /usr/share/gems/gems/foreman_maintain-1.1.13/lib/foreman_maintain/scenario.rb:86:in `initialize'
/usr/share/gems/gems/foreman_maintain-1.1.13/definitions/scenarios/self_upgrade.rb:61:in `compose': wrong number of arguments (given 0, expected 1) (ArgumentError)

Comment 6 Lukas Pramuk 2023-04-20 12:58:05 UTC
VERIFIED.

@Satellite 6.12.4 Snap2
rubygem-foreman_maintain-1.1.14-1.el8sat.noarch

# yum repolist
Updating Subscription Management repositories.
repo id                                                  repo name
Maintenance_6_13_RHEL8                                   Satellite Maintenance 6.13 RHEL8
Satellite_6_12_RHEL8                                     Satellite 6.12 RHEL8
rhel-8-for-x86_64-appstream-rpms                         Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                            Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)

# satellite-maintain self-upgrade --maintenance-repo-label Maintenance_6_13_RHEL8

Enabling satellite-maintenance:el8 module
Running Enables the specified version's maintenance repository and,
updates the satellite-maintain packages
================================================================================
Update package(s) satellite-maintain, rubygem-foreman_maintain:       [OK]
--------------------------------------------------------------------------------

# rpm -q rubygem-foreman_maintain
rubygem-foreman_maintain-1.2.8-1.el8sat.noarch

>>> self-upgrade successfully enabled 6.13 satellite-maintenance:el8 module and upgraded rubygem-foreman_maintain to its 6.13 version

Comment 15 errata-xmlrpc 2023-04-27 14:30:36 UTC
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 (Satellite 6.12.4 Async 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/RHBA-2023:2052


Note You need to log in before you can comment on or make changes to this bug.