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 1384532

Summary: AttributeError: 'Blivet' object has no attribute 'zfcp'
Product: [Fedora] Fedora Reporter: Jan Stodola <jstodola>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 25CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora, vponcova
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-25.20.6-1 anaconda-25.20.6-1.fc25 anaconda-25.20.8-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-15 13:32:58 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, 1378351    

Description Jan Stodola 2016-10-13 13:30:13 UTC
Description of problem:
I tried to add a zFCP disk in GUI and got this traceback:

anaconda 25.20.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/advstorage/zfcp.py", line 45, in __init__
    self.zfcp = self.storage.zfcp()
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/filter.py", line 680, in on_add_zfcp_clicked
    dialog = ZFCPDialog(self.data, self.storage)
AttributeError: 'Blivet' object has no attribute 'zfcp'

Version-Release number of selected component (if applicable):
Fedora-25-20161007.0 (tested with and without updates=http://fedora.danny.cz/s390/updates-1378338.img)
anaconda-25.20.4-1.fc25
python3-blivet-2.1.6-1.fc25

How reproducible:
always

Steps to Reproduce:
1. start vnc installation on s390x
2. proceed to the installation destination spoke and try to add a new zFCP disk

Actual results:
anaconda traceback

Expected results:
A dialog window for entering devnum/wwpn/lun should appear

Comment 2 Jan Stodola 2016-10-13 13:35:23 UTC
And similar issue when adding a DASD disk:

anaconda 25.20.4-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/advstorage/dasd.py", line 45, in __init__
    self.dasd = self.storage.dasd
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/filter.py", line 695, in on_add_dasd_clicked
    dialog = DASDDialog(self.data, self.storage)
AttributeError: 'Blivet' object has no attribute 'dasd'

Comment 3 Samantha N. Bueno 2016-10-26 22:33:24 UTC
https://github.com/rhinstaller/anaconda/pull/847 should fix both issues.

Comment 4 Fedora Update System 2016-10-31 10:22:01 UTC
anaconda-25.20.6-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-98dad065d7

Comment 5 Fedora Update System 2016-11-03 18:23:07 UTC
anaconda-25.20.6-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2016-11-07 23:31:24 UTC
anaconda-25.20.7-1.fc25 python-blivet-2.1.6-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-91844f4982

Comment 7 Fedora Update System 2016-11-09 02:26:18 UTC
anaconda-25.20.8-1.fc25, python-blivet-2.1.6-3.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-91844f4982

Comment 8 Fedora Update System 2016-11-15 13:32:58 UTC
anaconda-25.20.8-1.fc25, python-blivet-2.1.6-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.