cloudstack/python
Remi Bergsma 87fdb521f0 CLOUDSTACK-8443: don't try to fix co-mounted cgroups
This setting works on CentOS 6 / RHEL 6 but does nothing, as
"cpu" cgroup is not mounted. On CentOS 7 / RHEL 7 systemd does
mount cgroups and "cpu" is co-mounted with "cpuacc". Hence, if
we specify "cpu" then this results in an error because it can
only use them both, or none.

By removing the setting, we rely on the default of qemu, which
is:
cgroup_controllers = ["cpu", "devices", "memory", "blkio", "cpuacct", "net_cls"]

Only if they are really mounted, they will be used. So, this will
work on both version 6 and 7.

The 'fix script' didn't work well, as after a reboot you'd still have qemu
throwing errors. Now we can handle the co-mountedcgroups.
2015-08-24 15:49:40 +02:00
..
bindir Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
distro CLOUDSTACK-7633: fix "Provides" in most LSB headers 2014-09-25 16:56:53 +02:00
incubation Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
lib CLOUDSTACK-8443: don't try to fix co-mounted cgroups 2015-08-24 15:49:40 +02:00