Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1377401

Summary: TypeError: argument 1 must be _ped.FileSystemType, not None
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: python-blivetAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jonathan, mkolman, robatino, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3815d60bae7f8277b1159f375019d27ea37573c485e22dc5749646b99acddfd0;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 16:53:51 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:
Bug Depends On:    
Bug Blocks: 1349186    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description Adam Williamson 2016-09-19 15:08:51 UTC
Description of problem:
Occurs on several openQA tests that involve deleting existing filesystems, since 20160915.n.0, when a new python-blivet arrived.

Version-Release number of selected component:
anaconda-26.2-1

The following was filed automatically by anaconda:
anaconda 26.2-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/parted/partition.py", line 139, in <lambda>
    system = property(lambda s: s.__writeOnly("system"), lambda s, v: s.__partition.set_system(v))
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 697, in execute
    self.device.parted_partition.system = None
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 325, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 163, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1112, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 204, in doInstall
    turn_on_filesystems(storage, mount_only=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: argument 1 must be _ped.FileSystemType, not None

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-rawh quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc6.git4.1.fc26.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        rawhide

Comment 1 Adam Williamson 2016-09-19 15:08:59 UTC
Created attachment 1202524 [details]
File: anaconda-tb

Comment 2 Adam Williamson 2016-09-19 15:09:02 UTC
Created attachment 1202525 [details]
File: anaconda.log

Comment 3 Adam Williamson 2016-09-19 15:09:04 UTC
Created attachment 1202526 [details]
File: dnf.librepo.log

Comment 4 Adam Williamson 2016-09-19 15:09:05 UTC
Created attachment 1202527 [details]
File: environ

Comment 5 Adam Williamson 2016-09-19 15:09:07 UTC
Created attachment 1202528 [details]
File: hawkey.log

Comment 6 Adam Williamson 2016-09-19 15:09:09 UTC
Created attachment 1202529 [details]
File: lsblk_output

Comment 7 Adam Williamson 2016-09-19 15:09:10 UTC
Created attachment 1202530 [details]
File: nmcli_dev_list

Comment 8 Adam Williamson 2016-09-19 15:09:14 UTC
Created attachment 1202531 [details]
File: os_info

Comment 9 Adam Williamson 2016-09-19 15:09:17 UTC
Created attachment 1202532 [details]
File: storage.log

Comment 10 Adam Williamson 2016-09-19 15:09:20 UTC
Created attachment 1202533 [details]
File: syslog

Comment 11 Adam Williamson 2016-09-19 15:09:22 UTC
Created attachment 1202534 [details]
File: ifcfg.log

Comment 12 Adam Williamson 2016-09-19 15:09:23 UTC
Created attachment 1202535 [details]
File: packaging.log

Comment 13 Adam Williamson 2016-09-19 15:09:26 UTC
Created attachment 1202536 [details]
File: program.log

Comment 14 Adam Williamson 2016-09-19 15:11:03 UTC
This would be an F26 Beta blocker, per "When using the guided partitioning flow, the installer must be able to: ...  Remove existing storage volumes to free up space, at the user's direction"

Comment 15 David Lehman 2016-09-19 15:36:42 UTC
Upstream pull request:

  https://github.com/rhinstaller/blivet/pull/511

Comment 16 Adam Williamson 2016-09-20 03:11:37 UTC
Also happens on kickstart installs to fresh disks, at least a couple of the openQA kickstart tests fail.

Comment 17 Fedora Update System 2016-09-20 18:57:22 UTC
python-blivet-2.1.4-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d8691b1b14

Comment 18 Fedora Update System 2016-09-22 09:56:38 UTC
python-blivet-2.1.4-1.fc25 has been pushed to the Fedora 25 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-2016-d8691b1b14

Comment 19 Adam Williamson 2016-09-29 16:53:51 UTC
blivet 2.1.5 went stable and we haven't seen this lately, so closing.