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

Network script is invoked twice - in parallel!



Hi all,

I observe that my networking script is invoked twice - in parallel! - when I execute "xl create ..." or reboot a domU.
I added the following the beginning/end of my script:

echo "$$ ${command} ${dev} ${ip} | $@" >>/tmp/xen.log
...
echo "$$ done" >>/tmp/xen.log


The output is:

1575914 online vif34.0 195.x.x.x 2a01:x:x:x:x::2/66 | online type_if=vif
1575916 online vif34.0 195.x.x.x 2a01:x:x:x:x::2/66 | online type_if=vif
1575914 done
1575916 done


I am using Xen 4.17.1.

How can I prevent that from happening? The script fails randomly since it is executed in parallel twice!

I would expect that the script is executed once only.


Kind Regards,
  Sven




 


Rackspace

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