RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2000650 - Anaconda doesn't inform when the rhsm kickstart command fails
Summary: Anaconda doesn't inform when the rhsm kickstart command fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Martin Kolman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1956679
TreeView+ depends on / blocked
 
Reported: 2021-09-02 15:48 UTC by Jan Stodola
Modified: 2022-11-08 09:37 UTC (History)
3 users (show)

Fixed In Version: anaconda-33.16.7.5-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2000652 (view as bug list)
Environment:
Last Closed: 2022-11-08 09:17:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-96016 0 None None None 2021-09-02 15:48:38 UTC
Red Hat Issue Tracker RTT-4498 0 None None None 2022-05-13 16:44:34 UTC
Red Hat Issue Tracker RTT-4499 0 None None None 2022-05-13 16:44:39 UTC
Red Hat Product Errata RHBA-2022:7462 0 None None None 2022-11-08 09:17:39 UTC

Description Jan Stodola 2021-09-02 15:48:14 UTC
Description of problem:
When running a kickstart installation and the installation source is set to Red Hat CDN using the rhsm kickstart command, anaconda doesn't inform the user when the registration fails (for example when an invalid activation key is provided):

...
Starting automated install....
Saving storage configuration...
Checking storage configuration...

================================================================================

================================================================================
Installation

1) [x] Language settings                 2) [x] Time settings
       (English (United States))                (America/New_York timezone)
3) [!] Installation source               4) [!] Software selection
       (Error setting up software               (Error checking software
       source)                                  selection)
5) [x] Installation Destination          6) [x] Kdump
       (Automatic partitioning                  (Kdump is enabled)
       selected)
7) [x] Network configuration             8) [ ] User creation
       (Wired (enp1s0) connected)               (No user will be created)

Please make a selection from the above ['b' to begin installation, 'q' to quit,
'r' to refresh]:


In case there is a dvd.iso attached to the system, anaconda automatically uses it for the installation instead.

Version-Release number of selected component (if applicable):
RHEL-8.4 GA
anaconda-33.16.4.15-1.el8

How reproducible:
Always

Steps to Reproduce:
1. run a kickstart installation containing the following line:
rhsm --organization=unknown_organization --activation-key=unknown_key

Actual results:
No error message describing why the installation fails.
Or, if there is a usable DVD/USB media in the system, anaconda automatically switches to that media.

Expected results:
The installation is interrupted if the rhsm kickstart command fails. The user can see an error message.

Comment 4 Jan Stodola 2021-09-02 15:54:07 UTC
RHEL-9 clone: bug 2000652

Comment 7 Martin Kolman 2022-06-08 16:59:44 UTC
PR: https://github.com/rhinstaller/anaconda/pull/4180

Comment 14 Petr Zatko 2022-06-13 09:25:55 UTC
Marking as Verified: Tested as the fix passes acceptance criteria
Follow-up bug reported as BZ2096199

Comment 17 Jan Stodola 2022-06-20 13:35:44 UTC
Checked that anaconda-33.16.7.5-1.el8 is in nightly compose RHEL-8.7.0-20220619.0

Moving to VERIFIED

Comment 19 errata-xmlrpc 2022-11-08 09:17:10 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 (anaconda bug fix and enhancement 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-2022:7462


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