Bug 1496590 - Upgrades: Need a way to skip the repository settings or use the BETA repos during 6.3 beta
Summary: Upgrades: Need a way to skip the repository settings or use the BETA repos du...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Maintain
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks: 1496794
TreeView+ depends on / blocked
 
Reported: 2017-09-27 21:18 UTC by Mike McCune
Modified: 2019-09-26 15:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-19 17:22:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21346 0 Normal Closed Upgrades: Need a way to skip the repository settings or use the BETA repos during 6.3 beta 2020-04-03 10:35:12 UTC
Red Hat Product Errata RHBA-2018:0330 0 normal SHIPPED_LIVE Satellite Maintenance bug fix update 2018-02-19 22:22:51 UTC

Description Mike McCune 2017-09-27 21:18:38 UTC
The repository setting for upgrades to 6.3 will try to set:

rhel-7-server-satellite-6.3-rpms

This repository will not exist until 6.3 GA and we will not be able to use foreman-maintain to upgrade 6.3 test systems to 6.3 Beta.

We either need to:

1) be able to skip this step entirely

2) for beta we need to have branding in place to use the beta repo IDs.

I'd prefer option 2 as it will be easier for our customers.

Comment 6 Mike McCune 2017-10-09 12:51:06 UTC
For 6.3 beta we will need the set the repo-ids to:

 rhel-server-7-satellite-6-beta-rpms

so it will work out of the box during the beta period.

Once beta is complete we can go back to the standard 6.3 repos

Comment 7 Satellite Program 2017-10-16 16:08:55 UTC
Upstream bug assigned to mmccune

Comment 8 Satellite Program 2017-10-17 20:08:55 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21346 has been resolved.

Comment 9 Nikhil Kathole 2017-12-19 14:15:05 UTC
VERIFIED

# rpm -q rubygem-foreman_maintain
rubygem-foreman_maintain-0.1.1-1.el7sat.noarch

For 6.3, foreman-maintain sets beta repositories

D, [2017-12-19 06:19:49-0500 #10340] DEBUG -- : Running command subscription-manager repos --enable=rhel-7-server-rpms --enable=rhel-server-rhscl-7
-rpms --enable=rhel-server-7-satellite-6-beta-rpms with stdin nil
D, [2017-12-19 06:20:04-0500 #10340] DEBUG -- : output of the command:
 Repository 'rhel-7-server-rpms' is enabled for this system.
Repository 'rhel-server-7-satellite-6-beta-rpms' is enabled for this system.
Repository 'rhel-server-rhscl-7-rpms' is enabled for this system.

and to skip repository setup
# foreman-maintain upgrade run --target-version 6.3 --whitelist='repositories-setup'

Comment 12 errata-xmlrpc 2018-02-19 17:22:26 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, 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-2018:0330


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