← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1329888] [NEW] Unhelpful error when modifying security group fails

 

Public bug reported:

When modifying instance security groups, Horizon catches all exceptions
and reraises a simple, dumb Exception with the message:

    Failed to modify %d instance security groups.

That's useless enough, but since it reraises Exception, it has no hope
of being caught further downstream and reported meaningfully to the
user.

To see this in action, attempt to modify the security groups of a
suspended instance.  Nova returns a decent error to Horizon, but Horizon
returns a useless error to the user.

** Affects: horizon
     Importance: Undecided
     Assignee: Chris St. Pierre (stpierre)
         Status: In Progress

** Changed in: horizon
       Status: New => In Progress

** Changed in: horizon
     Assignee: (unassigned) => Chris St. Pierre (stpierre)

-- 
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/1329888

Title:
  Unhelpful error when modifying security group fails

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When modifying instance security groups, Horizon catches all
  exceptions and reraises a simple, dumb Exception with the message:

      Failed to modify %d instance security groups.

  That's useless enough, but since it reraises Exception, it has no hope
  of being caught further downstream and reported meaningfully to the
  user.

  To see this in action, attempt to modify the security groups of a
  suspended instance.  Nova returns a decent error to Horizon, but
  Horizon returns a useless error to the user.

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


Follow ups

References