• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 17583250022 / 1
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/mingl/trusted-cert
DEFAULT BRANCH: master
Ran 09 Sep 2025 01:01PM UTC
Files 34
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2025 12:53PM UTC coverage: 80.368%. Remained the same
17583250022.1

push

github

web-flow
Host.disable: add persistency flag (#6652)

Currently `Host.disable` only disables the host for the current xapi's
runtime - it will be re-enabled on toolstack restarts and host reboots
(if other conditions are met). This greatly complicates manual
maintenance in an HA cluster when reboots are needed, since VMs will
start moving to the host as soon as it's enabled.

To allow for keeping a host persistently disabled across toolstack
restarts and host reboots, add a new localdb flag `host_auto_enable`
(set through the parameter on Host.disable). This coexists with the
internal flag of `host_disabled_until_reboot`, which is only set on host
poweroff internally and cannot be controlled by the user directly.

With `host_auto_enable` set to false, xapi will not re-enable a host on
its own no matter what: toolstack restarts, host reboots, calls to
consider_enabling_host (triggered by PBD plugs etc.) will have no
effect. Only a manual call to `Host.enable` will re-enable the host.

Expose the new parameter in the CLI. Also fix up the comment in
`xapi_host_helpers.mli`.

I've verified the new functionality manually.

3496 of 4350 relevant lines covered (80.37%)

0.8 hits per line

Source Files on job python3.11 - 17583250022.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17583250022
  • 89d78a56 on github
  • Prev Job for on gh-readonly-queue/master/pr-6652-3cc92415a2e33ef7db76bd131c1c935fddce6400 (#17572978366.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc