From d284943b65dad06b223f3084367aff69dc70d796 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Sun, 29 Jan 2017 11:05:27 -0500 Subject: [PATCH] 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 --- manifests/cell_v2/map_cell0.pp | 1 - 1 file changed, 1 deletion(-) diff --git a/manifests/cell_v2/map_cell0.pp b/manifests/cell_v2/map_cell0.pp index 65f105441..1ee83ab3f 100644 --- a/manifests/cell_v2/map_cell0.pp +++ b/manifests/cell_v2/map_cell0.pp @@ -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'],