When the XCPNG host restart, it restarts running directly, instead of being in maintenance mode
-
@olivierlambert I even witnessed something today, on the same thematic :
- one pool of 2 hosts
- multiple VMs not running, but some have the AUTO POWER ON checked
- reboot the slave host, and as soon as it gets online / green, the VMs with auto power on starts...
they were downed on purpose... surprise

by the way, is this what is expected if the AUTO POWER ON is also checked on the POOL advanced tab ? I supposed it was there only to check auto power on on newly created VMs
-
@Pilow @olivierlambert I have the same issue with suspended VMs restarting without my request. It happens during some host upgrades/reboots or NFS storage reconnects.
-
@olivierlambert XCP-ng will include an option to keep hosts disabled after reboot. This will be part of the next update for xapi. (25.33.1) This was contributed upstream by Andriy and is used by adding an extra parameter to disable:
xe host-disable uuid=$HOST auto-enable=false. -
Ah nice!
-
Hi,
@olivierlambert, @psafont @pilow Perfect, thank you a lot !!
-
@psafont do you know if it's already available since then in XCP-ng 8.3? If yes, worth checking XO team to also making this option visible in the UI

-
@psafont do you know if it's already available since then in XCP-ng 8.3? If yes, worth checking XO team to also making this option visible in the UI

Yes, we're shipping xapi 26.1.3, which includes this enhancement.
-
Thanks! I will make sure the Maintenance mode button in XO extends with this new parameter.
-
@olivierlambert having done a RPU yesterday on 3 hosts, I still have the "bug" where some VMs with "auto start" switched ON, but halted on purpose, reboot when a host is rebooted.
we do stop some VMs during RPU to lessen the migrate times, but at every host reboot, they DO START UP
annoying. not critical, but annoying.
-
@Pilow Are these VMs HA-protected? If yes, maybe when HA is re-enabled after the RPU it believes that the VM is down and must be started.
There's a pool-wide setting tell HA not to restart a VM that was manually stopped:
xe pool-param-set uuid=<your pool uuid> ha-reboot-vm-on-internal-shutdown=false -
@stormi no, we do not use HA, it's disabled on the POOL and on the VMs
-
I did verify and yes
ha-reboot-vm-on-internal-shutdown ( RW): trueit is enabled on our Pool. but no HA
ha-enabled ( RO): false
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login