I thought upgrading to shade 1.5.1 resolved our inventory issue but on 
second glance, openstack.py --list  is not returning all the compute 
instances in our environment.

We tested the old openstack dynamic inventory script 
(https://github.com/ansible/ansible/blob/devel/contrib/inventory/nova.py) 
and that script works correctly.

Is anyone else having dynamic inventory issues with Ansible 2.0 and the new 
openstack.py inventory script?

On Thursday, March 10, 2016 at 12:49:57 PM UTC-5, Mike Albert wrote:
>
> I updated to shade 1.5.1 and it resolved this issue.
>
> On Wednesday, March 9, 2016 at 4:12:53 PM UTC-5, Mike Albert wrote:
>>
>> Here's what I'm running locally.
>>
>> ansible==2.0.1.0
>> os-client-config==1.16.0
>> shade==1.4.0
>>
>> On Wednesday, March 9, 2016 at 3:43:42 PM UTC-5, Tim Rupp wrote:
>>>
>>> I'm also getting this error. Maybe something in shade or 
>>> os-client-config changed? Maybe Monty knows?
>>>
>>> -tim
>>> On Mar 9, 2016 12:27 PM, "Mike Albert" <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to configure OpenStack dynamic inventory with Ansible, but I 
>>>> keep getting the following error:
>>>>
>>>> mikealbert@rmbp lab (master) $ ./openstack.py --list
>>>> Error fetching server list on envvars:Region1:
>>>>
>>>> I've defined the variables below in my .bash_profile and I've confirmed 
>>>> that "nova list" returns results
>>>>
>>>> OS_REGION_NAME
>>>> OS_PASSWORD
>>>> OS_AUTH_URL
>>>> OS_USERNAME
>>>> OS_TENANT_NAME
>>>>
>>>> Not sure if it makes a difference but I'm running Ansible 2.0.1.0.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Ansible Project" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/ansible-project/b811f7e2-ab31-4591-861c-90294cdbc3bf%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/ansible-project/b811f7e2-ab31-4591-861c-90294cdbc3bf%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/96cefec5-5b4e-40bb-a5fe-53229a150dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to