Add default for [cinder]default_docker_volume_type
When creating a kubernetes cluster on baremetal & fedora, if the cluster template does not have a docker_volume_type defined, the following error is seen: InvalidParameterValue: ERROR: The Parameter (docker_volume_type) was not provided. Cinder isn't mandatory, and neither is the docker_volume_type cluster template parameter, so it shouldn't need to be set. This change adds a default value of an empty string for the option [cinder]default_docker_volume_type, which allows the cluster to be created. Change-Id: I4416e2826e4a14a11b93d55d342e4de9b3dc12d7 Closes-Bug: #1702075
This commit is contained in:
parent
4fb91cc109
commit
ddde90e07c
@ -24,6 +24,7 @@ cinder_client_group = cfg.OptGroup(
|
|||||||
|
|
||||||
cinder_opts = [
|
cinder_opts = [
|
||||||
cfg.StrOpt('default_docker_volume_type',
|
cfg.StrOpt('default_docker_volume_type',
|
||||||
|
default='',
|
||||||
help=_('The default docker volume_type to use for volumes '
|
help=_('The default docker volume_type to use for volumes '
|
||||||
'used for docker storage. To use the cinder volumes '
|
'used for docker storage. To use the cinder volumes '
|
||||||
'for docker storage, you need to select a default '
|
'for docker storage, you need to select a default '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user