Unhandled KeyError when EC2 endpoint's errors are not as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAWS |
In Progress
|
Undecided
|
Clint Byrum |
Bug Description
Traceback (most recent call last):
File "/usr/lib/
yield self.process_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
provider_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
code = error.get_
File "/usr/lib/
return self.errors[
KeyError: 'Code'
Related branches
- txAWS Technical List: Pending requested
-
Diff: 42 lines (+15/-2)2 files modifiedtxaws/exception.py (+2/-2)
txaws/tests/test_exception.py (+13/-0)
Changed in txaws: | |
status: | New → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
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:/
>