Bug 670809

Summary: 2.2.6 - Can not attach hardware iSCSI based datastore to rhevm
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: vdsm22Assignee: Dan Kenigsberg <dkenigsb>
Status: CLOSED ERRATA QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.6CC: abaron, bazulay, cpelland, danken, djorm, dpaikov, iheim, pcao, pm-eus, qwan, sgordon, srevivo, ycui
Target Milestone: rcKeywords: Reopened, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdsm22-4.5-63.11 Doc Type: Bug Fix
Doc Text:
Previously, sudo did not have the necessary permissions to access the host and hostdir paths in the attach command. As a result, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user. With this update, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-10 09:18:43 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: 667621    
Bug Blocks:    
Attachments:
Description Flags
bug670809.log none

Description RHEL Program Management 2011-01-19 13:06:24 UTC
This bug has been copied from bug #667621 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 4 Daniel Paikov 2011-01-24 10:35:14 UTC
pcao: We don't have the hardware required to validate this bug. Please assist.

Comment 5 Pengzhen Cao 2011-01-25 09:53:13 UTC
(In reply to comment #4)
> pcao: We don't have the hardware required to validate this bug. Please assist.

Verified the fix with rhevh 5.6-8.1 build.
Hardware iSCSI HBA: Qlogic
iSCSI SAN: NetAPP

Fix works for both rpm vdsm22-4.5-63.12.el5_6 and vdsm22-4.5-63.10.el5_6
Please check attached log file for details

Comment 6 Pengzhen Cao 2011-01-25 09:54:01 UTC
Created attachment 475132 [details]
bug670809.log

Comment 7 Pengzhen Cao 2011-01-25 12:27:43 UTC
verified this fix per comment #5, #6

Comment 8 Stephen Gordon 2011-03-01 04:07:37 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:
Red Hat Enterprise Linux 5, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user because sudo did not have the necessary permissions to access the host and hostdir paths in the attach command.  In the current VDSM package, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.

Comment 9 Stephen Gordon 2011-03-01 04:08:13 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Red Hat Enterprise Linux 5, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user because sudo did not have the necessary permissions to access the host and hostdir paths in the attach command.  In the current VDSM package, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.+In Red Hat Enterprise Linux 5.6, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user because sudo did not have the necessary permissions to access the host and hostdir paths in the attach command.  In the current VDSM package, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.

Comment 10 David Jorm 2011-03-03 03:32:07 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-In Red Hat Enterprise Linux 5.6, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user because sudo did not have the necessary permissions to access the host and hostdir paths in the attach command.  In the current VDSM package, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.+Previously, sudo did not have the necessary permissions to access the host and hostdir paths in the attach command. As a result, you could not attach iSCSI storage hardware to an iSCSI data center as a sudo user. With this update, the host and hostdir paths in the attach command have been updated and you can now attach iSCSI storage hardware to an iSCSI data center.

Comment 11 errata-xmlrpc 2011-03-10 09:18:43 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-0319.html