Instance with status=error and task=scheduling polls forever

Bug #962838 reported by Tres Henry on 2012-03-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
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) on 2012-03-23
Changed in horizon:
milestone: none → essex-rc2
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Nebula (nebula)
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

Devin Carlen (devcamcar) wrote :

This also happens with status=error and task=spawning

Devin Carlen (devcamcar) wrote :

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

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?

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

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.

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

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

Changed in horizon:
assignee: Nebula (nebula) → Andy Chong (andycjw)
status: Confirmed → In Progress

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) on 2012-04-03
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in horizon:
milestone: essex-rc2 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers