Üdv!
Fedora 30 szerveren az LXC mindenhol azt írja, hogy:
"850 Received container state "STOPPiNG" instead of "RUNNING""
Ez ha jól láttam bug: https://github.com/lxc/lxc/issues/3125
Downgrade lesz, vagy javításra lehet számítani?
A logban van egy "no space left on device", pedig van hely a disken... :o
lxc-start centos7-1 20190909175108.821 INFO lxccontainer - lxccontainer.c:do_lxcapi_start:971 - Set process title to [lxc monitor] /var/lib/lxc centos7-1
lxc-start centos7-1 20190909175108.821 INFO lsm - lsm/lsm.c:lsm_init:50 - LSM security driver nop
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "reject_force_umount # comment this to allow umount -f; not recommended"
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for reject_force_umount action 0(kill)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for reject_force_umount action 0(kill)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for reject_force_umount action 0(kill)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:do_resolve_add_rule:505 - Set seccomp rule to reject force umounts
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for reject_force_umount action 0(kill)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "[all]"
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "kexec_load errno 1"
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for kexec_load action 327681(errno)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for kexec_load action 327681(errno)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for kexec_load action 327681(errno)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for kexec_load action 327681(errno)
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "open_by_handle_at errno 1"
lxc-start centos7-1 20190909175108.821 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for open_by_handle_at action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for open_by_handle_at action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for open_by_handle_at action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for open_by_handle_at action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "init_module errno 1"
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for init_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for init_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for init_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for init_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "finit_module errno 1"
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for finit_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for finit_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for finit_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for finit_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:759 - Processing "delete_module errno 1"
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:935 - Added native rule for arch 0 for delete_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:944 - Added compat rule for arch 1073741827 for delete_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:954 - Added compat rule for arch 1073741886 for delete_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:964 - Added native rule for arch -1073741762 for delete_module action 327681(errno)
lxc-start centos7-1 20190909175108.822 INFO seccomp - seccomp.c:parse_config_v2:970 - Merging compat seccomp contexts into main context
lxc-start centos7-1 20190909175108.822 DEBUG terminal - terminal.c:lxc_terminal_peer_default:676 - No such device - The process does not have a controlling terminal
lxc-start centos7-1 20190909175108.823 INFO start - start.c:lxc_init:919 - Container "centos7-1" is initialized
lxc-start centos7-1 20190909175108.823 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:495 - No isolated or offline cpus present in cpuset
lxc-start centos7-1 20190909175108.823 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:612 - "cgroup.clone_children" was already set to "1"
lxc-start centos7-1 20190909175108.823 ERROR cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1277 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1"
lxc-start centos7-1 20190909175108.823 ERROR cgfsng - cgroups/cgfsng.c:monitor_create_path_for_hierarchy:1298 - Failed to create cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1"
lxc-start centos7-1 20190909175108.823 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1387 - Failed to create cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1"
lxc-start centos7-1 20190909175108.824 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:495 - No isolated or offline cpus present in cpuset
lxc-start centos7-1 20190909175108.824 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:612 - "cgroup.clone_children" was already set to "1"
lxc-start centos7-1 20190909175108.824 ERROR cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1277 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1-1"
lxc-start centos7-1 20190909175108.824 ERROR cgfsng - cgroups/cgfsng.c:monitor_create_path_for_hierarchy:1298 - Failed to create cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1-1"
lxc-start centos7-1 20190909175108.824 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1387 - Failed to create cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1-1"
lxc-start centos7-1 20190909175108.825 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:495 - No isolated or offline cpus present in cpuset
lxc-start centos7-1 20190909175108.825 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:612 - "cgroup.clone_children" was already set to "1"
lxc-start centos7-1 20190909175108.825 INFO cgfsng - cgroups/cgfsng.c:cgfsng_monitor_create:1403 - The monitor process uses "lxc.monitor/centos7-1-2" as cgroup
lxc-start centos7-1 20190909175108.825 ERROR cgfsng - cgroups/cgfsng.c:__do_cgroup_enter:1498 - No space left on device - Failed to enter cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1-2/cgroup.procs"
lxc-start centos7-1 20190909175108.825 ERROR start - start.c:__lxc_start:1992 - Failed to enter monitor cgroup
lxc-start centos7-1 20190909175108.825 DEBUG lxccontainer - lxccontainer.c:wait_on_daemonized_start:839 - First child 9893 exited
lxc-start centos7-1 20190909175108.825 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:850 - Received container state "STOPPING" instead of "RUNNING"
lxc-start centos7-1 20190909175108.825 ERROR lxc_start - tools/lxc_start.c:main:329 - The container failed to start
lxc-start centos7-1 20190909175108.825 ERROR lxc_start - tools/lxc_start.c:main:332 - To get more details, run the container in foreground mode
lxc-start centos7-1 20190909175108.825 ERROR lxc_start - tools/lxc_start.c:main:334 - Additional information can be obtained by setting the --logfile and --logpriority options
lxc-start centos7-1 20190909175108.827 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_filter_and_set_cpus:495 - No isolated or offline cpus present in cpuset
lxc-start centos7-1 20190909175108.827 DEBUG cgfsng - cgroups/cgfsng.c:cg_legacy_handle_cpuset_hierarchy:612 - "cgroup.clone_children" was already set to "1"
lxc-start centos7-1 20190909175108.827 WARN cgfsng - cgroups/cgfsng.c:cgfsng_monitor_destroy:1178 - No space left on device - Failed to move monitor 9894 to "/sys/fs/cgroup/cpuset//lxc.pivot/cgroup.procs"
- 569 megtekintés
Hozzászólások
inkább itt keresném a problémát:
xc-start centos7-1 20190909175108.823 ERROR cgfsng - cgroups/cgfsng.c:mkdir_eexist_on_last:1277 - File exists - Failed to create directory "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1"
lxc-start centos7-1 20190909175108.823 ERROR cgfsng - cgroups/cgfsng.c:monitor_create_path_for_hierarchy:1298 - Failed to create cgroup "/sys/fs/cgroup/cpuset//lxc.monitor/centos7-1"
mintha lenne ugyan ilyen nevű cgroup!
- A hozzászóláshoz be kell jelentkezni
egyelőre egy korábbi verziót tettem vissza és most működik.
dnf downgrade lxc lxc-*
Visszaállt 3.0.3 verzióra.
- A hozzászóláshoz be kell jelentkezni
Melyik verzió volt fent? Ha 2.1 előtti?
https://linuxcontainers.org/lxc/manpages//man1/lxc-update-config.1.html
- A hozzászóláshoz be kell jelentkezni
A témaindítóban írtam: 3.0.4
- A hozzászóláshoz be kell jelentkezni
Ha jól látom, javítva lett: lxc-3.0.4-2.fc30.x86_64
- A hozzászóláshoz be kell jelentkezni
F31-ben ismét hiba van sajnos, lxc-3.0.4-2.fc31.x86_64:
# lxc-start -n centos7-srv
lxc-start: centos7-srv: lxccontainer.c: wait_on_daemonized_start: 850 Received container state "ABORTING" instead of "RUNNING"
lxc-start: centos7-srv: tools/lxc_start.c: main: 329 The container failed to start
lxc-start: centos7-srv: tools/lxc_start.c: main: 332 To get more details, run the container in foreground mode
lxc-start: centos7-srv: tools/lxc_start.c: main: 334 Additional information can be obtained by setting the --logfile and --logpriority options
:(
Downgrade lehetőség most nincs:
A legalacsonyabb verziójú lxc csomag már telepítve van, nem lehet visszaállítani.
Hiba: Nincsenek visszaállításra kijelölt csomagok.
- A hozzászóláshoz be kell jelentkezni
https://fedoraproject.org/wiki/Common_F31_bugs#Docker_package_no_longer…
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
Reboot után működik. :)
- A hozzászóláshoz be kell jelentkezni
Amugy az lxc cgroups v2 kompatibilis, csak kicsit at kell irnod a container configjat.
- A hozzászóláshoz be kell jelentkezni