Description of problem: Today the blank template is using the desktop 'optimized for' value. Should be server, as this is the common use case.
Setting the Blank template "optimized for" value to 'Desktop' is done in dbscripts/data/01100_insert_vm_static.sql where we put '0' in DB for the vm_type field (instead of '1'). In addition to that, we currently set the default value of VmBase.vmType and also overridden in VmStatic.vmType to 'Desktop' as well. That causes the creation of the targeted VM via v2v to be 'optimized for' Desktop as well. So fixing this bug should consider fixing those two places.
can you push such a small change?
Note that Blank doesn't have a cluster version and any change is applicable to all clusters immediately
(In reply to Michal Skrivanek from comment #3) > Note that Blank doesn't have a cluster version and any change is applicable > to all clusters immediately because of that I would suggest to change that only when we drop the older ones to limit the scope.
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both
*** Bug 1388599 has been marked as a duplicate of this bug. ***
Verified on 4.4.0-31 RHEL 8.2 (Both hosts and engine) Steps: First create data center and cluster In Admin Portal: 2. Click "New" in VMs tab 3. Choose the cluster you created and the "Blank" template and enter a VM name. 4. Verify that the "Optimized for" is selected as "Server" 5. Create the VM 6. Enter the VM's page and verify that the "Optimized for" is selected as "Server". In VM Portal: 2. Click "Create new VM" 3. Choose the cluster you created, "provision source" as template and the "Blank" template and enter a VM name. 4. Verify that the "Optimized for" is selected as "Server" 5. Create the VM 6. Enter the VM's page and verify that the "Optimized for" is selected as "Server". Actual Results: All as expected the "Optimized for" is selected as "Server" by deafult.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days