deploy fails with Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']

Bug #1818926 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Rabi Mishra

Bug Description

When deploying on RHEL8 with the latest tripleo-common it appears that https://review.openstack.org/#/c/639080/ has broken the deployment.

{'result': 'Failed to run task [error=Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']], wf=tripleo.swift_backup.v1.create_sw
ift_backup_container_plan, task=set_tempurl]:\nTraceback (most recent call last):\n File "/usr/lib/python3.6/site-packages/mistral/engine/task_handler.py", line 63, in run_task\n task.run()\n File "/usr/lib/p
ython3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 453, in run\n self._run_new()\n Fi
le "/usr/lib/python3.6/site-packages/osprofiler/profiler.py", line 160, in wrapper\n result = f(*args, **kwargs)\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 485, in _run_new\n se
lf._schedule_actions()\n File "/usr/lib/python3.6/site-packages/mistral/engine/tasks.py", line 563, in _schedule_actions\n action.validate_input(input_dict)\n File "/usr/lib/python3.6/site-packages/mistral/en
gine/actions.py", line 336, in validate_input\n self.action_def.action_class\n File "/usr/lib/python3.6/site-packages/mistral/engine/utils.py", line 66, in validate_input\n raise exc.InputException(msg % tu
ple(msg_props))\nmistral.exceptions.InputException: Invalid input [name=tripleo.parameters.update, class=tripleo_common.actions.parameters.UpdateParametersAction, unexpected=[\'validate\']]\n'}
Exception occured while running the command

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/641516

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

Related fix proposed to branch: master
Review: https://review.openstack.org/641517

summary: - deploy fails with invalid input unexpected=['validate']
+ deploy fails with Invalid input [name=tripleo.parameters.update,
+ class=tripleo_common.actions.parameters.UpdateParametersAction,
+ unexpected=[\'validate\']
Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/641541
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=957c9bd5140edb6f7a7895924702641f51a70ef1
Submitter: Zuul
Branch: master

commit 957c9bd5140edb6f7a7895924702641f51a70ef1
Author: Rabi Mishra <email address hidden>
Date: Thu Mar 7 07:30:31 2019 +0530

    Fix access of input parameters

    In change I9c54379925339eaaa9a0ee61cb823bddc95737c7, we did not
    access workflow input parameters correctly.

    Change-Id: I56258428d7a9461af64055a5605f3227bfadda2f
    Closes-Bug: #1818926

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/641517

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-tripleoclient (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/641516

Revision history for this message
Alex Schultz (alex-schultz) wrote :

So if anyone hits this, if you have a mismatch of tripleo-common in the container vs the host you can end up with an out of sync mistral instance. If you patch the tripleo-container mistral actions to match the workflows (imported from the host) in the container you must also run mistral-db-manage populate to fix the task inputs in the mistral db

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

This issue was fixed in the openstack/tripleo-common 10.5.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.