Hide Forgot
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>
discoverSendTargets does not get a list of LUNs! It is not intended to refresh the storage by any means. This is working as designed.