Bug 1624680

Summary: TypeError: Argument 0 does not allow None as a value
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: anaconda-maint-list, Cc35359, efintzel, fabien.redhat, jonathan, kellin, vanmeeuwen+fedora, vashirov, vkuznets, vponcova, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:fb4c9daba099f2484cbcbd26cd909e8fa2eb3c3e2e053501c423c78a041fb715;
Fixed In Version: anaconda-29.24.3-1 anaconda-29.24.3-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-20 22:35:25 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:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description lnie 2018-09-03 04:43:01 UTC
Version-Release number of selected component:
anaconda-29.24.1

The following was filed automatically by anaconda:
anaconda 29.24.1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.7/site-packages/gi/overrides/GLib.py", line 118, in _create
    return self._LEAF_CONSTRUCTORS[format](value)
  File "/usr/lib64/python3.7/site-packages/gi/overrides/GLib.py", line 150, in _create
    builder.add_value(self._create(dup, i))
  File "/usr/lib64/python3.7/site-packages/gi/overrides/GLib.py", line 172, in __new__
    v = creator._create(format_string, value)
  File "/usr/lib/python3.7/site-packages/pydbus/proxy_method.py", line 80, in __call__
    GLib.Variant(self._sinargs, args),
  File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/osinstall.py", line 1559, in update_ksdata
    auto_part_proxy.SetLUKSVersion(self.autopart_luks_version)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 472, in start
    self.run_task()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 304, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation.py", line 375, in doInstall
    installation_queue.start()
  File "/usr/lib64/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 286, in run
    threading.Thread.run(self)
TypeError: Argument 0 does not allow None as a value

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   inst.repo=http://10.66.128.196/os
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.18.5-300.fc29.x86_64
product:        Fedora
release:        Cannot get release name.
release_type:   pre-release
type:           anaconda
version:        29

Comment 1 lnie 2018-09-03 04:43:09 UTC
Created attachment 1480410 [details]
File: anaconda-tb

Comment 2 lnie 2018-09-03 04:43:12 UTC
Created attachment 1480411 [details]
File: anaconda.log

Comment 3 lnie 2018-09-03 04:43:14 UTC
Created attachment 1480412 [details]
File: dbus.log

Comment 4 lnie 2018-09-03 04:43:16 UTC
Created attachment 1480413 [details]
File: dnf.librepo.log

Comment 5 lnie 2018-09-03 04:43:20 UTC
Created attachment 1480414 [details]
File: environ

Comment 6 lnie 2018-09-03 04:43:23 UTC
Created attachment 1480415 [details]
File: hawkey.log

Comment 7 lnie 2018-09-03 04:43:25 UTC
Created attachment 1480416 [details]
File: lorax-packages.log

Comment 8 lnie 2018-09-03 04:43:26 UTC
Created attachment 1480417 [details]
File: lsblk_output

Comment 9 lnie 2018-09-03 04:43:28 UTC
Created attachment 1480418 [details]
File: nmcli_dev_list

Comment 10 lnie 2018-09-03 04:43:29 UTC
Created attachment 1480419 [details]
File: os_info

Comment 11 lnie 2018-09-03 04:43:32 UTC
Created attachment 1480420 [details]
File: program.log

Comment 12 lnie 2018-09-03 04:43:35 UTC
Created attachment 1480421 [details]
File: storage.log

Comment 13 lnie 2018-09-03 04:43:41 UTC
Created attachment 1480422 [details]
File: syslog

Comment 14 lnie 2018-09-03 04:43:42 UTC
Created attachment 1480423 [details]
File: ifcfg.log

Comment 15 lnie 2018-09-03 04:43:44 UTC
Created attachment 1480424 [details]
File: packaging.log

Comment 16 lnie 2018-09-04 08:39:21 UTC
Similar problem has been detected:

1)Boot the installer
2) select "Custom" and "encrypt my data "for Storage configuration
3) click "click here to create them automatically"


addons:         com_redhat_docker, com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-29 rd.live.check quiet inst.repo=hd:sdb:/Fedora-Server-dvd-x86_64-29-20180901.n.0.iso
hashmarkername: anaconda
kernel:         4.18.5-300.fc29.x86_64
package:        anaconda-29.24.1
product:        Fedora
reason:         TypeError: Argument 0 does not allow None as a value
release:        Cannot get release name.
release_type:   pre-release
version:        29

Comment 17 Vendula Poncova 2018-09-04 11:17:44 UTC
Fixed in the pull request: https://github.com/rhinstaller/anaconda/pull/1589

Comment 18 Éric Fintzel 2018-09-13 12:38:42 UTC
Similar problem has been detected:

ISO image: Fedora-Server-dvd-ppc64le-29-20180909.n.0.iso
But also occurs with previous images.

Involved steps:
- Choose custom partition + encrypption
- The encryption password is asked a first time
- Manually delete existing partitions
- Automatically create new partitions scheme (tested with several filesystems, LVM, BTRFS...)
- The encryption password is asked a second time (with fiels already filled)
- Changes on disk are accepted
- Error occurs after the click on "Begin Installation"

addons:         com_redhat_kdump, com_redhat_docker
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz ro ip=9.40.195.32::9.40.195.1:255.255.255.0:zz14-lp5:env2:none nameserver=9.101.4.100
hashmarkername: anaconda
kernel:         4.18.5-300.fc29.ppc64le
package:        anaconda-29.24.1
product:        Fedora
reason:         TypeError: Argument 0 does not allow None as a value
release:        Cannot get release name.
release_type:   pre-release
version:        29

Comment 19 Fedora Update System 2018-09-14 03:33:34 UTC
anaconda-29.24.3-1.fc29 dnf-3.5.1-1.fc29 dnf-plugins-core-3.0.3-1.fc29 libdnf-0.19.1-1.fc29 lorax-29.12-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f16a71bc92

Comment 20 Fedora Update System 2018-09-14 20:00:00 UTC
anaconda-29.24.3-1.fc29, dnf-3.5.1-1.fc29, dnf-plugins-core-3.0.3-1.fc29, libdnf-0.19.1-2.fc29, lorax-29.12-2.fc29 has been pushed to the Fedora 29 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-2018-f16a71bc92

Comment 21 Viktor Ashirov 2018-09-14 20:27:16 UTC
Similar problem has been detected:

I tried to install F29 Silverblue over existing F29 installation on LUKS partition. I chose to reformat / and swap on that LUKS partition. But when the installation started, it failed.

addons:         com_redhat_kdump, com_redhat_docker
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-SB-ostree-x86_64-29 rd.live.check quiet
hashmarkername: anaconda
kernel:         4.18.5-300.fc29.x86_64
package:        anaconda-29.24.1
packaging.log:  
product:        Fedora
reason:         TypeError: Argument 0 does not allow None as a value
release:        Cannot get release name.
release_type:   pre-release
version:        29

Comment 22 David 2018-09-17 15:38:40 UTC
Similar problem has been detected:

Installation of Atomic from iso causes anaconda crash when choosing encrption on disk. Latest iso build, 20180916

addons:         com_redhat_kdump, com_redhat_docker
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-AH-ostree-x86_64-29 quiet
hashmarkername: anaconda
kernel:         4.18.5-300.fc29.x86_64
package:        anaconda-29.24.1
packaging.log:  
product:        Fedora
reason:         TypeError: Argument 0 does not allow None as a value
release:        Cannot get release name.
release_type:   pre-release
version:        29

Comment 23 David 2018-09-17 15:42:55 UTC
More information: Only crashes when choosing custom partitioning and encryption. if choosing encryption with automatic paritioning, then it works as expected.

Comment 24 Fedora Update System 2018-09-18 17:09:56 UTC
anaconda-29.24.3-1.fc29 dnf-3.5.1-1.fc29 dnf-plugins-core-3.0.3-1.fc29 libdnf-0.19.1-2.fc29 lorax-29.12-2.fc29 python-blivet-3.1.0-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f16a71bc92

Comment 25 Fedora Update System 2018-09-20 16:16:10 UTC
anaconda-29.24.3-1.fc29, dnf-3.5.1-1.fc29, dnf-plugins-core-3.0.3-1.fc29, libdnf-0.19.1-3.fc29, lorax-29.12-2.fc29, python-blivet-3.1.0-2.fc29 has been pushed to the Fedora 29 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-2018-f16a71bc92

Comment 26 Fedora Update System 2018-09-20 22:35:25 UTC
anaconda-29.24.3-1.fc29, dnf-3.5.1-1.fc29, dnf-plugins-core-3.0.3-1.fc29, libdnf-0.19.1-3.fc29, lorax-29.12-2.fc29, python-blivet-3.1.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 27 Vitaly Kuznetsov 2018-09-21 13:37:44 UTC
*** Bug 1631755 has been marked as a duplicate of this bug. ***