Terminating LXC instance fails

asked 2014-07-27 13:54:27 -0500

Guillaume gravatar image

updated 2014-07-27 20:53:24 -0500

LXC instance fails to terminate with this message in nova-compute.log :

libvirtError: Failed to kill process 1618: Permission denied

1618 ? 00:00:00 dhclient

If i kill this process before trying to terminate the instance, it works.

I have this problem with the official Ubuntu 14.04.1 cloud image and also with my own LXC images created with lxc-create.

Thanks for your help.
Host system: Ubuntu 14.04.1, Icehouse and LXC 1.0.5

UPDATE 1
I replaced dhclient with dhcpcd in my Ubuntu image and the problem is gone. The instance get his IP from Nova and it can be terminated without error. For dhclient, maybe something in dhclient.conf could solve the problem?

edit retag flag offensive close merge delete