[Users] iSCSI discovery not showing all LUNs - oVirt 3.1

Trey Dockendorf treydock at gmail.com
Thu Jul 5 15:08:43 UTC 2012


I have a Promise M300i iSCSI with 2 LUNs.  A 2TB LUN with ID
2260-0001-557c-af0a and a 4TB LUN with ID 22d9-0001-553e-4d6a.

What's strange, is the very first time I ran discovery I saw both
LUNs.  I checked the 2TB LUN and storage failed to add, I don't have
logs at this time, but I went back to repeat the process and now only
1 LUN shows in the GUI (see attached image).  Also the size it reports
is way off.

Looking at VDSM logs, I get this output when doing the login to a target

{'devList':
  [
    {'vendorID': 'Promise',
     'capacity': '2188028149760',
     'fwrev': '0227',
     'partitioned': False,
     'vgUUID': 'AZ1iMt-gzBD-2uug-xTih-1z0b-PqPy-xSP0A4',
     'pathlist': [
	{
	  'initiatorname': 'default',
	  'connection': '192.168.203.100',
	  'iqn': 'iqn.1994-12.com.promise.xxx',
	  'portal': '1',
	  'password': '******',
	  'port': '3260'
	}
      ],
      'logicalblocksize': '512',
      'pathstatus': [
	{
	  'physdev': 'sde',
	  'type': 'iSCSI',
	  'state': 'active',
	  'lun': '0'
	}
      ],
      'devtype': 'iSCSI',
      'physicalblocksize': '512',
      'pvUUID': 'v2N3ok-wrki-OQQn-1XFL-w69n-8wAF-rmCFWt',
      'serial': 'SPromise_VTrak_M300i_000000000000000000000000F08989F89FFF6C42',
      'GUID': '222600001557caf0a',
      'productID': 'VTrak M300i'
    },
    {
      'vendorID': 'Promise',
      'capacity': '20246190096384',
      'fwrev': '0227',
      'partitioned': False,
      'vgUUID': '',
      'pathlist': [
	{
	  'initiatorname': 'default',
	  'connection': '192.168.203.100',
	  'iqn': 'iqn.1994-12.com.promise.xxx',
	  'portal': '1',
	  'password': '******',
	  'port': '3260'
	}
      ],
      'logicalblocksize': '2048',
      'pathstatus': [
	{
	  'physdev': 'sdf',
	  'type': 'iSCSI',
	  'state': 'active',
	  'lun': '1'
	}
      ],
      'devtype': 'iSCSI',
      'physicalblocksize': '2048',
      'pvUUID': '',
      'serial': 'SPromise_VTrak_M300i_000000000000000000000000DA3FF8D8099662D7',
      'GUID': '222d90001553e4d6a',
      'productID': 'VTrak M300i'
    }
  ]
}

In that output both LUNs are seen.  I couldn't tell from the code what
format the "capacity" is in, but now the interface shows only the LUN
with the "4d6a" GUID as being 18TB.

I've attached the VDSM Logs from the point of selecting my datacenter
to after clicking "Login".  Any suggestions?

node - vdsm-4.10.0-2.el6.x86_64

Thanks
- Trey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt_add_iscsi.png
Type: image/png
Size: 43573 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120705/fbec2c97/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdsm_add_iscsi.log
Type: application/octet-stream
Size: 40840 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120705/fbec2c97/attachment-0001.obj>


More information about the Users mailing list