[Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-15 Thread Michael Stang
Hi everyone, I tried to setup swift as backend for glance in our new mitaka installation. I used this in the glance-api.conf [glance_store] stores = swift default_store = swift swift_store_create_container_on_put = True swift_store_region = RegionOne default_swift_reference = ref1 swift_store_

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-17 Thread Sam Morrison
Hi Michael, This would indicate that glance can’t find the swift endpoint in the keystone catalog. You can either add it to the catalog or specify the swift url in the config. Cheers, Sam > On 15 Jul 2016, at 9:07 PM, Michael Stang > wrote: > > Hi everyone, > > I tried to setup swift as

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-17 Thread Michael Stang
Hi Sam, thank you for your answer. I had a look, the swift store endpoint ist listet 3 times in the keystone, publicurl admin and internal endpoint. To try, I also set it in the glance-api.conf: swift_store_endpoint = http://controller:8080/v1/ I also tried swift_store_endpoint = http://

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-19 Thread Michael Stang
Hi Sam, Hi all, fixed the problem. I had used project_domain_id = default user_domain_id = default instead I had to use project_domain_id = user_domain_id = to make it work. Now I can store images over glance in swift, the only problem I now have is that every user can upload images bu

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-19 Thread Lucas Di Paola
Hi Michael, I am having exactly the same issue, getting the error that you mentioned in your first email. I tried replacing *project_domain_id´s* and *user_domain´s* value using the **, but I had no luck, still getting the same error. Did you add the ID obtained from running the following openstac

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-19 Thread Michael Stang
Hi Lucas, yes I used thisID from the command for both, also have the proxy at 8080 on the controller. Here is my final configuration I made maybe this helps you? In the glance-api.conf: [glance_store] stores = file,http,swift default_store = swift filesystem_store_datadir = /var/lib/glance/i

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-20 Thread Lucas Di Paola
Hi Michael, Adjusting some config options solved the problem. Thank you, I really appreciated it. What roles do the users have? The ones you are trying to delete the images from glance? Regards, Lucas.- 2016-07-20 3:01 GMT-03:00 Michael Stang : > Hi Lucas, > > yes I used thisID from the comma

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-20 Thread Michael Stang
Hi Lucas, glad it worked for you :-) The problem with the images which I couldn't delete is solved now, i had this line hardcoded before in the configuration file because I got the error before that it did not find the swift endpoint: swift_store_endpoint = http://controller:8080/v1/ but th

Re: [Openstack-operators] OpenStack mitaka using swift as backend for glance

2016-07-20 Thread Lucas Di Paola
Hi Michael, I am glad to know glance+swift is now working for you too. Regards, Lucas.- 2016-07-20 14:04 GMT-03:00 Michael Stang : > Hi Lucas, > > glad it worked for you :-) > > The problem with the images which I couldn't delete is solved now, i had > this line hardcoded before in the config