Description of problem: Maybe not limited to, but this is the scenario the customer hit the problem and I reproduced it: - Vms of a VM pool have vm_init wiped on cluster upgrade Version-Release number of selected component (if applicable): ovirt-engine-4.3.2.1-1.el7.noarch How reproducible: Always Steps to Reproduce: 1. Create VM Pool, set OS to Windows, set Domain engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid and vm_name = 'Win-1'; vm_name | domain ---------+------------- Win-1 | test.domain (1 row) 2. Upgrade cluster level from 4.2 to 4.3 3. Check sysprep configuration from the UI (its empty) engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid; vm_name | domain ---------+-------- (0 rows) Actual results: All sysprep configurations for the VM are gone Expected results: sysprep configuration persisted Additional info: Customer hit this from 4.1 to 4.2 CL upgrade, under 4.2.8 engine.
Bumping severity, this is affecting upgrade to 4.2 for our customer.
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{'rhevm-4.3.z': '?'}', ] For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason: [Found non-acked flags: '{'rhevm-4.3.z': '?'}', ] For more info please contact: rhv-devops
Verification failed on: ovirt-engine-4.3.4.1-0.1.el7.noarch Steps: 1. Create a VM and a VM Pool, set OS to Windows, set Domain under initial init, sysprep. engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid and vm_name = '<VM_NAME>'; vm_name | domain ---------+------------- <VM_NAME> | <DOMAIN> (1 row) 2. Upgrade cluster level from 4.2 to 4.3 3. Check sysprep configuration from the UI (its empty) engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid and vm_name = '<VM_NAME>'; vm_name | domain ---------+-------- (0 rows) Additional information: The patch merged only on master branch, in my opinion backport to 4.3 branch is needed.
Verified on: ovirt-engine-4.3.5-0.1.el7.noarch Steps: 1. Create a VM and a VM Pool, set OS to Windows, set Domain under initial init, sysprep. engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid and vm_name = '<VM_NAME>'; vm_name | domain ---------+------------- <VM_NAME> | <DOMAIN> (1 row) 2. Upgrade cluster level from 4.2 to 4.3 3. Check sysprep configuration from the UI The fields for initial run are full as before changing the cluster level. 4. Verify the engine's DB isn't change: engine=# select vm_name,domain from vm_init,vms where vm_init.vm_id = vms.vm_guid and vm_name = '<VM_NAME>'; vm_name | domain ---------+------------- <VM_NAME> | <DOMAIN> (1 row)
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, 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/RHEA-2019:2431