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 1993944 - anaconda/dirinstall-text.basic gating test fails: Unable to init server: Could not connect: Connection refused
Summary: anaconda/dirinstall-text.basic gating test fails: Unable to init server: Coul...
Keywords:
Status: CLOSED DUPLICATE of bug 2002666
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
: 1995298 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-16 12:51 UTC by Petr Pisar
Modified: 2021-09-20 12:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-20 12:24:39 UTC
Type: Bug
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-93648 0 None None None 2021-08-16 12:53:46 UTC

Description Petr Pisar 2021-08-16 12:51:59 UTC
osci.brew-build.revdeps.integration/anaconda/dirinstall-text.basic on RHEL-8.5.0 fails like this:

Starting installer, one moment...
terminal size detection failed, using default width
anaconda 33.16.5.4-1.el8 for anaconda bluesky (pre-release) started.
11:51:45 Not asking for VNC because of an automated install
Starting automated install...Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

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

1) [x] Language settings                 2) [x] Time settings
       (English (United States))                (Europe/Prague timezone)
3) [x] Installation source               4) [x] Software selection
       (http://download.eng.rdu2.redhat         (Custom software selected)
       .com/rhel-8/nightly/RHEL-8/lates
       t-RHEL-8.5.0/compose/BaseOS/x86_
       64/os/)
5) [ ] User creation
       (No user will be created)

================================================================================
================================================================================
Progress


Running in cmdline mode, no interactive debugging allowed.
The exact error message is: 

The RHSM DBus API is not available..

The installer will now terminate.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  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 497, in _handle_method_error
    raise exception from None
dasbus.error.DBusError: umount of /run/user/0 failed (32)


I experienced it when running a gating test for libmodulemd-2.13.0-1.el8.x86_64.rpm. I am able to reproduce it the the original libmodulemd when running "1minutetip rhel8: from anaconda/tests dist-git directory:

TASK [Run dirinstall] *******************************************************************************************************************************************************************************************************************************************************************
fatal: [sut]: FAILED! => {"changed": true, "cmd": "timeout -k 10s 3600s anaconda --dirinstall /root/installdir --kickstart /root/ks.dirinstall.cfg --text --noninteractive 2>&1", "delta": "0:04:49.663305", "end": "2021-08-16 08:45:59.260373", "msg": "non-zero return code", "rc": 1, "start": "2021-08-16 08:41:09.597068", "stderr": "", "stderr_lines": [], "stdout": "Starting installer, one moment...\nterminal size detection failed, using default width\nanaconda 33.16.5.4-1.el8 for anaconda bluesky (pre-release) started.\n08:41:19 Not asking for VNC because of an automated install\nStarting automated install......Unable to init server: Could not connect: Connection refused\nUnable to init server: Could not connect: Connection refused\nUnable to init server: Could not connect: Connection refused\nUnable to init server: Could not connect: Connection refused\n\n================================================================================\n================================================================================\nInstallation\n\n1) [x] Language settings                 2) [x] Time settings\n       (English (United States))                (Europe/Prague timezone)\n3) [x] Installation source               4) [x] Software selection\n       (http://download.eng.rdu2.redhat         (Custom software selected)\n       .com/rhel-8/nightly/RHEL-8/RHEL-\n       8.5.0-20210812.n.0/compose/BaseO\n       S/x86_64/os/)\n5) [ ] User creation\n       (No user will be created)\n\n================================================================================\n================================================================================\nProgress\n\n\nRunning in cmdline mode, no interactive debugging allowed.\nThe exact error message is: \n\nThe RHSM DBus API is not available..\n\nThe installer will now terminate.\nError in atexit._run_exitfuncs:\nTraceback (most recent call last):\n  File \"/usr/lib/python3.6/site-packages/dasbus/client/handler.py\", line 477, in _get_method_reply\n    return self._handle_method_error(error)\n  File \"/usr/lib/python3.6/site-packages/dasbus/client/handler.py\", line 497, in _handle_method_error\n    raise exception from None\ndasbus.error.DBusError: umount of /run/user/0 failed (32)", "stdout_lines": ["Starting installer, one moment...", "terminal size detection failed, using default width", "anaconda 33.16.5.4-1.el8 for anaconda bluesky (pre-release) started.", "08:41:19 Not asking for VNC because of an automated install", "Starting automated install......Unable to init server: Could not connect: Connection refused", "Unable to init server: Could not connect: Connection refused", "Unable to init server: Could not connect: Connection refused", "Unable to init server: Could not connect: Connection refused", "", "================================================================================", "================================================================================", "Installation", "", "1) [x] Language settings                 2) [x] Time settings", "       (English (United States))                (Europe/Prague timezone)", "3) [x] Installation source               4) [x] Software selection", "       (http://download.eng.rdu2.redhat         (Custom software selected)", "       .com/rhel-8/nightly/RHEL-8/RHEL-", "       8.5.0-20210812.n.0/compose/BaseO", "       S/x86_64/os/)", "5) [ ] User creation", "       (No user will be created)", "", "================================================================================", "================================================================================", "Progress", "", "", "Running in cmdline mode, no interactive debugging allowed.", "The exact error message is: ", "", "The RHSM DBus API is not available..", "", "The installer will now terminate.", "Error in atexit._run_exitfuncs:", "Traceback (most recent call last):", "  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 497, in _handle_method_error", "    raise exception from None", "dasbus.error.DBusError: umount of /run/user/0 failed (32)"]}
...ignoring


Hence I conclude this a bug in the test or a different component. According to OSCI history, it passed on 20021-08-02.

Comment 2 Jan Stodola 2021-08-19 07:46:27 UTC
*** Bug 1995298 has been marked as a duplicate of this bug. ***

Comment 4 Jiri Konecny 2021-09-10 10:05:14 UTC
Hi,

The error message from logs is:

07:21:25,865 CRT exception: Traceback (most recent call last):

  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)

  File "/usr/lib64/python3.6/threading.py", line 867, in run
    self._target(*self._args, **self._kwargs)

  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 385, in run_installation
    queue.append(_prepare_configuration(payload, ksdata))

  File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 88, in _prepare_configuration
    subscription_dbus_tasks = subscription_proxy.InstallWithTasks()

  File "/usr/lib/python3.6/site-packages/dasbus/client/handler.py", line 447, in _call_method
    **kwargs,

  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 497, in _handle_method_error
    raise exception from None

dasbus.error.DBusError: The RHSM DBus API is not available.




And this is the same issue we are facing in bug 1872902 so closing this bug as duplicate.

*** This bug has been marked as a duplicate of bug 1872902 ***

Comment 5 Petr Pisar 2021-09-20 12:06:29 UTC
Since it was decided than Anaconda code won't change (bug #1872902), the anaconda/dirinstall-text.basic test need to be addapted.

Comment 7 Jan Stodola 2021-09-20 12:24:39 UTC
Actually, it turned out to be a SELinux issue and will be fixed in bug 2002666.
So I'm closing the bug as a duplicate of that bug.

*** This bug has been marked as a duplicate of bug 2002666 ***


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