CLI graph download works incorrect

Bug #1592350 reported by Dmitry Belyaninov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Dmitry Guryanov
Mitaka
Confirmed
High
Dmitry Guryanov

Bug Description

Detailed bug description:
fuel2 graph download --env 1 --all command works incorrect

Steps to reproduce:
[root@nailgun ~]# fuel2 graph list --env 1
+----+------+-------+-------------------------------+
| id | name | tasks | relations |
+----+------+-------+-------------------------------+
| 4 | None | | as "default" to cluster(ID=1) |
+----+------+-------+-------------------------------+
[root@nailgun ~]# fuel2 graph download --env 1 --all
Tasks were downloaded to /root/cluster_graph.yaml
[root@nailgun ~]# ll cluster_graph.yaml
-rw-r--r--. 1 root root 3 Jun 14 10:40 cluster_graph.yaml
[root@nailgun ~]# cat cluster_graph.yaml
[]
[root@nailgun ~]#
[root@nailgun ~]#
[root@nailgun ~]# fuel2 graph download --env 1 --all --type default
Tasks were downloaded to /root/cluster_graph.yaml
[root@nailgun ~]# ll cluster_graph.yaml
-rw-r--r--. 1 root root 149065 Jun 14 10:41 cluster_graph.yaml
[root@nailgun ~]#

Expected results:
equal results for command
Actual result:
empty result for short command
Reproducibility:
100%
Workaround:
set single type
Impact:
n/d
Description of the environment:
[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 460
cat /etc/fuel_build_number:
 460
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
Additional information:
n/d

Tags: area-python
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

May be there is correlation with 1563851

Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: none → 9.0
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
milestone: 9.0 → 9.0-updates
tags: added: area-python
Revision history for this message
Vitalii Kulanov (vitaliy-t) wrote :

As far as I can see this bug was fixed for 10.0 (Newton release) here: https://bugs.launchpad.net/fuel/+bug/1576261 and doesn't reproduce for 10.0 (http://paste.openstack.org/show/516720/).
So, I think it should be backported to 9.0-updates.

Changed in fuel:
milestone: 9.0-updates → 10.0
status: Confirmed → Fix Committed
assignee: Fuel Sustaining (fuel-sustaining-team) → Dmitry Guryanov (dguryanov)
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.