Bug 1462804 - Adding zFCP LUN in GUI: TypeError: Argument 0 does not allow None as a value
Adding zFCP LUN in GUI: TypeError: Argument 0 does not allow None as a value
Status: NEW
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
26
s390x Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks: ZedoraTracker F26s390x
  Show dependency treegraph
 
Reported: 2017-06-19 10:58 EDT by Jan Stodola
Modified: 2017-06-21 03:54 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Stodola 2017-06-19 10:58:05 EDT
Description of problem:
anaconda 26.21.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.6/site-packages/gi/overrides/BlockDev.py", line 798, in wrapped
    ret = orig_obj(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/zfcp.py", line 58, in __init__
    self.fcplun = blockdev.s390.zfcp_sanitize_lun_input(fcplun)
  File "/usr/lib/python3.6/site-packages/blivet/zfcp.py", line 339, in add_fcp
    d = ZFCPDevice(devnum, wwpn, fcplun)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/ui/gui/spokes/advstorage/zfcp.py", line 185, in _discover
    self.zfcp.add_fcp(args[0], args[1], args[2])
  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/threads.py", line 251, in run
    threading.Thread.run(self)
TypeError: Argument 0 does not allow None as a value

Version-Release number of selected component (if applicable):
anaconda-26.21.9-1.fc26.s390x.rpm
python3-blivet-2.1.9-1.fc26.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1. start vnc installation
2. proceed to the Installation Destination spoke
3. try to add a zFCP LUN (I used these values):
Device number: a007
WWPN: 500507630500c73d
LUN: 4020400700000000
4. Press the "Start Discovery" button - anaconda says that discovery failed - "You have not specified a FCP LUN or the number is invalid"
5. I modified the LUN format: 0x4020400700000000 and retried - anaconda traceback appeared

Actual results:
anaconda traceback

Expected results:
zFPC LUN successfully attached

Note You need to log in before you can comment on or make changes to this bug.