Exceptions that get returned via REST api should have more user friendly messages
Bug #1263204 reported by
Joe Gordon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
lizheming |
Bug Description
Exceptions in nova/exception.py that get returned via REST api should have more user friendly (non-admin and non-dev) messages.
For example
class InstanceRecreat
msg_fmt = _('Instance recreate is not implemented by this virt driver.')
Assuming that exception gets returned via the REST API, a user shouldn't have to know what a 'virt driver' is, that is a backend concept that we should be hiding.
Instead this exception should say something like 'Instance recreate is not supported'
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → lizheming (lizheming-li) |
Changed in nova: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/67755
Review: https:/