Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLPX-93500 LTS 24.04: Disable unneeded pmcd Performance Co-Pilot services #797

Conversation

palash-gandhi
Copy link
Contributor

@palash-gandhi palash-gandhi commented Mar 3, 2025

Problem

See Jira for motivation. We want to disable the PCP framework.

Solution

Stop, disable and mask the services. delphix-platform relies on dstat which is a virtual package provided by pcp and hence pcp cannot be removed. Disabling the services should be sufficient.
I could not find why/what really needs dstat, but if that dependency can be removed, please let me know and I'll instead remove dstat and thus, pcp.

Testing Done

ab-pre-push: https://selfservice-jenkins.eng-tools-prd.aws.delphixcloud.com/job/appliance-build-orchestrator-pre-push/10496/

delphix@ip-10-110-238-174:~$ sudo systemctl | grep pcp
delphix@ip-10-110-238-174:~$ sudo systemctl | grep PCP
delphix@ip-10-110-238-174:~$ sudo systemctl | grep pm
delphix@ip-10-110-238-174:~$

@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/a6114788-06c9-4d8a-a122-8acf84704812 branch 2 times, most recently from 0fb8d90 to 46fecfa Compare March 3, 2025 02:19
@palash-gandhi palash-gandhi force-pushed the dlpx/pr/palash-gandhi/a6114788-06c9-4d8a-a122-8acf84704812 branch from 46fecfa to 59f79e1 Compare March 3, 2025 17:39
@palash-gandhi palash-gandhi marked this pull request as ready for review March 3, 2025 22:16
# are part of the PCP framework. While removing the package would be
# a better option, it is not possible due to the dependency on `dstat`.
#
- name: Disable and mask the PCP services
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seb commented in slack.. but to address initial install and upgrade, this should likely be in the delphix-platform's ansible logic..

@palash-gandhi
Copy link
Contributor Author

Replaced by delphix/delphix-platform#510

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants