Stop accepting 1 return code for cell_v2_map_cell0
https://review.openstack.org/#/c/420132/ has merged, so Nova now returns 0 and we don't need to accept 1 return code, which was a workaround. Cleanup this workaround and so the exec will fail Nova sends 1 return code. Change-Id: I530ea2631cec7d49f2a4f68f0fec3eae0b45ad88
This commit is contained in:
parent
cee64d82e5
commit
d284943b65
|
@ -21,7 +21,6 @@ class nova::cell_v2::map_cell0 (
|
|||
path => ['/bin', '/usr/bin'],
|
||||
command => "nova-manage ${extra_params} cell_v2 map_cell0",
|
||||
refreshonly => true,
|
||||
returns => [0,1], # TODO(owalsh): Remove when this lands https://review.openstack.org/#/c/420132/ in packaging
|
||||
logoutput => on_failure,
|
||||
subscribe => Anchor['nova::cell_v2::begin'],
|
||||
notify => Anchor['nova::cell_v2::end'],
|
||||
|
|
Loading…
Reference in New Issue