Ask Your Question

Revision history [back]

Source keystonerc_admin and run ( for instance for F20 qcow2 image ):-

[root@juno1 ~(keystone_admin)]# [root@juno1 ~(keystone_admin)]#  glance image-create --name 'Fedora 20 x86_64' --disk-format qcow2 --container-format bare --is-public true  --copy-from http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | None                                 |
| container_format | bare                                 |
| created_at       | 2014-11-30T20:10:38                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | 1929b23f-887b-4e68-b2af-172d2683056e |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Fedora 20 x86_64                     |
| owner            | 2561f253faca48399d0cc77886574e1d     |
| protected        | False                                |
| size             | 210829312                            |
| status           | queued                               |
| updated_at       | 2014-11-30T20:10:38                  |
| virtual_size     | None                                 |
+------------------+--------------------------------------+

Then login as as admin go to Images and make image Public

Source keystonerc_admin and run ( for instance for F20 qcow2 image ):-

[root@juno1 ~(keystone_admin)]# [root@juno1 ~(keystone_admin)]#  glance image-create --name 'Fedora 20 x86_64' --disk-format qcow2 --container-format bare --is-public true  --copy-from http://cloud.fedoraproject.org/fedora-20.x86_64.qcow2
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | None                                 |
| container_format | bare                                 |
| created_at       | 2014-11-30T20:10:38                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | 1929b23f-887b-4e68-b2af-172d2683056e |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Fedora 20 x86_64                     |
| owner            | 2561f253faca48399d0cc77886574e1d     |
| protected        | False                                |
| size             | 210829312                            |
| status           | queued                               |
| updated_at       | 2014-11-30T20:10:38                  |
| virtual_size     | None                                 |
+------------------+--------------------------------------+

[root@juno1 ~(keystone_admin)]# glance image-list | grep " Fedora 20 x86_64"
| 1929b23f-887b-4e68-b2af-172d2683056e | Fedora 20 x86_64                | qcow2       | bare             | 210829312   | active |

Then login as as admin go to Images and make image Public