+++ This bug was initially created as a clone of Bug #1353049 +++ rhel-osp-director: [RFE] failed update and/or upgrade attempt should return non 0 value. Currently , once the update or upgrade fails: IN_PROGRESS FAILED update finished with status FAILED The exit value is 0, so we can't test result based on it. Expected: The exit value should be 0 only when the update/upgrade succeeded. PACKAGES: --------- openstack-tripleo-heat-templates-liberty-2.0.0-57.el7ost.noarch python-tripleoclient-2.0.0-14.el7ost.noarch openstack-tripleo-heat-templates-2.0.0-57.el7ost.noarch openstack-tripleo-common-2.0.0-10.el7ost.noarch openstack-tripleo-puppet-elements-2.0.0-6.el7ost.noarch openstack-tripleo-image-elements-0.9.9-7.el7ost.noarch openstack-tripleo-0.0.8-0.2.d81bd6dgit.el7ost.noarch Steps to reproduce: ------------------- 1. Install RHOS-9 2. Setup latest repos on uc and oc 3. Update uc 4. Modify yum_update.sh to 'exit 1' immediately 5. Run minor update. 6. Revert yum_update.sh 7. Re-run minor update and check exit code
This a backport feature request and unfortunately will not be being backported to OSP9. Closing won't fix.