cloudstack/python/lib/cloudutils
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
..
__init__.py Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
cloudException.py Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
configFileOps.py Use same sudoers config for all distros Cleanup buggy code for sudoers file editing 2015-06-19 16:00:57 +02:00
db.py Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
globalEnv.py CLOUDSTACK-6931: Set hypervisor.type in agent.properties using cloudstack-setup -t option. Default is kvm. 2014-06-19 11:31:23 +05:30
networkConfig.py CLOUDSTACK-4405: add a tool: cloudstack-agent-upgrade to upgrade bridge name on kvm host 2013-09-24 09:53:05 +02:00
serviceConfig.py CLOUDSTACK-8443: don't try to fix co-mounted cgroups 2015-08-24 15:49:40 +02:00
serviceConfigServer.py CLOUDSTACK-7106 : RPM build failing with RHEL7 Reviewed By : Rayees 2014-08-26 11:04:48 +05:30
syscfg.py Use same sudoers config for all distros Cleanup buggy code for sudoers file editing 2015-06-19 16:00:57 +02:00
utilities.py CLOUDSTACK-7568, CLOUDSTACK-7569: Use systemctl for managing services in RHEL7. chkconfig --del doesn't work in RHEL7. 2014-09-17 17:55:07 +05:30