Bug 796120

Summary: VLan Name does not update first time after change the VLAN tag
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: gkong, jwu, mzhan, rwu, zpeng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-01 23:58:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description yuping zhang 2012-02-22 10:57:14 UTC
escription of problem:
Add a new VLAN,change the VLAN tag from 0 to 1 manually,select the eth0 as parent interface,and then click finish,it will fail.

Version-Release number of selected component (if applicable):
libvirt-0.9.10-2.el6.x86_64
virt-manager-0.9.0-10.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Open virt-manager
#virt-manager --debug
2.Click Edit->Connection Details,click Network Interfaces tab.
3. Click + button
4.Select interface type as 'VLAN', click Forward button.
5 Select start mode as 'none', enable "Activate now", fill VLAN tag as 1(The default value is 0) manually,do not use the arrows.

6.And then,choose eth0 as parent interface. Click Finish button.


Actual results:
1.After choose eth0 as parent interface,the "Name" of VLAN don't 
synchronize with VLAN tag 1, still is eth0.0.
2.After click "Finish" ;
"Error creating interface: 'Could not create interface: Interface not 
found: couldn't find interface named 'eth0.0'' pop up.
3.Close the Error diaglog,and then click "cancel".
The eth0.1 was created, but with Inactive status.

Expected results:
1. The VLAN name need to synchronize with VLAN tag 1,update to eth0.1


Additional info:
1.At step 5,must enable "Activate now".
2.At step 6,if check 'eth0' -> uncheck 'eth0' -> check 'eth0',the Name 
will change to 'eth0.1',then click Finish,it will create successfully.

Comment 2 Cole Robinson 2012-03-01 23:58:43 UTC
Thanks for the report, fixed upstream. But not really worth the effort of a backport for this small issue, closing as UPSTREAM.

http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=a74f84a6cf887b69fc27cd2fc2d4bb8d15a1fa97