upgrading failed from 4.2 to 4.3

Hello Users, I am trying to upgrade ovirt-engine running on bare metal, following below guide, https://ovirt.org/release/4.3.0/ and it is getting failed every time with the below errors, engine-setup ============================ [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [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-20190314171026-wicgh1.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190314171042-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed =================================== I was using hosted engine on nodes earlier but later remove the nodes and using ovirt egine on seperate bare-metal. Any pointers? -- ABHISHEK SAHNI Mob : +91-990-701-5143

On Thu, Mar 14, 2019 at 1:18 PM Abhishek Sahni <abhishek.sahni1991@gmail.com> wrote:
Hello Users,
I am trying to upgrade ovirt-engine running on bare metal, following below guide,
https://ovirt.org/release/4.3.0/
and it is getting failed every time with the below errors,
engine-setup
If you are sure that you are not in global maintenance mode you can execute engine-setup with: engine-setup --otopi-environment=OVESETUP_CONFIG/continueSetupOnHEVM=bool:True to skip that check. At the end I suggest to ensure you correctly disable ovirt-ha-agent and ovirt-ha-broker on all the hosts.
============================ [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [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-20190314171026-wicgh1.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190314171042-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ===================================
I was using hosted engine on nodes earlier but later remove the nodes and using ovirt egine on seperate bare-metal.
Any pointers?
--
ABHISHEK SAHNI Mob : +91-990-701-5143
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SPFMXYNVHO7Y5F...

Hey Simone, Thanks much. :-) successfully upgraded. On Fri, Mar 15, 2019 at 1:49 AM Simone Tiraboschi <stirabos@redhat.com> wrote:
On Thu, Mar 14, 2019 at 1:18 PM Abhishek Sahni < abhishek.sahni1991@gmail.com> wrote:
Hello Users,
I am trying to upgrade ovirt-engine running on bare metal, following below guide,
https://ovirt.org/release/4.3.0/
and it is getting failed every time with the below errors,
engine-setup
If you are sure that you are not in global maintenance mode you can execute engine-setup with: engine-setup --otopi-environment=OVESETUP_CONFIG/continueSetupOnHEVM=bool:True to skip that check.
At the end I suggest to ensure you correctly disable ovirt-ha-agent and ovirt-ha-broker on all the hosts.
============================ [ INFO ] Stage: Setup validation During execution engine service will be stopped (OK, Cancel) [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-20190314171026-wicgh1.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190314171042-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed ===================================
I was using hosted engine on nodes earlier but later remove the nodes and using ovirt egine on seperate bare-metal.
Any pointers?
--
ABHISHEK SAHNI Mob : +91-990-701-5143
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/SPFMXYNVHO7Y5F...
-- ABHISHEK SAHNI Mob : +91-990-701-5143
participants (2)
-
Abhishek Sahni
-
Simone Tiraboschi