Error with command "fuel2 graph download"

Bug #1576261 reported by Mikhail Samoylov
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Dmitry Guryanov
Mitaka
Fix Released
High
Dmitry Guryanov

Bug Description

steps to reproduce:
1. Create cluster with 1 controller
2. Deploy cluster
3. Try to download deployment graph with command: fuel2 graph download

Actual result:
If command "fuel2 graph download --env 2 --all --file cluster_graph.yaml" has not option 'default' then deployment graph output file will be empty
http://paste.openstack.org/show/495680/
Expected result:
Output file not empty, contains deployment graph

iso: 250

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
description: updated
tags: removed: need-info
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 9.0 → 10.0
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Dmitry Guryanov (dguryanov)
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/319967

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/319967
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=e31b5b16ee3529cd835a05ec523c0c0731c0c671
Submitter: Jenkins
Branch: master

commit e31b5b16ee3529cd835a05ec523c0c0731c0c671
Author: Dmitry Guryanov <email address hidden>
Date: Tue May 31 14:13:32 2016 +0300

    Fix deployment_tasks api, when graph_type is an empty string

    Nailgun should treat and empty string, given to

    /clusters/(?P<obj_id>\d+)/deployment_tasks/?graph_type=$
    /clusters/(?P<obj_id>\d+)/deployment_tasks/plugins/?graph_type=$
    /clusters/(?P<obj_id>\d+)/deployment_tasks/release/?graph_type=$
    e.t.c.

    as default graph type. So let's convert some 'false'
    values to None in handlers.

    Change-Id: I238764d24fc14b2a41baaca37dabb6264e7e91d8
    Closes-Bug: #1576261

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: 9.1-proposed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/353464

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

Reviewed: https://review.openstack.org/353464
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2a56355242f94144a49c8675ef854604a466b8ae
Submitter: Jenkins
Branch: stable/mitaka

commit 2a56355242f94144a49c8675ef854604a466b8ae
Author: Dmitry Guryanov <email address hidden>
Date: Thu Sep 1 19:57:22 2016 +0300

    Fix deployment_tasks api, when graph_type is an empty string

    Nailgun should treat and empty string, given to

    /clusters/(?P<obj_id>\d+)/deployment_tasks/?graph_type=$
    /clusters/(?P<obj_id>\d+)/deployment_tasks/plugins/?graph_type=$
    /clusters/(?P<obj_id>\d+)/deployment_tasks/release/?graph_type=$
    e.t.c.

    as default graph type. So let's convert some 'false'
    values to None in handlers.

    Change-Id: I238764d24fc14b2a41baaca37dabb6264e7e91d8
    Closes-Bug: #1576261
    (cherry picked from commit e31b5b16ee3529cd835a05ec523c0c0731c0c671)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.1 snapshot #259.

tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.