Nodes assignment workflow fails

Bug #1665637 reported by Jiri Tomasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dougal Matthews

Bug Description

UpdateRoleParametersAction throws an error:

http://paste.openstack.org/show/599405/

2017-02-17 13:18:54.645 25800 WARNING ironicclient.common.http [-] The following arguments are being ignored when constructing the client: region_name
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor [-] Failed to run action [action_ex_id=fb02069c-7ed6-4074-a26e-f1cf42f5b01d, action_cls='<class 'mistral.actions.action_fa
ctory.UpdateRoleParametersAction'>', attributes='{}', params='{u'role': u'compute', u'container': u'latest5'}']
 __init__() got an unexpected keyword argument 'url'
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor Traceback (most recent call last):
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/mistral/engine/default_executor.py", line 89, in run_action
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor result = action.run()
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/parameters.py", line 131, in run
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor compute_client = self.get_compute_client()
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/tripleo_common/actions/base.py", line 124, in get_compute_client
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor project_id=ctx.project_id)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 358, in Client
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor **kwargs)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/novaclient/v2/client.py", line 257, in __init__
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor **kwargs)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 171, in _construct_http_client
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor **kwargs)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 56, in __init__
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor super(SessionClient, self).__init__(*args, **kwargs)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor return wrapped(*args, **kwargs)
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor TypeError: __init__() got an unexpected keyword argument 'url'
2017-02-17 13:18:54.648 25800 ERROR mistral.engine.default_executor

This breaks TripleO UI Nodes assignment functionality

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/435467

Changed in tripleo:
assignee: nobody → Dougal Matthews (d0ugal)
status: Triaged → In Progress
tags: added: ocata-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/435884

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/435467
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=b3282003f2003d7486a9b284c4c710e90f68cba8
Submitter: Jenkins
Branch: master

commit b3282003f2003d7486a9b284c4c710e90f68cba8
Author: Dougal Matthews <email address hidden>
Date: Fri Feb 17 14:15:49 2017 +0000

    Update the Nova client creation

    The current novaclient creation code passes in a url parameter which
    isn't valid. This change updates the client creation and uses the same
    code as Mistral does for it's own OpenStack actions.

    Change-Id: Id72cefcb7a1bd9baf515dd95f389d206a3ccf01a
    Closes-bug: #1665637

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/ocata)

Reviewed: https://review.openstack.org/435884
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=8ff75ce0ad530d422738346b8f9b8ac737b38387
Submitter: Jenkins
Branch: stable/ocata

commit 8ff75ce0ad530d422738346b8f9b8ac737b38387
Author: Dougal Matthews <email address hidden>
Date: Fri Feb 17 14:15:49 2017 +0000

    Update the Nova client creation

    The current novaclient creation code passes in a url parameter which
    isn't valid. This change updates the client creation and uses the same
    code as Mistral does for it's own OpenStack actions.

    Change-Id: Id72cefcb7a1bd9baf515dd95f389d206a3ccf01a
    Closes-bug: #1665637
    (cherry picked from commit b3282003f2003d7486a9b284c4c710e90f68cba8)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 6.0.0

This issue was fixed in the openstack/tripleo-common 6.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 7.0.0.0b1

This issue was fixed in the openstack/tripleo-common 7.0.0.0b1 development milestone.

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.