juju / 1.25-upgrade

Tools to upgrade and move a 1.25 environment to a 2.2.4+ controller
4 stars 7 forks source link

Upgrading Trusty LXC containers to LXDs causes excessive logs and load for tty's #63

Open xavpaice opened 6 years ago

xavpaice commented 6 years ago

See https://github.com/lxc/lxc/issues/1096 for some illustration here.

The tl;dr is that "LXC defaults to providing 4 ttys, LXD on the other hand doesn't provide any". This means that the containers that have been migrated from LXC to LXD have services defined for 4 getty processes, but there's no backing device to run them so the procs just spin causing excessive load on the host, and vast amounts of logs filling up the disk.

We can get over this by removing the tty* services from /etc/init in the container (and stopping the services if needs be).