« Previous | Next » 

Revision f007e290

IDf007e290cccf9b77d0855deefd99f2d94db83694
Parent 80929ecb
Child bf3a5cc0

Added by Jose A. Lopes about 10 years ago

Add metadata daemon configuration server

The configuration server listens on a Unix socket for connections from
the node daemon. The node daemon sends the instance parameters to the
configuration server so they can be served through the metadata daemon
web server to the instances which have the communication mechanism
enabled.

The configuration server reads the instance parameters and, currently,
it extracts the instance's name and the instance's IP address on the
instance communication NIC. The instance's name is used for logging
and the IP address is used to index the instance parameters, given
that instances do not authenticate with the metadata daemon, and the
only thing we know about them is their IP address.

The configuration server also extracts the OS parameters, including
public, private and secret, and creates an object containing those
parameters and their visibility.

The configuration is kept internally in an 'MVar' which will be shared
with the metadata daemon web server.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Hrvoje Ribicic <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences