By not as expected, you mean invalid? is this testing against openstack
with the ec2 provider?
thanks,
-kapil
On Wed, Jul 11, 2012 at 6:16 PM, Clint Byrum <email address hidden> wrote:
> Public bug reported:
>
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/juju/agents/provision.py", line
> 151, in watch_machine_changes
> yield self.process_machines(self._current_machines)
> File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1037, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line
> 382, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File "/usr/lib/python2.7/dist-packages/juju/agents/provision.py", line
> 175, in process_machines
> provider_machines = yield self.provider.get_machines()
> File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line
> 1037, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line
> 382, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File "/usr/lib/python2.7/dist-packages/juju/providers/ec2/__init__.py",
> line 141, in get_machines
> code = error.get_error_codes()
> File "/usr/lib/python2.7/dist-packages/txaws/exception.py", line 113, in
> get_error_codes
> return self.errors[0]["Code]
> KeyError: 'Code'
>
> ** Affects: txaws
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of txAWS
> Administration, which is the registrant for txAWS.
> https://bugs.launchpad.net/bugs/1023627
>
> Title:
> Unhandled KeyError when EC2 endpoint's errors are not as expected
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/txaws/+bug/1023627/+subscriptions
>
By not as expected, you mean invalid? is this testing against openstack
with the ec2 provider?
thanks,
-kapil
On Wed, Jul 11, 2012 at 6:16 PM, Clint Byrum <email address hidden> wrote:
> Public bug reported: python2. 7/dist- packages/ juju/agents/ provision. py", line changes machines( self._current_ machines) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line throwExceptionI ntoGenerator( g) python2. 7/dist- packages/ twisted/ python/ failure. py", line ntoGenerator python2. 7/dist- packages/ juju/agents/ provision. py", line get_machines( ) python2. 7/dist- packages/ twisted/ internet/ defer.py" , line throwExceptionI ntoGenerator( g) python2. 7/dist- packages/ twisted/ python/ failure. py", line ntoGenerator python2. 7/dist- packages/ juju/providers/ ec2/__init_ _.py", error_codes( ) python2. 7/dist- packages/ txaws/exception .py", line 113, in 0]["Code] /bugs.launchpad .net/bugs/ 1023627 /bugs.launchpad .net/txaws/ +bug/1023627/ +subscriptions
>
> Traceback (most recent call last):
> File "/usr/lib/
> 151, in watch_machine_
> yield self.process_
> File "/usr/lib/
> 1037, in _inlineCallbacks
> result = result.
> File "/usr/lib/
> 382, in throwExceptionI
> return g.throw(self.type, self.value, self.tb)
> File "/usr/lib/
> 175, in process_machines
> provider_machines = yield self.provider.
> File "/usr/lib/
> 1037, in _inlineCallbacks
> result = result.
> File "/usr/lib/
> 382, in throwExceptionI
> return g.throw(self.type, self.value, self.tb)
> File "/usr/lib/
> line 141, in get_machines
> code = error.get_
> File "/usr/lib/
> get_error_codes
> return self.errors[
> KeyError: 'Code'
>
> ** Affects: txaws
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of txAWS
> Administration, which is the registrant for txAWS.
> https:/
>
> Title:
> Unhandled KeyError when EC2 endpoint's errors are not as expected
>
> To manage notifications about this bug go to:
> https:/
>