xenapi: when using config_drive xenstore metadata is not always injected

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

Bug Description

Currently, certain code paths in the xenapi drive skip adding metadata when config drive is enabled.

We should really always inject this data, regardless of if config_drive is enabled, because you could also be using the agent.

Tags: xenserver
Changed in nova:
assignee: nobody → John Garbutt (johngarbutt)
status: New → In Progress
importance: Undecided → Medium
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/32132

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

Reviewed: https://review.openstack.org/32132
Committed: http://github.com/openstack/nova/commit/0107ce638b5c75bf112d74aab62914ffa5033a96
Submitter: Jenkins
Branch: master

commit 0107ce638b5c75bf112d74aab62914ffa5033a96
Author: John Garbutt <email address hidden>
Date: Fri Jun 7 14:30:53 2013 +0100

    xenapi: ensure instance metadata always injected into xenstore

    It is possible to use the agent, cloud-init and config drive
    together on a single server. In this case we should still
    be injecting the instance metadata.

    The current code is inconsistent between spawn and migrations.

    The correct approach is to always inject the data into xenstore.

    fixes bug 1188618

    Change-Id: I253b34234544cff353985a5b53ec084ea332535a

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