[Openstack] requirements on a user to create an image in glance

Sashan Govender sashang at gmail.com
Sat Feb 17 08:49:00 UTC 2018


Hi

What requirements must an openstack user meet to be able to create images
in glance. I can create an image as a user as shown below but when I try to
list the images as the same user it is not shown.

xsasgov at deimos:sles12.2 test-utils/cloud/cloud-tool master $ glance
--os-user-domain-name Default --os-tenant-id
33b174b1f999445a9cc4090938f80704 --os-tenant-name lda --os-password
rootroot --os-username xsasgov --os-auth-url http://192.168.122.186:5000/v3
image-create --name lda-image --disk-format qcow2 --container-format bare
--file testimage.qcow2

 +------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | 11a0609ef8c758fafc722529fbbbc487     |
| container_format | bare                                 |
| created_at       | 2018-02-17T02:46:33.000000           |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | 4d3a32b1-2050-4986-9b93-306571ccaa1f |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | lda-image                            |
| owner            | None                                 |
| protected        | False                                |
| size             | 534773760                            |
| status           | active                               |
| updated_at       | 2018-02-17T02:46:37.000000           |
| virtual_size     | None                                 |
+------------------+--------------------------------------+
xsasgov at deimos:sles12.2 test-utils/cloud/cloud-tool master $ glance
--os-user-domain-name Default --os-tenant-id
33b174b1f999445a9cc4090938f80704 --os-tenant-name lda --os-password
rootroot --os-username xsasgov --os-project-name lda --os-auth-url
http://192.168.122.186:5000/v3  image-list
+----+------+-------------+------------------+------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+----+------+-------------+------------------+------+--------+
+----+------+-------------+------------------+------+--------+


However the image is there. If I login to the openstack server and use the
openstack admin account to list the images then it is appears. So I'm
wondering what I've missed when setting up the non-admin user?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180217/3ac54e17/attachment.html>


More information about the Openstack mailing list