Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Terminating LXC instance fails

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

Terminating LXC instance fails

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.

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 terminate without error. For dhclient, maybe something in /etc/dhcp/client.conf could solve the problem?

Terminating LXC instance fails

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. 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 terminate without error. For dhclient, maybe something in /etc/dhcp/client.conf could solve the problem?

Terminating LXC instance fails

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 terminate terminated without error. For dhclient, maybe something in /etc/dhcp/client.conf could solve the problem?

Terminating LXC instance fails

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 /etc/dhcp/client.conf dhclient.conf could solve the problem?