Output of stack-snapshot should be in tabluar form

Bug #1630194 reported by M V P Nitesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Invalid
Undecided
M V P Nitesh

Bug Description

When user creates a snapshot of a stack, the output is not in tabular format
Eg: heat stack-snapshot -n xyz test1
Output: {
          "status": "IN_PROGRESS",
          "name": "xyz",
          "data": null,
          "creation_time": "2016-08-09T08:26:22.236229",
          "status_reason": null,
          "id": "0689605d-a0a4-4763-9c72-5e50a342c700"
        }
CLI output should be in tabular form like below because all other commands give CLI output in tabular format
Excepted output:
+------------------------------------+---------------------+----------+--------------+----------+
|id |name | status | status_reason |creation_time |
+------------------------------------+---------------------+---------------+--------+-----------+
|0689605d-a0a4-4763-9c72-5e50a342c700|xyz |IN_PROGRESS | null |2016-08-09T08:26:22 |
+------------------------------------+---------------------+---------------+--------+-----------+

Tags: heatclient
M V P Nitesh (m-nitesh)
Changed in heat:
assignee: nobody → M V P Nitesh (m-nitesh)
Revision history for this message
Rabi Mishra (rabi) wrote :

You can use openstackclient and specify the tabular format.

#openstack stack snapshot create test1 --name xyz -f table

As heat commands are deprecated, we don't want to add any more functionality to it.

Changed in heat:
status: New → Invalid
affects: heat → python-heatclient
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.