Pass network_info to be used by InstanceMetadata instead of fetching
it by API and losing originally requested network order. This is
similar to what has been done for "content" where the original data
is lost after the initial call.
This issue only affects the ConfigDrive code path as the original
network_info is used when using file injection.
HyperV and XenApi are still probably affected by the bug but
unaffected by this fix. The fix is the same for these drivers. Simply
pass a network_info and it will be used instead of fetching the
network info by API.
Reviewed: https:/ /review. openstack. org/33682 github. com/openstack/ nova/commit/ b0da1ab2310316f 55735827aa68ef0 167274ce27
Committed: http://
Submitter: Jenkins
Branch: master
commit b0da1ab2310316f 55735827aa68ef0 167274ce27
Author: Mathieu Mitchell <email address hidden>
Date: Tue Jun 18 10:15:45 2013 -0400
Preserve network order when using ConfigDrive
Pass network_info to be used by InstanceMetadata instead of fetching
it by API and losing originally requested network order. This is
similar to what has been done for "content" where the original data
is lost after the initial call.
This issue only affects the ConfigDrive code path as the original
network_info is used when using file injection.
HyperV and XenApi are still probably affected by the bug but
unaffected by this fix. The fix is the same for these drivers. Simply
pass a network_info and it will be used instead of fetching the
network info by API.
Change-Id: Ie673b725cb47bf 491009db99f6cb1 258d46b0a69
Fixes: bug #1156844