Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1518261 - [ALT-7.5][KVM][x86_64][anaconda] GLib.Error: g-io-error-quark: Timeout was reached (24)
Summary: [ALT-7.5][KVM][x86_64][anaconda] GLib.Error: g-io-error-quark: Timeout was re...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.5-Alt
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-28 14:05 UTC by PaulB
Modified: 2018-11-02 02:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

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.


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