Hide Forgot
Description of problem: "HostedEngine" can't be given as a VM name, but there is no proper warning or error shown in UI. Version-Release number of selected component (if applicable): Hosts: ovirt-setup-lib-1.0.2-1.el7ev.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch ovirt-imageio-common-0.3.0-0.el7ev.noarch libvirt-client-2.0.0-10.el7.x86_64 ovirt-vmconsole-1.0.4-1.el7ev.noarch mom-0.5.8-1.el7ev.noarch ovirt-hosted-engine-setup-2.0.3-2.el7ev.noarch ovirt-host-deploy-1.5.3-1.el7ev.noarch ovirt-imageio-daemon-0.4.0-0.el7ev.noarch ovirt-vmconsole-host-1.0.4-1.el7ev.noarch qemu-kvm-rhev-2.6.0-27.el7.x86_64 ovirt-hosted-engine-ha-2.0.4-1.el7ev.noarch rhev-release-4.0.5-7-001.noarch vdsm-4.18.15.3-1.el7ev.x86_64 sanlock-3.4.0-1.el7.x86_64 Linux version 3.10.0-514.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Oct 19 11:24:13 EDT 2016 Linux 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.3 (Maipo) Engine: rhevm-spice-client-x64-msi-4.0-3.el7ev.noarch rhevm-branding-rhev-4.0.0-5.el7ev.noarch rhevm-dependencies-4.0.0-1.el7ev.noarch rhevm-spice-client-x86-msi-4.0-3.el7ev.noarch rhev-release-4.0.5-7-001.noarch rhevm-guest-agent-common-1.0.12-3.el7ev.noarch rhevm-setup-plugins-4.0.0.3-1.el7ev.noarch rhev-guest-tools-iso-4.0-6.el7ev.noarch rhevm-doc-4.0.5-1.el7ev.noarch rhev-hypervisor7-7.2-20160209.2.bz1288237.el6ev.noarch rhevm-4.0.5.5-0.1.el7ev.noarch Linux version 3.10.0-514.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Wed Oct 19 11:24:13 EDT 2016 Linux 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux Server release 7.3 (Maipo) How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: "HostedEngine" can't be given as a VM name, but there is no proper warning or error shown in UI. See screen shot as attached. Expected results: Error or warning message should be shown. Additional info: Screenshot from 2016-11-23 12:05:13.png
Created attachment 1223130 [details] Screenshot from 2016-11-23 12:05:13.png
Adding reproduction steps here: 1.Deploy hosted-engine on at least one host. 2.Attach data storage domain to environment, so HE storage domain and HE-VM could get auto-imported. 3.Try creating guest-VM named the same as HostedEngine, as appears in the attachment.
This bug had requires_doc_text flag, yet no documentation text was provided. Please add the documentation text and only then set this flag.
HostedEngine is not special VM in that case. We already have a built-in support for checking for duplicate VM names and notifying user on that error. Users are notified by a)highlighting field with error b)tooltip on that field, telling user error details. That notifications work for all VMs, including HostedEngine VM (please, check attached screenshots) Notification style, mentioned above, is widely used everywhere in ovirt UI (for example, in storage domain creation dialog) and it is considered to be good enough.
Created attachment 1272636 [details] HostedEngine vm name is already in use
Created attachment 1272638 [details] Dupicate VM names are handler correctly