← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1800579] Re: Resize instance failed will throw two error messages

 

Reviewed:  https://review.openstack.org/614089
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e062589c6198480e362e03296a5a8535ee71dc0f
Submitter: Zuul
Branch:    master

commit e062589c6198480e362e03296a5a8535ee71dc0f
Author: wangliangyu <wangliangyu@xxxxxxxxxxxxx>
Date:   Tue Oct 30 15:18:02 2018 +0800

    Only thorw one prompt when resizing instance error
    
    The horizon.workflow.Workflow will give a prompt when
    method handle return False. And the exceptions.handle
    also do it and the prompt is more detailed.
    It is reasonable that one error throw one prompt.
    Now, we only throw a detailed prompt by workflow.
    
    The all service will return an reason contained in response
    when the service could not handle correctly. And the reason
    will be wrapped into a ClientException.
    Resizing reasons are somethings, like:
     - No valid host was found. No valid host found for resize.
     - No valid host was found. There are not enough hosts available.
     ...
    
    Change-Id: Id48eb236c293ff7296952f6371ac9e9cdb15f0c7
    Closes-Bug: #1800579


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  Resize instance failed will throw two error messages

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  There will be two error prompts on page when resizing instance failed.

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


References