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:
Emilien Macchi 2017-01-29 11:05:27 -05:00
parent cee64d82e5
commit d284943b65
1 changed files with 0 additions and 1 deletions

View File

@ -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'],