Hide Forgot
Description of problem: User is able to change the name of the HostedEngine VM. Even though a warning/error message is shown while trying to do so, the name is still changed, as can be seen in the DB by checking the vm_static table. Version-Release number of selected component (if applicable): oVirt 3.6.4.1-1.el7.centos How reproducible: 100% Steps to Reproduce: 1. install HE w/ appliance 2. access the engine UI 3. add Storage Domain to make the HostedEngine VM visible in the engine 4. change the name of the HostedEngine VM to e.g. MyHostedEngine 5. access the engine DB and run a query against the vm_static table. 6. note that vm_name now shows the new name e.g. MyHostedEngine Actual results: The name of the VM changes. Expected results: The change should never happen. Additional info: I noticed that HE VM stopped responding sometime after the name was changed.
(In reply to Lev Veyde from comment #0) > Expected results: > The change should never happen. Why? If we have other places with this name hardcoded (and we do), that's a bug in these places.
There is an option in vdc_options 'HostedEngineVmName', we should just make sure it's kept up-to-date and read from it everywhere.
Lev can you please attach logs?
Created attachment 1146856 [details] engine.log the HostedEngine was renamed to MyHostedEngine
This was fixed in the current version (was tested by me on 3.6.6). Please verify.
This bug is not listed under the 3.6.5 fixes so just closing on 3.6.6
(In reply to Jenny Tokar from comment #5) > This was fixed in the current version (was tested by me on 3.6.6). > Please verify. I think it's for QA.
Verified on rhevm-3.6.6-0.1.el6.noarch engine=# select vm_name from vm_static where vm_name = 'HostedEngine'; vm_name -------------- HostedEngine