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

[Xen-users] xl vifscript (apparently) not called at all



Hi all,
I'm using Xen 4.1.4-3+deb7u1 on a Debian Wheezy 7.1

We use Openvswitch and vlan tags on all the domU vifs, so we have a
"vif-openvswitch" script in /etc/xen/scripts, configured
in /etc/xen/xl.conf as

vifscript="/etc/xen/scripts/vif-openvswitch"

Until recently everything was working fine and dandy: the domU vif
configuration looks like this

vif = [ 'mac=00:02:c0:a8:ce:0b,bridge=xenbr0.606' ]

and the vif was correctly tagged in openvswitch and brought up.

Now it's not working correctly anymore (I suspect after a dist-upgrade,
but can't confirm it 100%): when creating a domU instance (xl create
vm.cfg) the vm starts, and a new vifXX.Y is correctly created at dom0
level, BUT:

1 - The new vif is DOWN
2 - The new vif is not added to the xenbr0 bridge as it should
3 - The new vif is not tagged (obviously, since it's not in ovs at all)

I have a maintenance script to check that all running domains have their
expected vlan tags (done checking the "ovs-vsctl show" output against
their config file) and when it creates the port in ovs, and I bring it
up with "ip link set up" it DOES work right away.

I tried to track down what's wrong for a while but I'm stuck: I even
tried to put a simple "touch /tmp/tempfile" at the top of the
vif-openvswitch script, and it looks like (apparently) xl is not calling
it at all. No sign that the script is ever executed can be found.

Does someone have some useful pointer as to where to go dig further?
Web searches were pretty inconclusive, and a strace on xl only shows me
that the script path IS apparently written on a control socket, but I
don't know where to look for more.

Thanks in advance for any help or pointers,

-- 
Renato Ramonda
StatPro Italia - System Administrator
Tel. +39 0200693210
Cel. +39 3663214675



This message is private and confidential. If you have received this message in 
error, please notify us and remove it from your system. Any views or opinions 
presented in this email are solely those of the author and might not represent 
those of StatPro. Warning: Although StatPro has taken reasonable precautions to 
ensure no viruses are present in this email, the company cannot accept 
responsibility for any loss or damage arising from the use of this email or 
attachments.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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