Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1056019

Summary: AttributeError: 'FcoeDiskDevice' object has no attribute 'wwid' -- testing software FCoE (BCM) SAN boot
Product: Red Hat Enterprise Linux 7 Reporter: Xiaowei Li <xiaoli>
Component: anacondaAssignee: Samantha N. Bueno <sbueno>
Status: CLOSED CURRENTRELEASE QA Contact: Xiaowei Li <xiaoli>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: echo, edwardn, marcus.g.koontz, mbanas, mchahine, qcai, rvykydal
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:862269ae2df42254f86ccc52609aae75fe353c6c7c43c00ee051fb7f522143bd
Fixed In Version: anaconda-19.31.51-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 09:55: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:
Bug Depends On:    
Bug Blocks: 903122    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ks.cfg
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
updates.img w/fix none

Description Xiaowei Li 2014-01-21 12:04:59 UTC
Description of problem:
hit this issue when testing the BCM FCoE SAN boot.
steps to reproduce:
1. press the add FCoE disk
2. select the 10G BCM ethernet NIC "p2p1"
3. press add FCoE disk
4. hit the issue.

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

The following was filed automatically by anaconda:
anaconda 19.31.50-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/filter.py", line 316, in setup
    disk.wwid, "\n".join(paths), "", "",
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/filter.py", line 560, in refresh
    self.pages[2].setup(self._store, self.selected_disks, otherDisks)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/filter.py", line 649, in on_add_fcoe_clicked
    self.refresh()
AttributeError: 'FcoeDiskDevice' object has no attribute 'wwid'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=/images/storageqe-16.rhts.eng.bos.redhat.com/initrd console=ttyS1,115200 ks=http://beaker.engineering.redhat.com/kickstart/607021 ksdevice=e8:39:35:2d:e1:c8 serial vnc netboot_method=pxe BOOT_IMAGE=/images/storageqe-16.rhts.eng.bos.redhat.com/kernel BOOTIF=01-e8-39-35-2d-e1-c8 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-73.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Client release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Comment 1 Xiaowei Li 2014-01-21 12:05:01 UTC
Created attachment 853184 [details]
File: anaconda-tb

Comment 2 Xiaowei Li 2014-01-21 12:05:03 UTC
Created attachment 853185 [details]
File: anaconda.log

Comment 3 Xiaowei Li 2014-01-21 12:05:04 UTC
Created attachment 853186 [details]
File: environ

Comment 4 Xiaowei Li 2014-01-21 12:05:06 UTC
Created attachment 853187 [details]
File: ks.cfg

Comment 5 Xiaowei Li 2014-01-21 12:05:07 UTC
Created attachment 853188 [details]
File: lsblk_output

Comment 6 Xiaowei Li 2014-01-21 12:05:09 UTC
Created attachment 853189 [details]
File: nmcli_dev_list

Comment 7 Xiaowei Li 2014-01-21 12:05:10 UTC
Created attachment 853190 [details]
File: os_info

Comment 8 Xiaowei Li 2014-01-21 12:05:12 UTC
Created attachment 853191 [details]
File: program.log

Comment 9 Xiaowei Li 2014-01-21 12:05:14 UTC
Created attachment 853192 [details]
File: storage.log

Comment 10 Xiaowei Li 2014-01-21 12:05:15 UTC
Created attachment 853193 [details]
File: syslog

Comment 11 Xiaowei Li 2014-01-21 12:05:17 UTC
Created attachment 853194 [details]
File: ifcfg.log

Comment 12 Xiaowei Li 2014-01-21 12:05:18 UTC
Created attachment 853195 [details]
File: packaging.log

Comment 14 Radek Vykydal 2014-01-21 12:36:31 UTC
Seems to be caused by a change in

commit 6977f898cba63d0f215ca5e2be7c96bd451e8fc1
Author: Samantha N. Bueno <sbueno+anaconda>
Date:   Tue Jan 14 19:44:33 2014 -0500

    Fix up the z Panel in advanced storage. (#1024949)
    
    This just adds functionality to the skeleton z Panel that was created
    ages ago. Once z-specific devices are added (for now, just zFCP), they
    should show up in the filter window. Users should be able to filter
    the list by searching for the device id (CCW), LUN, or WWPN.
    
    Once a device is selected from here, it should show up in the main
    storage spoke under specialized devices.
    
    Resolves: rhbz#1024949

for FCoE devices.

Passing to Samantha for comments.

Comment 15 Samantha N. Bueno 2014-01-21 14:43:52 UTC
Patch posted for review.

Comment 16 Samantha N. Bueno 2014-01-21 15:38:00 UTC
Patch pushed, commit a858810.

Comment 18 Malaz Chahine 2014-01-22 23:26:38 UTC
Another user experienced a similar problem:

I clicked on add FCOE disk, I selected the interface (em3) to scan for fcoe disk.  I took about a minute, istead of returning the disk, it crashed with this error.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20Server.x86_64  BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.10.0-71.el7.x86_64
package:        anaconda-19.31.48-1
product:        Red Hat Enterprise Linux
reason:         AttributeError: 'FcoeDiskDevice' object has no attribute 'wwid'
release:        Red Hat Enterprise Linux Client release 7.0 Beta (Maipo)
version:        7.0

Comment 19 Malaz Chahine 2014-01-23 01:32:17 UTC
Another user experienced a similar problem:

1) During FC Boot installation, Click on Add Disk
2)  Click on Add FCOE SAN Disk
3) Select interface from pull down list (em3) and click on add FCOE disk
4) I see this crash message

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.0\x20Server.x86_64 quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.10.0-71.el7.x86_64
package:        anaconda-19.31.48-1
product:        Red Hat Enterprise Linux
reason:         AttributeError: 'FcoeDiskDevice' object has no attribute 'wwid'
release:        Red Hat Enterprise Linux Client release 7.0 Beta (Maipo)
version:        7.0

Comment 20 edwardn 2014-01-23 02:28:28 UTC
If it's not too much trouble, would it be possible to create an updates.img for SS3 with the fix?  We're seeing this issue on all of our setups with the SS3 build and it's preventing us from installing the OS onto the FCoE LUN.  Thanks.

Comment 21 Samantha N. Bueno 2014-01-23 14:53:34 UTC
(In reply to edwardn from comment #20)
> If it's not too much trouble, would it be possible to create an updates.img
> for SS3 with the fix?  We're seeing this issue on all of our setups with the
> SS3 build and it's preventing us from installing the OS onto the FCoE LUN. 
> Thanks.

Are you sure it's not snapshot 02 (last week's) you're seeing this with? We did a new build of anaconda before snapshot 03 was generated, so it should be included. The corrected version should be anaconda-19.31.51-1 (the anaconda version can be checked at the top of /tmp/anaconda.log).

Apologies if I'm mistaken -- I'm just not sure when the snapshots are distributed is all. I am more than happy to provide an updates.img with the fix if for some reason it did not make it into snapshot three though.

Comment 22 Samantha N. Bueno 2014-01-23 16:28:56 UTC
Created attachment 854472 [details]
updates.img w/fix

Ok, I see now that snapshot three is using anaconda-19.31.48-1. I am attaching an updates.img based on this version with the fix included. Make sure to pass the following boot parameter so it gets picked up and applied:

inst.updates=http://url.to/updates.img

(The updates.img is also available at http://sbueno.fedorapeople.org/updates/1056019.img)

Comment 23 edwardn 2014-01-24 02:42:51 UTC
Thanks.  The problem is no longer seen with the 1056019.img patch.

Comment 24 edwardn 2014-02-25 19:13:08 UTC
Broadcom hasn't seen this problem with the past few snapshots.  We consider this issue fixed.

Comment 25 Xiaowei Li 2014-02-26 08:01:40 UTC
storage-qe did not see the issue on the snapshot 6 tree. move it to verified.

Comment 26 Ludek Smid 2014-06-13 09:55:58 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.