Bug 1410722
Summary: | virt-manager shows wrong status for DHCP mode in 'Network Interface' page | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | zhoujunqin <juzhou> | ||||
Component: | virt-manager | Assignee: | Pavel Hrdina <phrdina> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.3 | CC: | kuwei, mxie, tzheng, xiaodwan | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | virt-manager-1.4.1-1.el7 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-08-01 21:02:03 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Upstream commit: commit 2df8dc39e8cab71752f7cb28a66f7a0db8aafe04 Author: Pavel Hrdina <phrdina> Date: Thu Jan 19 18:00:36 2017 +0100 virtManager/interface: detect whether IP address comes from DHCP server I can reproduce this bug with package: virt-manager-1.4.0-2.el7.noarch Then try to verify this bug with new build: virt-manager-1.4.1-1.el7.noarch libvirt-3.1.0-2.el7.x86_64 Steps: 1. Env setup: Delete eno1 in the Edit->Host Details->Network Interface Click "Stop Interface" and "Delete Interface" button in the bottom of left. 2. Launch virt-manager: # virt-manager 3. Click Edit->Connection Details 4. Click Network Interfaces tab on "QEMU/KVM Connection Details" dialogue. 5. Click + button, select interface type as 'Ethernet', click Forward button. 6. Select start mode as 'hotplug', enable activate now, choose "eno1" in "Choose an unconfigured interface", Choose IP settings: IPv4: DHCP, Click Finish button. Result: eno1 network interface shows on left side with configuration: Ethernet eno1: MAC: 10:60:4b:7a:90:e6 Status: Active Start mode: hotpulg In use by: - IPv4 Configuration Mode: DHCP ---------------->correct Address: xx.xx.xx.xx/22 Since virt-manager can show configuration for 'DHCP' mode correctly, move this bug from ON_QA to VERIFIED. Add one more step for Comment 4. 7.Stop interface eno1 by click "Stop Interface" button, then check interface mode again, it keeps in "DHCP". So keeps bug in VERIFIED status. 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. https://access.redhat.com/errata/RHBA-2017:2072 |
Created attachment 1237888 [details] screenshot Description of problem: virt-manager shows wrong status for DHCP mode in 'Network Interface' page Version-Release number of selected component (if applicable): virt-manager-1.4.0-2.el7.noarch libvirt-2.0.0-10.el7.x86_64 qemu-kvm-rhev-2.6.0-27.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. In host, we have an active network interface: eno1 using dhcp ip address. # cat /etc/sysconfig/network-scripts/ifcfg-eno1 DEVICE="eno1" HWADDR="44:37:e6:61:36:63" ONBOOT="yes" BOOTPROTO="dhcp"----------->using dhcp protocol 2. Check network interface information via virt-manager. Launch virt-manager-->click 'Edit'-->select 'Connection Details'-->turn to 'Network Interfaces' page. Actual results: In 'IPv4 Configuration' page, it shows eno1 using static ip address. Mode: Static Address: xx.xx.xx.xx/22 Please see detail in screenshot, thanks. Expected results: Should show configuration for 'DHCP' mode correctly. Additional info: