Bug 1632495

Summary: [OSP14] openstack ovecloud status for empty overcloud return swift, mistral exceptions and exit_code=1
Product: Red Hat OpenStack Reporter: Artem Hrechanychenko <ahrechan>
Component: python-tripleoclientAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: beth.white, hbrock, jslagle, mburns, sasha
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-17 10:25:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artem Hrechanychenko 2018-09-24 21:58:32 UTC
Description of problem:
(undercloud) [stack@undercloud-0 ~]$ openstack overcloud status
The action raised an exception [action_ex_id=fdde3cf6-85ac-410f-92e6-42db5bd90a9c, 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_f5e3bda1eebb408e804e196d2b34adc8/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=fdde3cf6-85ac-410f-92e6-42db5bd90a9c, 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_f5e3bda1eebb408e804e196d2b34adc8/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 ~]$ echo $?
1


Version-Release number of selected component (if applicable):
OSP14
openstack-tripleo-validations-9.3.1-0.20180831205305.fbfd253.el7ost.noarch
python2-tripleo-common-9.3.1-0.20180831204016.bb0582a.el7ost.noarch
python-tripleoclient-heat-installer-10.5.1-0.20180901082351.6d7aa74.el7ost.noarch
openstack-tripleo-image-elements-9.0.0-0.20180831210308.2dc678a.el7ost.noarch
ansible-role-tripleo-modify-image-1.0.1-0.20180903052248.40521ee.el7ost.noarch
openstack-tripleo-heat-templates-9.0.0-0.20180831204457.17bb71e.0rc1.el7ost.noarch
ansible-tripleo-ipsec-9.0.1-0.20180827143021.d2b9234.el7ost.noarch
puppet-tripleo-9.3.1-0.20180831202649.8ec6c86.el7ost.noarch
openstack-tripleo-common-9.3.1-0.20180831204016.bb0582a.el7ost.noarch
python-tripleoclient-10.5.1-0.20180901082351.6d7aa74.el7ost.noarch
openstack-tripleo-puppet-elements-9.0.0-0.20180831205939.0641fdc.el7ost.noarch
openstack-tripleo-common-containers-9.3.1-0.20180831204016.bb0582a.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1.Deploy OSP14 undercloud
2.run openstack overcloud status


Actual results:
mistral, swift exceptions

Expected results:
empty list , for example 
(undercloud) [stack@undercloud-0 ~]$ heat stack-list
WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 192.168.24.2 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SubjectAltNameWarning
/usr/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for 192.168.24.2 has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
  SubjectAltNameWarning
+----+------------+--------------+---------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+----+------------+--------------+---------------+--------------+
+----+------------+--------------+---------------+--------------+


Additional info: