openstack overcloud status not working after Undercloud upgrade to Stein

Bug #1846206 reported by Jose Luis Franco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Medium
Unassigned

Bug Description

After performing the upgrade of the Undercloud from Rocky to Stein followed by the "openstack overcloud upgrade prepare" one of the scripts executed the "openstack overcloud status" command, resulting in the following error:

(undercloud) [zuul@undercloud-5705 ~]$ openstack overcloud status
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tripleoclient/command.py", line 32, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1058, in take_action
    execution = payload['execution']
KeyError: 'execution'
'execution'

The error is consistent. When trying to run it manually it fails with the same error. Not sure if it happens in a fresh Stein deployment though.

Revision history for this message
Rabi Mishra (rabi) wrote :

Strangely, we cherry-picked https://review.opendev.org/#/q/I010ea5d732aba97a554e868f62a19e6fdaee8889 all the way to stable/queens without a bug, which breaks 'overcloud status' command:/

We've to backport https://review.opendev.org/#/c/664871/, which fixes the broken 'overcloud status' command on master and do stable branch python-tripleoclient releases or revert above mentioned backports.

Revision history for this message
Rabi Mishra (rabi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.