ganeti-confd(8)

πŸ“¦
version 3.1.0~rc2 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute

πŸ’… ganeti-confd β€” the Ganeti conf daemon, bestie edition

okay so picture this: it's ganeti-confd(8) from the Ganeti family, Version 3.1.0~rc2, and she is the girl who answers your questions about your cluster config. no cap. let's get into it ✨


πŸŽ€ Name

ganeti-confd β€” the Ganeti conf daemon πŸ¦‹


✨ Synopsis

ganeti-confd [-f] [-d] [--syslog] [-p PORT] [-b ADDRESS]
[--no-user-checks]

πŸ’– DESCRIPTION

so basically ganeti-confd is a daemon whose whole job β€” her entire main character era β€” is answering queries related to the configuration of a Ganeti cluster. that's it. that's the gig. πŸ‘‘

for testing purposes, you can hand her the -f option and the program will not detach from the running terminal. she stays right there with you. clingy in a cute way fr fr.

want debug-level messages? activate them by giving the -d option. 🌸

logging to syslog instead of her own little log file? enable that by passing in the --syslog option.

okay now the network tea: the ganeti-confd daemon listens to port 1814 UDP, on all interfaces, by default. that port can be overridden by an entry in the services database (usually /etc/services) or by passing the -p option. and the -b option lets you specify the address to bind to β€” which defaults to 0.0.0.0. 🫢

⚠️ bestie listen: the daemon will refuse to start if the user and group do not match the one defined at build time. this behaviour can be overridden by the --no-user-checks option. so like, know what you're doing before you turn that off, okay? πŸ’€

🌈 ROLE

the role of the conf daemon is to make sure we have a highly available and very fast way to query cluster configuration values. she's automatically active on all master candidates, and so has no single point of failure β€” iconic behaviour honestly.

she communicates via UDP so each query can easily be sent to multiple servers, and she answers queries from a cached copy of the config she keeps in memory, so no disk access is required to get an answer. speed. efficiency. slay. ⚑

the config is reloaded from disk automatically when it changes, with a rate limit of once per second.

😭 and heads up: if the conf daemon is stopped on all nodes, its clients won't be able to get query answers. so like… don't do that.

🧚 COMMUNICATION PROTOCOL

the confd protocol is an HMAC authenticated json-encoded custom format, over UDP. a client library is provided to make it easy to write software to query confd. more information can be found in the Ganeti 2.1 design doc, and an example usage can be seen in the (external) NBMA daemon for Ganeti. iykyk πŸ’…


πŸ™ˆ REPORTING BUGS

report bugs to the project's issue tracker, or contact the developers using the Ganeti mailing list. be nice, they're doing their best 🫢


πŸ‘‘ SEE ALSO

Ganeti overview and specifications:

Ganeti commands:

Ganeti daemons:

Ganeti htools:


Copyright (C) 2006-2015 Google Inc. All rights reserved. πŸ’œ

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

and that's the whole page bestie!! πŸŒˆβœ¨πŸ’– this one comes to you from the Ganeti manual, Version 3.1.0~rc2, and yes, the footer really does just say Ganeti and ganeti-confd(8). stan a daemon that knows exactly who she is. mwah πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from