Bug 1698937
| Summary: | Kick start installation fails `pyanaconda.modules.common.errors.DBusError: expected str, bytes or os.PathLike object, not NoneType` | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Satheesh Rajendran <sathnaga> |
| Component: | python-blivet | Assignee: | Blivet Maintenance Team <blivet-maint-list> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anaconda-maint-list, bgurney, blivet-maint-list, jonathan, kellin, mkolman, rvykydal, vanmeeuwen+fedora, vponcova, vtrefny, wwoods |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-blivet-3.1.4-1 python-blivet-3.1.4-1.fc30 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-27 00:54:20 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
Satheesh Rajendran
2019-04-11 13:11:37 UTC
Based on the code in blivet, it looks like the function resolve_glob doesn't handle the case when device_get_devname returns None. Reassigning. Looks like ks expects below line for disk,
driverdisk /dev/disk/by-id/wwn-0x500a075120515526
After above line addition, now it hit error at
inst.text bootoption to start text installation
* when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
File "/sbin/anaconda", line 592, in <module>
initialize_network()
File "/usr/lib64/python3.7/site-packages/pyanaconda/network.py", line 314, in
initialize_network
run_network_initialization_task(network_proxy.DumpMissingIfcfgFilesWithTask())
File "/usr/lib64/python3.7/site-packages/pyanaconda/network.py", line 292, in
run_network_initialization_task
sync_run_task(task_proxy)
File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/common/task/__init__.py", line 60, in sync_run_task
task_proxy.Finish()
File "/usr/lib/python3.7/site-packages/pydbus/proxy_method.py", line 102, in __call__
raise error
pyanaconda.modules.common.errors.DBusError: 'SimpleConnection' object has no attribute 'add_settings'
syslog:
08:42:21,664 WARNING org.fedoraproject.Anaconda.Modules.Network:DEBUG:anaconda.modules.network.ifcfg:Ifcfg file for ibP3p1s0f0 not found
08:42:21,665 WARNING org.fedoraproject.Anaconda.Modules.Network:DEBUG:anaconda.modules.network.initialization:Dump missing ifcfg files: creating default connection for ibP3p1s0f0
08:42:21,666 WARNING org.fedoraproject.Anaconda.Modules.Network:DEBUG:anaconda.modules.network.nm_client:connection 75c61256-487e-4b37-b879-301089cfe198 added:
08:42:21,666 WARNING org.fedoraproject.Anaconda.Modules.Network:{'connection': {'autoconnect': <false>, 'id': <'enP48p1s0f0'>, 'interface-name': <'enP48p1s0f0'>, 'permissions': <@as []>, 'type': <'802-3-ethernet'>, 'uuid': <'75c61256-487e-4b37-b879-301089cfe198'>}, 'ipv4': {'address-data': <@aa{sv} []>, 'dns': <@au []>, 'dns-search': <@as []>, 'method': <'auto'>, 'route-data': <@aa{sv} []>}, '802-3-ethernet': {'auto-negotiate': <false>, 'mac-address-blacklist': <@as []>, 's390-options': <@a{ss} {}>}, 'proxy': {}, 'ipv6': {'address-data': <@aa{sv} []>, 'dns': <@aay []>, 'dns-search': <@as []>, 'method': <'auto'>, 'route-data': <@aa{sv} []>}}
08:42:21,666 WARNING org.fedoraproject.Anaconda.Modules.Network:INFO:anaconda.threading:Thread Failed: AnaTaskThread-DumpMissingIfcfgFilesTask-1 (140735292305792)
08:42:21,667 WARNING org.fedoraproject.Anaconda.Modules.Network:DEBUG:anaconda.modules.network.nm_client:connection d68b44ef-5971-4ebc-9ecb-b8aa241a4cd5 added:
08:42:21,667 WARNING org.fedoraproject.Anaconda.Modules.Network:{'connection': {'autoconnect': <false>, 'id': <'enP48p1s0f1'>, 'interface-name': <'enP48p1s0f1'>, 'permissions': <@as []>, 'type': <'802-3-ethernet'>, 'uuid': <'d68b44ef-5971-4ebc-9ecb-b8aa241a4cd5'>}, 'ipv4': {'address-data': <@aa{sv} []>, 'dns': <@au []>, 'dns-search': <@as []>, 'method': <'auto'>, 'route-data': <@aa{sv} []>}, '802-3-ethernet': {'auto-negotiate': <false>, 'mac-address-blacklist': <@as []>, 's390-options': <@a{ss} {}>}, 'proxy': {}, 'ipv6': {'address-data': <@aa{sv} []>, 'dns': <@aay []>, 'dns-search': <@as []>, 'method': <'auto'>, 'route-data': <@aa{sv} []>}}
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network:ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-DumpMissingIfcfgFilesTask-1 has failed: Traceback (most recent call last):
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 280, in run
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: threading.Thread.run(self)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/threading.py", line 865, in run
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: self._target(*self._args, **self._kwargs)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/common/task/task.py", line 89, in _task_run_callback
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: self._set_result(self.run())
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/network/initialization.py", line 45, in wrapped
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: return function(*args, **kwargs)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/network/initialization.py", line 358, in run
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: ifname_option_values=self._ifname_option_values)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/network/nm_client.py", line 373, in add_connection_from_ksdata
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: _update_infiniband_connection_from_ksdata(con, network_data)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: File "/usr/lib64/python3.7/site-packages/pyanaconda/modules/network/nm_client.py", line 263, in _update_infiniband_connection_from_ksdata
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network: connection.add_settings(s_ib)
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network:AttributeError: 'SimpleConnection' object has no attribute 'add_settings'
08:42:21,668 WARNING org.fedoraproject.Anaconda.Modules.Network:INFO:anaconda.threading:Thread Done: AnaTaskThread-DumpMissingIfcfgFilesTask-1 (140735292305792)
08:42:21,794 DEBUG NetworkManager:<debug> [1555490541.7935] ndisc-lndp[0x1574ff0e0,"enP5p1s0f1"]: processing libndp events
08:42:21,794 DEBUG NetworkManager:<debug> [1555490541.7936] ndisc-lndp[0x1574ff0e0,"enP5p1s0f1"]: received router advertisement at 13
08:42:21,794 DEBUG NetworkManager:<debug> [1555490541.7936] ndisc[0x1574ff0e0,"enP5p1s0f1"]: scheduling next now/lifetime check: 1797 seconds
08:42:21,794 DEBUG NetworkManager:<debug> [1555490541.7937] ndisc[0x1574ff0e0,"enP5p1s0f1"]: neighbor discovery configuration changed [GARS]:
08:42:21,795 DEBUG NetworkManager:<debug> [1555490541.7937] ndisc[0x1574ff0e0,"enP5p1s0f1"]: dhcp-level managed
(In reply to Satheesh Rajendran from comment #2) > Looks like ks expects below line for disk, > > driverdisk /dev/disk/by-id/wwn-0x500a075120515526 > > After above line addition, now it hit error at > > > inst.text bootoption to start text installation > > * when reporting a bug add logs from /tmp as separate text/plain > attachments > Traceback (most recent call last): > File "/sbin/anaconda", line 592, in <module> > > initialize_network() > File "/usr/lib64/python3.7/site-packages/pyanaconda/network.py", line 314, > in > initialize_network > > run_network_initialization_task(network_proxy. > DumpMissingIfcfgFilesWithTask()) > File "/usr/lib64/python3.7/site-packages/pyanaconda/network.py", line 292, > in > run_network_initialization_task > sync_run_task(task_proxy) > File > "/usr/lib64/python3.7/site-packages/pyanaconda/modules/common/task/__init__. > py", line 60, in sync_run_task > task_proxy.Finish() > File "/usr/lib/python3.7/site-packages/pydbus/proxy_method.py", line 102, > in __call__ > raise error > pyanaconda.modules.common.errors.DBusError: 'SimpleConnection' object has no > attribute 'add_settings' Thank you for the report, this should be fixed by https://github.com/rhinstaller/anaconda/pull/1953 Expect the fix to be included in rawhide for me to proceed, https://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/Everything/ppc64le/os/ppc/ppc64/ Pls let me know when can I get the fix there. Regards, -Satheesh (In reply to Satheesh Rajendran from comment #4) > Expect the fix to be included in rawhide for me to proceed, > https://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/ > Everything/ppc64le/os/ppc/ppc64/ > > > Pls let me know when can I get the fix there. > The fix should go into anaconda-31.10. As for the tree you are referring to which contains anaconda-31.8 I prepared an updates image which can be applied using boot option updates=https://rvykydal.fedorapeople.org/updates.add_settings.img or kickstart command updates https://rvykydal.fedorapeople.org/updates.add_settings.img With th(In reply to Radek Vykydal from comment #5) > (In reply to Satheesh Rajendran from comment #4) > > Expect the fix to be included in rawhide for me to proceed, > > https://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/ > > Everything/ppc64le/os/ppc/ppc64/ > > > > > > Pls let me know when can I get the fix there. > > > > The fix should go into anaconda-31.10. As for the tree you are referring to > which contains anaconda-31.8 I prepared an updates image which can be > applied using boot option > > updates=https://rvykydal.fedorapeople.org/updates.add_settings.img > > or kickstart command > > updates https://rvykydal.fedorapeople.org/updates.add_settings.img Thanks for the custom update, with am not hitting previous issue but the new one below, inst.text bootoption to start text installation * when reporting a bug add logs from /tmp as separate text/plain attachments 09:41:27 Not asking for VNC because of an automated install 09:41:27 Not asking for VNC because text mode was explicitly asked for in kickstart Traceback (most recent call last): File "/sbin/anaconda", line 672, in <module> ignore_oemdrv_disks() File "/tmp/updates/pyanaconda/storage/utils.py", line 395, in ignore_oemdrv_disks matched = device_matches("LABEL=OEMDRV", disks_only=True) File "/tmp/updates/pyanaconda/storage/utils.py", line 298, in device_matches single_spec_matches = udev.resolve_glob(full_spec) File "/usr/lib/python3.7/site-packages/blivet/udev.py", line 167, in resolve_glob if fnmatch.fnmatch(name, glob) or fnmatch.fnmatch(path, glob): File "/usr/lib64/python3.7/fnmatch.py", line 34, in fnmatch name = os.path.normcase(name) File "/usr/lib64/python3.7/posixpath.py", line 54, in normcase s = os.fspath(s) TypeError: expected str, bytes or os.PathLike object, not NoneType Pane is dead (status 1, Thu Apr 18 09:41:29 2019) Any updates? The function resolve_glob is fixed in a pull request: https://github.com/storaged-project/blivet/pull/778 Expect the fix to be included in rawhide for me to proceed, https://dl.fedoraproject.org/pub/fedora-secondary/development/rawhide/Everything/ppc64le/os/ppc/ppc64/ Pls let me know when can I get the fix there. Regards, -Satheesh FEDORA-2019-57ca4efaf9 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-57ca4efaf9 python-blivet-3.1.4-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-57ca4efaf9 python-blivet-3.1.4-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1746595 has been marked as a duplicate of this bug. *** |