Bug 1629857 - [UPGRADES][14] Error message: 'Client' object has no attribute 'workflow_engine'
Summary: [UPGRADES][14] Error message: 'Client' object has no attribute 'workflow_engine'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Jiri Stransky
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-17 14:02 UTC by Yurii Prokulevych
Modified: 2019-01-11 11:53 UTC (History)
11 users (show)

Fixed In Version: python-tripleoclient-10.5.1-0.20180906012845.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:53:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1795928 0 None None None 2018-10-03 16:21:59 UTC
OpenStack gerrit 608623 0 None None None 2018-10-09 08:42:00 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:53:20 UTC

Description Yurii Prokulevych 2018-09-17 14:02:36 UTC
Description of problem:
-----------------------
After running `openstack overcloud upgrade prepare' finished, next message is displayed:
...
2018-09-17 13:48:29Z [QE-Cloud-0]: UPDATE_COMPLETE  Stack UPDATE completed successfully

 Stack QE-Cloud-0/a617c653-4cb6-4e4f-9213-dac3cb002e41 UPDATE_COMPLETE 

2018-09-17 09:48:45.964 2072 WARNING tripleoclient.plugin [-] Waiting for messages on queue 'tripleo' with no timeout.
Success
2018-09-17 09:49:47.139 2072 ERROR openstack [-] 'Client' object has no attribute 'workflow_engine'
2018-09-17 09:49:47.142 2072 INFO osc_lib.shell [-] END return value: 1

Though return code is 0.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
python2-openstackclient-3.16.0-0.20180809175603.f77ca68.el7ost.noarch


Steps to Reproduce:
-------------------
1. Upgrade UC to RHOS-14(2018-09-06.1)
2. Run oc upgrade prepare command:
    openstack overcloud upgrade prepare --stack overcloud \
      --templates /usr/share/openstack-tripleo-heat-templates \
      --stack QE-Cloud-0 \
      -e /home/stack/virt/internal.yaml \
      -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
      -e /home/stack/virt/network/network-environment.yaml \
      -e /home/stack/virt/enable-tls.yaml \
      -e /home/stack/virt/inject-trust-anchor.yaml \
      -e /home/stack/virt/public_vip.yaml \
      -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \
      -e /home/stack/virt/hostnames.yml \
      -e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
      -e /home/stack/virt/debug.yaml \
      -e /home/stack/virt/nodes_data.yaml \
      -e /home/stack/virt/docker-images.yaml


Actual results:
---------------
Upgrade prepare command succeeds but message with log level ERROR is displayed after

Expected results:
-----------------
Error message is printed when error occurs.

Comment 1 Jiri Stransky 2018-10-03 15:52:21 UTC
This is a bug in an earlier CLI patch, unrelated to upgrades framework. I managed to reproduce it, fix incoming.

Comment 2 Jiri Stransky 2018-10-03 15:54:37 UTC
I'll bump the severity one notch to 'medium' because overcloudrc isn't getting refreshed because of this bug.

Comment 3 Yurii Prokulevych 2018-10-04 12:44:05 UTC
Manually applied patch:
...
2018-10-04 12:41:36Z [overcloud]: UPDATE_COMPLETE  Stack UPDATE completed successfully

 Stack overcloud/f5ec2886-840c-427a-a139-3c5dac2528dd UPDATE_COMPLETE 

2018-10-04 08:41:50.496 679838 WARNING tripleoclient.plugin [-] Waiting for messages on queue 'tripleo' with no timeout.
Success
2018-10-04 08:43:05.758 679838 WARNING tripleoclient.plugin [-] Waiting for messages on queue 'tripleo' with no timeout.
2018-10-04 08:43:06.945 679838 INFO tripleoclient.v1.overcloud_upgrade.MajorUpgradePrepare [-] Completed Overcloud Upgrade Prepare for stack overcloud
2018-10-04 08:43:06.950 679838 INFO osc_lib.shell [-] END return value: None
(undercloud) [stack@undercloud-0 ~ (undercloud-14-US)]$

Comment 10 errata-xmlrpc 2019-01-11 11:53:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


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