Using boto2.0 as a client has been resolved with bug #704645. However having boto2.0 on nova the test suite fails for 10 out 18, this is demonstrated with test_authorize_revoke_security_group_cidr as below.
It was introduced with boto upstream commit e94096d7aeb803ea69947fd722ce4ca2aa969cff.
== Log Extract ==
Traceback (most recent call last):
File "/home/ubuntu/src/nova/trunk/nova/tests/test_api.py", line 384, in test_authorize_revoke_security_group_cidr
'test group')
File "/usr/lib/python2.7/dist-packages/boto/ec2/connection.py", line 1760, in create_security_group
SecurityGroup, verb='POST')
File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 685, in get_object
response = self.make_request(action, params, path, verb)
File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 653, in make_request
return self._mexe(http_request)
File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 524, in _mexe
connection = self.get_http_connection(request.host, self.is_secure)
File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 392, in get_http_connection
return self.new_http_connection(host, is_secure)
File "/usr/lib/python2.7/dist-packages/mox.py", line 985, in __call__
expected_method = self._VerifyMethodCall()
File "/usr/lib/python2.7/dist-packages/mox.py", line 1043, in _VerifyMethodCall
raise UnexpectedMethodCallError(self, expected)
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+
- Stub for <bound method EC2Connection.new_http_connection of EC2Connection:127.0.0.1>.__call__('127.0.0.1:8773', False) -> None
+ Stub for <bound method EC2Connection.new_http_connection of EC2Connection:127.0.0.1>.__call__(None, False) -> <nova.tests.test_api.FakeHttplibConnection object at 0x2ac06d0>
Dave, we should raise importance on this if Ubuntu wants to move to boto 2.0 for some reason...