New Question

Windows Instance and Networking Setup [closed]

asked 2017-06-21 06:42:14 +0300

Nebukazar gravatar image

updated 2017-06-21 06:44:09 +0300


We're currently using OpenStack Ocata across our hyperv failover cluster. So far, everything seems to be working properly.

The only issue (if we may call it an issue..) is our windows guest (mostly win2016 with cloudbase's cloud-init version 0.9.12.dev16) are taking minutes before getting their networking configuration. Usually, our linux guests will get networking configuration within a minute or two; but windows guests are taking from 6-7 minutes and sometimes up to 15 minutes before getting their network info.

Is there a way to speed up the process ? I guess its because cloud-init is trying every possible config before mounting the config drive ?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Nebukazar
close date 2017-06-23 23:30:23.356352

1 answer

Sort by » oldest newest most voted

answered 2017-06-21 09:08:27 +0300

avladu gravatar image


Have you used a specific tools to create the image? From my experience, your issue might be the IP persisted across reboots. Before shutting down the machine, after you have syspreped it, you need to run:

ipconfig /release

Also, to force the usage of config drive before http, you can set in cloudbase-init.conf:,

Thank you,
Adrian Vladu

edit flag offensive delete link more


Thanks! I've been using the following to generate our win2016 images: Is there a way to modify the cloud-init's config while generating the image ?

Nebukazar gravatar imageNebukazar ( 2017-06-21 20:01:37 +0300 )edit

You can add the code to change the cloudbase-init config here: . You can use the Set-IniFileValue command, which is already available at that moment.

avladu gravatar imageavladu ( 2017-06-22 13:38:31 +0300 )edit

So basically, this should be the code being used for modifying the metadata_services key ? Set-IniFileValue "metadata_services", "DEFAULT", "[...]", "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init-unattend.conf"

Nebukazar gravatar imageNebukazar ( 2017-06-22 18:44:56 +0300 )edit
avladu gravatar imageavladu ( 2017-06-23 07:53:03 +0300 )edit

Thanks a lot !

Nebukazar gravatar imageNebukazar ( 2017-06-23 23:30:32 +0300 )edit

Question Tools


Asked: 2017-06-21 06:42:14 +0300

Seen: 1,020 times

Last updated: Jun 21 '17