Bug 1754451

Summary: Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: amessina, mhonek, mreynolds, spichugi, tbordaz, vashirov
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-09 15:48:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Slebodnik 2019-09-23 09:53:35 UTC
Description of problem:
Fedora 31 switched to cgroups v2 by default
https://fedoraproject.org/wiki/Changes/CGroupsV2
and it seems 389-ds still try to use v1


Version-Release number of selected component (if applicable):
rpm -q 389-ds-base
389-ds-base-1.4.1.7-1.fc31.x86_64

How reproducible:
Deterministic

Steps to Reproduce:
1. #install and configure 389-ds on default f31 (freeIPA can be used as well)
2. # restart service and check errors reported by 389-ds
3. journalctl --boot -u dirsrv | grep ERR | grep "/cgroup/"

Actual results:
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.139146386 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.141847902 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:10 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:10.143083444 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.166850637 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.168268079 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.169192166 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.171585443 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.172463685 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.173283725 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.174156213 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.174966221 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.175851582 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.176852584 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.177723911 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.178553805 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.179445679 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.180277361 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.181099980 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.181969820 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.182796747 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.183646082 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.184519478 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.185346321 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.limit_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.186158473 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.usage_in_bytes". errno=2
Sep 23 05:46:11 host.example.com ns-slapd[31454]: [23/Sep/2019:05:46:11.192186822 -0400] - ERR - _spal_get_uint64_t_file - Unable to open file "/sys/fs/cgroup/memory/memory.soft_limit_in_bytes". errno=2

Expected results:
No cgroups related errors.

Additional info:

Comment 1 mreynolds 2019-09-23 12:43:28 UTC
Upstream ticket:
https://pagure.io/389-ds-base/issue/50618

Comment 2 thierry bordaz 2020-02-19 08:36:09 UTC
Fixed upstream

Comment 3 Fedora Admin XMLRPC Client 2020-02-21 16:25:08 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 4 Fedora Admin XMLRPC Client 2020-02-22 04:16:33 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 5 ztywei 2023-08-22 04:50:30 UTC Comment hidden (spam)