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 1305495

Summary: Unable to create new partition on s390x: KeyError: 'dasd'
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 23CC: hannsj_uhl, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: blivet-gui-1.0.4-1 blivet-gui-1.0.4-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-03 20:25:30 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:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
adding new partition on DASD
none
adding new partition on zFCP none

Description Jan Stodola 2016-02-08 12:34:08 UTC
Description of problem:
An attempt to create a new partition on a DASD disk using blivet-gui fails with the following traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blivetgui/blivetgui.py", line 437, in add_partition
    self.kickstart_mode)
  File "/usr/lib/python3.4/site-packages/blivetgui/dialogs/add_dialog.py", line 259, in __init__
    self.devices_combo = self.add_device_chooser()
  File "/usr/lib/python3.4/site-packages/blivetgui/dialogs/add_dialog.py", line 302, in add_device_chooser
    devices = map_type_devices[self.parent_type]
KeyError: 'dasd'

A similar issue when attempting to create a new partition on a zFCP disk. Both tracebacks will be attached.


Version-Release number of selected component (if applicable):
blivet-gui-1.0.3-1.fc23

How reproducible:
always

Steps to Reproduce:
1. run blivet-gui on s390x
2. erase any existing partitions on a zFCP/DASD device
3. try to create a new partition

Actual results:
A traceback

Expected results:
Able to proceed with creating a partition

Comment 1 Jan Stodola 2016-02-08 12:35:20 UTC
Created attachment 1122151 [details]
adding new partition on DASD

Comment 2 Jan Stodola 2016-02-08 12:35:50 UTC
Created attachment 1122152 [details]
adding new partition on zFCP

Comment 3 Fedora Update System 2016-02-23 10:49:41 UTC
blivet-gui-1.0.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6d0b744b24

Comment 4 Fedora Update System 2016-02-24 21:51:20 UTC
blivet-gui-1.0.4-1.fc23 has been pushed to the Fedora 23 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-6d0b744b24

Comment 5 Jan Stodola 2016-03-01 14:04:03 UTC
Retested with blivet-gui-1.0.4-1.fc23, it works fine now. (tried both DASD and zFCP devices)
Thanks!

Comment 6 Fedora Update System 2016-03-03 20:25:28 UTC
blivet-gui-1.0.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.