Hi, I'm confused why os_image throw this exception.
$ ansible-playbook -i hosts openstack.yml -c local -vvv No config file found; using defaults 1 plays in openstack.yml PLAY *************************************************************************** TASK [os_image] **************************************************************** task path: /home/osadmin/zyx/openstack.yml:5 ESTABLISH LOCAL CONNECTION FOR USER: osadmin 10.170.82.226 EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947 )" ) 10.170.82.226 PUT /tmp/tmpc94I_w TO /home/osadmin/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947/os_image 10.170.82.226 EXEC LANG=en_HK.UTF-8 LC_ALL=en_HK.UTF-8 LC_MESSAGES=en_HK.UTF-8 /usr/bin/python /home/osadmin/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947/os_image; rm -rf "/home/osadmin/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947/" > /dev/null 2>&1 An exception occurred during task execution. The full traceback is: Traceback (most recent call last): File "/home/osadmin/.ansible/tmp/ansible-tmp-1460136318.86-251808477639947/os_image", line 22, in <module> import shade File "/usr/local/lib/python2.7/dist-packages/shade/__init__.py", line 24, in <module> from shade.openstackcloud import OpenStackCloud File "/usr/local/lib/python2.7/dist-packages/shade/openstackcloud.py", line 26, in <module> import cinderclient.client File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 30, in <module> from keystoneclient import discover File "/usr/local/lib/python2.7/dist-packages/keystoneclient/discover.py", line 25, in <module> from keystoneclient.v2_0 import client as v2_client File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/__init__.py", line 1, in <module> from keystoneclient.v2_0.client import Client # noqa File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 21, in <module> from keystoneclient import httpclient File "/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 147, in <module> class HTTPClient(baseclient.Client, base.BaseAuthPlugin): File "/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 257, in HTTPClient user_agent=USER_AGENT, connect_retries=None, **kwargs): File "/usr/local/lib/python2.7/dist-packages/debtcollector/renames.py", line 38, in decorator @six.wraps(f, assigned=_utils.get_assigned(f)) AttributeError: 'module' object has no attribute 'wraps' fatal: [10.170.82.226]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "os_image"}, "parsed": false} PLAY RECAP ********************************************************************* 10.170.82.226 : ok=0 changed=0 unreachable=0 failed=1 -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/97c9004f-6b35-4553-aa3b-ef5f83795469%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.