ZFSSA iSCSI driver doesn't honor volume_backend_name config option.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Juan Zuluaga |
Bug Description
Unable to create ZFSSA iSCSI volumes when volume_backend_name is specified on extra-specs.
For instance:
$cinder type-create zfssa
$cinder type-key zfssa set volume_
$ cinder extra-specs-list
+------
| ID | Name | extra_specs |
+------
| 3b476688-
| bcb3c21d-
+------
$ cinder create --volume_type zfssa --display_name jz1 1
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-09-
| display_description | None |
| display_name | jz1 |
| encrypted | False |
| id | fcc8d621-
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| volume_type | zfssa |
+------
devstack@
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| fcc8d621-
+------
Changed in cinder: | |
assignee: | nobody → Juan Zuluaga (juan-c-zuluaga) |
status: | New → In Progress |
summary: |
- ZFSSA iSCSI driver volume create not working when volume_backend_name is - specified in extra specs + ZFSSA iSCSI driver doesn't honor volume_backend_name config option. |
Changed in cinder: | |
milestone: | none → juno-rc2 |
Changed in cinder: | |
importance: | Undecided → Medium |
Changed in cinder: | |
milestone: | juno-rc2 → 2014.2 |
From the logs, (c-sch) , I see the following: scheduler. filter_ scheduler [req-810a01f9- b28e-47a4- 8988-9eb42cf618 49 ae6a169853f54a8 e9f631fb7b3644e a6 0942b384fc2b49f3a backend_ name': u'zfssa'}, u'deleted_at': None, u'id': u'3b476688- 78ec-4c2b- ad90-6e7fea630a 41' scheduler. flows.create_ volume [req-810a01f9- b28e-47a4- 8988-9eb42cf618 49 ae6a169853f54a8 e9f631fb7b3644e a6 0942b384fc2b49f3 scheduler. flows.create_ volume. ScheduleCreateV olumeTask; volume: create: No valid host was found. No weighed hosts av scheduler. host_manager [req-bc08ffc6- 368d-4bf6- a129-7451d135da 09 None None] Received volume service update from cam-cyclops@ ZFSSAISCSIDrive r: {u'QoS_support': False, u'volume_ backend_ name': u'ZFSSAISCSIDri ver', u'free_ capacity_ gb': 20415, u'driver_version': u'1.0.0', u'total_ capacity_ gb': 20416, u'reserved_ percentage' : 0, u'vendor_name': u'Oracle', u'storage_ protocol' : u'iSCSI'} from (pid=24056) update_ service_ capabilities /opt/stack/ cinder/ cinder/ scheduler/ host_manager. py:434
2014-09-24 16:52:09.309 WARNING cinder.
f371b747983af7f] No weighed hosts found for volume with properties: {u'name': u'zfssa', u'qos_specs_id': None, u'deleted': False, u'created_at': u'2014-09-24T
20:04:04.000000', u'updated_at': None, u'extra_specs': {u'volume_
}
2014-09-24 16:52:09.311 ERROR cinder.
af371b747983af7f] Failed to run task cinder.
ailable
.....
2014-09-24 16:57:16.149 DEBUG cinder.
So basically the volume_backend_name is 'hardwired' to the class name.