I have just upgraded my servers to PVE 4.
I had some containers and some VM's. THe normal vm's are working fine, but the container seems to be hanging somhow when i start them.
They are all converted from openvz with the backup/restore as described on wiki.
When i start one they hang with 13-14 mb of ram in use and 0% cpu activity, no output in console.
In the syslog of server I get these error messages when container is starting; (something wrong with apparmor?)
Oct 07 23:56:29 Freya pvedaemon[14850]: starting CT 104: UPID:Freya:00003A02:000506C1:5615950D:vzstart:104:root@pam:
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
Oct 07 23:56:30 Freya pvedaemon[15390]: command 'lxc-attach -n 104 -- df -P -B 1 /' failed: got timeout
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.101:98): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=15508 comm="mount" flags="rw, remount"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.101:99): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=15509 comm="mount" flags="rw, remount"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.437:100): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/" pid=15761 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.445:101): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/lock/" pid=15779 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.453:102): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/proc/" pid=15789 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.465:103): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/sys/" pid=15800 comm="mount" flags="ro, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.565:104): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/shm/" pid=15964 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.569:105): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/dev/pts/" pid=15975 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
Oct 07 23:58:44 Freya pvedaemon[11632]: <root@pam> starting task UPID:Freya:00004A89:00053BC7:56159594:vncproxy:104:root@pam:
Oct 07 23:58:44 Freya pvedaemon[19081]: starting lxc vnc proxy UPID:Freya:00004A89:00053BC7:56159594:vncproxy:104:root@pam:
Oct 08 00:00:34 Freya pveproxy[7830]: worker exit
Oct 08 00:00:34 Freya pveproxy[2592]: worker 7830 finished
Oct 08 00:00:34 Freya pveproxy[2592]: starting 1 worker(s)
Oct 08 00:00:34 Freya pveproxy[2592]: worker 21104 started
Oct 08 00:01:48 Freya rrdcached[889]: flushing old values
Oct 08 00:01:48 Freya rrdcached[889]: rotating journals
Oct 08 00:01:48 Freya rrdcached[889]: started new journal /var/lib/rrdcached/journal/rrd.journal.1444255308.639706
Oct 08 00:02:34 Freya pveproxy[3588]: worker exit
Oct 08 00:02:34 Freya pveproxy[2592]: worker 3588 finished
Oct 08 00:02:34 Freya pveproxy[2592]: starting 1 worker(s)
Oct 08 00:02:34 Freya pveproxy[2592]: worker 23155 started
Oct 08 00:02:36 Freya pvedaemon[15390]: worker exit
Oct 08 00:02:36 Freya pvedaemon[1257]: worker 15390 finished
Oct 08 00:02:36 Freya pvedaemon[1257]: starting 1 worker(s)
Oct 08 00:02:36 Freya pvedaemon[1257]: worker 23185 started
I had some containers and some VM's. THe normal vm's are working fine, but the container seems to be hanging somhow when i start them.
They are all converted from openvz with the backup/restore as described on wiki.
When i start one they hang with 13-14 mb of ram in use and 0% cpu activity, no output in console.
In the syslog of server I get these error messages when container is starting; (something wrong with apparmor?)
Oct 07 23:56:29 Freya pvedaemon[14850]: starting CT 104: UPID:Freya:00003A02:000506C1:5615950D:vzstart:104:root@pam:
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): couldn't mount as ext3 due to feature incompatibilities
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): couldn't mount as ext2 due to feature incompatibilities
Oct 07 23:56:29 Freya kernel: EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
Oct 07 23:56:30 Freya pvedaemon[15390]: command 'lxc-attach -n 104 -- df -P -B 1 /' failed: got timeout
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.101:98): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=15508 comm="mount" flags="rw, remount"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.101:99): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=15509 comm="mount" flags="rw, remount"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.437:100): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/" pid=15761 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.445:101): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/lock/" pid=15779 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.453:102): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/proc/" pid=15789 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.465:103): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/sys/" pid=15800 comm="mount" flags="ro, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.565:104): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/shm/" pid=15964 comm="mount" flags="rw, nosuid, nodev, noexec, remount, relatime"
Oct 07 23:56:32 Freya kernel: audit: type=1400 audit(1444254992.569:105): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/dev/pts/" pid=15975 comm="mount" flags="rw, nosuid, noexec, remount, relatime"
Oct 07 23:58:44 Freya pvedaemon[11632]: <root@pam> starting task UPID:Freya:00004A89:00053BC7:56159594:vncproxy:104:root@pam:
Oct 07 23:58:44 Freya pvedaemon[19081]: starting lxc vnc proxy UPID:Freya:00004A89:00053BC7:56159594:vncproxy:104:root@pam:
Oct 08 00:00:34 Freya pveproxy[7830]: worker exit
Oct 08 00:00:34 Freya pveproxy[2592]: worker 7830 finished
Oct 08 00:00:34 Freya pveproxy[2592]: starting 1 worker(s)
Oct 08 00:00:34 Freya pveproxy[2592]: worker 21104 started
Oct 08 00:01:48 Freya rrdcached[889]: flushing old values
Oct 08 00:01:48 Freya rrdcached[889]: rotating journals
Oct 08 00:01:48 Freya rrdcached[889]: started new journal /var/lib/rrdcached/journal/rrd.journal.1444255308.639706
Oct 08 00:02:34 Freya pveproxy[3588]: worker exit
Oct 08 00:02:34 Freya pveproxy[2592]: worker 3588 finished
Oct 08 00:02:34 Freya pveproxy[2592]: starting 1 worker(s)
Oct 08 00:02:34 Freya pveproxy[2592]: worker 23155 started
Oct 08 00:02:36 Freya pvedaemon[15390]: worker exit
Oct 08 00:02:36 Freya pvedaemon[1257]: worker 15390 finished
Oct 08 00:02:36 Freya pvedaemon[1257]: starting 1 worker(s)
Oct 08 00:02:36 Freya pvedaemon[1257]: worker 23185 started