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 you have issues with cinder, you might need to try my pull request too.

https://github.com/openshift/openshift-ansible/pull/5776

On Sat, Nov 4, 2017 at 9:21 PM Joel Pearson <[email protected]>
wrote:

> 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 <[email protected]> wrote:
>
>> 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:
>>
>> openshift_cloudprovider_openstack_tenant_name: "{{
>> lookup('env','OS_TENANT_NAME') }}"
>>
>> On Sat, Nov 4, 2017 at 8:50 PM Joel Pearson <
>> [email protected]> wrote:
>>
>>> 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
>>>
>>>
>>> https://github.com/openshift/openshift-ansible/blob/81cf5123366814d098b7ca169a6e4deb2759507d/roles/openshift_cloud_provider/tasks/openstack.yml#L10
>>>
>>> On Sat, Nov 4, 2017 at 8:41 PM Tim Dudgeon <[email protected]>
>>> wrote:
>>>
>>>> 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 the
>>>> OpenStack file which I submitted a patch for.
>>>>
>>>> Are you using this OpenShift on OpenStack repo?
>>>>
>>>>
>>>> https://github.com/openshift/openshift-ansible-contrib/blob/master/playbooks/provisioning/openstack/README.md
>>>>
>>>> No, the infrastructure is already provisioned. I'm, just using the
>>>> openshift-ansible/playbooks/byo/config.yml playbook to provision openshift.
>>>>
>>>>
>>>>
>>>> The error message suggests that potentially none of the variables have
>>>> a value so the file isn’t being generated.
>>>>
>>>> Well, they do have values and the file is not being generated. That's
>>>> what I'm wanting to resolve.
>>>>
>>>>
>>>> On Sat, 4 Nov 2017 at 5:50 am, Tim Dudgeon <[email protected]>
>>>> wrote:
>>>>
>>>>> 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=
>>>>> openshift_cloudprovider_openstack_username=
>>>>> openshift_cloudprovider_openstack_password=
>>>>> openshift_cloudprovider_openstack_domain_name=
>>>>> openshift_cloudprovider_openstack_region=
>>>>> openshift_cloudprovider_openstack_lb_subnet_id=
>>>>>
>>>>>
>>>>> But the Ansible installer fails (those being the only changes to the
>>>>> inventory file that otherwise works fine).
>>>>> Looking into the journal I find:
>>>>>
>>>>> 28188 plugins.go:115] Couldn't open cloud provider configuration
>>>>> /etc/origin/cloudprovider/openstack.conf: &os.PathError{Op:"open",
>>>>> Path:"/etc/origin/cloudprovider/openstack.conf", Err:0x2}
>>>>>
>>>>> And indeed the /etc/origin/cloudprovider/ dir is empty.
>>>>>
>>>>> So am I missing something important here?
>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> [email protected]
>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>
>>>> --
>>>> Kind Regards,
>>>>
>>>> Joel Pearson
>>>> Agile Digital | Senior Software Consultant
>>>>
>>>> Love Your Software™ | ABN 98 106 361 273
>>>> p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
>>>>
>>>>
>>>> --
>>> Kind Regards,
>>>
>>> Joel Pearson
>>> Agile Digital | Senior Software Consultant
>>>
>>> Love Your Software™ | ABN 98 106 361 273
>>> p: 1300 858 277 <1300%20858%20277> | m: 0405 417 843 <0405417843> | w:
>>> agiledigital.com.au
>>>
>> --
>> Kind Regards,
>>
>> Joel Pearson
>> Agile Digital | Senior Software Consultant
>>
>> Love Your Software™ | ABN 98 106 361 273
>> p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
>>
>>
>> --
> Kind Regards,
>
> Joel Pearson
> Agile Digital | Senior Software Consultant
>
> Love Your Software™ | ABN 98 106 361 273
> p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
>
-- 
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Software™ | ABN 98 106 361 273
p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to