New Question

Question about Cloudbase-init setting time

asked 2020-12-10 11:32:06 +0300

clektek gravatar image

updated 2020-12-12 16:03:53 +0300


I created and ran a Windows instance made with OpenStack. (The instance name is "AAA") And after a 'few minutes'(about 3min~10min) after booting the instance, it was automatically rebooted.

So I confirmed that the hostname was changed to the name("AAA") of the instance I named.

I want to shorten this 'few minutes'. Is there a way to make Cloudbase-init run as soon as it finishes booting?

Thank you

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2020-12-14 11:59:48 +0300

avladu gravatar image


In this case, I can only assume that there is no access to the HTTP OpenStack metadata service and cloudbase-init is set by default to use it and it will retry to access the HTTP metadata a number of configurable times, and only after that it uses the ConfigDrive metadata (which succeeds).

Can you share the cloudbase-init configuration file / logs for further debug and information?

Thank you,
Adrian Vladu

edit flag offensive delete link more


I found this part of log. 2020-12-16 11:22:59.717 6848 ERROR [-] 503 Server Error: Service Unavailable for url:

clektek gravatar imageclektek ( 2020-12-16 05:09:43 +0300 )edit

It seems that the OpenStack you use does not expose the HTTP metadata API to the instances. If it exposes the config drive one, you can set in cloudbase-init.conf, in the DEFAULT section,

avladu gravatar imageavladu ( 2020-12-17 14:01:35 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2020-12-10 11:32:06 +0300

Seen: 889 times

Last updated: Dec 14 '20