← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312235] [NEW] AttributeError on database backups page

 

Public bug reported:

For some reason (and I genuinely do not have a clue why) some database-
backups don't appear to have an instance attribute.  This causes a
problem when loading the table data, as the db_name helper-function
raises an AttributeError.

It appears that we're prepared for obj.instance.name to not exist, but
if obj.instance doesn't exist, then we raise the attribute error.

The solution is to return the obj.instance_id in both cases.

** Affects: horizon
     Importance: Undecided
     Assignee: Matthew D. Wood (woodm1979)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Matthew D. Wood (woodm1979)

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

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

Title:
  AttributeError on database backups page

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  For some reason (and I genuinely do not have a clue why) some
  database-backups don't appear to have an instance attribute.  This
  causes a problem when loading the table data, as the db_name helper-
  function raises an AttributeError.

  It appears that we're prepared for obj.instance.name to not exist, but
  if obj.instance doesn't exist, then we raise the attribute error.

  The solution is to return the obj.instance_id in both cases.

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


Follow ups

References