By default, master-failover will call "herd start ganeti-wconfd" with extra arguments such as --force-node. That does not work with the Shepherd, so the Guix service has a "force-start" action for this purpose. diff --git a/lib/bootstrap.py b/lib/bootstrap.py --- a/lib/bootstrap.py +++ b/lib/bootstrap.py @@ -1011,9 +1011,7 @@ def MasterFailover(no_voting=False): try: # Forcefully start WConfd so that we can access the configuration - result = utils.RunCmd([pathutils.DAEMON_UTIL, - "start", constants.WCONFD, "--force-node", - "--no-voting", "--yes-do-it"]) + result = utils.RunCmd(["herd", "force-start", constants.WCONFD]) if result.failed: raise errors.OpPrereqError("Could not start the configuration daemon," " command %s had exitcode %s and error %s" % r>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/status.scm
AgeCommit message (Expand)Author
2019-02-05status: Keep track of the current build phase....* guix/status.scm (<build>)[phase]: New field. (%phase-start-rx): New variable. (update-build): Add clause to match %PHASE-START-RX and adjust the 'phase' field accordingly. * tests/status.scm ("compute-status, build phase"): Add test Ludovic Courtès
2019-01-29status: Keep track of build completion as reported by build tools....* guix/status.scm (<build>)[completion]: New field. (build): Add #:completion parameter. (%percentage-line-rx, %fraction-line-rx): New variables. (update-build): New procedure. (compute-status): Add 'build-log' case. * tests/status.scm ("compute-status, build completion"): New test. Ludovic Courtès
2019-01-29status: Record more information about builds....* guix/status.scm (<build>): New record type. (build, matching-build): New procedures. (compute-status): Adjust to manipulate <build> records instead of derivation file names in 'build-status-builds-completed' and 'build-status-building'. (build-event-output-port)[process-line]: Use 'string-split' to preserve spaces. * tests/status.scm ("compute-status, builds + substitutes") ("compute-status, missing events"): Adjust to expect <build> records. Produce complete "build-started" events. ("compute-status, multiplexed build output"): Likewise, and remove "bar.drv" from 'builds-completed'. Ludovic Courtès