Handle missing server when getting security groups

Fix bug 1010486.

Treat InstanceNotFound as a 404 when querying the security groups of server
that does not exist. Also removes old exception translation, ApiError no
longer exists and NotAuthorized shouldn't need handling at this level.
Includes tweak suggested by Mark McLoughlin in review.

Change-Id: Iaeada84dbadc232968f792c6f4855bf61cc5a5ae
This commit is contained in:
Martin Packman
2012-06-08 15:08:48 +01:00
parent 28d730343f
commit 558e62e2af

View File

@@ -138,6 +138,7 @@ Mandell Degerness <mdegerne@gmail.com>
Mark McClain <mark.mcclain@dreamhost.com>
Mark McLoughlin <markmc@redhat.com>
Mark Washenberger <mark.washenberger@rackspace.com>
Martin Packman <martin.packman@canonical.com>
Maru Newby <mnewby@internap.com>
Masanori Itoh <itoumsn@nttdata.co.jp>
Matt Dietz <matt.dietz@rackspace.com>