HPE 3PAR: Unable to use vlan iscsi ips
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Cinder |
Fix Released
|
Low
|
Raghavendra Tilay | ||
Bug Description
What is issue:
---------------
Sample output of "showport" command from HPE 3par storage system:
CSSOS-SSA04 cli% showport -iscsi
N:S:P State IPAddr Netmask/PrefixLen Gateway TPGT MTU Rate iSNS_Addr iSNS_Port STGT VLAN
0:2:1 ready 192.168.68.203 255.255.192.0 0.0.0.0 21 1500 10Gbps 0.0.0.0 3205 21 Y
0:2:2 ready 192.168.68.228 255.255.192.0 0.0.0.0 22 1500 10Gbps 0.0.0.0 3205 22 Y
CSSOS-SSA04 cli% showport -iscsivlans
N:S:P VLAN IPAddr Netmask/PrefixLen Gateway MTU TPGT STGT iSNS_Addr iSNS_Port
0:2:1 - 192.168.68.203 255.255.192.0 0.0.0.0 1500 21 21 0.0.0.0 3205
0:2:1 100 192.168.100.1 255.255.192.0 0.0.0.0 1500 1024 21 0.0.0.0 3205
0:2:1 200 192.168.100.2 255.255.255.0 0.0.0.0 1500 1028 1028 0.0.0.0 3205
0:2:2 - 192.168.68.228 255.255.192.0 0.0.0.0 1500 22 22 0.0.0.0 3205
0:2:2 100 192.168.100.7 255.255.192.0 0.0.0.0 1500 1025 22 0.0.0.0 3205
0:2:2 200 192.168.100.8 255.255.255.0 0.0.0.0 1500 1030 1030 0.0.0.0 3205
In /etc/cinder/
hpe3par_
Then from initialize_
At least one valid iSCSI IP address must be set
Also, the operation "attach volume to instance" also fails i.e _initialize_
Why is this observed:
-------
In the code hpe_3par_iscsi.py, only the trunk ips (192.168.68.203) are considered.
The vlan ips (192.168.100.1) are not checked.
How to resolve:
---------------
In functions initialize_
in addition to trunk ips (192.168.68.203), consider vlan ips (192.168.100.1) also.
| Changed in cinder: | |
| assignee: | nobody → Raghavendra Tilay (raghavendrat) |
| Changed in cinder: | |
| importance: | Undecided → Low |
| tags: | added: drivers hpe |

Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/878684
Review: https:/