Bug 680168 - VDSM - createVG does not refresh storage device before trying to use it
Summary: VDSM - createVG does not refresh storage device before trying to use it
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: vdsm22
Version: 5.6
Hardware: Unspecified
OS: Linux
medium
low
Target Milestone: rc
: ---
Assignee: Saggi Mizrahi
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 14:23 UTC by Max Benenson
Modified: 2016-04-18 06:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-24 19:56:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm log (233.80 KB, application/x-gzip)
2011-02-24 14:23 UTC, Max Benenson
no flags Details

Description Max Benenson 2011-02-24 14:23:49 UTC
Created attachment 480769 [details]
vdsm log

Description of problem:
When creating a LUN on the iscsi storage and then performing send targets on the host it requires to run 'vdsClient -s 0 getDeviceList' in order to be able to create storage domain based on the device. 

Version-Release number of selected component (if applicable):
vdsm22-4.5-63.20.el5_6

How reproducible:
Always using REST API 'createStorageDomain'

Steps to Reproduce:
1. create LUN on storage server
2. perform send targets on the host
3. using REST API try to create storage domain
  
Actual results:
The create storage domain action roll-backs and the vdsm log syas: 'No physical volume label read from /dev/mapper/18dbe63c6-3864-43ca\n  Failed to read physical volume'

Expected results:
Should create storage domain iscsi

Additional info:
create domain request:

POST http://indigo-vdcb.qa.lab.tlv.redhat.com/rhevm-api/storagedomains
<storage_domain>
     <name>ISCSIDataDomain</name>
     <type>DATA</type>
     <storage>
         <type>ISCSI</type>
         <logical_unit id='18dbe63c6-3864-43ca'>
             <address>10.35.64.30</address>
             <target>my_target</target>
             <port>3260</port>
         </logical_unit>
     </storage>
     <host>
         <name>brown-vdsc.qa.lab.tlv.redhat.com</name>
     </host>
 </storage_domain>

Comment 1 Ayal Baron 2011-02-24 19:56:48 UTC
discoverSendTargets does not get a list of LUNs!
It is not intended to refresh the storage by any means.
This is working as designed.


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