[Openstack] The project of an image or images have a project

Carlos Miguel Hernández Romero miguel2hermanas at gmail.com
Tue Apr 15 17:18:30 UTC 2014


I want to know using the Python API OpenStack project that has images or
vice versa , that project has an image .
>From the command line gives you the information :
vagrant at precise64:~/devstack$ glance image-show
'a8ddca2e-f004-4329-a9d6-83fd8d0589de'
+-----------------------+--------------------------------------+
| Property              | Value                                |
+-----------------------+--------------------------------------+
| Property 'kernel_id'  | ab2c6e53-34f3-4a2a-829c-4b69a40e1f0b |
| Property 'ramdisk_id' | 64148dd3-0d94-4331-80c3-17e3be60ecab |
| checksum              | f8a2eeee2dc65b3d9b6e63678955bd83     |
| container_format      | ami                                  |
| created_at            | 2014-04-15T12:37:40                  |
| deleted               | False                                |
| disk_format           | ami                                  |
| id                    | a8ddca2e-f004-4329-a9d6-83fd8d0589de |
| is_public             | True                                 |
| min_disk              | 0                                    |
| min_ram               | 0                                    |
| name                  | cirros-0.3.1-x86_64-uec              |
| owner                 | 0351a1f666684f0fbd29548fb6f73eed     |
| protected             | False                                |
| size                  | 25165824                             |
| status                | active                               |
| updated_at            | 2014-04-15T12:37:41                  |
+-----------------------+--------------------------------------+

But since the API can not I get python or with nova nor glance . I get all
the data unless it is associated project .
Can anyone help me out ?

Greetings and thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140415/e4261598/attachment.html>


More information about the Openstack mailing list