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

Fix access denied from psutil on macOS #1985

Merged
merged 2 commits into from
Aug 2, 2024
Merged

Conversation

kshtsk
Copy link
Contributor

@kshtsk kshtsk commented Aug 2, 2024

On macOS dispatcher while trying to go through process list gets stuck
on some of the system processes like launchd, logd, systemstats, etc.
and quites unexpectedly with PermissionError and psutil.AccessDenied
exceptions.

Fixes: https://tracker.ceph.com/issues/67313

- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install docker-compose
run: sudo apt-get install -y docker-compose
Copy link
Member

Choose a reason for hiding this comment

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

This didn't really work, and the issue is intermittent. Let's leave it out of this PR and see if a simple retry gets us past the issue for now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was trying to fix it fast, but right, dropping it for now, am not sure missing docker-compose is gonna be fixed by retrying :-D

@kshtsk
Copy link
Contributor Author

kshtsk commented Aug 2, 2024

the integration failure is unrelated

Kyr Shatskyy added 2 commits August 2, 2024 19:26
On macOS dispatcher while trying to go through process list gets stuck
on some of the system processes like launchd, logd, systemstats, etc.
and quites unexpectedly with PermissionError and psutil.AccessDenied
exceptions.

Fixes: https://tracker.ceph.com/issues/67313

Signed-off-by: Kyr Shatskyy <[email protected]>
Fix unhandled exception psutilAccessDenied in process_matches_run().

Signed-off-by: Kyr Shatskyy <[email protected]>
@zmc zmc changed the title fix access denied Fix access denied from psutil on macOS Aug 2, 2024
@zmc zmc merged commit 7d7f5fe into ceph:main Aug 2, 2024
9 checks passed
@kshtsk kshtsk deleted the wip-access-denied branch August 2, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants