OLVM: "engine-setup" fails with error "Hosted Engine setup detected, but Global Maintenance is not set"
(Doc ID 2922231.1)
Last updated on OCTOBER 04, 2023
Applies to:Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and later
Global maintenance is not properly detected by engine-setup even though the engine VM shows in global maintenance mode.
The engine setup fails as follows:
[ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [OK]: OK [ ERROR ] It seems that you are running your engine inside of the hosted-engine VM and are not in "Global Maintenance" mode. In that case you should put the system into the "Global Maintenance" mode before running engine-setup, or the hosted-engine HA agent might kill the machine, which might corrupt your data.
[ ERROR ] Failed to execute stage 'Setup validation': Hosted Engine setup detected, but Global Maintenance is not set. <<<<<<<< [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20230114172116-qxf96u.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20230114172543-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document