apiserver.common.ServerError needs to handle unhashable errors

Bug #1217760 reported by John A Meinel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
John A Meinel

Bug Description

ServerError is meant to handle all types and just wrap them as appropriate.

However, if err is unhashable ,then the map lookup panics and prevents us from getting to the 'default' code.

In practice we are seeing some sort of "schema.error_" bubble up and trigger a giant panic traceback.

Tags: cts

Related branches

Jonathan Davies (jpds)
tags: added: cts
Revision history for this message
Dave Cheney (dave-cheney) wrote :

@jam: does this block the 1.13.3 release ?

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1217760] Re: apiserver.common.ServerError needs to handle unhashable errors

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-08-30 6:21, Dave Cheney wrote:
> @jam: does this block the 1.13.3 release ?
>

I'm pretty sure Roger Peppe's branch for this has landed, so it
doesn't block anything.

 status: fixcommitted
 milestone: 1.13.3

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIiRFcACgkQJdeBCYSNAAOR1QCg1c/zisEoYHKlRs+EvNP7o7/p
QVoAn12NB6Xt8NnZNI+sfUIfqiwWMrHu
=AFyx
-----END PGP SIGNATURE-----

Changed in juju-core:
status: In Progress → Fix Committed
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.