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 <japear...@agiledigital.com.au>
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 <tdudgeon...@gmail.com> 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 <tdudgeon...@gmail.com> 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
>>> users@lists.openshift.redhat.com
>>> 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 | 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
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to