Bug 1748420 - systemd units rpcbind.socket and systemd-journal-flush.service show status failed
Summary: systemd units rpcbind.socket and systemd-journal-flush.service show status fa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhgs-server-container
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 3.11.z Batch Update 5
Assignee: Raghavendra Talur
QA Contact: Arun Kumar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-03 14:34 UTC by Raghavendra Talur
Modified: 2020-02-26 20:26 UTC (History)
7 users (show)

Fixed In Version: rhgs-server-container-3.11.5-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-26 20:25:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github gluster gluster-containers pull 161 0 'None' closed mask services that shouldn't run in the container 2020-04-30 12:34:31 UTC
Red Hat Product Errata RHBA-2020:0622 0 None None None 2020-02-26 20:26:11 UTC

Description Raghavendra Talur 2019-09-03 14:34:37 UTC
Description of problem:
In OCS 3.11.4 container, there are 2 services failing which also causes journalctl not to work at all.


[root@master1 ~]# oc rsh glusterfs-registry-q4xhj
sh-4.2# systemctl list-units --failed
  UNIT                          LOAD   ACTIVE SUB    DESCRIPTION
● systemd-journal-flush.service loaded failed failed Flush Journal to Persistent Storage
● rpcbind.socket                loaded failed failed RPCbind Server Activation Socket

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.


Version-Release number of selected component (if applicable):
v3.11.4

Comment 2 Yaniv Kaul 2019-09-15 12:52:32 UTC
Is that reproducible, still happening with latest bits?

Comment 3 Raghavendra Talur 2019-09-16 02:59:29 UTC
(In reply to Yaniv Kaul from comment #2)
> Is that reproducible, still happening with latest bits?

Yes, it is still reproducible with latest bits. 

However, there is no functional impact other than debugging being less intuitive as journalctl command does not show logs. Log files can still be seen in usual location.

We will fix this in next release.

Comment 4 Raghavendra Talur 2019-11-11 19:59:45 UTC
Changing the scope of the bug. We cannot enable journalctl in the container because we have turned down other required services.
However, we should make it so that there are no failed services in the containers. Hence, we should mask the following two services
systemd-journal-flush.service
rpcbind.socket

Comment 12 errata-xmlrpc 2020-02-26 20:25:33 UTC
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/RHBA-2020:0622


Note You need to log in before you can comment on or make changes to this bug.