Update amulet test to include a non-existent osd-devices value
The osd-devices charm config option is a whitelist, and the charm needs to gracefully handle items in that whitelist which may not exist. Change-Id: Iea212ef0e0987767e0e666ee2e30a59d4bef189a
This commit is contained in:
parent
5eb7fb5b65
commit
0cb5cd7f6d
@ -90,10 +90,13 @@ class CephOsdBasicDeployment(OpenStackAmuletDeployment):
|
||||
'ephemeral-unmount': '/mnt',
|
||||
'osd-devices': '/dev/vdb /srv/ceph'
|
||||
}
|
||||
|
||||
# Include a non-existent device as osd-devices is a whitelist,
|
||||
# and this will catch cases where proposals attempt to change that.
|
||||
ceph_osd_config = {
|
||||
'osd-reformat': 'yes',
|
||||
'ephemeral-unmount': '/mnt',
|
||||
'osd-devices': '/dev/vdb /srv/ceph'
|
||||
'osd-devices': '/dev/vdb /srv/ceph /dev/test-non-existent'
|
||||
}
|
||||
|
||||
configs = {'keystone': keystone_config,
|
||||
|
Loading…
Reference in New Issue
Block a user