If I use the image name I get the same result:

openstack image show Ubuntu-16.04
+------------------+----------------------------------------------------------------------------------------------------------+
| Field            | Value |
+------------------+----------------------------------------------------------------------------------------------------------+
| checksum         | 6008d3fdf650658965b132b547416d83 |
| container_format | bare |
| created_at       | 2016-12-07T16:00:54Z |
| disk_format      | raw |
| file             | /v2/images/d5d43ba0-82e9-43de-8883-5ebaf07bf3e3/file |
| id               | d5d43ba0-82e9-43de-8883-5ebaf07bf3e3 |
| min_disk         | 0 |
| min_ram          | 0 |
| name             | Ubuntu-16.04 |
| owner            | 4a6213a64312482896130efc3047195c |
| properties | direct_url='rbd://742cd163-32ac-4121-8060-d440aa7345d6/images/d5d43ba0-82e9-43de-8883-5ebaf07bf3e3/snap' |
| protected        | False |
| schema           | /v2/schemas/image |
| size             | 2361393152 |
| status           | active |
| tags | |
| updated_at       | 2016-12-07T16:01:45Z |
| virtual_size     | None |
| visibility       | public |
+------------------+----------------------------------------------------------------------------------------------------------+

Also there is only one entry in the DB for that image:

select * from images where name="Ubuntu-16.04";
+--------------------------------------+--------------+------------+--------+-----------+---------------------+---------------------+------------+---------+-------------+------------------+----------------------------------+----------------------------------+----------+---------+-----------+--------------+
| id | name | size | status | is_public | created_at | updated_at | deleted_at | deleted | disk_format | container_format | checksum | owner | min_disk | min_ram | protected | virtual_size |
+--------------------------------------+--------------+------------+--------+-----------+---------------------+---------------------+------------+---------+-------------+------------------+----------------------------------+----------------------------------+----------+---------+-----------+--------------+
| d5d43ba0-82e9-43de-8883-5ebaf07bf3e3 | Ubuntu-16.04 | 2361393152 | active | 1 | 2016-12-07 16:00:54 | 2016-12-07 16:01:45 | NULL | 0 | raw | bare | 6008d3fdf650658965b132b547416d83 | 4a6213a64312482896130efc3047195c | 0 | 0 | 0 | NULL |
+--------------------------------------+--------------+------------+--------+-----------+---------------------+---------------------+------------+---------+-------------+------------------+----------------------------------+----------------------------------+----------+---------+-----------+--------------+

Regards,

On 02/03/17 16:08, Saverio Proto wrote:
select * from images where name=''Ubuntu-16.04";

--
Grant Morley
Cloud Lead
Absolute DevOps Ltd
Units H, J & K, Gateway 1000, Whittle Way, Stevenage, Herts, SG1 2FP
www.absolutedevops.io <http://www.absolutedevops.io/> [email protected] <mailto:[email protected]> 0845 874 0580
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to