Fixed provisioning type key. All volumes should be created with thin provisioning

Change-Id: I897a303bd0e0d093695583bf5588df29d1e87afa
This commit is contained in:
Adrian Moreno 2015-12-09 18:15:43 +01:00
parent 12c2dee2a9
commit b810b87f18
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ inherits scaleio_fuel::params {
} ->
exec { "Create Cinder volume type extra specs for \'${volume_type}\'":
command => "bash -c 'source /root/openrc; cinder type-key ${volume_type} set sio:pd_name=${protection_domain} sio:provisioning_type=thin sio:sp_name=${storage_pool}'",
command => "bash -c 'source /root/openrc; cinder type-key ${volume_type} set sio:pd_name=${protection_domain} sio:provisioning=thin sio:sp_name=${storage_pool}'",
path => ['/usr/bin', '/bin'],
onlyif => "bash -c 'source /root/openrc; cinder type-list |grep -q \" ${volume_type} \"'",
}