Use an actual boolean for remove-missing. Thanks to ryan.harper@canonical.com for contributions to the remove-missing support.
This commit is contained in:
parent
5f332c9f57
commit
441edad8ec
@ -58,10 +58,10 @@ options:
|
||||
If true, charm will attempt to overwrite block devices containing
|
||||
previous filesystems or LVM, assuming it is not in use.
|
||||
remove-missing:
|
||||
default: "false"
|
||||
type: string
|
||||
default: False
|
||||
type: boolean
|
||||
description: |
|
||||
If true, charm will attempt to remove missing physical volumes from
|
||||
If True, charm will attempt to remove missing physical volumes from
|
||||
volume group, if logical volumes are not allocated on them.
|
||||
database-user:
|
||||
default: cinder
|
||||
|
@ -106,7 +106,7 @@ def config_changed():
|
||||
configure_lvm_storage(block_devices,
|
||||
conf['volume-group'],
|
||||
conf['overwrite'] in ['true', 'True', True],
|
||||
conf['remove-missing'] in ['true', 'True', True])
|
||||
conf['remove-missing'])
|
||||
|
||||
if openstack_upgrade_available('cinder-common'):
|
||||
do_openstack_upgrade(configs=CONFIGS)
|
||||
|
Loading…
Reference in New Issue
Block a user