Skip to content

Conversation

@ddelnano
Copy link
Member

@ddelnano ddelnano commented Dec 20, 2024

Summary: Add missing service accounts and etcd metadata capability to OpenShift SCC

Someone from the community had trouble deploying the non-operator version of Pixie on Openshift. The NET_RAW capability is needed in order to have the etcd metadata store work properly. I also realized that these service accounts were missing from the SCC. I haven't seen a case where it has prevented Pixie from working, but I think it's best to include them to avoid future issues.

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano requested a review from a team as a code owner December 20, 2024 14:25
@netlify
Copy link

netlify bot commented Dec 20, 2024

Deploy Preview for docs-px-dev ready!

Name Link
🔨 Latest commit 448dc0b
🔍 Latest deploy log https://app.netlify.com/sites/docs-px-dev/deploys/6769c73550b55e00085f8701
😎 Deploy Preview https://deploy-preview-292--docs-px-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 90 (🟢 up 5 from production)
Accessibility: 76 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano changed the title Add missing service accounts to OpenShift SCC Add missing service accounts and etcd metadata capability to OpenShift SCC Dec 23, 2024
aimichelle pushed a commit to pixie-io/pixie that referenced this pull request Dec 23, 2024
#2069)

Summary: Ensure etcd stateful set has required capabilities to run on
OpenShift

When using the etcd metadata store on an Openshift cluster, the
container gets stuck in its start up script and continuously prints the
following error.
```
Waiting for pl-etcd-1.pl-etcd.pl to come up
ping: permission denied (are you root?)

Waiting for pl-etcd-1.pl-etcd.pl to come up
ping: permission denied (are you root?)
```

The etcd stateful set requires an additional capability, which was
missed when the other services had stricter security context settings
added. This change also requires the following
`SecurityContextConstraints` changes
(pixie-io/docs.px.dev#292)

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Deployed the non-operator version of Pixie to an Openshift
cluster and verified etcd is scheduled now
- [x] Verified etcd metadata deployment with these changes works on GKE
cluster

Changelog Message: Fixed an issue where the etcd metadata store wouldn't
schedule on Openshift clusters

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
@ddelnano ddelnano merged commit 6a66965 into pixie-io:main Dec 23, 2024
7 checks passed
@ddelnano ddelnano deleted the ddelnano/add-missing-scc-serviceaccounts branch December 23, 2024 23:13
ddelnano added a commit to ddelnano/pixie that referenced this pull request Aug 6, 2025
pixie-io#2069)

Summary: Ensure etcd stateful set has required capabilities to run on
OpenShift

When using the etcd metadata store on an Openshift cluster, the
container gets stuck in its start up script and continuously prints the
following error.
```
Waiting for pl-etcd-1.pl-etcd.pl to come up
ping: permission denied (are you root?)

Waiting for pl-etcd-1.pl-etcd.pl to come up
ping: permission denied (are you root?)
```

The etcd stateful set requires an additional capability, which was
missed when the other services had stricter security context settings
added. This change also requires the following
`SecurityContextConstraints` changes
(pixie-io/docs.px.dev#292)

Relevant Issues: N/A

Type of change: /kind bug

Test Plan: Deployed the non-operator version of Pixie to an Openshift
cluster and verified etcd is scheduled now
- [x] Verified etcd metadata deployment with these changes works on GKE
cluster

Changelog Message: Fixed an issue where the etcd metadata store wouldn't
schedule on Openshift clusters

Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
GitOrigin-RevId: 73c8340
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