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 support for Open vSwitch bridges used in libvirt interfaces to Koan #43

Open
rasschaert opened this issue Feb 12, 2014 · 4 comments

Comments

@rasschaert
Copy link

I replaced my Linux bridge with Open vSwitch because of some technical limitations of Linux bridges.

I was able to configure libvirt to deal with this, following these instructions.

Note that I also removed and blacklisted the bridge kernel module, as well as the bridge-utils package containing the brctl command because calling the brctl command loads the bridge kernel module which breaks Open vSwitch.
In other words: classic Linux bridging is no longer in any way available on my machine.

This works when manually creating virtual machines with virt-install, when using the following network options:

virt-install --network network=br0

When I create a machine with Koan, however, it is created with:

virt-install --network bridge=br0

Which fails with the following error:

ERROR    Unable to add bridge br0 port vnet1: Operation not supported
Domain installation does not appear to have been successful.

Koan does not appear to support passing this option to virt-install at the moment.

My technical environment: CentOS 6.4 as both virtual guest and host OS. KVM virtualization, Open vSwitch package procured from the RDO repository.

@jmaas
Copy link
Member

jmaas commented Feb 13, 2014

It's something where i want Cobbler to go; more aligned with Cloud infrastructure. So vswitch support is very much a requirement. This is something i have in mind for Cobbler3, so that will take a while. If you have concrete suggestions (or even better: patches) in the meantime please let us know.

@rasschaert
Copy link
Author

For now I just hacked in a quick fix for me so that my machines can boot.

sed -i 's/--network bridge/--network network/' /usr/lib/python2.6/site-packages/koan/virtinstall.py

I don't really known the insides of Cobbler well enough to patch the network device discovery.

@jmaas
Copy link
Member

jmaas commented Feb 13, 2014

Btw, what version of Cobbler/Koan are you using?

@rasschaert
Copy link
Author

I'm using 2.4.0, the version that's currently packaged in EPEL for EL 6.

@SchoolGuy SchoolGuy transferred this issue from cobbler/cobbler Oct 16, 2019
@SchoolGuy SchoolGuy moved this to Inbox in Koan Sep 26, 2022
@SchoolGuy SchoolGuy added this to Koan Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

2 participants