← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1347355] [NEW] Extra image metadata didn't assgin to volume based instance snapshot image

 

Public bug reported:

curl -i
'http://cloudcontroller:8774/v2/fdbb1e8f23eb40c89f3a677e2621b95c/servers/e2461ba7-3624-4d43-a456-acb87a0fb6f9/action'
-X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient"
-H "Content-Type: application/json" -H "Accept: application/json" -H "X
-Auth-Token:
MIITCgYJKoZIhvcNAQcCoIIS+zCCEvcCAQExDTALBglghkgBZQMEAgEwghFYBgkqhkiG9w0BBwGgghFJBIIRRXsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDctMjNUMDM6MTU6MDQuMzk5MTgyIiwgImV4cGlyZXMiOiAiMjAxNC0wNy0yM1QwNDoxNTowNFoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6IG51bGwsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImZkYmIxZThmMjNlYjQwYzg5ZjNhNjc3ZTI2MjFiOTVjIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNlQ2F0YWxvZyI6IFt7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly9jbG91ZGNvbnRyb2xsZXI6ODc3NC92Mi9mZGJiMWU4ZjIzZWI0MGM4OWYzYTY3N2UyNjIxYjk1YyIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly9jbG91ZGNvbnRyb2xsZXI6ODc3NC92Mi9mZGJiMWU4ZjIzZWI0MGM4OWYzYTY3N2UyNjIxYjk1YyIsICJpZCI6ICI1MmQ3NDBkZGJmODc0YWExYmJmNGVmZjU1ZjcyOTlmYSIsICJwdWJsaWNVUkwiOiAiaHR0cDovL2Nsb3VkY29udHJvbGxlcjo4Nzc0L3YyL2ZkYmIxZThmMjNlYjQwYz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KKjNf-
NG9X3NpXPDt1mvaP1brXvzoq0W9IhxvE5THBLyrVrzEk5s+cZlDfo6QqyPtRqGgs80WNdOe3UQ8pL14E+SPoc3QIv66G6on6wOL9JK7KAtVbcfE9ucCgZmLI9hQGzn7J5GyXHzP0dRNRxEw+39P4pKOdTLj7dIQA7-PGEHdajFkMVWIIkD
--c
+G8pojKzZjESrGWpJh8wzmH8Awkcr5qEvvkEqEXqHKsf4ILdX2d90C4nfYYRDYpggVaVn5H8eK2z4dYkuUdRAf03c7kUzE9n12PabhSxssFNtdF-
Dm8VSM0eF1BkBYByA" -d '{"createImage": {"name": "snapx2", "metadata":
{"a": "b"}}}'


os@os2:~/devstack$ glance image-show 6c2ba6d6-e906-41b6-8b28-3b4c9fa80d59
+---------------------------------+----------------------------------------------------------------------------------+
| Property                        | Value                                                                            |
+---------------------------------+----------------------------------------------------------------------------------+
| Property 'bdm_v2'               | True                                                                             |
| Property 'block_device_mapping' | [{"guest_format": null, "boot_index": 0, "no_device": null, "snapshot_id":       |
|                                 | "2fb5111f-b618-4d8b-b47f-142ed4762064", "delete_on_termination": null,           |
|                                 | "disk_bus": "virtio", "image_id": null, "source_type": "snapshot",               |
|                                 | "device_type": "disk", "volume_id": null, "destination_type": "volume",          |
|                                 | "volume_size": null}]                                                            |
| Property 'checksum'             | 4eada48c2843d2a262c814ddc92ecf2c                                                 |
| Property 'container_format'     | ami                                                                              |
| Property 'disk_format'          | ami                                                                              |
| Property 'image_id'             | da82a342-aeac-407a-bf9d-cf28bf68dc6b                                             |
| Property 'image_name'           | cirros-0.3.2-x86_64-uec                                                          |
| Property 'kernel_id'            | 3b6a8424-1454-4394-810f-2adc95c6e326                                             |
| Property 'min_disk'             | 0                                                                                |
| Property 'min_ram'              | 0                                                                                |
| Property 'ramdisk_id'           | aa76f1bd-8167-4586-8185-4347dc4951e0                                             |
| Property 'root_device_name'     | /dev/vda                                                                         |
| Property 'size'                 | 25165824                                                                         |
| created_at                      | 2014-07-23T03:16:18                                                              |
| deleted                         | False                                                                            |
| id                              | 6c2ba6d6-e906-41b6-8b28-3b4c9fa80d59                                             |
| is_public                       | False                                                                            |
| min_disk                        | 0                                                                                |
| min_ram                         | 0                                                                                |
| name                            | snapx2                                                                           |
| owner                           | fdbb1e8f23eb40c89f3a677e2621b95c                                                 |
| protected                       | False                                                                            |
| size                            | 0                                                                                |
| status                          | active                                                                           |
| updated_at                      | 2014-07-23T03:16:18                                                              |
+---------------------------------+----------------------------------------------------------------------------------+

** Affects: nova
     Importance: Undecided
     Assignee: Alex Xu (xuhj)
         Status: New


** Tags: api

** Changed in: nova
     Assignee: (unassigned) => Alex Xu (xuhj)

** Tags added: api

-- 
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/1347355

Title:
  Extra image metadata didn't assgin to volume based instance snapshot
  image

Status in OpenStack Compute (Nova):
  New

Bug description:
  curl -i
  'http://cloudcontroller:8774/v2/fdbb1e8f23eb40c89f3a677e2621b95c/servers/e2461ba7-3624-4d43-a456-acb87a0fb6f9/action'
  -X POST -H "X-Auth-Project-Id: admin" -H "User-Agent: python-
  novaclient" -H "Content-Type: application/json" -H "Accept:
  application/json" -H "X-Auth-Token:
  MIITCgYJKoZIhvcNAQcCoIIS+zCCEvcCAQExDTALBglghkgBZQMEAgEwghFYBgkqhkiG9w0BBwGgghFJBIIRRXsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDctMjNUMDM6MTU6MDQuMzk5MTgyIiwgImV4cGlyZXMiOiAiMjAxNC0wNy0yM1QwNDoxNTowNFoiLCAiaWQiOiAicGxhY2Vob2xkZXIiLCAidGVuYW50IjogeyJkZXNjcmlwdGlvbiI6IG51bGwsICJlbmFibGVkIjogdHJ1ZSwgImlkIjogImZkYmIxZThmMjNlYjQwYzg5ZjNhNjc3ZTI2MjFiOTVjIiwgIm5hbWUiOiAiYWRtaW4ifX0sICJzZXJ2aWNl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1pbiJ9LCAibWV0YWRhdGEiOiB7ImlzX2FkbWluIjogMCwgInJvbGVzIjogWyI1NTQzMmJlMmU1ODE0YWE2YmE5MTQ3NmQ2ZWZlOTBhNyIsICI5ZmUyZmY5ZWU0Mzg0YjE4OTRhOTA4NzhkM2U5MmJhYiIsICI5ODc3MTQ5MTYyNjI0ZWZhOTEzNzYwMTU2ODJkZTEyNCJdfX19MYIBhTCCAYECAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECAwFVW5zZXQxDjAMBgNVBAcMBVVuc2V0MQ4wDAYDVQQKDAVVbnNldDEYMBYGA1UEAwwPd3d3LmV4YW1wbGUuY29tAgEBMAsGCWCGSAFlAwQCATANBgkqhkiG9w0BAQEFAASCAQBWlJ0
  +zWIL921oICSgk-2CM0-JKKjNf-
  NG9X3NpXPDt1mvaP1brXvzoq0W9IhxvE5THBLyrVrzEk5s+cZlDfo6QqyPtRqGgs80WNdOe3UQ8pL14E+SPoc3QIv66G6on6wOL9JK7KAtVbcfE9ucCgZmLI9hQGzn7J5GyXHzP0dRNRxEw+39P4pKOdTLj7dIQA7-PGEHdajFkMVWIIkD
  --c
  +G8pojKzZjESrGWpJh8wzmH8Awkcr5qEvvkEqEXqHKsf4ILdX2d90C4nfYYRDYpggVaVn5H8eK2z4dYkuUdRAf03c7kUzE9n12PabhSxssFNtdF-
  Dm8VSM0eF1BkBYByA" -d '{"createImage": {"name": "snapx2", "metadata":
  {"a": "b"}}}'

  
  os@os2:~/devstack$ glance image-show 6c2ba6d6-e906-41b6-8b28-3b4c9fa80d59
  +---------------------------------+----------------------------------------------------------------------------------+
  | Property                        | Value                                                                            |
  +---------------------------------+----------------------------------------------------------------------------------+
  | Property 'bdm_v2'               | True                                                                             |
  | Property 'block_device_mapping' | [{"guest_format": null, "boot_index": 0, "no_device": null, "snapshot_id":       |
  |                                 | "2fb5111f-b618-4d8b-b47f-142ed4762064", "delete_on_termination": null,           |
  |                                 | "disk_bus": "virtio", "image_id": null, "source_type": "snapshot",               |
  |                                 | "device_type": "disk", "volume_id": null, "destination_type": "volume",          |
  |                                 | "volume_size": null}]                                                            |
  | Property 'checksum'             | 4eada48c2843d2a262c814ddc92ecf2c                                                 |
  | Property 'container_format'     | ami                                                                              |
  | Property 'disk_format'          | ami                                                                              |
  | Property 'image_id'             | da82a342-aeac-407a-bf9d-cf28bf68dc6b                                             |
  | Property 'image_name'           | cirros-0.3.2-x86_64-uec                                                          |
  | Property 'kernel_id'            | 3b6a8424-1454-4394-810f-2adc95c6e326                                             |
  | Property 'min_disk'             | 0                                                                                |
  | Property 'min_ram'              | 0                                                                                |
  | Property 'ramdisk_id'           | aa76f1bd-8167-4586-8185-4347dc4951e0                                             |
  | Property 'root_device_name'     | /dev/vda                                                                         |
  | Property 'size'                 | 25165824                                                                         |
  | created_at                      | 2014-07-23T03:16:18                                                              |
  | deleted                         | False                                                                            |
  | id                              | 6c2ba6d6-e906-41b6-8b28-3b4c9fa80d59                                             |
  | is_public                       | False                                                                            |
  | min_disk                        | 0                                                                                |
  | min_ram                         | 0                                                                                |
  | name                            | snapx2                                                                           |
  | owner                           | fdbb1e8f23eb40c89f3a677e2621b95c                                                 |
  | protected                       | False                                                                            |
  | size                            | 0                                                                                |
  | status                          | active                                                                           |
  | updated_at                      | 2014-07-23T03:16:18                                                              |
  +---------------------------------+----------------------------------------------------------------------------------+

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


Follow ups

References