backup operation cannot be done in pause and suspend state

Bug #1361487 reported by jichenjc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Wishlist
jichenjc

Bug Description

jichen@cloudcontroller:~$ nova backup jitest3 jiback1 daily 2
ERROR (Conflict): Cannot 'createBackup' while instance is in vm_state paused (HTTP 409) (Request-ID: req-7554dea8-92aa-480c-a1f4-e3d7e479c6b3)
jichen@cloudcontroller:~$ nova list
+--------------------------------------+---------+--------+------------+-------------+--------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+---------+--------+------------+-------------+--------------------+
| cb7c6742-7b7a-44de-ad5a-8570ee520f9e | jitest1 | ACTIVE | - | Running | private=10.0.0.2 |
| 702d1d2b-f72d-4759-8f13-9ffbcc0ca934 | jitest3 | PAUSED | - | Paused | private=10.0.0.200 |
+--------------------------------------+---------+--------+------------+-------------+--------------------+

jichen@cloudcontroller:~$ nova image-create --show jitest3 test3image1
+-------------------------------------+--------------------------------------+
| Property | Value |
+-------------------------------------+--------------------------------------+
| OS-EXT-IMG-SIZE:size | 0 |
| created | 2014-08-26T04:06:41Z |
| id | 96a5284c-5feb-4231-8b01-9a522a7c5aab |
| metadata base_image_ref | 94e061fb-e628-4deb-901c-9d44c059ecd9 |
| metadata clean_attempts | 2 |
| metadata image_type | snapshot |
| metadata instance_type_ephemeral_gb | 0 |
| metadata instance_type_flavorid | 1 |
| metadata instance_type_id | 2 |
| metadata instance_type_memory_mb | 512 |
| metadata instance_type_name | m1.tiny |
| metadata instance_type_root_gb | 1 |
| metadata instance_type_rxtx_factor | 1.0 |
| metadata instance_type_swap | 0 |
| metadata instance_type_vcpus | 1 |
| metadata instance_uuid | 702d1d2b-f72d-4759-8f13-9ffbcc0ca934 |
| metadata kernel_id | 20be8b63-5a84-4440-a0bd-8f69898d5965 |
| metadata ramdisk_id | 07f6f85f-c1dc-4790-98b5-14ab86f21b59 |
| metadata user_id | 256dc6db4b5c45ae90fee8132cbaad7c |
| minDisk | 1 |
| minRam | 0 |
| name | test3image1 |
| progress | 25 |
| server | 702d1d2b-f72d-4759-8f13-9ffbcc0ca934 |
| status | SAVING |
| updated | 2014-08-26T04:06:41Z |
+-------------------------------------+--------------------------------------+

Tags: api compute
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/116789

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Wishlist
tags: added: compute
Matt Riedemann (mriedem)
summary: - backup operation can be done in pause and suspend state
+ backup operation cannot be done in pause and suspend state
tags: added: api
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/116789
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e0552af51ce1246e9c938720009c89ccfa008f2f
Submitter: Jenkins
Branch: master

commit e0552af51ce1246e9c938720009c89ccfa008f2f
Author: jichenjc <email address hidden>
Date: Sat Aug 23 08:54:48 2014 +0800

    Allow backup operation in paused and suspend state

    Snapshot operation allows paused and suspend instance to be
    executed, this also should be applied to backup operation.

    Change-Id: Ie7bfd4962f0f149c423f71dbc528a2736baeef97
    Closes-Bug: #1361487

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: kilo-1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/295865

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.