Hide Forgot
Created attachment 525507 [details] screenshots about the incorrect info Description of problem: after configure two nics or more, the configure page of all nics show the same info. on the attached screenshots, can see both eth0 and eth1 display eth1's ip address, and "disabled" is checked rather than "static". Version-Release number of selected component (if applicable): rhev-hypervisor-6.2-0.17.2 How reproducible: Always. Steps to reproduce: 1. There are multiple nics, configure one of them with dhcp or static. 2. configure another one. Actual results: the nic's configure page show the same incorrect info . Expected results: the nic's configure page show itself information after it's been configured (include ip, netmask, gateway and vlan id). Additional info: only configure one nic, it display correctly.
Multiple configured NICs is not valid for RHEV use-case wgere only one management interface is configured.
So the way I understand this, the problem is on the nic configuration page. The ip/netmask/gateway fields are populated using values from /etc/default/ovirt. This can lead to confusion since it will show the same values on every nic whether enabled or not. I propose changing it so that it only populates those fields if the NIC being looked at is up and populate using the info for the nic itself rather than from /etc/default/ovirt
fields are no longer prepopulated from ovirt defaults and just display ip/mask/gateway if they have it http://gerrit.ovirt.org/1580
*** Bug 788518 has been marked as a duplicate of this bug. ***
Tested on 6.3-20120215 build, the ip/mask/gateway display correct now, but the vlan id is still displayed to all nics after it's configured in any nic. need to fixed the vlan_id area for this bug. Consider 781929 into this bug, if 781929 is fixed, will all above issue be gone? if so, can duplicate this to 781929.
fix for vlans http://gerrit.ovirt.org/2269
verified on 6.3-20120224.0 build,configure one nic does not affect other nic's values.( ip/netmask/gateway/vlan_id).
To aid in the development of relevant and accurate release documentation, please fill out the "Technical Notes" field above with the following 4 pieces of information: Cause: What actions or circumstances cause this bug to present. Consequence: What happens when the bug presents. Fix: What was done to fix the bug. Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the Technical Notes field to "?" (question mark). For further details see https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: cause: When configuring a 2nd nic simultaneouly after configuring the first one consequence: all nics default to using the first one's values fix: default values are no longer assumed and require the user to input them result: user is required to input all values for ip/netmask/gateway/vlan_id when required
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -cause: When configuring a 2nd nic simultaneouly after configuring the first one +Once a network interface was configured, all subsequent network interfaces would appear to use the same values when configured. The Hypervisor has been updated. It no longer makes assumptions as to the values to use for network interfaces based on those that have already been configured.-consequence: all nics default to using the first one's values -fix: default values are no longer assumed and require the user to input them -result: user is required to input all values for ip/netmask/gateway/vlan_id when required
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Once a network interface was configured, all subsequent network interfaces would appear to use the same values when configured. The Hypervisor has been updated. It no longer makes assumptions as to the values to use for network interfaces based on those that have already been configured.+Once a network interface was configured, all subsequent network interfaces configured would be listed with the same values. The Hypervisor has been updated. It no longer makes assumptions as to the values to use for network interfaces based on those that have already been configured.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0741.html