Previously, we simply checked $? which at that point would be the exit
status of echo, not openstack-ansible. By recording the actual
openstack-ansible exit status, we can properly report failures of the
upgrade script.
Closes-bug: 1480342
Change-Id: Icf43bea84660e4160a2dfcdb4ac93055340b3573
(cherry picked from commit 8a106d184a566f1baed616aee7747d5f2d581c1b)
Reviewed: https:/ /review. openstack. org/208607 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=58d0daef9bd 97439abba8fbfc9 e63f2a8b0884cc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 58d0daef9bd9743 9abba8fbfc9e63f 2a8b0884cc
Author: Ian Cordasco <email address hidden>
Date: Fri Jul 31 09:50:57 2015 -0500
Use playbook status to report upgrade failure
Previously, we simply checked $? which at that point would be the exit ansible exit status, we can properly report failures of the
status of echo, not openstack-ansible. By recording the actual
openstack-
upgrade script.
Closes-bug: 1480342 160a2dfcdb4ac93 055340b3573 baed616aee7747d 5f2d581c1b)
Change-Id: Icf43bea84660e4
(cherry picked from commit 8a106d184a566f1