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

add non root ovs-user-id to ovn container image to rebuild #2044

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yaguangtang
Copy link
Member

update ovn-controler script to chown ovs bridge socket files so that libvirt pod can read

fix #1982

@yaguangtang yaguangtang force-pushed the ATMOSPHERE-498-ovnkube-sh-resets-all-permissions-in-run-openvswitch-to-root-root-by-default branch from c2c572c to d4f0e26 Compare October 28, 2024 14:18
@yaguangtang yaguangtang changed the title add user and group to ovn container image to rebuild add non root ovs-user-id to ovn container image to rebuild Oct 28, 2024
Copy link
Member

@mnaser mnaser left a comment

Choose a reason for hiding this comment

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

@yaguangtang I think we need to use this instead:

https://github.com/apconole/ovn-kubernetes/blob/master/dist/images/ovnkube.sh#L95-L96

We should add environment variable OVS_USER_ID and set to 42424 with a new image, so we don't need to make a chart change.

@yaguangtang
Copy link
Member Author

@yaguangtang I think we need to use this instead:

https://github.com/apconole/ovn-kubernetes/blob/master/dist/images/ovnkube.sh#L95-L96

We should add environment variable OVS_USER_ID and set to 42424 with a new image, so we don't need to make a chart change.

It's added to ovn image

@yaguangtang
Copy link
Member Author

recheck

…cess

update ovn-controler script to chown ovs bridge socket files so that
libvirt pod can read

fix #1982
@yaguangtang yaguangtang force-pushed the ATMOSPHERE-498-ovnkube-sh-resets-all-permissions-in-run-openvswitch-to-root-root-by-default branch from d4f0e26 to c124717 Compare October 29, 2024 08:15
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.

ovnkube.sh resets all permissions in /run/openvswitch to root:root by default
2 participants