periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master times out during deploy: Mistral client fails to initialize base action

Bug #1820045 reported by Gabriele Cerami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Undecided
Unassigned
tripleo
Fix Released
Critical
Sagi (Sergey) Shnaidman

Bug Description

logs at

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master/9ee209e/job-output.txt.gz#_2019-03-13_02_41_44_512183

shows that the deployment fails for a timeout

Yatin Karel analyzed logs and found that at

https://logs.rdoproject.org/openstack-periodic/git.openstack.org/openstack-infra/tripleo-ci/master/periodic-tripleo-ci-centos-7-multinode-1ctlr-featureset010-master/9ee209e/logs/undercloud/var/log/extra/errors.txt.txt.gz#_2019-03-13_00_30_51_476

mistral fails with the error:

2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor Traceback (most recent call last):
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/executors/default_executor.py", line 114, in run_action
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor result = action.run(action_ctx)
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor File "/usr/lib/python2.7/site-packages/mistral/actions/openstack/base.py", line 130, in run
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor (self.__class__.__name__, self.client_method_name, str(e))
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor ActionException: MistralAction.executions.find failed: _list() takes at least 2 arguments (1 given)
2019-03-13 00:30:51.476 ERROR /var/log/containers/mistral/executor.log.1: 8 ERROR mistral.executors.default_executor

which may be caused by a recent review at

 https://review.openstack.org/554950

affects: tripleo → mistral
Changed in mistral:
milestone: stein-rc1 → none
affects: mistral → tripleo
Changed in tripleo:
milestone: none → stein-rc1
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-mistralclient (master)

Reviewed: https://review.openstack.org/643304
Committed: https://git.openstack.org/cgit/openstack/python-mistralclient/commit/?id=0cd6b282920214d2995d1203aa0ad7d33c825b10
Submitter: Zuul
Branch: master

commit 0cd6b282920214d2995d1203aa0ad7d33c825b10
Author: Sagi Shnaidman <email address hidden>
Date: Thu Mar 14 13:52:53 2019 +0200

    Fix typo for self.list

    Mistake was introduced in https://review.openstack.org/#/c/554950
    Added an abstract method list to the base ResourceManager that
    raises a notImplementedError if called (instead of using
    abc.abstractmethod that would force the implementation of a list
    method that might not be required for all resources)

    Closes-Bug: #1820045

    Change-Id: I0c69e1beeb452a95cc5988a462f733806afbfafc

Changed in mistral:
status: New → Fix Released
Revision history for this message
yatin (yatinkarel) wrote :

Until mistralclient is released with the Fix, we have included the commit in rdo:- https://review.rdoproject.org/r/#/c/19435/, jobs are now running with the mistralclient fix.

Revision history for this message
wes hayutin (weshayutin) wrote :

fixed!

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Marios Andreou (marios-b) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-mistralclient (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.openstack.org/653700

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-mistralclient (stable/stein)

Reviewed: https://review.openstack.org/653700
Committed: https://git.openstack.org/cgit/openstack/python-mistralclient/commit/?id=0b52bfc1617b857590a470c6e754b20ffb434659
Submitter: Zuul
Branch: stable/stein

commit 0b52bfc1617b857590a470c6e754b20ffb434659
Author: Sagi Shnaidman <email address hidden>
Date: Thu Mar 14 13:52:53 2019 +0200

    Fix typo for self.list

    Mistake was introduced in https://review.openstack.org/#/c/554950
    Added an abstract method list to the base ResourceManager that
    raises a notImplementedError if called (instead of using
    abc.abstractmethod that would force the implementation of a list
    method that might not be required for all resources)

    Closes-Bug: #1820045

    Change-Id: I0c69e1beeb452a95cc5988a462f733806afbfafc
    (cherry picked from commit 0cd6b282920214d2995d1203aa0ad7d33c825b10)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient 3.8.1

This issue was fixed in the openstack/python-mistralclient 3.8.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-mistralclient 3.9.0

This issue was fixed in the openstack/python-mistralclient 3.9.0 release.

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.