"heat action-suspend" returns list of all stacks, but it must returns stack suspend

Bug #1432535 reported by rajiv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
New
Undecided
rajiv

Bug Description

"heat action-suspend" returns list of all stacks, but it must returns stack suspend

[root@packstack ~(keystone_admin)]# heat list
WARNING (shell) DEPRECATED! Use stack-list instead.
+--------------------------------------+-------------+-----------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+-------------+-----------------+----------------------+
| 631ba443-eb88-4c56-852d-17e664e21212 | thenakliman | CREATE_COMPLETE | 2015-03-12T11:36:11Z |
| e6abc6b5-27a1-4136-a03e-dd4b5ca2af4e | test | CREATE_COMPLETE | 2015-03-13T03:23:54Z |
+--------------------------------------+-------------+-----------------+----------------------+

[root@packstack ~(keystone_admin)]# heat action-suspend e6abc6b5-27a1-4136-a03e-dd4b5ca2af4e
+--------------------------------------+-------------+---------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+-------------+---------------------+----------------------+
| 631ba443-eb88-4c56-852d-17e664e21212 | thenakliman | CREATE_COMPLETE | 2015-03-12T11:36:11Z |
| e6abc6b5-27a1-4136-a03e-dd4b5ca2af4e | test | SUSPEND_IN_PROGRESS | 2015-03-13T03:23:54Z |
+--------------------------------------+-------------+---------------------+----------------------+

version in my setup is,

[root@packstack ~(keystone_admin)]# heat-manage --version
2014.2.1

rajiv (rajiv-kumar)
Changed in python-heatclient:
assignee: nobody → rajiv (rajiv-kumar)
Revision history for this message
rajiv (rajiv-kumar) wrote :

If i fix bug for https://bugs.launchpad.net/python-heatclient/+bug/1432533 , it won't fix this reported bug. To make this bug being fixed by stack-create bug will make me to change stack-list method.

 I thinks above change won't be a good idea. I think better idea is to use stack-show instead of stack-list for this bug. All the components of openstack also uses this approach.

Revision history for this message
Steve Baker (steve-stevebaker) wrote : Re: [Bug 1432535] Re: "heat action-suspend" returns list of all stacks, but it must returns stack suspend

On 18/03/15 17:07, rajiv wrote:
> If i fix bug for https://bugs.launchpad.net/python-
> heatclient/+bug/1432533 , it won't fix this reported bug. To make this
> bug being fixed by stack-create bug will make me to change stack-list
> method.
>
> I thinks above change won't be a good idea. I think better idea is to
> use stack-show instead of stack-list for this bug. All the components
> of openstack also uses this approach.
>
Please see my comment in bug 1432533, and lets discuss it there.

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.