[Users] Unable to add iSCSI storage domain - 3.1 beta

Trey Dockendorf treydock at gmail.com
Mon Jun 25 19:28:49 UTC 2012


I'm attempting to add iSCSI storage to a data center via web
interface, and while I"m able to see the target ISCSI device and
login, clicking the "OK" button doesn't submit the storage selection.
I noticed from looking at the oVirt manual that somewhere in this
interface I have to select the LUN.  However once logged into the
target I never see LUNs to select.

I've attached two screenshots that show the UI and what could be
errors in how it's being displayed.  I also attached logs from vdsm
host and engine that were captured while attempting to add the storage
domain.

After logging into the iSCSI target via web interface, this is the
output on target host, showing that my ovirt node (10.20.1.240) is
connected.

# tgtadm --lld iscsi --op show --mode target
Target 1: iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool
    System information:
        Driver: iscsi
node dc-store0.tamu.edu
        State: ready
    I_T nexus information:
        I_T nexus: 3
            Initiator: iqn.1994-05.com.redhat:ad499aa5f37e
            Connection: 0
                IP Address: 10.20.1.240
    LUN information:
        LUN: 0
            Type: controller
            SCSI ID: IET     00010000
            SCSI SN: beaf10
            Size: 0 MB, Block size: 1
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: null
            Backing store path: None
            Backing store flags:
        LUN: 1
            Type: disk
            SCSI ID: p_lu_coraid23_lu
            SCSI SN: (stdin)=
            Size: 4398047 MB, Block size: 512
            Online: Yes
            Removable media: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/vg_coraid23/lv_kvm_pool
            Backing store flags:
    Account information:
    ACL information:
        ALL

Based on some archived emails I've included previously mentioned
outputs that may help

>From the ovirt node:

# iscsiadm -m discovery -p 10.20.1.250 -t sendtargets --login
10.20.1.250:3260,1 iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool
Logging in to [iface: default, target:
iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool, portal: 10.20.1.250,3260]
(multiple)
Login to [iface: default, target:
iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool, portal: 10.20.1.250,3260]
successful.

# multipath -r
Jun 25 14:19:22 | 3600508e0000000004ecf45ecb0c2ec0a: ignoring map
reload: 1p_lu_coraid23_lu undef IET,VIRTUAL-DISK
size=4.0T features='0' hwhandler='0' wp=undef
`-+- policy='round-robin 0' prio=1 status=undef
  `- 8:0:0:1 sdc 8:32 active ready  running

# iscsiadm -m session
tcp: [4] 10.20.1.250:3260,1 iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool

# vdsClient -s 0 getDeviceList
[{'GUID': '1p_lu_coraid23_lu',
  'capacity': '4398046511104',
  'devtype': 'iSCSI',
  'fwrev': '0001',
  'logicalblocksize': '512',
  'partitioned': False,
  'pathlist': [{'connection': '10.20.1.250',
                'initiatorname': 'default',
                'iqn': 'iqn.2012-06.edu.tamu.dc-store:lv_kvm_pool',
                'port': '3260',
                'portal': '1'}],
  'pathstatus': [{'lun': '1',
                  'physdev': 'sdc',
                  'state': 'active',
                  'type': 'iSCSI'}],
  'physicalblocksize': '512',
  'productID': 'VIRTUAL-DISK',
  'pvUUID': '7MHtfm-352q-zWrT-KfU8-sJ1l-e4rP-aKsuhu',
  'serial': 'SIET_VIRTUAL-DISK',
  'vendorID': 'IET',
  'vgUUID': 'YCso68-YCo8-w817-I5Nf-mFx3-aoPe-LWkYco'}]

# vgs -o+pv_name
  VG                                   #PV #LV #SN Attr   VSize  VFree
PV
  f18b2342-4713-4319-a878-3025b38556a4   1   6   0 wz--n-  4.00t 4.00t
/dev/mapper/1p_lu_coraid23_lu
  vg_dc-kvm0                             1   2   0 wz--n- 67.50g    0
/dev/sda2

Thanks
- Trey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt_add_storage.png
Type: image/png
Size: 34287 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120625/9c3c38e4/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt_add_storage1.png
Type: image/png
Size: 21604 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120625/9c3c38e4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine_add_storage.log
Type: application/octet-stream
Size: 6860 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120625/9c3c38e4/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdsm_add_storage.log
Type: application/octet-stream
Size: 39222 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120625/9c3c38e4/attachment-0003.obj>


More information about the Users mailing list