xenapi: configdrive does not include network details

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

Bug Description

When you look in config drive, you don't get any network information.

Seems like in vm_utils, the InstanceMetadata is constructed without network_info, so the IP address does not get into config_drive.

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

tags: added: havana-rc-potential
tags: added: havana-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/46286
Committed: http://github.com/openstack/nova/commit/903df1fff10bfd9f37aa994981bdddd53de7fefb
Submitter: Jenkins
Branch: master

commit 903df1fff10bfd9f37aa994981bdddd53de7fefb
Author: John Garbutt <email address hidden>
Date: Fri Sep 6 13:15:32 2013 +0100

    populate local-ipv4 address in config drive

    Currently the ec2 metadata in config drive does not include the
    local-ipv4 address, because the address is not passed in when using
    config drive.

    This change uses the fixed_ips in network_info to populate the address
    if the address was not passed in.

    Fixes bug 1221664
    Change-Id: I1b289bbbd7ebe103342909079d2488cf1dfbf472

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