Deployment with plugin leads to 500 error for deployment_history request

Bug #1675727 reported by Vladimir Khlyunev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Fedor Zhadaev
Nominated for Ocata by Fedor Zhadaev
Newton
Fix Released
High
Fedor Zhadaev

Bug Description

ISO 1509

Steps to repro:
Deploy cluster with example plugin
Get /transactions/{task_id}/deployment_history (where task_id is id of deployment task)

Result: 500 error
2017-03-24 02:29:38.532 ERROR [7fbc390ed880] (base) Unexpected exception occured
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 308, in handle_errors
    return func(cls, *args, **kwargs)
  File "<string>", line 2, in GET
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/base.py", line 366, in validate
    return func(cls, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/handlers/deployment_history.py", line 68, in GET
    include_summary=include_summary)
  File "/usr/lib/python2.7/site-packages/nailgun/objects/deployment_history.py", line 174, in get_history
    task_parameters_by_name[task['task_name']] = task
KeyError: 'task_name'

Snapshot https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.plugins.fuel_plugin_example/220/artifact/logs/fail_error_deploy_neutron_example_ha_add_node-fuel-snapshot-2017-03-24_02-29-38.tar

Changed in fuel:
status: New → Confirmed
milestone: 10.1 → 10.x-updates
Fedor Zhadaev (fzhadaev)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fedor Zhadaev (fzhadaev)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 10.x-updates → 10.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
Fedor Zhadaev (fzhadaev)
Changed in fuel:
milestone: 10.1 → 12.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/451323

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/ocata)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/newton)

Reviewed: https://review.openstack.org/451323
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=ae0e7340bdbff583f76c72a51ead5768b690c59e
Submitter: Jenkins
Branch: stable/newton

commit ae0e7340bdbff583f76c72a51ead5768b690c59e
Author: Fedor Zhadaev <email address hidden>
Date: Wed Mar 29 14:22:58 2017 +0400

    Add appending task names into legacy tasks adapter

    task_name is required task field, so it should be added for
    adapted legacy tasks too.

    Change-Id: I1396846b56685672542eec1e9c4ae8c837d1e128
    Closes-Bug: #1675727

tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :
tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/ocata)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: stable/ocata
Review: https://review.opendev.org/451324
Reason: This repo is retired now, no further work will get merged.

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

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.opendev.org/451319
Reason: This repo is retired now, no further work will get merged.

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.