Ansible v1.6.3 - EC2 module fails when launching

54 views
Skip to first unread message

Dayne Lucas

unread,
Jun 20, 2014, 12:47:18 AM6/20/14
to ansible...@googlegroups.com
Hi,

 I am trying to use the ansible package from PPA on Ubuntu (v1.6.3), however whenever I try and use the ec2 module to startup an ec2 instance into a VPC I get the following error:

failed: [localhost] => {"failed": true, "parsed": false}
 invalid output was: Traceback (most recent call last):
   File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 2576, in <module>
     main()
   File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 1160, in main
     (instance_dict_array, new_instance_ids, changed) = create_instances(module, ec2)
   File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 956, in create_instances
     d = get_instance_info(inst)
   File "/home/ubuntu/.ansible/tmp/ansible-tmp-1403192659.01-129523988649411/ec2", line 574, in get_instance_info
     'ebs_optimized': inst.ebs_optimized}
 AttributeError: 'Instance' object has no attribute 'ebs_optimized'

What am I doing wrong. Thank you in advance for your help.

Best regards,

Dayne

James Cammarata

unread,
Jun 20, 2014, 3:28:13 PM6/20/14
to ansible...@googlegroups.com
It appears that your version of boto installed does not support that option. Upgrading boto should take care of that, and I've added the following patch to the devel branch to address this:


Please let us know if you continue seeing problems related to this. Thanks!


--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/49aa3d05-86a2-465f-be5b-c812c2a30a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages