[one-users] VM shutdown/cancel/delete action concurrency
Jaime Melis
jmelis at opennebula.org
Wed Jan 9 09:09:06 PST 2013
Thanks Rolandas, great catch!
I completely agree with your suggestion:
http://dev.opennebula.org/issues/1722
thanks again,
cheers,
Jaime
On Thu, Jan 3, 2013 at 11:47 AM, Rolandas Naujikas <
rolandas.naujikas at mif.vu.lt> wrote:
> Hi,
>
> When testing on 3.8.1 I found, that shutdown/cancel/delete of VM in a host
> is done in parallel without ability to configure concurrency (like MAX_HOST
> in sched.conf). That leads to several problems:
> (1) potential overload of storage with persistent images (ssh/qcow2 TM
> drivers)
> (2) race conditions in ebtables/iptables, as those tools doesn't support
> concurrent execution
>
> I saw (2) in my crash tests (submitting many VMs to the host with
> network=ebtables and doing onevm shutdown on them), which could be solved
> with "flock /tmp/ebtables sudo ebtables" and "flock /tmp/iptables sudo
> iptables" in OpenNebulaNetwork.rb as a workaround.
>
> When MAX_HOST=1 in sched.conf, then there are no problems with
> ebtables/iptables concurrency in deploy time, but when MAX_HOST>1, then the
> (2) problem could also be.
>
> Regards, Rolandas Naujikas
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130109/0c05cbf7/attachment-0002.htm>
More information about the Users
mailing list