Bug 469372

Summary: Text-mode ppc traceback while adding iSCSI volume
Product: [Fedora] Fedora Reporter: James Laska <jlaska>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jturner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-31 15:38:58 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
anacdump.txt
none
anaconda.log none

Description James Laska 2008-10-31 14:50:09 UTC
Created attachment 322086 [details]
anacdump.txt

Attempting to perform a text-mode install on ppc yields the following traceback when going into partitioning.

anaconda 11.4.1.53 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.5/site-packages/snack.py", line 518, in reflow
    return _snack.reflow(text, width, flexDown, flexUp)
  File "/usr/lib/python2.5/site-packages/snack.py", line 230, in __init__
    (newtext, width, height) = reflow(text, width, flexDown, flexUp)
  File "/usr/lib/python2.5/site-packages/snack.py", line 811, in ButtonChoiceWindow
    t = TextboxReflowed(width, text, maxHeight = screen.height - 12)
  File "/usr/lib/anaconda/textw/partition_text.py", line 1658, in addDriveDialog
    ButtonChoiceWindow(screen, _("Error"), e)
  File "/usr/lib/anaconda/textw/partition_text.py", line 1588, in __call__
    if self.addDriveDialog(screen) != INSTALL_BACK:
  File "/usr/lib/anaconda/text.py", line 716, in run
    rc = win(self.screen, instance)
  File "/usr/bin/anaconda", line 954, in <module>
    anaconda.intf.run(anaconda)
TypeError: argument 1 must be string, not exceptions.ValueError

Comment 1 James Laska 2008-10-31 15:01:26 UTC
Apologies ... this bug was encountered while adding an iSCSI drive in text-mode on ppc

Comment 2 Chris Lumens 2008-10-31 15:06:51 UTC
Does updates=http://clumens.fedorapeople.org/469372.img fix it?

Comment 3 James Laska 2008-10-31 15:33:43 UTC
                    ┌──────────────┤ Error ├──────────────┐
                    │                                     │
                    │ need more than 3 values to unpack   │
                    │                                     │
                    │     ┌────┐          ┌────────┐      │
                    │     │ Ok │          │ Cancel │      │
                    │     └────┘          └────────┘      │
                    │                                     │
                    │                                     │
                    └─────────────────────────────────────┘

Comment 4 Chris Lumens 2008-10-31 15:38:58 UTC
The original traceback was in trying to display the error message you are now seeing, so I guess that could be considered fixing this bug.  Now to see what the underlying problem is...

Comment 5 James Laska 2008-10-31 16:05:54 UTC
Created attachment 322104 [details]
anaconda.log

No traceback anymore ... but the iSCSI volume isn't added to the list of disk.  Attaching anaconda.log

Comment 6 James Laska 2008-10-31 16:08:59 UTC
Running the commands from a <ctrl>z shell ...

sh-3.2# iscsiadm -m discovery -t st -p 192.168.33.219
192.168.33.219:3260,1 iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1
<155.20070201123236.qe-rtt-ppc-disk1 -p 192.168.33.219:3260,1 --login        
Logging in to [iface: default, target: iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1, portal: 192.168.33.219,3260]
iscsiadm: Could not login to [iface: default, target: iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1, portal: 192.168.33.219,3260]: 
iscsiadm: initiator reported error (15 - already exists)
<155.20070201123236.qe-rtt-ppc-disk1 -p 192.168.33.219:3260,1 -o new         
New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default] 192.168.33.219,3260,1 iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1] added
<155.20070201123236.qe-rtt-ppc-disk1 -p 192.168.33.219:3260,1 --login        
Logging in to [iface: default, target: iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1, portal: 192.168.33.219,3260]
iscsiadm: Could not login to [iface: default, target: iqn.1986-03.com.ibm.25166155.20070201123236.qe-rtt-ppc-disk1, portal: 192.168.33.219,3260]: 
iscsiadm: initiator reported error (15 - already exists)
sh-3.2# dmesg | tail -n10
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 8f 00 00 08
sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 4:0:0:0: [sdc] 20971520 512-byte hardware sectors (10737 MB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 8f 00 00 08
sd 4:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 4:0:0:0: [sdc] Attached SCSI disk
sd 4:0:0:0: Attached scsi generic sg5 type 0