Before this update, when the *Blank* template was set with HA enabled, a backup of the RHVM virtual machine saved this setting. This setting prevented deployment of the RHVM virtual machine during the restore operation. Consequently, upgrading to Red Hat Virtualization 4.4 failed.
This update disables the HA setting on the RHVM virtual machine during self-hosted engine deployment, and as a result, the upgrade to 4.4 succeeds.
DescriptionGermano Veit Michel
2020-08-07 00:39:34 UTC
Description of problem:
1. If the Blank template is set with HA enabled (auto_startup), the new HE VM created during deploy has it set as well.
2. Then when hosted-engine setup does an UpdateVm on this step:
[ INFO ] TASK [ovirt.hosted_engine_setup : Trigger hosted engine OVF update and enable the serial console]
3. Validation fails on the engine side:
2020-08-07 10:26:06,550+10 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-1) [7d6bebfa-d31b-4f03-962b-f9140e00376c] Validation of action 'UpdateVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_CANNOT_BE_HIGHLY_AVAILABLE_AND_HOSTED_ENGINE
4. Deployment fails.
This breaks upgrade to RHV 4.4, in addition to restoring from backup.
Version-Release number of selected component (if applicable):
ovirt-engine-4.4.1.10-0.1.el8e
ovirt-hosted-engine-setup-2.4.5-1.el8ev.noarch
ovirt-ansible-hosted-engine-setup-1.1.7-1.el8ev.noarch
ansible-2.9.11-1.el8ae.noarch
How reproducible:
Always
Steps to Reproduce:
1. Set Blank Template as HA
2. Upgrade from 4.3 to 4.4
OR
Backup and Restore on 4.4
Actual results:
Cannot upgrade to 4.4 or restore backup if Blank template is set with HA
Expected results:
Create HE VM with HA set to false, not inheriting it from the blank template.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (RHV Engine and Host Common Packages 4.4.z [ovirt-4.4.2]), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:3820
Description of problem: 1. If the Blank template is set with HA enabled (auto_startup), the new HE VM created during deploy has it set as well. 2. Then when hosted-engine setup does an UpdateVm on this step: [ INFO ] TASK [ovirt.hosted_engine_setup : Trigger hosted engine OVF update and enable the serial console] 3. Validation fails on the engine side: 2020-08-07 10:26:06,550+10 WARN [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-1) [7d6bebfa-d31b-4f03-962b-f9140e00376c] Validation of action 'UpdateVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_CANNOT_BE_HIGHLY_AVAILABLE_AND_HOSTED_ENGINE 4. Deployment fails. This breaks upgrade to RHV 4.4, in addition to restoring from backup. Version-Release number of selected component (if applicable): ovirt-engine-4.4.1.10-0.1.el8e ovirt-hosted-engine-setup-2.4.5-1.el8ev.noarch ovirt-ansible-hosted-engine-setup-1.1.7-1.el8ev.noarch ansible-2.9.11-1.el8ae.noarch How reproducible: Always Steps to Reproduce: 1. Set Blank Template as HA 2. Upgrade from 4.3 to 4.4 OR Backup and Restore on 4.4 Actual results: Cannot upgrade to 4.4 or restore backup if Blank template is set with HA Expected results: Create HE VM with HA set to false, not inheriting it from the blank template.