Bug 713411 - kernel doesn't emit offline event on guest shutdown
Summary: kernel doesn't emit offline event on guest shutdown
Keywords:
Status: CLOSED DUPLICATE of bug 661985
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.6
Hardware: i386
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Xen Maintainance List
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-15 10:38 UTC by tgb
Modified: 2011-06-15 13:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-15 13:58:17 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
XenSource 1275 0 None None None Never

Description tgb 2011-06-15 10:38:57 UTC
Description of problem:
Kernel doesn't emit offline event for vif network interface on xen guest shutdown, so vif-bridge is not called.

Version-Release number of selected component (if applicable):
kernel-xen-2.6.18-238.9.1.el5
xen-3.0.3-120.el5_6.2

How reproducible:
Always

Steps to Reproduce:
1. run udevmonitor
2. Shutdown guest with "xm shutdown"
  
Actual results:
udevmonitor shows:
UEVENT[1308132822.664190] remove@/class/net/vif46.0
UDEV  [1308132822.664190] remove@/class/net/vif46.0
UEVENT[1308132823.150963] remove@/devices/xen-backend/vif-46-0
UDEV  [1308132823.150963] remove@/devices/xen-backend/vif-46-0
UEVENT[1308132823.151014] remove@/devices/xen-backend/tap-46-51712
UDEV  [1308132823.151014] remove@/devices/xen-backend/tap-46-51712

Expected results:
Offline event happens and vif-bridge executed.

Additional info:
"xm destroy" generates udev event as expected

UEVENT[1308133127.361977] offline@/devices/xen-backend/vif-50-0
UDEV  [1308133127.361977] offline@/devices/xen-backend/vif-50-0
UEVENT[1308133127.438838] remove@/class/net/vif50.0
UDEV  [1308133127.439321] remove@/class/net/vif50.0
UEVENT[1308133127.483346] remove@/devices/xen-backend/vif-50-0
UEVENT[1308133127.498849] remove@/devices/xen-backend/tap-50-51712
UDEV  [1308133127.498849] remove@/devices/xen-backend/tap-50-51712
UDEV  [1308133127.687272] remove@/devices/xen-backend/vif-50-0

Comment 1 Laszlo Ersek 2011-06-15 13:58:17 UTC
This is an exact duplicate of bug 661985.

Guybrush, I think you won't find it in 5.6.z; it will be available in RHEL-5.7. LeChuck says hello.

*** This bug has been marked as a duplicate of bug 661985 ***


Note You need to log in before you can comment on or make changes to this bug.