Bug 1452561

Summary: Improve pcsd startup
Product: Red Hat Enterprise Linux 8 Reporter: Tomas Jelinek <tojeline>
Component: pcsAssignee: Tomas Jelinek <tojeline>
Status: NEW --- QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 8.0CC: cluster-maint, idevat, kwalker, ltamagno, mlisik, mpospisi, nhostako, nwahl, omular, sbradley, tojeline
Target Milestone: rcKeywords: Triaged
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: 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 Tomas Jelinek 2017-05-19 08:29:49 UTC
1. Start logging as early as possible. Currently several external commands are run before the logger is started. Therefore if a problem occurs with those commands, it is not covered by the log.

2. Reduce DNS queries. Pcsd asks the name resolver for the local node name / IP four times. If requested info is not present in /etc/hosts, DNS servers are contacted. This is visible in pcsd strace. Two of the requests come from imported ruby libraries / gems. Other come from pcsd code. We want to focus those two from our code and modify code so the queries are run only if necessary.

Comment 13 Reid Wahl 2021-05-21 09:06:42 UTC
*** Bug 1958839 has been marked as a duplicate of this bug. ***