openstack overcloud status not working after Undercloud upgrade to Stein
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@underclou
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
execution = payload[
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.
Strangely, we cherry-picked https:/ /review. opendev. org/#/q/ I010ea5d732aba9 7a554e868f62a19 e6fdaee8889 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.