Bug 1534118 - [bnx2fc]unable to create fcoe session on f27 and rawhide system
Summary: [bnx2fc]unable to create fcoe session on f27 and rawhide system
Keywords:
Status: CLOSED DUPLICATE of bug 1534119
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-13 10:20 UTC by lnie
Modified: 2018-01-23 12:29 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-23 12:29:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal (238.08 KB, text/x-vhdl)
2018-01-14 02:09 UTC, lnie
no flags Details
journal (238.08 KB, text/plain)
2018-01-23 09:17 UTC, lnie
no flags Details

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 ***


Note You need to log in before you can comment on or make changes to this bug.