← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1493350] Re: Attach Volume fail : Cinder - ISCSI device symlinks under /dev/disk/by-path in hex.

 

** Changed in: nova
       Status: Opinion => Fix Released

** Changed in: cinder
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1493350

Title:
  Attach Volume fail : Cinder - ISCSI device symlinks under /dev/disk
  /by-path in hex.

Status in Cinder:
  Fix Released
Status in OpenStack Compute (nova):
  Fix Released
Status in os-brick:
  Fix Released

Bug description:
  As part of POC for an enterprise storage we have implemented an ISCSIDriver.
  Volume operation works as expected.

  Facing an issue with attach volume. Request your help.

  1. If the volume lun id in backend storage is less than 255 attach volume works fine. Symlinks in /dev/disk/by-path is as below
  lrwxrwxrwx 1 root root   9 Jun 18 15:18 ip-192.168.5.100:3260-iscsi-iqn.1989-10.jp.co.xyz:storage.ttsp.2ec7fdda.ff5c4a16.0-lun-169 -> ../../sde
  lrwxrwxrwx 1 root root   9 Aug 26 14:47 ip-192.168.5.100:3260-iscsi-iqn.1989-10.jp.co.xyz:storage.ttsp.2ec7fdda.ff5c4a16.0-lun-172 -> ../../sdi

  2. If volume lun id is more than 255, /dev/disk/by-path is an hexadecimal number and hence attach volume is failing with message Volume path not found.  Symlinks in /dev/disk/by-path is as below [hexadecimal lun id  according to SCSI standard ( REPORT LUNS)]
  lrwxrwxrwx 1 root root   9 Aug 26 14:47 ip-192.168.5.100:3260-iscsi-iqn.1989-10.jp.co.xxx:storage.ttsp.2ec7fdda.ff5c4a16.0-lun-0x016b000000000000 -> ../../sdh
  lrwxrwxrwx 1 root root   9 Jun 18 15:18 ip-192.168.5.100:3260-iscsi-iqn.1989-10.jp.co.xxx:storage.ttsp.2ec7fdda.ff5c4a16.0-lun-0x0200000000000000 -> ../../sdc

  Please provide your suggession.

  I would suggest cinder utility to have a check of both with normal
  lun-id in /dev/disk/by-path as well as hexadecimal lunid.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1493350/+subscriptions