[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 515] vif-script called after domain is destroyed



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=515





------- Additional Comments From harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx  
2006-03-22 19:19 -------
I recreated this on changeset 5032ee221f75 using 64 bit ubuntu from which I
removed udev and configured hotplug such that /proc/sys/kernel/hotplug showed
/sbin/hotplug rather than /sbin/udevsend.

The problem is that the hotplug call for vif-route offline is followed closely
by the hotplug call for xen-hotplug-cleanup and the two scripts execute
concurrently.

The xen-hotplug-cleanup script removes the device details from the store before
the vif-route script completes so there is a window where it is possible for the
vif-route to try to read details from the store and fail to find them.

I put some syslog messages in the scripts which confirmed that this was 
happening.

The reason the problem is only evident when udev is removed is probably that
/sbin/udevsend is designed to serialise hotplug events to avoid exactly this
kind of problem.

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.