-
Notifications
You must be signed in to change notification settings - Fork 110
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
deletion of a SelinuxProfile
object hangs forever
#2684
Comments
spod "security-profiles-operator" Logs
spod "selinuxd" Logs
|
After further testing, if I have all the objects in the same yaml file, the delete hangs and the
But if I separate out the
When it hangs: Namespace
SelinuxProfiles
The profile is being deleted off the Node: Before Delete Call:
After Delete Call while command is hung:
Following the logs, it appears that the |
With the security-profiles-operator.v0.8.6
Same issue as #2215, but I was unable to reopen it. I am a coworker of Andrew (who left the company) and the original issue is still happening. The nodes are not coming and going. The logs below are current logs, but very similar to those in #2215.
What happened:
I attempt to delete a
selinuxProfile
but unable to because the finalizers are never removed by the node agents.First deployed the security-profiles-operator on Openshift with 3 master and 3 worker nodes via OperatorHub and the OCP Console:
security-profiles-operator
Then create an application
Namespace
and aSelinuxProfile
in that namespace:SelinuxProfile After Create
Then create a pod in the application namespace to use the
SelinuxProfile
.SelinuxProfile After Application Pod Created
After a few minutes when pod is verified to be working properly, remove the pod.
SelinuxProfile After Application Pod Deleted
Then attempt to delete the
SelinuxProfile
and the command hangs.SelinuxProfile After Attempting to delete SelinuxProfile
security-profiles-operator Logs
What you expected to happen:
SelinuxProfile
is cleaned up correctlyHow to reproduce it (as minimally and precisely as possible):
Spin up an Openshift 4.18-nightly cluster with 3 master and 3 worker nodes on GCP
$ kubectl version
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.31.4
First deployed the security-profiles-operator on Openshift 4.18-nightly with 3 master and 3 worker nodes via OperatorHub and the OCP Console.
install a SelinuxProfile, use it in a pod, then delete it
Anything else we need to know?:
Environment:
cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: