Bug 1698645
| Summary: | A DVD install fails to set syspurpose if network is disconnected + cannot set without enabling net after | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Craig Donnelly <cdonnell> | ||||||
| Component: | subscription-manager | Assignee: | candlepin-bugs | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | ||||||
| Severity: | high | Docs Contact: | Sharon Moroney <smoroney> | ||||||
| Priority: | high | ||||||||
| Version: | 8.0 | CC: | amike, csnyder, jsefler, lmanasko, mmcgrath, redakkan, smoroney | ||||||
| Target Milestone: | rc | Keywords: | Triaged | ||||||
| Target Release: | 8.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
.System Purpose settings are now saved when installing RHEL 8 without a network connection
Previously, System Purpose settings were not saved when installing RHEL 8 using the graphical installation without a network connection. As a consequence, the chosen System Purpose settings could not be used by the system during registration. With this update, the System Purpose settings can be used by the system during registration.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-11-05 22:15:36 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: | |||||||||
| Attachments: |
|
||||||||
Reproducing the failure on RHEL 8.0 machines :
=============================================
on subscription-manager-1.23.8-14.el8
1: installed RHEL80 ISO
2: Set system purpose values
3. Make sure network is disabled on the system.
4.finish installation and check the system purpose values
PFA : 8.0 failure.png to see the failure
Verifying on RHEL8.1 Beta 1.1 compose :
======================================
with the subscription-manager build
# subscription-manager version
server type: This system is currently not registered.
subscription management server: Unknown
subscription management rules: Unknown
subscription-manager: 1.25.11-1.el8
1. Installed a RHEL8.1 Beta 1.1 ISO
2. Set system purpose values on the system ( systempurpose.png)
3. Login to system
4. check the system purpose values set and try to configure new values from the network disconnected system
root@localhost ~]# syspurpose show
{
"role": "Red Hat Enterprise Linux Server",
"service_level_agreement": "Standard",
"usage": "Production"
}
[root@localhost ~]# syspurpose set-role "foo"
role set to "foo".
[root@localhost ~]# syspurpose show
{
"role": "foo",
"service_level_agreement": "Standard",
"usage": "Production"
}
[root@localhost ~]# syspurpose set-sla "Premium";syspurpose set-usage "QA"; syspurpose show
service_level_agreement set to "Premium".
usage set to "QA".
{
"role": "foo",
"service_level_agreement": "Premium",
"usage": "QA"
}
Observed that system purpose values set during the installation was intact on the network disconnected system , also successfully modified that system purpose values on the same machine
Based on the above observations , moving the bug to verified.
Additional info:
=============
Demonstrating that the system is a disconnected system
[root@localhost ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username: QualityAssurance
Password:
Network error, unable to connect to server. Please see /var/log/rhsm/rhsm.log for more information.
[root@localhost ~]# syspurpose show
{
"role": "foo",
"service_level_agreement": "Premium",
"usage": "QA"
}
Created attachment 1593154 [details]
8.0failure
Created attachment 1593155 [details]
systempurpose.png
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-2019:3561 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Description of problem: When installing RHEL 8 from binary DVD and setting system purpose attributes, if the system has no network connection, the attributes will not be set after install completes. The subscription-manager and syspurpose commands also do /not/ work to set them after install if no network is present. Version-Release number of selected component (if applicable): subscription-manager-1.23.8-35.el8 python3-syspurpose-1.23.8-35.el8 How reproducible: 100% Steps to Reproduce: 1. Start installer with Binary DVD/ISO - Ensure network is disconnected 2. Set syspurpose inside anaconda 3. Install and verify syspurpose using 'cat' after done i.e.: cat /etc/rhsm/syspurpose/syspurpose.json Actual results: {} (empty set) Expected results: Attributes chosen in anaconda or via syspurpose commands. Additional info: If trying to run after install, you will receiver a traceback from subscription-manager commands (for syspurpose), and a name or service not known from syspurpose commands.