← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533536] Re: glance api v2 cannot check image checksum

 

Glance does have out-of-the box parameter 'checksum'. I guess that's why you cannot create the custom parameter with the same name. Just execute glance image-show <image ID> and you will see the checksum here:
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | eb9139e4942121f22bbc2afc0400b2a4     |
| container_format | ami                                  |
| created_at       | 2015-12-10T10:52:43Z                 |
| disk_format      | ami                                  |
| id               | b3eb6179-43f6-4956-8ed3-010e03bccd83 |
| kernel_id        | 1f9fb6bc-b3b0-47d7-8160-633a88a893e9 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | cirros-0.3.4-x86_64-uec              |
| owner            | c838177f128c4defa5fe6a6d5b1da48c     |
| protected        | False                                |
| ramdisk_id       | 349095ef-002e-4001-b033-1fe21ac1ad44 |
| size             | 25165824                             |
| status           | active                               |
| tags             | []                                   |
| updated_at       | 2015-12-10T10:52:44Z                 |
| virtual_size     | None                                 |
| visibility       | public                               |
+------------------+--------------------------------------+
Does it satisfy your goals?
If not please re-open an issue and provide more details about, we will try to help you.
Now I am marking this as Invalid.

** Changed in: glance
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1533536

Title:
  glance api v2 cannot check image checksum

Status in Glance:
  Invalid

Bug description:
  Issue:

  I cannot create an image by Glance V2 API, specifying parameter "checksum". 
  the checksum is important for user,  will  can be used  to  check the integrity of the image.
  but now, the glance V2 API  in create image interface cannot specifying parameter "checksum", and can not check the 'checksum'.

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


References