Bug 1648669 - [RHOS14] openstack overcloud status fails to execute
Summary: [RHOS14] openstack overcloud status fails to execute
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 14.0 (Rocky)
Assignee: James Slagle
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks: 1637966
TreeView+ depends on / blocked
 
Reported: 2018-11-11 14:03 UTC by Gurenko Alex
Modified: 2019-01-11 11:54 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-common-9.4.1-0.20181012010871.67bab16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:54:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:54:53 UTC

Description Gurenko Alex 2018-11-11 14:03:25 UTC
Description of problem: Attempt to execute openstack overcloud status --plan overcloud fails


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

  - puddle 2018-11-07.2
  - openstack-tripleo-common-9.4.1-0.20181012010870.67bab16.el7ost.noarch


How reproducible:


Steps to Reproduce:
1. Deployed RHOS14
2. Added clean_nodes = True to undercloud conf and executed openstack undercloud install to apply changes
3. Executed openstack overcloud status --plan overcloud

Actual results:

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud status --plan overcloud
('The read operation timed out',)


Expected results:

Status printed


Additional info:

I can see that workflow execution fails in executions list:

| d41f50a9-b10a-4dd2-9508-56136ae52286 | 75ad552a-51ff-4388-b1d6-23c90fe18770 | tripleo.deployment.v1.get_deployment_status         |                    |
| <none>            | <none>            | ERR
OR   | Failed to run task [error... | 2018-11-11 13:44:30 | 2018-11-11 13:44:30 |

Execution show shows following:

(undercloud) [stack@undercloud-0 ~]$ openstack workflow execution show d41f50a9-b10a-4dd2-9508-56136ae52286
+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field              | Value                                                                                                                                                                                |
+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| ID                 | d41f50a9-b10a-4dd2-9508-56136ae52286                                                                                                                                                 |
| Workflow ID        | 75ad552a-51ff-4388-b1d6-23c90fe18770                                                                                                                                                 |
| Workflow name      | tripleo.deployment.v1.get_deployment_status                                                                                                                                          |
| Workflow namespace |                                                                                                                                                                                      |
| Description        |                                                                                                                                                                                      |
| Task Execution ID  | <none>                                                                                                                                                                               |
| Root Execution ID  | <none>                                                                                                                                                                               |
| State              | ERROR                                                                                                                                                                                |
| State info         | Failed to run task [error=Failed to find action [action_name=tripleo.deployment.get_deployment_status], wf=tripleo.deployment.v1.get_deployment_status, task=get_deployment_status]: |
|                    | Traceback (most recent call last):                                                                                                                                                   |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/task_handler.py", line 63, in run_task                                                                                       |
|                    |     task.run()                                                                                                                                                                       |
|                    |   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper                                                                                               |
|                    |     result = f(*args, **kwargs)                                                                                                                                                      |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 390, in run                                                                                                  |
|                    |     self._run_new()                                                                                                                                                                  |
|                    |   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 159, in wrapper                                                                                               |
|                    |     result = f(*args, **kwargs)                                                                                                                                                      |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 419, in _run_new                                                                                             |
|                    |     self._schedule_actions()                                                                                                                                                         |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 486, in _schedule_actions                                                                                    |
|                    |     action = self._build_action()                                                                                                                                                    |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/tasks.py", line 564, in _build_action                                                                                        |
|                    |     self.wf_spec.get_name()                                                                                                                                                          |
|                    |   File "/usr/lib/python2.7/site-packages/mistral/engine/actions.py", line 635, in resolve_action_definition                                                                          |
|                    |     "Failed to find action [action_name=%s]" % action_spec_name                                                                                                                      |
|                    | InvalidActionException: Failed to find action [action_name=tripleo.deployment.get_deployment_status]                                                                                 |
|                    |                                                                                                                                                                                      |
| Created at         | 2018-11-11 13:44:30                                                                                                                                                                  |
| Updated at         | 2018-11-11 13:44:30                                                                                                                                                                  |
+--------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

I can see that following patch [0] was merged: https://review.openstack.org/#/c/611168/

Comment 3 Gurenko Alex 2018-11-15 10:51:39 UTC
Verified on puddle 2018-11-13.1

[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-common
openstack-tripleo-common-9.4.1-0.20181012010875.67bab16.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ openstack overcloud status --plan overcloud
None
+-----------+---------------------+---------------------+-------------------+
| Plan Name |       Created       |       Updated       | Deployment Status |
+-----------+---------------------+---------------------+-------------------+
| overcloud | 2018-11-15 09:16:39 | 2018-11-15 09:16:39 |   DEPLOY_SUCCESS  |
+-----------+---------------------+---------------------+-------------------+

Comment 6 errata-xmlrpc 2019-01-11 11:54:40 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.