if one set GANETI_MASTERD_OPTS (e.g. --no-voting --yes-do-it on a two node cluster) this options are also passed to ganeti-confd and ganeti-rapi because GANETI_OPTS variable modified. the following patch works for me: --- ganeti-2.1.initd.org 2011-03-01 22:01:47.000000000 +0100 +++ ganeti-2.1.initd 2011-06-15 15:11:24.000000000 +0200 @@ -70,15 +70,16 @@ start_all() { check_config for i in ${NODED} ${MASTERD} ${CONFD} ${RAPI}; do \ + GANETI_START_OPTS="${GANETI_OPTS}" case "${i}" in ganeti-masterd) - GANETI_OPTS="${GANETI_OPTS} ${GANETI_MASTERD_OPTS}" + GANETI_START_OPTS="${GANETI_START_OPTS} ${GANETI_MASTERD_OPTS}" ;; ganeti-rapid) - GANETI_OPTS="${GANETI_OPTS} ${GANETI_RAPI_OPTS}" + GANETI_START_OPTS="${GANETI_START_OPTS} ${GANETI_RAPI_OPTS}" ;; esac - maybe_do "${1}" start_action ${i} ${GANETI_OPTS} + maybe_do "${1}" start_action ${i} ${GANETI_START_OPTS} done } Reproducible: Always Steps to Reproduce: 1. set GANETI_MASTERD_OPTS in /etc/conf.d/ganeti 2. /etc/init.d/ganeti restart Actual Results: ganeti-confd and ganeti-rapi fails to start because the dont know ganeti-masterd options like --no-voting Expected Results: all deamons should start
Finally fixed and pushed to portage. Thanks for reporting. Sorry it took so long :(