Dashboard does not refresh when state changes

Bug #907478 reported by David Kranz on 2011-12-21
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Gabriel Hurley

Bug Description

If you terminate a VM from the dashboard it does not disappear from the UI until you refresh the browser window or go to another page and return. Likewise for the display of the current state of a VM that has been launched. I think the UI needs to poll the state periodically for changes to what is being displayed.

Devin Carlen (devcamcar) on 2011-12-21
Changed in horizon:
importance: Undecided → Medium
status: New → Confirmed
milestone: none → essex-4
assignee: nobody → Tres Henry (tres)
Tres Henry (tres) wrote :

Commented on https://bugs.launchpad.net/horizon/+bug/884461 which is related to this. Essentially the new data table component needs to provide the ability to define field values which indicate a visible row is in a transitioning state and therefor needs to be polled for updates. Something like:

class InstancesTable(tables.DataTable):
    status = tables.Column("status", poll_values=("build", "terminating))

Gabriel will have better feedback on the implementation but that's the general idea.

Gabriel Hurley (gabriel-hurley) wrote :

I'm in favor of extending datatables to handle this... I think extending the existing status_choices API on tables.Column, or at least building from that as a starting point, is a wise course of action.

Changed in horizon:
assignee: Tres Henry (tres) → Emma Grace Steimann (emmasteimann)
Gabriel Hurley (gabriel-hurley) wrote :

Fixed with AJAX table querying merge.

Changed in horizon:
assignee: Emma Grace Steimann (emmasteimann) → Gabriel Hurley (gabriel-hurley)
status: Confirmed → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers