Bug 700007

Summary: fcoeadm -i prints an error message after libhbalinux upgrade
Product: Red Hat Enterprise Linux 6 Reporter: Milos Malik <mmalik>
Component: libhbalinuxAssignee: Petr Šabata <psabata>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: ohudlick, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libhbalinux-1.0.10-3.el6 Doc Type: Bug Fix
Doc Text:
After upgrading the libhbalinux package, the "fcoeadm -i" command (which shows information about FCoE instances) printed an error message. With this update, the "fcoeadm -i" command has been fixed, and no longer returns an error message.
Story Points: ---
Clone Of:
: 1370359 (view as bug list) Environment:
Last Closed: 2011-05-19 14:30:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 682670, 1370359    

Description Milos Malik 2011-04-27 09:25:39 UTC
Description of problem:


How reproducible:
always

Steps to Reproduce:
(get a fresh RHEL-6.0 machine where libhbalinux is not installed)
# yum install libhbalinux-1.0.10-1.el6
# rpm -qa | grep -e fcoe -e hba | sort
fcoe-utils-1.0.18-1.el6.i686
libhbaapi-2.2-10.el6.i686
libhbalinux-1.0.10-1.el6.i686
# fcoeadm -i
No FCoE interfaces created.
# yum install libhbalinux-1.0.10-2.el6
# rpm -qa | grep -e fcoe -e hba | sort
fcoe-utils-1.0.18-1.el6.i686
libhbaapi-2.2-10.el6.i686
libhbalinux-1.0.10-2.el6.i686
# fcoeadm -i
fcoeadm: libHBAAPI or libhbalinux error
Try 'fcoeadm --help' for more information.
# echo $?
14

Actual results:
"fcoeadm -i" print an error message

Expected results:
"fcoeadm -i" works as expected

Comment 2 Petr Šabata 2011-04-27 13:47:58 UTC
fcoe-utils cease to work properly after libhbalinux is updated due to poorly written libhbalinux %postun section.

See Bug 690014 for details.

Consider 6.1 blocker, please.

Comment 5 Petr Šabata 2011-04-27 14:50:09 UTC
Thanks for the quick response.
Available in CVS as libhbalinux-1.0.10-3.el6

Comment 8 Martin Prpič 2011-05-09 13:11:32 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
After upgrading the libhbalinux package, the "fcoeadm -i" command (which shows information about FCoE instances) printed an error message. With this update, the "fcoeadm -i" command has been fixed, and no longer returns an error message.

Comment 9 errata-xmlrpc 2011-05-19 14:30:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0799.html