Bug 1534118

Summary: [bnx2fc]unable to create fcoe session on f27 and rawhide system
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, cleech, dwalsh, lvrabec, mgrepl, plautrba, pmoore
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: 2018-01-23 12:29:23 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:
Attachments:
Description Flags
journal
none
journal none

Description lnie 2018-01-13 10:20:18 UTC
Description of problem:

[root@storageqe-16 reboot_fcoe_service]# fcoeadm -i
fcoeadm: No action was taken
Try 'fcoeadm --help' for more information.

unable to create fcoe session for NICs with the following command:
"ifconfig %s up" % nic
"/bin/cp -f /etc/fcoe/cfg-ethx /etc/fcoe/cfg-%s" % nic
sed -i -e 's/\(DCB_REQUIRED=.*\)$/DCB_REQUIRED=\"no\"/' /etc/fcoe/cfg-%s" % nic
sed -i -e 's/\(MODE=.*\)$/MODE=\"%s\"/' /etc/fcoe/cfg-%s" % (mode, nic)
sed -i -e 's/ONBOOT.*/ONBOOT=\"yes\"/' /etc/sysconfig/network-scripts/ifcfg-%s" % nic
service lldpad restart
service fcoe restart




Version-Release number of selected component (if applicable):
kernel-4.15.0-0.rc7.git2.1.fc28.x86_64
fcoe-utils-1.0.32-3.fc27.x86_64

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lnie 2018-01-13 10:25:57 UTC
Actually,also unable to create fcoe session on Intel NICs due to bug#1534119

Comment 2 lnie 2018-01-14 02:09:57 UTC
Created attachment 1380855 [details]
journal

Comment 3 lnie 2018-01-23 09:17:05 UTC
Created attachment 1384777 [details]
journal

Comment 4 Adam Williamson 2018-01-23 10:06:14 UTC
Note the log here shows the same SELinux denial and lldpad service failure as 1534119, so it could be the same problem. Again, I'd try it with 'enforcing=0' and see if anything changes.

Comment 5 lnie 2018-01-23 12:29:23 UTC
After setenforce 0,fcoe session is created,tough there are some other bugs,closing this bug as a Dup.

*** This bug has been marked as a duplicate of bug 1534119 ***