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 dns server to ovs-if-br-ex nm connection #194

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

Conversation

anjannath
Copy link
Member

@anjannath anjannath commented Oct 8, 2024

since crc bundles switched to IPI with SNO
configutation default cni network plugin is
ovn-k which creates this a bridge device in
the VM and a network manager connection to
manage it, the DNS configuration need to be
added to this connection

this tries to incorporate the changes that were done in: crc-org/crc@60040cd and crc-org/crc@2b23a06 for crc

systemctl restart NetworkManager
stop_if_failed $? "failed to restart NetworkManager"
}

Copy link
Member

Choose a reason for hiding this comment

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

when I was testing this last week (and that's the reason I didn't put PR) is as soon as Network restart happen and then we start kubelet somehow it again trigger ovs-configuration.service and it fails :( do test this scenario once.

Copy link
Member Author

Choose a reason for hiding this comment

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

ahh, but this is working on crc somehow? maybe we just need to down/up the connection instead of restarting NetworkManager service?

since crc bundles switched to IPI with  SNO
configutation default cni network plugin is
ovn-k which creates this a bridge device in
the VM and a network manager connection  to
manage it, the DNS configuration need to be
added to this connection
@anjannath anjannath changed the title [wip] add dns server to ovs-if-br-ex nm connection add dns server to ovs-if-br-ex nm connection Oct 23, 2024
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