Bug 1622984 - livemedia-creator error: pyanaconda.nm.SettingsNotFoundError
Summary: livemedia-creator error: pyanaconda.nm.SettingsNotFoundError
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 27
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-28 10:27 UTC by Massimiliano
Modified: 2018-11-20 10:04 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-11-20 10:04:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (5.56 KB, text/plain)
2018-08-28 10:27 UTC, Massimiliano
no flags Details

Description Massimiliano 2018-08-28 10:27:06 UTC
Created attachment 1479203 [details]
anaconda.log

Description of problem:
Image creation fails when running livemedia-creator with a custom kickstart.

How reproducible:

# livemedia-creator --resultdir=result --make-iso --no-virt --project=Fedora --releasever=27 --ks=my-custom-spin.ks 
2018-08-28 12:12:31,784: livemedia-creator v27.11-1
2018-08-28 12:12:31,882: disk_img = /live/result/lmc-disk-fxqrz9u8.img
2018-08-28 12:12:31,882: Using disk size of 6146MiB
2018-08-28 12:12:32,477: Running anaconda.
2018-08-28 12:12:33,877: Starting installer, one moment...
2018-08-28 12:12:33,877: terminal size detection failed, using default width
2018-08-28 12:12:33,877: anaconda 27.20.4-1 for Fedora 27 (pre-release) started.
2018-08-28 12:12:33,877: 12:12:33 Not asking for VNC because of an automated install
2018-08-28 12:12:33,877: 12:12:33 Not asking for VNC because of an automated install
2018-08-28 12:12:34,064: Processing logs from ('127.0.0.1', 34534)
2018-08-28 12:12:35,039: 
2018-08-28 12:12:35,039: ===============================================================================
2018-08-28 12:12:35,040: b'An unknown error has occurred'
2018-08-28 12:12:35,040: ===============================================================================
2018-08-28 12:12:35,040: anaconda 27.20.4-1 exception report
2018-08-28 12:12:35,040: Traceback (most recent call first):
2018-08-28 12:12:35,040: File "/usr/lib64/python3.6/site-packages/pyanaconda/nm.py", line 805, in nm_device_setting_value
2018-08-28 12:12:35,040: raise SettingsNotFoundError(name)
2018-08-28 12:12:35,040: File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/spokes/network.py", line 89, in _load_new_devices
2018-08-28 12:12:35,040: if nm.nm_device_setting_value(name, "connection", "slave-type"):
2018-08-28 12:12:35,040: File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/spokes/network.py", line 68, in initialize
2018-08-28 12:12:35,041: self._load_new_devices()
2018-08-28 12:12:35,041: File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/__init__.py", line 79, in setup
2018-08-28 12:12:35,041: spoke.initialize()
2018-08-28 12:12:35,041: File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 55, in setup
2018-08-28 12:12:35,041: should_schedule = TUIHub.setup(self, environment)
2018-08-28 12:12:35,041: File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/tui/__init__.py", line 206, in setup
2018-08-28 12:12:35,041: should_schedule = obj.setup(self.ENVIRONMENT)
2018-08-28 12:12:35,041: File "/usr/sbin/anaconda", line 726, in <module>
2018-08-28 12:12:35,041: anaconda._intf.setup(ksdata)
2018-08-28 12:12:35,041: pyanaconda.nm.SettingsNotFoundError: SettingsNotFoundError('eno1',)
2018-08-28 12:12:35,041: 
2018-08-28 12:12:35,042: b'What do you want to do now?'
2018-08-28 12:12:35,042: 1) b'Report Bug'
2018-08-28 12:12:35,042: 2) b'Run shell'
2018-08-28 12:12:35,042: 3) b'Quit'
2018-08-28 12:12:35,042: 
2018-08-28 12:12:36,031: b'Please make your choice from above: ' Anaconda received signal 11!.
2018-08-28 12:12:36,031: /usr/lib64/python3.6/site-packages/pyanaconda/_isys.so(+0x10c2)[0x7f6631e350c2]
2018-08-28 12:12:36,032: /lib64/libpthread.so.0(+0x121b0)[0x7f66498261b0]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(PyObject_Malloc+0x8d)[0x7f6649b3749d]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(PyUnicode_New+0x3a)[0x7f6649b6bcda]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(_PyUnicode_FromASCII+0x23)[0x7f6649b70443]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(PyUnicode_Format+0xf58)[0x7f6649baca18]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x1f36)[0x7f6649becf36]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(+0x15060a)[0x7f6649b8260a]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(+0x18ec1e)[0x7f6649bc0c1e]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x34a)[0x7f6649beb34a]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(+0x15060a)[0x7f6649b8260a]
2018-08-28 12:12:36,032: /lib64/libpython3.6m.so.1.0(+0x18ec1e)[0x7f6649bc0c1e]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x34a)[0x7f6649beb34a]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(+0x15060a)[0x7f6649b8260a]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(+0x18ec1e)[0x7f6649bc0c1e]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x34a)[0x7f6649beb34a]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(+0x15060a)[0x7f6649b8260a]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(+0x18ec1e)[0x7f6649bc0c1e]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(_PyEval_EvalFrameDefault+0x34a)[0x7f6649beb34a]
2018-08-28 12:12:36,033: /lib64/libpython3.6m.so.1.0(+0x15060a)[0x7f6649b8260a]
2018-08-28 12:12:36,040: gcore exited with status 256
2018-08-28 12:12:36,046: Running anaconda failed: process '['anaconda', '--kickstart', '/live/my-custom-spin.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:45531']' exited with status 1
2018-08-28 12:12:36,047: Shutting down log processing
2018-08-28 12:12:36,142: Install failed: novirt_install failed
2018-08-28 12:12:36,144: Removing bad disk image
2018-08-28 12:12:36,159: ERROR: Image creation failed: novirt_install failed

Additional info:
The same command runs on F26. The 'eno1' connection is my wired connection (DHCP).

Comment 1 Massimiliano 2018-09-06 16:19:29 UTC
I've found a workaround. This issue seems related to NetworkManager. If I restrict the DHCP ethernet connection to the "eno1" device (option "restrict to device" of my KDE applet), then it works.

Comment 2 Vendula Poncova 2018-09-07 07:11:11 UTC
Hi, are you able to reproduce the problem with Fedora 28? If so, attach all files /tmp/*log with anaconda logs, please.

Comment 3 Massimiliano 2018-09-07 08:45:31 UTC
Currently I'm not using F28. But it's in my plans. I'll send you a feedback as soon I can.

Comment 4 Massimiliano 2018-11-19 21:38:21 UTC
It seems that this issue is not reproducible anymore in F28.


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