booting VM form volume crashes by timeout creating volume

Bug #1213953 reported by Julia Portnova
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Julia Portnova

Bug Description

Method _await_block_device_map_created in nova/compute/manager.py makes 30 retries with 1 sec interval to Cinder and checks volume status. If it is not "available" in 30 retries then it raises exception.
In some cases 30 attempts with 1 sec interval is not enough for volume to be created.
For example when we are creating volume from large snapshot.

Also https://review.openstack.org/#/c/40603/ introduces ability to create volume form image on booting VM.
In this case image needs to be downloaded and if it is not in RAW format - converted.

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

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

Reviewed: https://review.openstack.org/42876
Committed: http://github.com/openstack/nova/commit/634b4f36a22b29bba91b065e57d416e39d8d956f
Submitter: Jenkins
Branch: master

commit 634b4f36a22b29bba91b065e57d416e39d8d956f
Author: Yulia Portnova <email address hidden>
Date: Tue Sep 3 11:47:59 2013 +0300

    Increase volume created checking retries to 60

    In some cases 30 retries with 1 sec interval is not enough for
    volume to be created.
    Increased max tries to 60

    Fixes bug 1213953

    Change-Id: I6bcd395a4bac940387384cc85691d7219cf90e63

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → havana-rc1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
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/52224

Thierry Carrez (ttx)
Changed in nova:
milestone: havana-rc1 → 2013.2
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.