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: Ieac69a69b74a13db192e4f0fb4fc49a2f83b3a4a
This commit is contained in:
		| @@ -86,10 +86,12 @@ class CephBasicDeployment(OpenStackAmuletDeployment): | |||||||
|             'monitor-secret': 'AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==', |             'monitor-secret': 'AQCXrnZQwI7KGBAAiPofmKEXKxu5bUzoYLVkbQ==', | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         # 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 = { |         ceph_osd_config = { | ||||||
|             'osd-reformat': 'yes', |             'osd-reformat': 'yes', | ||||||
|             'ephemeral-unmount': '/mnt', |             'ephemeral-unmount': '/mnt', | ||||||
|             'osd-devices': '/dev/vdb /srv/ceph' |             'osd-devices': '/dev/vdb /srv/ceph /dev/test-non-existent' | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         configs = {'keystone': keystone_config, |         configs = {'keystone': keystone_config, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ryan Beisner
					Ryan Beisner