Bug 1461498 - Failed update and/or upgrade attempt should return non 0 value.
Summary: Failed update and/or upgrade attempt should return non 0 value.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: 9.0 (Mitaka)
Assignee: Julie Pichon
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On: 1353049
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-14 15:16 UTC by Yurii Prokulevych
Modified: 2018-02-09 16:25 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1353049
Environment:
Last Closed: 2018-02-09 16:25:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 339048 0 None None None 2017-06-14 15:16:44 UTC
OpenStack gerrit 370742 0 None None None 2017-06-14 15:16:44 UTC

Description Yurii Prokulevych 2017-06-14 15:16:45 UTC
+++ 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

Comment 1 Beth White 2018-02-09 16:25:42 UTC
This a backport feature request and unfortunately will not be being backported to OSP9. Closing won't fix.


Note You need to log in before you can comment on or make changes to this bug.