Bug 1398235
Summary: | Local mounts from openshift nodes gets unmounted while deploying glusterfs container | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Bipin Kunal <bkunal> |
Component: | CNS-deployment | Assignee: | Raghavendra Talur <rtalur> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rhgs-3.1 | CC: | akhakhar, amukherj, annair, bkunal, dsundqvi, dwalsh, hchiramm, jarrpa, madam, mliyazud, mzywusko, pprakash, rcyriac, rreddy, rtalur, saime, sankarshan, vgoyal, vinug |
Target Milestone: | --- | ||
Target Release: | CNS 3.4 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhgs-server-docker-3.1.3-17 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-18 14:59:59 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1385247 |
Description
Bipin Kunal
2016-11-24 10:29:02 UTC
Hi, The issue is reproducible when /var or any /var subdirectory is a separate filesystem. The reason is because when we do bind mount of /var/log/glusterfs docker actually mounts the /var or any /var subdirectory's filesystem (check the df -h from container). from [1], SIGTERM is normal, After switch root the journal is restarted on the real log device. This information is taken from [2]. This SIGTERM causes host to umount all the filesystem. Fix is as mentioned in [3], We just need systemd to work in the container and cleanup other services which are not really required. This way we just depend on things the rhgs container requires, neglecting unnecessary dependency. # df -h Filesystem Size Used Avail Use% Mounted on /dev/dm-11 10G 305M 9.7G 3% / /dev/mapper/rhel_dhcp43--16-var 15G 307M 15G 2% /run devtmpfs 3.9G 0 3.9G 0% /dev shm 64M 0 64M 0% /dev/shm /dev/mapper/rhel_dhcp43--16-root 38G 1.7G 37G 5% /etc/glusterfs tmpfs 3.9G 696K 3.9G 1% /run/lvm tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/mapper/rhel_dhcp43--16-var_log 10G 1.3G 8.8G 13% /var/log/glusterfs tmpfs 3.9G 16K 3.9G 1% /run/secrets/kubernetes.io/serviceaccount tmpfs 4.0E 0 4.0E 0% /tmp tmpfs 783M 0 783M 0% /run/user/0 [1] systemd-journald[89]: Received SIGTERM from PID 1 (systemd). [2] https://lists.opensuse.org/opensuse-bugs/2015-02/msg00149.html [3] http://developerblog.redhat.com/2014/05/05/running-systemd-within-docker-container/ --Ashiq Thanks Ashiq. I have provided update to customer. Waiting for their feedback. The reported umount issue when deploying gluster containers is no longer seen in the latest image: rhgs-server-docker-3.1.3-17. Marking it as verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:0149 *** Bug 1427823 has been marked as a duplicate of this bug. *** |