xenapi: unable to create instances with ephemeral disks

Bug #1289361 reported by John Garbutt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
John Garbutt

Bug Description

The resize ephemeral disk blueprint has regressed the ability to spawn instances with ephemeral disks.

Tags: xenserver
tags: added: xenserver
Changed in nova:
milestone: none → icehouse-rc1
assignee: nobody → John Garbutt (johngarbutt)
importance: Undecided → High
status: New → Triaged
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/78963

Changed in nova:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/78963
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=527d9e532d1c2692fdd367314d98c37237ecc834
Submitter: Jenkins
Branch: master

commit 527d9e532d1c2692fdd367314d98c37237ecc834
Author: John Garbutt <email address hidden>
Date: Fri Mar 7 13:44:02 2014 +0000

    xenapi: fix spawn servers with ephemeral disks

    The new resize ephemeral disk code uses vdis["ephemerals"] to pass the
    list of ephemeral vdis to the resize disk code. This is shared between
    spawn and resize. As spawn wants to resize the root disk, resize=True
    during the spawn operation.

    The code in _attach_disks correctly deals with empty ephemeral disks,
    but the code in _resize_up_vdis did not, and failed due to
    ephemeral_vdis being None.

    This is a quick fix for the issue. We need some refactoring in this area
    so there is, ideally, only one place that generates ephemeral disks.

    Change-Id: If058c5c17c2ed76569fd98d4a3d8e5274721fbd0
    Closes-Bug: #1289361

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-rc1 → 2014.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.