Exceptions should be more meaningful than what boto raises

Bug #766362 reported by Todd Willey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-adminclient
New
Undecided
Unassigned

Bug Description

In the openstack-dashboard apps we are rescuing from EC2ResponseError and checking the 'reason' field. If it is "Forbidden" we raise PermissionDenied, and otherwise raise NovaResponseError. We should generalize this to all adminclient requests so consumers of this library can have more explicit except clauses. See lp:openstack-dashboard file django-nova-syspanel/src/django-nova-syspanel/models.py method handle_nova_error for an example.

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.