From 66ef2070e132cf080d5cc11396eb38f10dd11fda Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Fri, 25 Mar 2016 11:07:32 -0700 Subject: [PATCH] Mount cgroups in full_trusty_build Apparently the new gate images do not mount cgroupfs by default: http://logs.openstack.org/78/7862d1458097e26148f11210d0458ec4968ce7f5/post/ironic-python-agent-buildimage-coreos/da07872/console.html Install cgroupfs-mount and run it when running on Ubuntu. Change-Id: Ic338b8f44409f7ac893703a882c65280c6fa2895 Related-Bug: #1559383 --- imagebuild/coreos/full_trusty_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imagebuild/coreos/full_trusty_build.sh b/imagebuild/coreos/full_trusty_build.sh index 4063a96d1..03aae81b8 100755 --- a/imagebuild/coreos/full_trusty_build.sh +++ b/imagebuild/coreos/full_trusty_build.sh @@ -12,7 +12,8 @@ if [ -x "/usr/bin/apt-get" ]; then sudo -E apt-get update # apparmor is an undeclared dependency for docker on ubuntu # https://github.com/docker/docker/issues/9745 - sudo -E apt-get install -y docker.io apparmor + sudo -E apt-get install -y docker.io apparmor cgroupfs-mount + sudo cgroupfs-mount elif [ -x "/usr/bin/dnf" ]; then sudo -E dnf install -y $REDHAT_PACKAGES elif [ -x "/usr/bin/yum" ]; then