Bug 1599378
| Summary: | TypeError: __new__() missing 4 required positional arguments: 'kernel', 'initrd', 'root', and 'args' | ||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Kil <dave> | ||||||||||||||||||||||||||||||||||||
| Component: | anaconda | Assignee: | Vendula Poncova <vponcova> | ||||||||||||||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||||||||||||
| Version: | 28 | CC: | anaconda-maint-list, jonathan, kellin, vanmeeuwen+fedora, vponcova, wwoods | ||||||||||||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:595b2719043738a396e88047a81778b7ca3c057dac91b4bf0a1d6e6d9c421f1c; | ||||||||||||||||||||||||||||||||||||||
| Fixed In Version: | anaconda-31.6-1 anaconda-30.25.4-1.fc30 | Doc Type: | If docs needed, set a value | ||||||||||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||||||||||||
| Last Closed: | 2019-04-04 00:01:53 UTC | Type: | --- | ||||||||||||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||
Created attachment 1457523 [details]
File: anaconda-tb
Created attachment 1457524 [details]
File: anaconda.log
Created attachment 1457525 [details]
File: dbus.log
Created attachment 1457526 [details]
File: dnf.librepo.log
Created attachment 1457527 [details]
File: environ
Created attachment 1457528 [details]
File: hawkey.log
Created attachment 1457529 [details]
File: ks.cfg
Created attachment 1457530 [details]
File: lorax-packages.log
Created attachment 1457531 [details]
File: lsblk_output
Created attachment 1457532 [details]
File: lvm.log
Created attachment 1457533 [details]
File: nmcli_dev_list
Created attachment 1457534 [details]
File: os_info
Created attachment 1457535 [details]
File: program.log
Created attachment 1457536 [details]
File: storage.log
Created attachment 1457537 [details]
File: syslog
Created attachment 1457538 [details]
File: ifcfg.log
Created attachment 1457539 [details]
File: packaging.log
Adding the following to the kickstart in the %pre section works around the problem: sed -i 's/_BootInfo()/_BootInfo/g' \ /usr/lib64/python3.6/site-packages/pyanaconda/kexec.py Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/1903 anaconda-30.25.4-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7f36d739dc anaconda-30.25.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-7f36d739dc anaconda-30.25.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. |
Description of problem: Trying to reboot with reboot --kexec via kickstart generates the below error. This appears to be an issue with kexec.py being run under Python 3. Kexec reboot seems to work fine under CentOS 7. Version-Release number of selected component: anaconda-28.22.10 The following was filed automatically by anaconda: anaconda 28.22.10 exception report Traceback (most recent call first): File "/usr/lib64/python3.6/site-packages/pyanaconda/kexec.py", line 46, in run_grubby boot_info = _BootInfo() File "/usr/lib64/python3.6/site-packages/pyanaconda/kexec.py", line 87, in setup_kexec boot_info = run_grubby() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task self._task(*self._task_args, **self._task_kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 472, in start self.run_task() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 193, in doConfiguration configuration_queue.start() File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 291, in run threading.Thread.run(self) TypeError: __new__() missing 4 required positional arguments: 'kernel', 'initrd', 'root', and 'args' Additional info: addons: com_redhat_kdump, com_redhat_docker cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-28 text ks=hd:fd0:/FEDORA28.CFG executable: /sbin/anaconda hashmarkername: anaconda kernel: 4.16.3-301.fc28.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: 28