[
https://issues.apache.org/jira/browse/CLOUDSTACK-7477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122827#comment-14122827
]
Kishan Kavala commented on CLOUDSTACK-7477:
-------------------------------------------
Updated FS with details to make cgroup changes persistent.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/LXC+Enhancements
Section: Fix cgroup co-mounting error in RHEL7:
> [LXC] the workaround for cpu,cpuacct are co-mounted problem of libvirt is
> removed when agent shutsdown and restarted
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-7477
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7477
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.5.0
> Reporter: shweta agarwal
> Assignee: Kishan Kavala
> Priority: Blocker
>
> Repro steps:
> 1. Create a LXC setup
> 2. create few vms
> 3. shut down host LXC agent
> 4. Once Agent states become disconnected start host gain
> Bug
> Note all the mounts in host
> mount
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
> devtmpfs on /dev type devtmpfs
> (rw,nosuid,seclabel,size=3981488k,nr_inodes=995372,mode=755)
> securityfs on /sys/kernel/security type securityfs
> (rw,nosuid,nodev,noexec,relatime)
> tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
> devpts on /dev/pts type devpts
> (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
> tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
> tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,seclabel,mode=755)
> cgroup on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
> cgroup on /sys/fs/cgroup/cpuset type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuset)
> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup
> (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
> cgroup on /sys/fs/cgroup/memory type cgroup
> (rw,nosuid,nodev,noexec,relatime,memory)
> cgroup on /sys/fs/cgroup/devices type cgroup
> (rw,nosuid,nodev,noexec,relatime,devices)
> cgroup on /sys/fs/cgroup/freezer type cgroup
> (rw,nosuid,nodev,noexec,relatime,freezer)
> cgroup on /sys/fs/cgroup/net_cls type cgroup
> (rw,nosuid,nodev,noexec,relatime,net_cls)
> cgroup on /sys/fs/cgroup/blkio type cgroup
> (rw,nosuid,nodev,noexec,relatime,blkio)
> cgroup on /sys/fs/cgroup/perf_event type cgroup
> (rw,nosuid,nodev,noexec,relatime,perf_event)
> cgroup on /sys/fs/cgroup/hugetlb type cgroup
> (rw,nosuid,nodev,noexec,relatime,hugetlb)
> configfs on /sys/kernel/config type configfs (rw,relatime)
> /dev/mapper/rhel_rack3pod1host49-root on / type xfs
> (rw,relatime,seclabel,attr2,inode64,noquota)
> selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
> systemd-1 on /proc/sys/fs/binfmt_misc type autofs
> (rw,relatime,fd=35,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
> mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
> debugfs on /sys/kernel/debug type debugfs (rw,relatime)
> sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
> sunrpc on /proc/fs/nfsd type nfsd (rw,relatime)
> /dev/mapper/rhel_rack3pod1host49-home on /home type xfs
> (rw,relatime,seclabel,attr2,inode64,noquota)
> /dev/sda1 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
> 10.147.28.7:/export/home/shweta/goleta.lxc.primary on
> /mnt/dfa2ec3c-d133-3284-8583-0a0845aa4424 type nfs
> (rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.147.28.7,mountvers=3,mountport=47246,mountproto=udp,local_lock=none,addr=10.147.28.7)
> fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
> it again contains all those cgroups mount point which we deleted earlier as a
> part of LXC agent instalation .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)