Bug 1754701
| Summary: | anaconda won't run without NetworkManager | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | John Newbigin <jnewbigin> |
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
| Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.7 | CC: | alrodrig, dvolkov, rmullett |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-11 21:52:48 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: | |||
I reverted anaconda in RHEL 7.7 to anaconda-core-21.48.22.147-1.el7.x86_64 and the issue is still reproducable. So I guess the issue is not with the anaconda itself, but some other package anaconda process depends on:
# anaconda --kickstart /root/scripts/dvd-srv.ks --cmdline --repo https://repo/Server/x86_64/os/ --image /root/tmp/result/test.qcow2
Starting installer, one moment...
anaconda 21.48.22.147-1 for anaconda bluesky (pre-release) started.
Traceback (most recent call last):
File "/usr/sbin/anaconda", line 1259, in <module>
setupDisplay(anaconda, opts, addon_paths)
File "/usr/sbin/anaconda", line 649, in setupDisplay
if not nm_is_connecting() and not nm_is_connected():
File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 185, in nm_is_connecting
return nm_state() == NetworkManager.State.CONNECTING
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 137, in _get_property
prop = proxy.Get('(ss)', interface_name, prop)
File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
None)
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files (2)
While the same command run on RHEL 7.5 goes further:
# anaconda --kickstart /root/scripts/dvd-srv.ks --cmdline --repo https://repo/Server/x86_64/os/ --image /root/tmp/result/test.qcow2
Starting installer, one moment...
anaconda 21.48.22.147-1 for anaconda bluesky (pre-release) started.
Starting automated install..........
Checking software selection
Generating updated storage configuration
...
After the rollback to NetworkManager-1.12.0-10.el7_6.x86_64 the problem is gone Customer is still seeing Image Builder fail when using NetworkManager-1.12.0-10.el7_6.x86_64 and anaconda-core-21.48.22.147-1.el7.x86_64 > Package Versions --------------------- $ cat installed-rpms | grep Network NetworkManager-1.12.0-10.el7_6.x86_64 Fri Aug 7 20:29:01 2020 NetworkManager-glib-1.12.0-10.el7_6.x86_64 Fri Aug 7 20:29:01 2020 NetworkManager-libnm-1.12.0-10.el7_6.x86_64 Fri Aug 7 20:29:01 2020 NetworkManager-team-1.12.0-10.el7_6.x86_64 Fri Aug 7 20:29:01 2020 ]$ cat installed-rpms | grep anaconda anaconda-core-21.48.22.147-1.el7.x86_64 Fri Aug 14 23:42:13 2020 anaconda-tui-21.48.22.147-1.el7.x86_64 Fri Aug 14 23:42:13 2020 libreport-anaconda-2.1.11-43.el7.x86_64 Thu Aug 6 14:02:09 2020 libreport-rhel-anaconda-bugzilla-2.1.11-43.el7.x86_64 Thu Aug 6 14:02:09 2020 --------------------------- > Error anaconda 21.48.22.156-1 for Red Hat Enterprise Linux 7 (pre-release) started. Traceback (most recent call last): 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/network.py", line 1602, in wait_for_connecting_NM_thread connected = wait_for_connected_NM(only_connecting=True) File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1558, in wait_for_connected_NM if nm.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, 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 137, in _get_property prop = proxy.Get('(ss)', interface_name, prop) File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__ None) GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files (2) Traceback (most recent call last): Red Hat Enterprise Linux 7 shipped it's final minor release on September 29th, 2020. 7.9 was the last minor releases scheduled for RHEL 7. From intial triage it does not appear the remaining Bugzillas meet the inclusion criteria for Maintenance Phase 2 and will now be closed. From the RHEL life cycle page: https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase "During Maintenance Support 2 Phase for Red Hat Enterprise Linux version 7,Red Hat defined Critical and Important impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available." If this BZ was closed in error and meets the above criteria please re-open it flag for 7.9.z, provide suitable business and technical justifications, and follow the process for Accelerated Fixes: https://source.redhat.com/groups/public/pnt-cxno/pnt_customer_experience_and_operations_wiki/support_delivery_accelerated_fix_release_handbook Feature Requests can re-opened and moved to RHEL 8 if the desired functionality is not already present in the product. Please reach out to the applicable Product Experience Engineer[0] if you have any questions or concerns. [0] https://bugzilla.redhat.com/page.cgi?id=agile_component_mapping.html&product=Red+Hat+Enterprise+Linux+7 |
Description of problem: In previous versions, we were able to run anaconda (via livecd-creator) without NetworkManager running. Since anaconda-core-21.48.22.156-1.el7, the run fails: 2019-09-23 02:10:12,864: livemedia-creator 19.7.25-1 2019-09-23 02:10:12,864: selinux is enabled and in Permissive mode 2019-09-23 02:10:12,907: disk_size = 4GiB 2019-09-23 02:10:12,907: disk_img = /var/tmp/tmp.0mcPZCvHvV/diskVFAx72.img Starting installer, one moment... Traceback (most recent call last): anaconda argparse: terminal size detection failed, using default width File "/sbin/anaconda", line 1259, in <module> [Errno 25] Inappropriate ioctl for device Traceback (most recent call last): anaconda 21.48.22.156-1 for 7 (pre-release) started. 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) setupDisplay(anaconda, opts, addon_paths) File "/sbin/anaconda", line 649, in setupDisplay if not nm_is_connecting() and not nm_is_connected(): File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 185, in nm_is_connecting return nm_state() == NetworkManager.State.CONNECTING 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 137, in _get_property prop = proxy.Get('(ss)', interface_name, prop) File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__ None) GLib. File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1602, in wait_for_connecting_NM_thread connected = wait_for_connected_NM(only_connecting=True) Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files (2) File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1558, in wait_for_connected_NM if nm.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, 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 137, in _get_property prop = proxy.Get('(ss)', interface_name, prop) File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__ None) GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files (2) losetup: /dev/: detach failed: Inappropriate ioctl for device 2019-09-23 02:10:32,944: Install failed: novirt_install failed 2019-09-23 02:10:32,945: Removing bad disk image 2019-09-23 02:10:32,945: novirt_install failed Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. systemctl stop NetworkManager 2. livemedia-creator --no-virt --make-disk --ks "build.ks" --project "$DESCRIPTION" Actual results: Build fails as above. Expected results: Warnings are printed but the build completes. Additional info: Was working in anaconda 21.48.22.147-1