# AttributeError no virtualization\_type

**URL:** <https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [June 2, 2013, 12:31pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895 "2013-06-02T12:31:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [June 2, 2013, 12:31pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/1 "2013-06-02T12:31:41Z")

</div>

What is the version of the boto package you are running?

---

<div class="post-metadata">

**Author:** ![David\_Downey](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@David\_Downey](https://forum.ansible.com/u/David_Downey)\
**Post date:** [June 3, 2013, 1:01pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/2 "2013-06-03T13:01:49Z")

</div>

sudo apt-cache show python-boto  
Package: python-boto  
Priority: optional  
Section: python  
Installed-Size: 2620  
Maintainer: Ubuntu Developers [ubuntu-devel-discuss@lists.ubuntu.com](mailto:ubuntu-devel-discuss@lists.ubuntu.com)  
Original-Maintainer: Eric Evans [eevans@debian.org](mailto:eevans@debian.org)  
Architecture: all  
Version: 2.2.2-0ubuntu2  
Provides: python2.7-boto  
Depends: python2.7, python (\>= 2.7.1-0ubuntu2), python (\<\< 2.8)  
Filename: pool/main/p/python-boto/python-boto\_2.2.2-0ubuntu2\_all.deb  
Size: 442722  
MD5sum: 3736db7f7abcb7393f3c5af5ae404c52  
SHA1: 7ddf98082d0d1df1094ca0956ca3a5bccb04445c  
SHA256: 56053302ed4e1ff36b9aef7559d0bc9972d8238a1eb75288cf46425b917f71b6  
Description-en: Python interface to Amazon’s Web Services  
Boto is a Python interface to the infrastructure services available from  
Amazon.  
.  
Boto supports the following services:

- Elastic Compute Cloud (EC2)
- SimpleDB
- Simple Storage Service (S3)
- CloudFront
- Simple Queue Service (SQS)
- Elastic MapReduce
- Relational Database Service (RDS)  
Homepage: [http://code.google.com/p/boto/](http://code.google.com/p/boto/)  
Description-md5: 4d976920c48ddb853a514f4335f32a98  
Bugs: [https://bugs.launchpad.net/ubuntu/+filebug](https://bugs.launchpad.net/ubuntu/+filebug)  
Origin: Ubuntu  
Supported: 5y  
Task: cloud-image

---

<div class="post-metadata">

**Author:** ![John\_Jarvis](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Post date:** [June 3, 2013, 1:07pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/3 "2013-06-03T13:07:27Z")

</div>

Hi David,  
Can you try installing 2.3.0 in a virtualenv to see if you get the same error? I’m not seeing any issues with that version.  
-John

---

<div class="post-metadata">

**Author:** ![Lester\_Wade](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Post date:** [June 3, 2013, 1:52pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/4 "2013-06-03T13:52:20Z")

</div>

Does your image support such an instance type (t1.micro) ? If you try to run the image from the console, what instance types can you choose from?

---

<div class="post-metadata">

**Author:** ![David\_Downey](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@David\_Downey](https://forum.ansible.com/u/David_Downey)\
**Post date:** [June 3, 2013, 1:56pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/5 "2013-06-03T13:56:25Z")

</div>

I installed python-boto 2.3.0 and it seemed to initially work. If anything changes I will update this post. Thanks John!

---

<div class="post-metadata">

**Author:** ![Lester\_Wade](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Post date:** [June 3, 2013, 1:58pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/6 "2013-06-03T13:58:31Z")

</div>

Sorry, completely missed the version of boto. Personally I test all of the AWS modules against boto 2.5. I can confirm that the ec2 module does not work correctly with the version of boto you initially used.

---

<div class="post-metadata">

**Author:** ![David\_Downey](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@David\_Downey](https://forum.ansible.com/u/David_Downey)\
**Post date:** [June 3, 2013, 2:04pm UTC](https://forum.ansible.com/t/attributeerror-no-virtualization-type/12895/7 "2013-06-03T14:04:06Z")

</div>

I will definitely keep that in mind. Thank you.
