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

Bug 1483329

Summary: [UI] Incorrect 'Network Interfaces' IP values are displayed on a VM
Product: [oVirt] ovirt-engine Reporter: Mor <mkalfon>
Component: Frontend.WebAdminAssignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: awels, bugs, danken, lsvaty, mburman, ylavi
Target Milestone: ovirt-4.2.0Keywords: Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:15:07 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
screenshot and rest request output
none
record1
none
screen recording none

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.