← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1445276] [NEW] Instance table Ajax update does not trigger for error instance that is deleting

 

Public bug reported:

Whenever an instance failed to launch it would get into the following
state:

Status: Error, Task: None

Then when you try to delete it, the page would refresh with the instance
now in state:

Status: Error, Task: Deleting

Because the row is declared ".status_down" whenever one of Status and
Task is ".status_down" (in this case, Status: Error means Status is
".status_down"), this instance row does not get automatically updated
until user manually refresh again, since the Javascript only perform
Ajax update for "tr.ajax-update.status_unknown".

----

To reproduce:

1. Get an instance to fail to launch and fall into Error state (this is the difficult part, will update with more details)
2. Terminate the instance
3. Page refresh, and now instance is in Status: Error, Task: Deleting

Expected:

4. Frontend performs Ajax polling to remove the row for the instance
when deletion completes

Actual:

4. Frontend does not perform Ajax polling to update the said row.

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Instance table Ajax update does not trigger for error instance that is
  deleting

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Whenever an instance failed to launch it would get into the following
  state:

  Status: Error, Task: None

  Then when you try to delete it, the page would refresh with the
  instance now in state:

  Status: Error, Task: Deleting

  Because the row is declared ".status_down" whenever one of Status and
  Task is ".status_down" (in this case, Status: Error means Status is
  ".status_down"), this instance row does not get automatically updated
  until user manually refresh again, since the Javascript only perform
  Ajax update for "tr.ajax-update.status_unknown".

  ----

  To reproduce:

  1. Get an instance to fail to launch and fall into Error state (this is the difficult part, will update with more details)
  2. Terminate the instance
  3. Page refresh, and now instance is in Status: Error, Task: Deleting

  Expected:

  4. Frontend performs Ajax polling to remove the row for the instance
  when deletion completes

  Actual:

  4. Frontend does not perform Ajax polling to update the said row.

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


Follow ups

References