Bug 1504558 - when removing network interface from VM it is still visible in VMs tab
Summary: when removing network interface from VM it is still visible in VMs tab
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Ales Musil
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-20 08:22 UTC by Lucie Leistnerova
Modified: 2017-12-20 11:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:42:30 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
screen recording (591.47 KB, application/x-gzip)
2017-10-24 17:02 UTC, Ales Musil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83150 0 master MERGED webadmin: Add check if vmInterface list is empty 2017-10-24 22:34:43 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.