Running into an issue on 2.0 rc2 and latest dev version (2.1)

TASK [common : launch a compute instance] 
**************************************
task path: 
/home/cluser/automata_ansible/automata_ansible_openstack/openstack/roles/common/tasks/main.yml:2
ESTABLISH LOCAL CONNECTION FOR USER: root
localhost EXEC ( umask 22 && mkdir -p "$( echo 
$HOME/.ansible/tmp/ansible-tmp-1449770098.45-120356728371449 )" && echo "$( 
echo $HOME/.ansible/tmp/ansible-tmp-1449770098.45-120356728371449 )" )
localhost PUT /tmp/tmpCI8UeX TO 
/root/.ansible/tmp/ansible-tmp-1449770098.45-120356728371449/os_server
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 
/usr/bin/python 
/root/.ansible/tmp/ansible-tmp-1449770098.45-120356728371449/os_server; rm 
-rf "/root/.ansible/tmp/ansible-tmp-1449770098.45-120356728371449/" > 
/dev/null 2>&1
fatal: [localhost]: FAILED! => {"changed": false, "extra_data": null, 
"failed": true, "invocation": {"module_args": {"auth": {"auth_url": 
"http://172.16.0.6:5000/v2.0/";, "password": "admin", "project_name": 
"admin", "username": "admin"}, "auto_ip": true, "availability_zone": 
"nova", "flavor": 3, "image": "ubuntu_trusty", "key_name": "test", "name": 
"vm2", "nics": [{"net-id": "f4d99c4b-0931-4a3a-b884-2129816b1db1"}], 
"security_groups": "default", "state": "present", "timeout": 200}, 
"module_name": "os_server"}, "msg": "Error fetching image list: 'module' 
object has no attribute 'packages'"}

I put in various checks along os_server.py but it seems the issue is coming 
from cloud.get_image_id() which eventually leads to def list_images() here
https://github.com/openstack-infra/shade/blob/master/shade/openstackcloud.py#L1163-L1165

The old nova_server module works fine, so not sure what the issue is. 

-- 
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/2df7f051-b2da-4f05-9b41-d0695922a9c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to