i couldnt get facts for servers ... os_server_facts

27 views
Skip to first unread message

Vahric Muhtaryan

unread,
Apr 15, 2016, 11:41:27 AM4/15/16
to Ansible Project

Hello 

Somehow i couldnt debug why and how i couldnt get facts for servers ... 

TASK [Retrieve facts for all servers] ******************************************

task path: /home/noroot/ansible/openstack_server_facts.yml:4

ESTABLISH LOCAL CONNECTION FOR USER: noroot

127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1460731224.77-55430906735154 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1460731224.77-55430906735154 )" )

127.0.0.1 PUT /tmp/tmp2pvT1g TO /home/noroot/.ansible/tmp/ansible-tmp-1460731224.77-55430906735154/os_server_facts

127.0.0.1 EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/noroot/.ansible/tmp/ansible-tmp-1460731224.77-55430906735154/os_server_facts; rm -rf "/home/noroot/.ansible/tmp/ansible-tmp-1460731224.77-55430906735154/" > /dev/null 2>&1

fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"api_timeout": null, "auth": null, "auth_type": null, "availability_zone": null, "cacert": null, "cert": null, "cloud": "benimki", "detailed": null, "endpoint_type": "public", "key": null, "region_name": "region1", "server": "helion*", "timeout": 180, "verify": true, "wait": true}, "module_name": "os_server_facts"}, "msg": "Error fetching server list on benimki:region1:"}


PLAY RECAP *********************************************************************

localhost                  : ok=1    changed=0    unreachable=0    failed=1   


clouds:

  benimki:

    auth:

      auth_url: http://10.111.45.3:35357/

      project_name: admin

      username: admin

      password: <passwrd>

      domain_id: Default


Using such version ; 


noroot@acc:~$ ansible --version

ansible 2.0.0.2


Any idea ? 

Regards

VM

Reply all
Reply to author
Forward
0 new messages