Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 678826

Summary: [Cisco 6.1] libvirt 802.1Qbh: Delay IFF_UP'ing interface until migration final stage
Product: Red Hat Enterprise Linux 6 Reporter: roprabhu
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: agospoda, bsarathy, bzeranski, chrisw, dallan, dyuan, eblake, gcase, gren, jdenemar, jyang, mjenner, ndai, nzhang, xen-maint, yoyzhang
Target Milestone: rcKeywords: OtherQA
Target Release: 6.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.8.7-8.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 662245 Environment:
Last Closed: 2011-05-19 13:27:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 662245, 684870    
Bug Blocks: 580566, 665944, 679545    

Description roprabhu 2011-02-20 01:47:04 UTC
Please consider the patch at the below link for RHEL 6.1. 

https://www.redhat.com/archives/libvir-list/2011-February/msg00810.html


Stefan is going to push the patch soon:
https://www.redhat.com/archives/libvir-list/2011-February/msg00811.html

Comment 2 roprabhu 2011-02-22 15:00:53 UTC
git commit :
commit 616ae3f8051fdfa5baf09ad9a5585e48411502ad

Comment 5 Gary Case 2011-02-22 20:51:44 UTC
Roopa,

I'm going to have to give an explanation of why we should accept this bug very late in the development cycle. Can you give me an explanation of what will happen if we don't accept the patch? 

-Gary

Comment 6 roprabhu 2011-02-22 21:09:44 UTC
Gary, This patch is to fix a VM migration bug during 8021qbh deployment with enic. 

Basically without this bug fix we were trying to register the VM mac address on the destination host before its de-registered from the source host. This will cause mac security violation on the switch 
So this patch  makes sure that the interface on the destination host is brought up only after the interface on the source host is disassociated and brought down. This patch is required for correct functioning of libvirt 8021qbh during migration.

Thanks,
Roopa

Comment 10 Gary Case 2011-02-24 22:47:38 UTC
Thanks, Roopa! Things look good for us being able to take this in 6.1.

-Gary

Comment 13 zhanghaiyan 2011-03-16 07:40:45 UTC
Hi, Roopa

As this bug needs 802.1Qbh environment, could you please help verify this bug ? And as this bug enters an errata which is planned to release by the end of Mar, so it would be great appreciated if you could do this earlier.
Thanks a lot.

- yoyo

Comment 14 roprabhu 2011-03-16 13:34:27 UTC
Verified with latest rpm from http://veillard.com/libvirt/6.1/. 

Looks good. Thanks.

Comment 15 zhanghaiyan 2011-03-17 02:20:33 UTC
According to comment 14, the bug is verified pass with libvirt-0.8.7-11.el6.

Comment 18 roprabhu 2011-05-11 07:21:30 UTC
This bug was previously verified. Also verified on RHEL 6.1 snap5

Comment 19 errata-xmlrpc 2011-05-19 13:27:53 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0596.html