Block device spins forever when status == creating

Bug #1162064 reported by Joshua Harlow
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Joshua Harlow

Bug Description

The current code seems to spin forever (and basically absorb a greenthread) when the volume api has said the status is still in creating instead of stopping after a given X number of attempts.

Joshua Harlow (harlowja)
summary: - Block device spins forever when status != creating
+ Block device spins forever when status == creating
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Joshua Harlow (harlowja)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/25774
Committed: http://github.com/openstack/nova/commit/24aacd2c91c73245d444a2460ded1c5c94382f5f
Submitter: Jenkins
Branch: master

commit 24aacd2c91c73245d444a2460ded1c5c94382f5f
Author: Joshua Harlow <email address hidden>
Date: Fri Mar 29 17:10:08 2013 -0700

    Limit the checks for block device becoming available.

    Instead of previously looping potentially forever for a block
    device mapping to become created from the volume api, basically
    blocking a greenthread until this happens we now will have a number
    of attempts (defaulting to 10) that we will wait for the volume api
    to create said block device mapping (or error out).

    Fixes bug 1162064

    Change-Id: I6ff0b42aad48df735d09f91a0a9fe98e6abcf2eb

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
importance: Undecided → High
tags: added: grizzly-backport-potential
Changed in nova:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/26875

tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-1 → 2013.2
Sean Dague (sdague)
no longer affects: nova/grizzly
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.