New Question

how to build the metadata server.

asked 2016-04-16 05:49:55 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Now i install the cloud-init in the windows, but i don't know how to build the metadata server and Specify the metadata server on the windows.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-04-18 12:30:37 +0300

avladu gravatar image

updated 2016-04-18 12:33:13 +0300


Can you give some more details on your use case? For example, if you use a VM management system like OpenStack or CloudStack. The metadata providers supported for cloudbase-init are presented here:

Thanks, Adrian.

edit flag offensive delete link more


Now the situation is that I created a VM on the OpenStack, and would like t through the cloudinit change the VM‘hostname configured as the name of this VM automatically.

quanquan gravatar imagequanquan ( 2016-04-18 18:52:48 +0300 )edit

But the file didn't tell me ,how to install the metadata server and send the hostname’parameter to the VM which install cloudinit.

quanquan gravatar imagequanquan ( 2016-04-18 18:54:40 +0300 )edit

There are multiple configurations for the metadata server, metadata delivery and metadata consumption in OpenStack. From an OpenStack deployment perspective, nova handles the metadata generation. Neutron handles the routing part in the case of the metadata being exposed through a webserver.

avladu gravatar imageavladu ( 2016-04-19 20:49:16 +0300 )edit

Cloud-init and cloudbase-init consume the metadata, using it to provision the machine. The metadata in OpenStack can be also exposed through an attached disk to the vm, the so called config drive. Make sure you have the proper metadata setup in both nova and neutron.

avladu gravatar imageavladu ( 2016-04-19 20:53:13 +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

1 follower


Asked: 2016-04-16 05:49:55 +0300

Seen: 832 times

Last updated: Apr 18 '16