Re: ansible with openstack cloud provider

2017-12-15 Thread Tim Dudgeon
Still stuck with this problem. Has anyone successfully used Openstack V3 things like cinder volumes with Openshift? Can you provide an example configuration? On 25/11/17 18:21, Tim Dudgeon wrote: On 24/11/2017 20:01, Joel Pearson wrote: So I this is your own OpenStack installation? No,

Re: ansible with openstack cloud provider

2017-11-25 Thread Tim Dudgeon
On 24/11/2017 20:01, Joel Pearson wrote: So I this is your own OpenStack installation? No, I'm just a user. How did you install it? OpenStack ansible? Packstack? No idea. Are your keystone endpoints https? Yes. I my keystonerc file I have this: export OS_AUTH_URL=https://x.y.z:5000/v3

Re: ansible with openstack cloud provider

2017-11-24 Thread Joel Pearson
So I this is your own OpenStack installation? How did you install it? OpenStack ansible? Packstack? Are your keystone endpoints https? On Sat, 25 Nov 2017 at 1:57 am, Tim Dudgeon wrote: > Wondered if anyone has any ideas on this. > > I'm still stuck with it. > > On

Re: ansible with openstack cloud provider

2017-11-04 Thread Joel Pearson
I found it worked better if it uses the v3 keystone api. I tried the v2 keystone api, and it didn't work out of the box, I had to manually modify openstack.conf file. It seems like something is not right, but I lost interest in the problem and just made the variables available that it wanted. If

Re: ansible with openstack cloud provider

2017-11-04 Thread Joel Pearson
Yes mine too, but if you want it to work you need to add it back. I grabbed those values from the v2 RC file. On Sat, 4 Nov 2017 at 9:20 pm, Tim Dudgeon wrote: > Yes, I removed those because my setup file (Newton release) included this: > > # unset v2.0 items in case set >

Re: ansible with openstack cloud provider

2017-11-04 Thread Tim Dudgeon
Yes, I removed those because my setup file (Newton release) included this: # unset v2.0 items in case set unset OS_TENANT_ID unset OS_TENANT_NAME Is openshift expecting an earlier release? On 04/11/2017 09:51, Joel Pearson wrote: I added this to mine:

Re: ansible with openstack cloud provider

2017-11-04 Thread Joel Pearson
I added this to mine: openshift_cloudprovider_openstack_tenant_name: "{{ lookup('env','OS_TENANT_NAME') }}" On Sat, Nov 4, 2017 at 8:50 PM Joel Pearson wrote: > You're missing "(openshift_cloudprovider_openstack_tenant_id or >

Re: ansible with openstack cloud provider

2017-11-04 Thread Joel Pearson
You're missing "(openshift_cloudprovider_openstack_tenant_id or openshift_cloudprovider_openstack_tenant_name )" See: (openshift_cloudprovider_openstack_tenant_id is defined or openshift_cloudprovider_openstack_tenant_name is defined) in the file below

Re: ansible with openstack cloud provider

2017-11-04 Thread Tim Dudgeon
On 03/11/2017 22:24, Joel Pearson wrote: Are you actually filling in those values with anything? Yes, all have values, I just didn't want to divulge them. I setup OpenShift on OpenStack Kilo and I needed to make sure I was using the v3 rc file and I also had an issue with block storage the

Re: ansible with openstack cloud provider

2017-11-03 Thread Joel Pearson
Are you actually filling in those values with anything? I setup OpenShift on OpenStack Kilo and I needed to make sure I was using the v3 rc file and I also had an issue with block storage the the OpenStack file which I submitted a patch for. Are you using this OpenShift on OpenStack repo?

ansible with openstack cloud provider

2017-11-03 Thread Tim Dudgeon
I'm trying to use the openstack provisioning stuff (cinder volumes etc.) using the Ansible installer. From the origin docs key to this is to enable the openstack cloud provider, which I try to do this this: openshift_cloudprovider_kind=openstack openshift_cloudprovider_openstack_auth_url=