Red Hat Bugzilla – Bug 983104
[RHEVM][webadmin] plug/unplug option is not blocked for template vNIC
Last modified: 2016-02-10 14:52:24 EST
Created attachment 771633 [details]
Description of problem:
plug/unplug option is not blocked for template vNIC (see screenshot), it should be grayed out for templates
user can change the radio button but nothing happens, plug state is not changed despite this message in events:
Interface nic1 (VirtIO) was updated for Template 123456. (User: admin@internal)
Version-Release number of selected component (if applicable):
oVirt Engine Version: 3.3.0-0.7.master.el6ev
Steps to Reproduce:
1.create VM with 1 NIC unplugged and 1 NIC plugged
2.make template from the VM
3.templates -> your template -> network interfaces -> nic1 -> edit
4. expand advanced parameters
5. change plug status, click OK
plug/unplug option is NOT blocked for template vNIC
plug/unplug option is blocked for template vNIC
2013-07-10 15:46:39,968 INFO [org.ovirt.engine.core.bll.network.template.UpdateVmTemplateInterfaceCommand] (ajp-/127.0.0.1:8702-8) Running command: UpdateVmTemplateInterfaceCommand internal: false. Entities affected : ID: 0dc870f7-120c-4438-9112-addda2fff9e9 Type: VmTemplate
2013-07-10 15:46:47,815 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-15) Setting new tasks map. The map contains now 0 tasks
2013-07-10 15:46:47,815 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-15) Cleared all tasks of pool 6cb8fbde-4bc7-4373-a42f-466c79fcc413.
Created attachment 771639 [details]
Modifying the plug property of the template's vnic shouldn't be blocked.
It is part of the template configuration and the user may decide how the vm should be created (with plugged or unplugged nics).
I've just tested the operation and the state of the vnic on template was changed from plugged to unplugged and vice versa, indicated also by the icon of the status (red triangle/green triangle).
If this operation doesn't work for you, please reopen the bug.