Not prompt relevant message when stop a stoped vm

Bug #1181934 reported by YangLei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
YangLei
Grizzly
Fix Released
Low
ChangBo Guo(gcb)

Bug Description

yanglei@yanglei-ThinkCentre-M58:/var/log/nova$ nova list
+--------------------------------------+-------+---------+------------+-------------+---------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------+---------+------------+-------------+---------------------+
| f75d2623-2769-423f-a865-dd86eccc5020 | Ktest | SHUTOFF | None | Shutdown | public=172.24.4.227 |
+--------------------------------------+-------+---------+------------+-------------+---------------------+
yanglei@yanglei-ThinkCentre-M58:/var/log/nova$ nova show Ktest
+-------------------------------------+----------------------------------------------------------+
| Property | Value |
+-------------------------------------+----------------------------------------------------------+
| status | SHUTOFF |
| updated | 2013-05-20T06:08:34Z |
| OS-EXT-STS:task_state | None |
| OS-EXT-SRV-ATTR:host | yanglei-ThinkCentre-M58 |
| key_name | None |
| image | cirros-kernel (7d0029b2-e676-4e11-8461-3f3141404dce) |
| hostId | d3c4a5a34a8bc0e706b42c061c4c70318cf2aae6369aad1bea4279b0 |
| OS-EXT-STS:vm_state | stopped |
| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |
| public network | 172.24.4.227 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | yanglei-ThinkCentre-M58 |
| flavor | m1.tiny (1) |
| id | f75d2623-2769-423f-a865-dd86eccc5020 |
| security_groups | [{u'name': u'default'}] |
| user_id | f0c4bb94cfa944f3ba9d1f41e29e3074 |
| name | Ktest |
| created | 2013-05-17T06:45:24Z |
| tenant_id | a81894795ac445859902d4eaa277aaf2 |
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| accessIPv4 | |
| accessIPv6 | |
| OS-EXT-STS:power_state | 4 |
| OS-EXT-AZ:availability_zone | nova |
| config_drive | |
+-------------------------------------+----------------------------------------------------------+
yanglei@yanglei-ThinkCentre-M58:/var/log/nova$ nova stop Ktest
yanglei@yanglei-ThinkCentre-M58:/var/log/nova$

YangLei (yanglyy)
Changed in nova:
assignee: nobody → YangLei (yanglyy)
YangLei (yanglyy)
Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/29879
Committed: http://github.com/openstack/nova/commit/62ca3783ce4fcc0b03e96936972abc83b54c772f
Submitter: Jenkins
Branch: master

commit 62ca3783ce4fcc0b03e96936972abc83b54c772f
Author: YangLei <email address hidden>
Date: Tue May 21 15:00:53 2013 +0800

    No relevant message when stop a stopped VM

    When user tries to stop a stopped VM, there is no need to stop it again,
    and We need return it's vm_state.

    Fixes bug 1181934

    Change-Id: I71772dfcead440cb49b6ccdbb4e1a891475bb75e

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/41025

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/grizzly)

Reviewed: https://review.openstack.org/41025
Committed: http://github.com/openstack/nova/commit/df365c69f04853a2242b7cdcdc7791e7838b8ba3
Submitter: Jenkins
Branch: stable/grizzly

commit df365c69f04853a2242b7cdcdc7791e7838b8ba3
Author: YangLei <email address hidden>
Date: Tue May 21 15:00:53 2013 +0800

    No relevant message when stop a stopped VM

    When user tries to stop a stopped VM, there is no need to stop it again,
    and We need return it's vm_state.

    Fixes bug 1181934

    Change-Id: I71772dfcead440cb49b6ccdbb4e1a891475bb75e
    (cherry picked from commit 62ca3783ce4fcc0b03e96936972abc83b54c772f)

tags: added: in-stable-grizzly
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-2 → 2013.2
Alan Pevec (apevec)
Changed in nova:
importance: Undecided → Low
tags: removed: in-stable-grizzly
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.