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 1882893

Summary: anaconda failed to detect the fcoe target
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: fcoe-utilsAssignee: Chris Leech <cleech>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: anaconda-maint-list, awilliam, cleech, jkonecny, jonathan, kellin, lnie, robatino, vanmeeuwen+fedora, vslavik, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-12 21:58:27 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: 1829024    
Attachments:
Description Flags
screencast
none
syslog
none
anaconda log
none
storage.log none

Description lnie 2020-09-26 09:44:16 UTC
Created attachment 1716794 [details]
screencast

Description of problem:
As shown in the attached screencast,anaconda failed to show the fcoe target after 
I select the CNA and click "Add fcoe disk".
Due to https://bugzilla.redhat.com/show_bug.cgi?id=1882887

Version-Release number of selected component (if applicable):
anaconda-34.6-1.fc34.x86_64.rpm 

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Blocker Bugs Application 2020-09-26 10:04:04 UTC
Proposed as a Blocker for 34-final by Fedora user lnie using the blocker tracking app because:

 This affects:
The installer must be able to detect (if possible) and install to supported network-attached storage devices

Comment 2 lnie 2020-09-27 02:16:58 UTC
I'm able to get logs from /var/anaconda/ by finishing the installation after see this bug,and I'm gonna to attach them.

Comment 3 lnie 2020-09-27 02:18:19 UTC
Created attachment 1716973 [details]
syslog

Comment 4 lnie 2020-09-27 02:19:43 UTC
Created attachment 1716974 [details]
anaconda log

Comment 5 lnie 2020-09-27 02:20:14 UTC
Created attachment 1716975 [details]
storage.log

Comment 6 Vladimír Slávik 2020-11-12 15:47:00 UTC
I see two possible causes of failure.

> 21:56:43,109 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... /usr/libexec/fcoe/fcoe_edd.sh -i
> 21:56:43,223 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:No FCoE boot disk information is found in EDD!

and

> 01:57:23,235 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... systemctl restart fcoe.service
> 01:57:23,332 INFO fcoemon:/usr/sbin/fcoemon: option '--syslog' requires an argument

Reassigning to fcoe-utils to see what they make of it, since both files that error out are theirs.

----

More verbose excerpts from syslog:

> 21:56:42,849 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:anaconda.modules.storage.fcoe.fcoe:Start up the FCoE module.
> 21:56:42,849 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... modprobe libfc
> 21:56:42,960 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 0
> 21:56:42,961 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:blivet:fcoe: loading bnx2fc
> 21:56:42,961 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... modprobe bnx2fc
> 21:56:43,044 INFO kernel:bnx2fc: QLogic FCoE Driver bnx2fc v2.12.13 (October 15, 2015)
> 21:56:43,072 INFO kernel:bnx2fc: bnx2fc: FCoE initialized for ens2f1.
> 21:56:43,072 INFO kernel:bnx2fc: [07]: FCOE_INIT passed
> 21:56:43,102 INFO kernel:bnx2fc: bnx2fc: FCoE initialized for ens2f0.
> 21:56:43,103 INFO kernel:bnx2fc: [07]: FCOE_INIT passed
> 21:56:43,108 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 0
> 21:56:43,109 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... /usr/libexec/fcoe/fcoe_edd.sh -i
> 21:56:43,223 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:stdout:
> 21:56:43,223 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:No FCoE boot disk information is found in EDD!
> 21:56:43,223 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 1
> 21:56:43,223 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:blivet:No FCoE EDD info found: No FCoE boot disk information is found in EDD!

(...)

> 01:57:02,267 WARNING chronyd:System clock was stepped by 14400.018339 seconds

(...)

> 01:57:23,234 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:anaconda.threading:Running Thread: AnaTaskThread-FCOEDiscoverTask-1 (140075948561984)
> 01:57:23,234 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:blivet:Activating FCoE SAN attached to ens2f0, dcb: False autovlan: True
> 01:57:23,235 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:Running... systemctl restart fcoe.service
> 01:57:23,304 INFO systemd:Starting Open-FCoE Inititator....
> 01:57:23,332 INFO fcoemon:/usr/sbin/fcoemon: option '--syslog' requires an argument
> 01:57:23,333 INFO fcoemon:Usage: fcoemon
> 01:57:23,333 INFO fcoemon:#011 [-f|--foreground]
> 01:57:23,333 INFO fcoemon:#011 [-d|--debug=yes|no]
> 01:57:23,333 INFO fcoemon:#011 [-l|--legacy]
> 01:57:23,333 INFO fcoemon:#011 [-s|--syslog=yes|no]
> 01:57:23,333 INFO fcoemon:#011 [-v|--version]
> 01:57:23,333 INFO fcoemon:#011 [-h|--help]
> 01:57:23,333 NOTICE systemd:fcoe.service: Control process exited, code=exited, status=1/FAILURE
> 01:57:23,334 WARNING systemd:fcoe.service: Failed with result 'exit-code'.
> 01:57:23,335 ERR systemd:Failed to start Open-FCoE Inititator..
> 01:57:23,336 NOTICE audit:SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=fcoe comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
> 01:57:23,340 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:stderr:
> 01:57:23,341 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:b'Job for fcoe.service failed because the control process exited with error code.'
> 01:57:23,341 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:program:b'See "systemctl status fcoe.service" and "journalctl -xe" for details.'
> 01:57:23,341 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:program:Return code: 1
> 01:57:23,341 WARNING org.fedoraproject.Anaconda.Modules.Storage:DEBUG:blivet:Activating FCoE SAN failed: 1
> 01:57:23,341 WARNING org.fedoraproject.Anaconda.Modules.Storage:INFO:anaconda.threading:Thread Done: AnaTaskThread-FCOEDiscoverTask-1 (140075948561984)

Comment 7 Adam Williamson 2021-01-02 20:01:32 UTC
Ping? fcoe-utils folks?

Comment 8 lnie 2021-02-08 02:38:16 UTC
This bug is fixed by https://github.com/openSUSE/fcoe-utils/pull/16.
Fedora-Rawhide-20210206.n.0(with fcoe-utils-1.0.33-5.git848bcc6.fc34)detects and takes use of the fcoe nodes successfully.

Comment 9 Ben Cotton 2021-02-09 15:19:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 10 Adam Williamson 2021-02-12 21:58:27 UTC
The same build is in current Rawhide and Branched composes, so closing this. Please re-open if there's still something that needs to happen, lili. Thanks!

Comment 11 Red Hat Bugzilla 2023-09-12 03:47:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days