Bug 1452561 - Improve pcsd startup
Summary: Improve pcsd startup
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Jelinek
QA Contact: cluster-qe
URL:
Whiteboard:
: 1958839 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-19 08:29 UTC by Tomas Jelinek
Modified: 2023-08-10 15:40 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1438870 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Knowledge Base (Solution) 3556541 0 None None None 2018-08-08 13:25:43 UTC
Red Hat Knowledge Base (Solution) 6016991 0 None None None 2021-05-21 09:06:41 UTC

Internal Links: 1438870

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. ***


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