Fuel graph download does not download default graph if not type specified

Bug #1568065 reported by Alexandr Kostrikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
Medium
Ilya Kutukov
Mitaka
Won't Fix
Medium
Ilya Kutukov
Newton
Confirmed
Medium
Ilya Kutukov

Bug Description

fuel2 graph download -e 1 -c -f /tmp/out.yaml
'list' object has no attribute 'get'

As help for fuel2 shows, type is optional:
[root@nailgun ~]# fuel2 graph download
usage: fuel2 graph download [-h] -e ENV [-a | -c | -p | -r] [-t TYPE]
                            [-f FILE]
fuel2 graph download: error: argument -e/--env is required

Seems, we should download default graph

[root@nailgun ~]# fuel2 graph download -e 1 -c -t default -f /tmp/out1.yaml
Tasks were downloaded to /tmp/out1.yaml

With type it works fine

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:

actual result

expected result

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
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.