Importing deployment plan from Git repository is broken

Bug #1785018 reported by Jiri Tomasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Jiri Tomasek

Bug Description

When trying to import plan from Git repository by passing Git url, the workflow fails with

"result": "Failed to run task [error=Invalid input [name=tripleo.templates.upload, class=tripleo_common.actions.templates.UploadTemplatesAction, unexpected=[u'templates_path']], wf=tripleo.plan_management.v1.create_deployment_plan, task=upload_templates_directory]:\nTraceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/mistral/engine/task_handler.py\", line 63, in run_task\n task.run()\n File \"/usr/lib/python2.7/site-packages/osprofiler/profiler.py\", line 158, in wrapper\n result = f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/mistral/engine/tasks.py\", line 390, in run\n self._run_new()\n File \"/usr/lib/python2.7/site-packages/osprofiler/profiler.py\", line 158, in wrapper\n result = f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/mistral/engine/tasks.py\", line 419, in _run_new\n self._schedule_actions()\n File \"/usr/lib/python2.7/site-packages/mistral/engine/tasks.py\", line 488, in _schedule_actions\n action.validate_input(input_dict)\n File \"/usr/lib/python2.7/site-packages/mistral/engine/actions.py\", line 323, in validate_input\n self.action_def.action_class\n File \"/usr/lib/python2.7/site-packages/mistral/engine/utils.py\", line 66, in validate_input\n raise exc.InputException(msg % tuple(msg_props))\nInputException: Invalid input [name=tripleo.templates.upload, class=tripleo_common.actions.templates.UploadTemplatesAction, unexpected=[u'templates_path']]\n"

This is caused by wrong input used for UploadTemplatesAction

Tags: workflows
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/588172

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/588172
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=9fe405093dce0f699e3b50f461f797ef8756a2f4
Submitter: Zuul
Branch: master

commit 9fe405093dce0f699e3b50f461f797ef8756a2f4
Author: Jiri Tomasek <email address hidden>
Date: Thu Aug 2 08:17:38 2018 +0000

    Fix Plan creation from Git

    Closes-Bug: 1785018
    Change-Id: I294a8814a8f575f841c989f37f156830a0749978

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

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