← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263204] [NEW] Exceptions that get returned via REST api should have more user friendly messages

 

Public bug reported:

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 InstanceRecreateNotSupported(Invalid):
     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'

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1263204

Title:
  Exceptions that get returned via REST api should have more user
  friendly messages

Status in OpenStack Compute (Nova):
  New

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 InstanceRecreateNotSupported(Invalid):
       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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1263204/+subscriptions


Follow ups

References