Instance with status=error and task=scheduling polls forever

Bug #962838 reported by Tres Henry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Andy Chong

Bug Description

In the case that an instance errors during scheduling Horizon continues to poll for updates for that instance forever. Instances with a status of error should probably never be polled because that horse ain't ever gonna get up and go to the races.

Devin Carlen (devcamcar)
Changed in horizon:
milestone: none → essex-rc2
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Nebula (nebula)
Revision history for this message
Andy Chong (andycjw) wrote :

this bug is a duplicate, fix is submitted, please go and review it, thanks
https://bugs.launchpad.net/horizon/+bug/962034

another duplicate, here
https://bugs.launchpad.net/horizon/+bug/962655

Revision history for this message
Devin Carlen (devcamcar) wrote :

This also happens with status=error and task=spawning

Revision history for this message
Devin Carlen (devcamcar) wrote :

That review seems to only have to do with pause/suspend unless I'm missing something?

Revision history for this message
Andy Chong (andycjw) wrote :

my mistake, i thought it was the same bug on first look

but if the status=error, the row status would not be 'status_unknown' and the polling should not happen
are you sure that the status=error?

Revision history for this message
Andy Chong (andycjw) wrote :

how do i repeat this bug? i tried stopping the nova-scheduler on instance launch, but nothing happens, it just keep building instead of giving me error

Revision history for this message
Tres Henry (tres) wrote :

Andy, maybe try stopping libvirt (sudo service libvirt-bin stop) in the middle of spawning? Or you can just tweak the instances table in the nova mysql db directly.

Revision history for this message
Andy Chong (andycjw) wrote :

i tried launching an extra large 16GB instance that will fail on scheduling, is this the same?
if it is, i think i know what's wrong, it's actually not polling, just the animation of spinning circle
please check your webserver it's probably not getting hit

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5723

Changed in horizon:
assignee: Nebula (nebula) → Andy Chong (andycjw)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/5723
Committed: http://github.com/openstack/horizon/commit/c1f34e6145e4c26f618d4c655a6d2ea2897166da
Submitter: Jenkins
Branch: master

commit c1f34e6145e4c26f618d4c655a6d2ea2897166da
Author: Andy Chong <email address hidden>
Date: Fri Mar 23 16:13:07 2012 +0800

    skip adding spinner animation to row cell if no polling needed

     * fix bug 962838

    Change-Id: I1a8bd23106285ab329e6fd709ede7711d8f2bc71

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-rc2 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.