-
Notifications
You must be signed in to change notification settings - Fork 119
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
centos8: set SELinux boolean that is now required for chardev access by containers #968
Conversation
…by containers Signed-off-by: Jed Lejosne <[email protected]>
@brianmcarey FYI, relates to kubevirt/kubevirt#9208 |
Not related to this PR |
We don't have a presubmit job for 1.26 anymore it seems, but publish does run it, |
Worth to add please on PR desc a failure example |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968) [31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954) [15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947) [0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960) [e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959) [9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
@jean-edouard , it seems we tweak the nodes with this configuration for the kubevirtci. Who is suppose to tweak it for production nodes? |
I was planning on documenting that the boolean has to be enabled on SELinux-enabled nodes... For now, the bump-kubevirtci PR is still failing in kubevirt/kubevirt, so the final resolution may or may not include this change. |
I think that formally we only support CentOS Stream for nodes, it is the only distribution we test. The problem is that we bump it from time to time, catching bugs like this one. However, patching our CI may just mask the problem. |
I am planning to do two things:
|
I wonder if by any change, once it is fixed on kubevirt if it can shed some light about WA for |
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975) [e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970) [bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967) [656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968) [31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954) [15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947) [0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960) [e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959) [9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956) ```release-note NONE ``` Signed-off-by: Or Shoval <[email protected]>
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975) [e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970) [bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967) [656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968) [31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954) [15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947) [0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960) [e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959) [9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975) [e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970) [bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967) [656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968) [31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954) [15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947) [0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960) [e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959) [9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956) ```release-note NONE ``` Signed-off-by: Or Shoval <[email protected]>
[1b9174d centos8: update SELinux policy version](kubevirt/kubevirtci#975) [e1cf770 robust stack: Fix sanity check](kubevirt/kubevirtci#970) [bc50e16 Add WFFC variation of rook-ceph-block](kubevirt/kubevirtci#967) [656d01a centos8: set SELinux boolean that is now required for chardev access by containers](kubevirt/kubevirtci#968) [31e5860 vm based providers: Introduce robust stack provider](kubevirt/kubevirtci#954) [15b2c14 Refresh snapshot CRDs follow up for 1.26-centos9 provider](kubevirt/kubevirtci#947) [0163752 Enable Seccomp configuration](kubevirt/kubevirtci#960) [e037eb1 Adds note about CLI dependencies](kubevirt/kubevirtci#959) [9c37b86 k8s-1.24-psa: Remove leftovers](kubevirt/kubevirtci#956) ```release-note NONE ``` Signed-off-by: Or Shoval <[email protected]>
Workaround for kubevirt/kubevirt#9434 we started setting SELinux boolean for chardev access with kubevirt/kubevirtci#968 but it got reverted with kubevirt/kubevirtci#975 altough it's still needed with Kubevirt v0.58.1 TODO: let's remove this once kubevirt/kubevirt#9434 is fixed Signed-off-by: stirabos <[email protected]>
* [release-1.8] Align github actions from newer branches Backport a few configuration changes in github actions. Signed-off-by: stirabos <[email protected]> * Fix bug and change cri selection procedure of cluster-sync. (#2155) The command for getting the registry port gets more than one output, which breaks following commands in the deploying scripts. The output is now parsed to pickup just the first port. Also the container runtime selection was hardcoded, now it uses the cri selection script of kubervirtci. Co-authored-by: Felix Matouschek <[email protected]> Signed-off-by: Javier Cano Cano <[email protected]> Signed-off-by: Javier Cano Cano <[email protected]> Co-authored-by: Felix Matouschek <[email protected]> * cluster-up: Fix tag updating (#2189) In case the _kubevirtci folder exists, changing the tag won't reclone the folder. The cluster-up folder won't be updated and it can lead to bugs in case the folder is changed. Fix it by deleting the folder in case of tag mismatch. It will enforce a reclone. Signed-off-by: Or Shoval <[email protected]> Signed-off-by: Or Shoval <[email protected]> * Bump the default kubevirtci provider Signed-off-by: stirabos <[email protected]> * Workaround for SELinux boolean for chardev Workaround for kubevirt/kubevirt#9434 we started setting SELinux boolean for chardev access with kubevirt/kubevirtci#968 but it got reverted with kubevirt/kubevirtci#975 altough it's still needed with Kubevirt v0.58.1 TODO: let's remove this once kubevirt/kubevirt#9434 is fixed Signed-off-by: stirabos <[email protected]> --------- Signed-off-by: stirabos <[email protected]> Signed-off-by: Javier Cano Cano <[email protected]> Signed-off-by: Or Shoval <[email protected]> Co-authored-by: Javier Cano Cano <[email protected]> Co-authored-by: Felix Matouschek <[email protected]> Co-authored-by: oscollabus <[email protected]>
No description provided.