Attach Volume fail : Cinder - ISCSI device symlinks under /dev/disk/by-path in hex.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Unassigned | ||
os-brick |
Fix Released
|
Undecided
|
Kendall Nelson |
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.
lrwxrwxrwx 1 root root 9 Aug 26 14:47 ip-192.
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.
lrwxrwxrwx 1 root root 9 Jun 18 15:18 ip-192.
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.
description: | updated |
tags: | added: cinder |
tags: | added: attach volume |
tags: | added: drivers |
description: | updated |
summary: |
- Attach Volume fail : Cinder - ISCSI symlinks under /dev/disk/by-path in - hex. + Attach Volume fail : Cinder - ISCSI device symlinks under /dev/disk/by- + path in hex. |
Changed in cinder: | |
status: | New → Confirmed |
Changed in os-brick: | |
status: | New → Confirmed |
assignee: | nobody → Kendall Nelson (kjnelson) |
Changed in cinder: | |
assignee: | nobody → Kendall Nelson (kjnelson) |
assignee: | Kendall Nelson (kjnelson) → nobody |
Changed in os-brick: | |
assignee: | Kendall Nelson (kjnelson) → Vinay Prasad M (vpshelvankar) |
Changed in os-brick: | |
status: | Confirmed → In Progress |
Changed in os-brick: | |
assignee: | Vinay Prasad M (vpshelvankar) → Kendall Nelson (kjnelson) |
Changed in nova: | |
status: | Opinion → Fix Released |
Changed in cinder: | |
status: | Confirmed → Fix Released |
Which release of OpenStack are you using? I'm not sure but there was some work in os-brick during liberty (handles initiator side) related to luns >255 for FC, I don't think this would be related but could be.
Also, the problem here I believe is a behavior in open-iscsi but it sounds like open-iscsi translates it to hex but the nova calls keep it as decimal?