ibm_storage driver: the "OSvol:" prefix should be optional in the volume name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Tushar Trambak Gite |
Bug Description
The volumes created on DS8K by the ibm_storage driver all have a prefix "OSvol:" in the name.
And the DS8K storage has a limitation of maximum length of 16 for the volume name:
https:/
https:/
The current behavior in ibm_storage driver is to add a "OSVol:" prefix and truncate the name if the combined name length is greater than 16.
/usr/lib/
```
)[:16]
```
In some case, we have common template for the volume name and the truncate will make the volumes created in DS8K backend all with the same name except the last few bits.
The "OSvol:" name prefix makes the customizable bits available less under the limitation of maximum length of 16.
Can we make this prefix as optional?
tags: | added: ds8k volume-naming |
Changed in cinder: | |
status: | New → Triaged |
importance: | Undecided → Low |
prefix are already removed on this code /github. com/openstack/ cinder/ blob/1a231d3d2e 9fcd3945b67cf7b 8d7a8dda3c76e2a /cinder/ volume/ drivers/ ibm/ibm_ storage/ ds8k_proxy. py#L233
https:/