[openstack-dev] [Nova]Passing flat_injected flag through instance metadata

ebaysf, yvempati yvempati at ebaysf.com
Mon Jun 2 17:20:00 UTC 2014


Hi,
Thanks for getting back to me.

The current flat_injected flag is set in the hypervisor nova.conf. The
config drive data uses this flag to set the static network configuration.
What I am trying to accomplish is to pass the flat_injected file through
the instance metadata during the boot time and use it during the config
drive network configuration rather setting the flag at the hypervisor
level.

Regards,
Yashwanth Vempati

On 6/2/14, 9:30 AM, "Ben Nemec" <openstack at nemebean.com> wrote:

>On 05/30/2014 05:29 PM, ebaysf, yvempati wrote:
>> Hello all,
>> I am new to the openstack community and I am looking for feedback.
>> 
>> We would like to implement a feature that allows user to pass
>>flat_injected flag through instance metadata. We would like to enable
>>this feature for images that support config drive. This feature helps us
>>to decrease the dependency on dhcp server and  to maintain a uniform
>>configuration across all the hypervisors running in our cloud. In order
>>to enable this feature should I create a blue print and later implement
>>or can this feature be implemented by filing a bug.
>
>I'm not sure I understand what you're trying to do here.  As I recall,
>when flat_injected is set the static network configuration is already
>included in the config drive data.  I believe there have been some
>changes around file injection, but that shouldn't affect config drive as
>far as I know.
>
>If you just need that functionality and it's not working anymore then a
>bug might be appropriate, but if you need something else then a
>blueprint/spec will be needed.
>
>-Ben
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list