Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1518261

Summary: [ALT-7.5][KVM][x86_64][anaconda] GLib.Error: g-io-error-quark: Timeout was reached (24)
Product: Red Hat Enterprise Linux 7 Reporter: PaulB <pbunyan>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED EOL QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5-AltCC: jstancek, pbunyan, rvykydal
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-04 03:08:07 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:

Description PaulB 2017-11-28 14:05:37 UTC
Description of problem:
The following issue was seen while installing an ALT-7.5 KVM Guest:
 GLib.Error: g-io-error-quark: Timeout was reached (24)
 An unknown error has occurred
 anaconda 21.48.22.127-1 exception report

Version-Release number of selected component (if applicable):
 anaconda: 21.48.22.127-1 
 distro: RHEL-ALT-7.5-20171115.n.0 Server x86_64
 kernel-alt: 4.14.0-1.el7a.x86_64
 
How reproducible:
 unknown

Steps to Reproduce:
1. Install target system listed in comment#1 with RHEL-ALT-7.5-20171115.n.0
2. Create two KVM Guests 
    (--ram=2048 --vcpus=2 --file-size=20)
3. anaconda exception was seen while installing Guest2

Actual results:
https://beaker.engineering.redhat.com/recipes/4495550#task64353647
http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2017/11/21583/2158371/4495550/64353647/GuestTWO_install.log
---<-snip->---
installation timed out. 
---<-snip->---

http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2017/11/21583/2158371/4495550/64353647/GuestTWO_console.log
---<-snip->---
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/software.py", line 71, in _initialize
    threadMgr.wait(THREAD_PAYLOAD)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 112, in wait
    self.raise_if_error(name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 1443, in _runThread
    payload.updateBaseRepo(fallback=fallback, checkmount=checkmount)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 142, in inner_method
    ret = method(yum_payload, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 650, in updateBaseRepo
    self._configureAddOnRepo(repo)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 142, in inner_method
    ret = method(yum_payload, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 758, in _configureAddOnRepo
    if self._repoNeedsNetwork(repo) and not nm_is_connected():
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 175, in nm_is_connected
    return nm_state() in (NetworkManager.State.CONNECTED_GLOBAL,
[1;24r[H[23;1H[1;23r[H[23;1H  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 157, in nm_state
    prop = _get_property("/org/freedesktop/NetworkManager", "State")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 132, in _get_property
    proxy = _get_proxy(object_path=object_path, interface_name="org.freedesktop.DBus.Properties")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 120, in _get_proxy
    cancellable)
GLib.Error: g-io-error-quark: Timeout was reached (24)
[1;24r[H[23;1H[1;23r[H[23;1H
===============================================================================
[1;24r[H[23;1H[1;23r[H[23;1HAn unknown error has occurred
===============================================================================
anaconda 21.48.22.127-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 120, in _get_proxy
    cancellable)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 132, in _get_property
    proxy = _get_proxy(object_path=object_path, interface_name="org.freedesktop.DBus.Properties")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 232, in nm_activated_devices
    iface = _get_property(device, "IpInterface", ".Device")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/network.py", line 279, in _update_network_data
    if name in nm.nm_activated_devices():
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/network.py", line 70, in initialize
    self._update_network_data()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/__init__.py", line 69, in setup
    spoke.initialize()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 46, in setup
    should_schedule = TUIHub.setup(self, environment=environment)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/__init__.py", line 171, in setup
    should_schedule = obj.setup(self.ENVIRONMENT)[1;24r[H[23;50H[1;23r[H[23;1H
  File "/sbin/anaconda", line 1370, in <module>
    anaconda._intf.setup(ksdata)
Error: g-io-error-quark: Timeout was reached (24)
---<-snip->---

Expected results:
 successful installation of KVM guests


Additional info:

Comment 4 Radek Vykydal 2017-12-01 09:19:19 UTC
I am not able to say why anaconda fails to get NewtorkManager dbus proxy. Maybe NM has crashed for some reason, maybe hang caused by two threads trying to get the proxy, hard to say.
To be able to investigate further, we'd need to see installer logs from the failing guest:
/tmp/*log and also /tmp/anaconda-tb*

Comment 5 PaulB 2017-12-01 13:55:20 UTC
(In reply to Radek Vykydal from comment #4)
> I am not able to say why anaconda fails to get NewtorkManager dbus proxy.
> Maybe NM has crashed for some reason, maybe hang caused by two threads
> trying to get the proxy, hard to say.
> To be able to investigate further, we'd need to see installer logs from the
> failing guest:
> /tmp/*log and also /tmp/anaconda-tb*

Radek,
That data is provided by Beaker :)
See here:

https://beaker.engineering.redhat.com/jobs/2158371
RecipeSet ID 	RS:3627323

This is the host install/etc:
 https://beaker.engineering.redhat.com/recipes/4495550

This is the Guest1 (install success):
 https://beaker.engineering.redhat.com/recipes/4495551


This is the Guest2 (install failed):
 https://beaker.engineering.redhat.com/recipes/4495552 
 https://beaker.engineering.redhat.com/recipes/4495552/logs/console.log
 https://beaker.engineering.redhat.com/recipes/4495552/logs/anaconda.log
 https://beaker.engineering.redhat.com/recipes/4495552/logs/anaconda-tb-oL5Jps

Best,
-pbunyan

Comment 6 Radek Vykydal 2017-12-01 14:23:20 UTC
Thank you, I somehow wasn't able to get to the guest logs.

Comment 7 PaulB 2020-12-04 03:08:07 UTC
All,
Closing this ALT-7.5 reported issue.
ALT is EOL.

Best,
pbunyan