fixed typo where fields were missing the 'volume_' prefix

This commit is contained in:
Kevin Carter 2014-09-16 01:32:53 -05:00
parent 2d868acd34
commit 0ed5a117ff
3 changed files with 9 additions and 9 deletions

View File

@ -145,8 +145,8 @@ storage_hosts:
limit_container_types: cinder_volume limit_container_types: cinder_volume
lvm: lvm:
volume_group: cinder-volumes volume_group: cinder-volumes
driver: cinder.volume.drivers.lvm.LVMISCSIDriver volume_driver: cinder.volume.drivers.lvm.LVMISCSIDriver
backend_name: LVM_iSCSI volume_backend_name: LVM_iSCSI
# User defined Logging Hosts, this should be a required group # User defined Logging Hosts, this should be a required group
log_hosts: log_hosts:

View File

@ -165,8 +165,8 @@ storage_hosts:
limit_container_types: cinder_volume limit_container_types: cinder_volume
lvm: lvm:
volume_group: cinder-volumes volume_group: cinder-volumes
driver: cinder.volume.drivers.lvm.LVMISCSIDriver volume_driver: cinder.volume.drivers.lvm.LVMISCSIDriver
backend_name: LVM_iSCSI volume_backend_name: LVM_iSCSI
cinder2: cinder2:
ip: 172.29.236.105 ip: 172.29.236.105
container_vars: container_vars:
@ -174,8 +174,8 @@ storage_hosts:
limit_container_types: cinder_volume limit_container_types: cinder_volume
lvm_ssd: lvm_ssd:
volume_group: cinder-volumes volume_group: cinder-volumes
driver: cinder.volume.drivers.lvm.LVMISCSIDriver volume_driver: cinder.volume.drivers.lvm.LVMISCSIDriver
backend_name: LVM_SSD_iSCSI volume_backend_name: LVM_SSD_iSCSI
cinder3: cinder3:
ip: 172.29.236.106 ip: 172.29.236.106
container_vars: container_vars:
@ -188,8 +188,8 @@ storage_hosts:
netapp_server_port: 80 netapp_server_port: 80
netapp_login: "{{ cinder_netapp_username }}" netapp_login: "{{ cinder_netapp_username }}"
netapp_password: "{{ cinder_netapp_password }}" netapp_password: "{{ cinder_netapp_password }}"
driver: cinder.volume.drivers.netapp.common.NetAppDriver volume_driver: cinder.volume.drivers.netapp.common.NetAppDriver
backend_name: NETAPP_iSCSI volume_backend_name: NETAPP_iSCSI
# User defined Logging Hosts, this should be a required group # User defined Logging Hosts, this should be a required group
log_hosts: log_hosts:

View File

@ -24,6 +24,6 @@
shell: | shell: |
. ~/openrc . ~/openrc
cinder type-create "{{ item.0 }}" cinder type-create "{{ item.0 }}"
cinder type-key "{{ item.0 }}" set volume_backend_name="{{ cinder_backends[item.0]['backend_name'] }}" cinder type-key "{{ item.0 }}" set volume_backend_name="{{ cinder_backends[item.0]['volume_backend_name'] }}"
with_items: cinder_backends|dictsort with_items: cinder_backends|dictsort
when: cinder_backends is defined when: cinder_backends is defined