Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1504558

Summary: when removing network interface from VM it is still visible in VMs tab
Product: [oVirt] ovirt-engine Reporter: Lucie Leistnerova <lleistne>
Component: Frontend.WebAdminAssignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: high    
Version: 4.2.0CC: bugs, danken
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:42:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen recording none

Description Lucie Leistnerova 2017-10-20 08:22:12 UTC
Description of problem:
When I remove last network interface from the VM. Event shows that interface was removed but it stays in VMs detail and can be removed many times again. It disappears only after browser reload.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.2.0-0.0.master.20171019181349.gite12eda4.el7.centos.noarch

How reproducible: always


Steps to Reproduce:
1. have VM (not running) with one network interface
2. go to VMs detail -> Network interfaces
3. select the one interface
4. remove it

Actual results: no error displayed, in Events is 'Interface nic1 (VirtIO) was removed from VM vm4-02.', but interface stays in the tab visible


Expected results: interface is also removed from the tab view


Additional info:
If you remove the interface again Events show 'Interface <UNKNOWN> (<UNKNOWN>) was removed from VM vm4-02.'
Removing second interface works as expected and is removed from the tab.

Comment 1 Dan Kenigsberg 2017-10-23 10:35:11 UTC
Mucha is reporting something probably related: having created 5 vNICs on a VM, only 2 of them were shown. Having created 2 VMs and adding a vNIC to one of them, both VMs showed it.

Comment 2 Ales Musil 2017-10-24 17:02:48 UTC
Created attachment 1342899 [details]
screen recording

Comment 3 Lucie Leistnerova 2017-10-31 14:40:39 UTC
Removed last interface disappears.

verified in ovirt-engine-webadmin-portal-4.2.0-0.0.master.20171030210714.gitef6bb9c.el7.centos.noarch

Comment 4 Sandro Bonazzola 2017-12-20 11:42:30 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.