Bug 1483329 - [UI] Incorrect 'Network Interfaces' IP values are displayed on a VM
Summary: [UI] Incorrect 'Network Interfaces' IP values are displayed on a VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Ales Musil
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-20 14:43 UTC by Mor
Modified: 2017-12-20 11:15 UTC (History)
6 users (show)

Fixed In Version: ovirt-engine-4.2.0-0.0.master.20171006152719.gitbc9a33d.el7.centos
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:15:07 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: blocker+


Attachments (Terms of Use)
screenshot and rest request output (25.13 KB, application/zip)
2017-08-20 14:43 UTC, Mor
no flags Details
record1 (1.64 MB, application/x-gzip)
2017-08-28 08:12 UTC, Michael Burman
no flags Details
screen recording (2.35 MB, application/x-gzip)
2017-09-22 09:26 UTC, Ales Musil
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 82100 0 master MERGED webadmin: Check if guestAgentData belongs to networkInterface 2017-10-06 14:50:48 UTC

Description Mor 2017-08-20 14:43:37 UTC
Created attachment 1315984 [details]
screenshot and rest request output

Description of problem:
When adding extra interface without IP settings, UI fills wrong IP values (v4 and v6). In my case, values taken from the previous default vNIC ('ovirtmgmt').

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170818152502.gita8c361f.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Run VM with default vNIC (with ovirtmgmt network attached).
2. Create new network and attach it to the VM hoster.
3. Add vNIC with that new network to the VM.
4. Choose: Compute --> Virtual Machines --> VM --> Network Interfaces.

Actual results:
Wrong IP address is shown, REST/VM report completely different values.

Expected results:
Should report interface values from REST/VM.

Comment 1 Dan Kenigsberg 2017-08-21 08:12:43 UTC
This is a recent regression in the new UI. Alexander, could you take a look?

Comment 2 Oved Ourfali 2017-08-21 08:37:13 UTC
(In reply to Dan Kenigsberg from comment #1)
> This is a recent regression in the new UI. Alexander, could you take a look?

I moved some of the items to the verticals themselves.
I believe this could be fixed without UX team.
But we're here if you need assistance.

Comment 3 Michael Burman 2017-08-28 08:04:27 UTC
It is regression on the new UI.

Another flow:
1) Create VM with 3 vNICs
2) Set ipv4 and ipv6 on each vNIC in the guest
3) Guest agent report 3 IPv4 and 3 ipv6
4) Go to vNICs sub tab and create new nic
Result: 
The same ipv4 and ipv6 addresses reported for the new card on the NIC panel itself.

Comment 4 Michael Burman 2017-08-28 08:12:31 UTC
Created attachment 1319001 [details]
record1

Comment 5 Red Hat Bugzilla Rules Engine 2017-08-30 07:47:30 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 6 Ales Musil 2017-09-22 09:26:07 UTC
Created attachment 1329481 [details]
screen recording

Comment 7 Petr Matyáš 2017-10-09 14:23:09 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20171009063348.gitf2b70a1.el7.centos.noarch

Comment 8 Sandro Bonazzola 2017-12-20 11:15:07 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.