Bug 514408

Summary: The bogus WWN issue on reload lpfc driver
Product: Red Hat Enterprise Linux 5 Reporter: Nan Zhang <nzhang>
Component: libvirtAssignee: Dave Allan <dallan>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: andriusb, bzeranski, cward, dallan, hbrock, jamie.wellnitz, laurie.barry, llim, virt-maint, xen-maint
Target Milestone: rcKeywords: OtherQA
Target Release: 5.5   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-10 16:51:02 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: 533941    

Description Nan Zhang 2009-07-29 03:06:21 UTC
Description of problem:
The WWNs show up correctly when the system first boots, but if I rmmod and
insmod lpfc (to change lpfc_enable_npiv, for instance), then "virsh
nodedev-dumpxml" shows all f's for the WWNs. service libvirtd restart fixes
that until the next time I reload lpfc.

Version-Release number of selected component (if applicable):
libvirt-0.6.3-11.el5

How reproducible:
Always

Steps to Reproduce:
1. # rmmod lpfc.ko
2. # insmod lpfc.ko
3. # virsh nodedev-dumpxml
  
Actual results:
The wrong WWN shows with virsh.

Expected results:
The correct WWN will show with virsh.

Additional info:
Refer to the Comment #27 on bug 496925.

Comment 1 Daniel Berrangé 2009-10-30 16:38:37 UTC
Can't help thinking this bugis already fixed by this commit

* Fri Jun 26 2009 Daniel Veillard <veillard> - 0.6.3-12.el5
- fix bogus WWNs when HBA kernel modules are (re)loaded
- remove a small leak with SCSI node device conf
- Resolves: rhbz#496925

Comment 2 Dave Allan 2009-10-30 16:45:25 UTC
That's correct, this has been fixed.