ScaleIO: os-vol-host-attr:host is wrong when using multiple pools in the same backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
tssgery |
Bug Description
Given the following configuration in cinder.conf:
[scaleio_cluster2]
iscsi_ip_
san_ip=y.y.y.y
san_login=xxxxxx
san_password=
sio_protection_
sio_storage_
sio_storage_
volume_
volume_
san_thin_
$ cinder get-pools --detail
+------
| Property | Value |
+------
| QoS_support | True |
| allocated_
| consistencygrou
| driver_version | 2.0 |
| free_capacity_gb | 8208 |
| max_over_
| name | controller1@
| pool_name | CLUSTER2:
| provisioned_
| reserved_percentage | 0 |
| storage_protocol | scaleio |
| thick_provision
| thin_provisioni
| timestamp | 2017-06-
| total_capacity_gb | 153464 |
| vendor_name | EMC |
| volume_backend_name | scaleio_cluster2 |
+------
+------
| Property | Value |
+------
| QoS_support | True |
| allocated_
| consistencygrou
| driver_version | 2.0 |
| free_capacity_gb | 6072 |
| max_over_
| name | controller1@
| pool_name | CLUSTER2:
| provisioned_
| reserved_percentage | 0 |
| storage_protocol | scaleio |
| thick_provision
| thin_provisioni
| timestamp | 2017-06-
| total_capacity_gb | 177008 |
| vendor_name | EMC |
| volume_backend_name | scaleio_cluster2 |
+------
$ openstack volume type show ssd1-zone2
+------
| Field | Value |
+------
| access_project_ids | None |
| description | |
| id | 1eda3c8a-
| is_public | True |
| name | ssd1-zone2 |
| properties | provisioning:
| qos_specs_id | None |
+------
$ openstack volume create --type ssd1-zone2 --size 8 mchlumsky-test
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-06-
| description | None |
| encrypted | False |
| id | 2391a0c4-
| migration_status | None |
| multiattach | False |
| name | mchlumsky-test |
| properties | |
| replication_status | disabled |
| size | 8 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | ssd1-zone2 |
| updated_at | None |
| user_id | 6c20cdc6afb344d
+------
When we create a volume in the backend scaleio_cluster2, we would expect it to be in CLUSTER2:
$ openstack volume show 2391a0c4-
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-06-
| description | None |
| encrypted | False |
| id | 2391a0c4-
| migration_status | None |
| multiattach | False |
| name | mchlumsky-test |
| os-vol-
| | CLUSTER2:
| os-vol-
| os-vol-
| os-vol-
| properties | |
| replication_status | disabled |
| size | 8 |
| snapshot_id | None |
| source_volid | None |
| status | available |
| type | ssd1-zone2 |
| updated_at | 2017-06-
| user_id | 6c20cdc6afb344d
+------
Changed in cinder: | |
assignee: | nobody → tssgery (eric-aceshome) |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
importance: | Undecided → Medium |
Also, I forgot to mention that in the example, although openstack reports the volume created with os-vol- host-attr: host: controller1@ scaleio_ cluster2# CLUSTER2: PERFORMANCE- 01, the volume is actually physically on CLUSTER2: CAPACITY- 01.