| Summary: | mariadb open file limit is 1024 with selinux enforcing | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dave Wilson <dwilson> |
| Component: | openstack-tripleo | Assignee: | Michele Baldessari <michele> |
| Status: | CLOSED WORKSFORME | QA Contact: | Arik Chernetsky <achernet> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 9.0 (Mitaka) | CC: | dwilson, jcoufal, kasmith, mburns, michele, rhel-osp-director-maint, royoung |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 11.0 (Ocata) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-14 08:58:42 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: | |
|
Description
Dave Wilson
2016-09-02 15:34:07 UTC
Hi Dave, we usually manage mysql/galera via pacemaker. Starting the service by hand breaks a lot of stuff (different pid path, log files, etc). Does this issue happen when galera is managed by pacemaker as well? thanks, Michele I realize now you might have been talking about the undercloud where we do use mariadb via systemctl. Is that the case, yes? I can't reproduce this on my OSP 10 undercloud. [root@haa-16 stack]# getenforce Enforcing [root@haa-16 stack]# for i in $(pgrep mysqld); do cat /proc/$i/limits | grep "open files"; done Max open files 16384 16384 files Max open files 16384 16384 files [root@haa-16 stack]# systemctl restart mariadb [root@haa-16 stack]# for i in $(pgrep mysqld); do cat /proc/$i/limits | grep "open files"; done Max open files 16384 16384 files Max open files 16384 16384 files [root@haa-16 stack]# rpm -qa |grep -E "selinux|instack-und" libselinux-utils-2.5-6.el7.x86_64 libselinux-python-2.5-6.el7.x86_64 libselinux-ruby-2.5-6.el7.x86_64 selinux-policy-devel-3.13.1-102.el7.noarch selinux-policy-3.13.1-102.el7.noarch instack-undercloud-5.0.0-0.20160930175750.9d2a655.el7ost.noarch openstack-selinux-0.7.10-1.el7ost.noarch selinux-policy-targeted-3.13.1-102.el7.noarch libselinux-2.5-6.el7.x86_64 [root@haa-16 stack]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.3 (Maipo) Can we get a sosreport from the undercloud where you have seen this please? Thanks Michele |