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

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

Build:
Build:
LAST BUILD BRANCH: private/changleli/fix-xenops-cache
DEFAULT BRANCH: master
Ran 09 Sep 2025 12:54PM UTC
Jobs 1
Files 34
Run time 1min
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

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

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 17583250022.1 09 Sep 2025 12:54PM UTC 34
80.37
GitHub Action Run
Source Files on build 17583250022
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17583250022
  • 89d78a56 on github
  • Prev Build on gh-readonly-queue/master/pr-6650-a59f1c96b6bf1c081d9ab92ce1e41d326fa99a33 (#17572978366)
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

© 2025 Coveralls, Inc