Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Add ignore az settings #166

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jobs/cloud-provider/spec
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,6 @@ properties:
cloud-provider.openstack.trust-device-path:
description: By default block device names provided by Cinder (e.g. /dev/vda) can not be trusted. True toggle this behavior (Optional).
default: false
cloud-provider.openstack.ignore-volume-az:
description: When Nova and Cinder have different availability zones, this should be set to true. Default to false (Optional).
default: false
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
disk_config_string="[BlockStorage]\n"
disk_config['bs-version'] = p('cloud-provider.openstack.bs-version')
disk_config['trust-device-path'] = p('cloud-provider.openstack.trust-device-path')
disk_config['ignore-volume-az'] = p('cloud-provider.openstack.ignore-volume-az')

end

Expand Down
3 changes: 2 additions & 1 deletion spec/cloud_provider_ini_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@
'region' => 'fake-region',
'ca-file' => 'fake-perm-file',
'bs-version' => 'fake-bs-version',
'trust-device-path' => 'fake-trust-device-path'
'trust-device-path' => 'fake-trust-device-path',
'ignore-volume-az' => 'fake-ignore-volume-az'
}
end

Expand Down