Bug 1635353 - openstack overcloud status shows an ugly exception when plan name is different than overcloud
Summary: openstack overcloud status shows an ugly exception when plan name is differen...
Keywords:
Status: CLOSED DUPLICATE of bug 1624464
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-02 17:25 UTC by Marius Cornea
Modified: 2018-10-02 17:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-02 17:47:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Marius Cornea 2018-10-02 17:25:28 UTC
Description of problem:

openstack overcloud status shows an ugly exception when plan name is different than overcloud:

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud status 
The action raised an exception [action_ex_id=dcb2c62a-7a26-40b3-9f4b-b8166f371701, action_cls='<class 'mistral.actions.action_factory.SwiftAction'>', attributes='{u'client_method_name': u'get_object'}', params='{u'obj': u'deployment_status.yaml', u'container': u'overcloud-messages'}']
 SwiftAction.get_object failed: Object GET failed: https://192.168.24.2:13808/v1/AUTH_c3687695ddbf40e9b5a574a99ca27d02/overcloud-messages/deployment_status.yaml 404 Not Found  [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<
Exception getting deployment status: The action raised an exception [action_ex_id=dcb2c62a-7a26-40b3-9f4b-b8166f371701, action_cls='<class 'mistral.actions.action_factory.SwiftAction'>', attributes='{u'client_method_name': u'get_object'}', params='{u'obj': u'deployment_status.yaml', u'container': u'overcloud-messages'}']
 SwiftAction.get_object failed: Object GET failed: https://192.168.24.2:13808/v1/AUTH_c3687695ddbf40e9b5a574a99ca27d02/overcloud-messages/deployment_status.yaml 404 Not Found  [first 60 chars of response] <html><h1>Not Found</h1><p>The resource could not be found.<

(undercloud) [stack@undercloud-0 ~]$ 
(undercloud) [stack@undercloud-0 ~]$ openstack overcloud plan list
+-----------+
| Plan Name |
+-----------+
| openshift |
+-----------+


Version-Release number of selected component (if applicable):

openstack-tripleo-common-9.3.1-0.20180920204841.18ea890.el7ost.noarch
python2-tripleo-common-9.3.1-0.20180920204841.18ea890.el7ost.noarch
openstack-tripleo-common-containers-9.3.1-0.20180920204841.18ea890.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Run 'openstack overcloud status' when a plan different than 'overcloud' exists


Actual results:
An ugly exception is printed.

Expected results:
We should show a human readable message such as: "No 'overcloud' plan exists'

Additional info:

Comment 1 Marius Cornea 2018-10-02 17:47:58 UTC

*** This bug has been marked as a duplicate of bug 1624464 ***


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