Execute command using ip vrf exec results in Failed to mount cgroup2

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

Execute command using ip vrf exec results in Failed to mount cgroup2



I have created a VRF and I have added interfaces and routes to my VRF. My VRF is as shown below.



My VRF is names wan1:


[root@host ~]# ip route list vrf wan1
default via 12.12.12.12 dev enp1s0.4025
12.12.12.0/25 dev enp1s0.4025 proto kernel scope link src 12.12.12.1
12.12.12.1 dev enp1s0.4025 scope link



My VRF can ping:


[root@host ~]# ping 8.8.8.8 -I wan1
ping: Warning: source address might be selected on device other than wan1.
PING 8.8.8.8 (8.8.8.8) from 12.12.12.12 wan1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=120 time=4.54 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=120 time=4.54 ms



However, when I try to start a program in my VRF, I get the following error:


[root@pedge ~]# ip vrf exec wan1 /usr/sbin/ssh root@1.2.3.4
Failed to mount cgroup2: No such file or directory



I know my kernel supports:


[root@pedge network-scripts]# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev ramfs
nodev bdev
nodev proc
nodev cpuset
nodev cgroup
nodev cgroup2
nodev tmpfs
nodev devtmpfs
nodev configfs
nodev debugfs
nodev tracefs
nodev securityfs
nodev sockfs
nodev dax
nodev bpf
nodev pipefs
nodev hugetlbfs
nodev devpts
nodev autofs
nodev pstore
nodev efivarfs
nodev mqueue
nodev selinuxfs
xfs
vfat



Any ideas why I am getting that error? I am running on Centos 7 with kernel 4.17.10-1



Thanks for any help









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Comments

Popular posts from this blog

Executable numpy error

Trying to Print Gridster Items to PDF without overlapping contents

Mass disable jenkins jobs