Description of problem: We should allow editing of vNICs of the hosted engine VM.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Checked on rhevm-3.6.5.3-0.1.el6.noarch First of all, I see that VNIC of HE is unplugged under webadmin(see screenshot) If I try to plug it via webadmin I receive error: Error while executing action: HostedEngine: Cannot deactivate the management interface of the Hosted Engine VM. If I try to add new VNIC to HE VM I receive the same error. If I update type of HE VNIC and restart HE VM it does not really updated and HE VM still has old VNIC model under dumpxml.
Created attachment 1146845 [details] screenshot
Created attachment 1146846 [details] engine log
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
> First of all, I see that VNIC of HE is unplugged under webadmin(see > screenshot) That is a different bug. > HostedEngine: > Cannot deactivate the management interface of the Hosted Engine VM. That is expected and is related to the fact that the interface is seen as unplugged. We will never allow you to manipulate the management network interface of the hosted engine VM (and probably no interface on the management network... which might be a real flaw). > If I try to add new VNIC to HE VM I receive the same error. Management network again? Please create a new network for the test. > If I update type of HE VNIC and restart HE VM it does not really updated and > HE VM still has old VNIC model under dumpxml. You have to wait before the OVF store is refreshed. That can take up to one hour, but you can change that interval using engine-config. The variable is called OvfUpdateIntervalInMinutes
Thanks for info Checked on rhevm-3.6.5.3-0.1.el6.noarch 1) Add new nic works above new network 2) Update type of network interface still does not work 1. Change value OvfUpdateIntervalInMinutes: engine-config -s OvfUpdateIntervalInMinutes=5 && service ovirt-engine restart 2. Change HE VM VNIC type from Virtio to rtl8139 3. Wait 5 minutes to give to engine time to update OVF disk 4. Restart HE VM 5. Check HE VM dumpxml on host: <interface type='bridge'> <mac address='00:16:3e:14:e7:a2'/> <source bridge='ovirtmgmt'/> <target dev='vnet0'/> <model type='virtio'/> interface is still equal to virtio <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface>
Martin said that we do not support change type of HE management VNIC. The only scenario that we indeed support, to add new VNIC above new network to HE VM. Verified on rhevm-3.6.5.3-0.1.el6.noarch