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 2127072 - [RHEL-8] pyanaconda.modules.common.errors.installation.SubscriptionTokenTransferError: RHSM entitlement keys (from /etc/pki/entitlement) are missing.
Summary: [RHEL-8] pyanaconda.modules.common.errors.installation.SubscriptionTokenTrans...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.6
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kolman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-15 09:32 UTC by Jan Stodola
Modified: 2023-05-16 08:51 UTC (History)
1 user (show)

Fixed In Version: anaconda-33.16.8.7-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2057472
Environment:
Last Closed: 2023-05-16 08:15:29 UTC
Type: ---
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-134033 0 None None None 2022-09-15 09:34:22 UTC
Red Hat Issue Tracker RTT-5016 0 None None None 2022-11-15 09:06:43 UTC
Red Hat Issue Tracker RTT-5017 0 None None None 2022-11-15 09:06:49 UTC
Red Hat Product Errata RHBA-2023:2748 0 None None None 2023-05-16 08:15:40 UTC

Description Jan Stodola 2022-09-15 09:32:40 UTC
Description of problem:
The installer fails with the following traceback when the user registers with an incorrectly configured account (for example no subscriptions attached), registers during the installation and uses a different than CDN installation source (for example http):

anaconda 33.16.7.10 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 497, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 477, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 447, in _call_method
    **kwargs,
  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/common/task/__init__.py", line 46, in sync_run_task
    task_proxy.Finish()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 521, in run_task
    sync_run_task(self._task_proxy)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 490, in start
    self.run_task()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start
    item.start()
  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 406, in run_installation
    queue.start()
  File "/usr/lib64/python3.6/threading.py", line 885, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
pyanaconda.modules.common.errors.installation.SubscriptionTokenTransferError: RHSM entitlement keys (from /etc/pki/entitlement) are missing.

The traceback appears at the end of the installation, when the installed system is being configured.


Version-Release number of selected component:
anaconda-33.16.7.10

Steps to reproduce:
1. register with an incorrectly configured account (for example no subscriptions attached)
2. continue with the installation using a non-CDN installaiton source (like http)

Comment 4 Martin Kolman 2023-01-27 14:49:21 UTC
PR: https://github.com/rhinstaller/anaconda/pull/4531

Comment 6 Jan Stodola 2023-02-07 13:09:41 UTC
Tested with anaconda-33.16.8.7-1.el8, it was possible to finish the installation when an account with no subscriptions was used to register the system. The installer displayed an appropriate message.
Tested by manual graphical and kickstart text-mode installations.

Marking as Verified:Tested

Comment 9 Jan Stodola 2023-02-14 12:45:46 UTC
Checked that anaconda-33.16.8.7-1.el8 is in nightly compose RHEL-8.8.0-20230209.2

Moving to VERIFIED

Comment 11 errata-xmlrpc 2023-05-16 08:15:29 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-2023:2748


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