Re: [ansible-project] Ansible gave Python_nodeclient module required error

33 views
Skip to first unread message

Brian Coca

unread,
Mar 29, 2017, 7:08:57 PM3/29/17
to Ansible Project
Can you show the actual output?

That error does not seem to be produced by the Ansible codebase.


----------
Brian Coca

balubhai555

unread,
Mar 31, 2017, 2:07:59 PM3/31/17
to Ansible Project
For me also the same error came. 
I am also wiating for solution

balubhai555

unread,
Apr 3, 2017, 4:16:55 PM4/3/17
to Ansible Project
Hello  Brain,
Sorry for late reply, And thanks for your reply.

this is actual output i got. 

I already install python-novaclient using below command

 >sudo pip install python-novaclient

It gave the requirements satisfied. But while running the playbook it shows the python-novaclient module required. 

this is my playbook.

- name: launch a compute instance
  hosts: localhost
  sudo: yes
  tasks:
  - nova_compute:
         state: present
         auth_url: "http://192.168.8.25:5000/v3/"
         login_username: admin
         login_password: MiracleIT
         login_tenant_name: admin
         name: vm1
         image_id: 913ef163-e2aa-4161-85d4-16a9924abfa1
         key_name: ubuntutestkeypair1
         wait_for: 200
         flavor_id: m1.medium
         nics:
            - net-id: 6e4c7854-a817-4022-b5c5-20d72373f469
         meta:
            hostname:  test
            group: default




Reply all
Reply to author
Forward
0 new messages