← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1361487] [NEW] backup operation can be done in pause and suspend state

 

Public bug reported:


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

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1361487

Title:
  backup operation can be done in pause and suspend state

Status in OpenStack Compute (Nova):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1361487/+subscriptions


Follow ups

References