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

vt doc: Improve libvirt network section #610

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

jfehlig
Copy link
Collaborator

@jfehlig jfehlig commented Jun 16, 2020

Add a warning about enabling forwarding in the VM host when enabling
a libvirt virtual network. While at it, make some small improvements
in the description of libvirt's virtual networks.

Are backports required?

  • [x ] To maintenance/SLE15SP1
  • To maintenance/SLE15SP0
  • [x ] To maintenance/SLE12SP5
  • To maintenance/SLE12SP4
  • To maintenance/SLE12SP3

@jfehlig
Copy link
Collaborator Author

jfehlig commented Jun 16, 2020

BTW, this change was inspired by https://bugzilla.suse.com/show_bug.cgi?id=1166570

@jfehlig jfehlig force-pushed the libvirt-network-fixes branch 2 times, most recently from 6e050ce to 4593e6b Compare June 17, 2020 23:26
@jfehlig
Copy link
Collaborator Author

jfehlig commented Jun 17, 2020

After some conversations with Marius, I've force pushed some improvements to the improvements.

@tbazant tbazant requested review from tbazant and lproven June 18, 2020 13:45
@tbazant tbazant self-assigned this Jun 18, 2020
@tbazant tbazant removed their request for review June 18, 2020 14:21
@jfehlig jfehlig force-pushed the libvirt-network-fixes branch from 4593e6b to 0d6b602 Compare June 18, 2020 22:33
@jfehlig
Copy link
Collaborator Author

jfehlig commented Jun 18, 2020

Ok, another attempt and another force push. Claudio mentioned some pictures would help, e.g. similar to the ones on the libvirt wiki

https://wiki.libvirt.org/page/VirtualNetworking

What do the doc folks think about that?

xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
xml/libvirt_networking.xml Outdated Show resolved Hide resolved
@jfehlig jfehlig force-pushed the libvirt-network-fixes branch 3 times, most recently from 6e58f01 to a03887d Compare June 20, 2020 14:59
An out-of-the-box configuration of SLES with KVM or Xen provides a
wicked-managed, L2 bridge configuration for VM connectivity. libvirt
virtual networks provide an alternate network setup for VM connectivity
but must be enabled separately. Since the wicked-managed configuration
is the default, move it's description before that of libvirt's virtual
networks. Also remove the confusing text around isolated vs forwarded
networks and add some information about use-cases for the various
configurations. Finally, add a warning about the implicit enabling of
layer 3 forwarding in the VM host when enabling a libvirt virtual network.

See https://bugzilla.suse.com/show_bug.cgi?id=1166570 for more details.
@jfehlig jfehlig force-pushed the libvirt-network-fixes branch from a03887d to a4fd402 Compare June 22, 2020 18:16
@tbazant tbazant merged commit ffac29f into SUSE:master Jun 24, 2020
tbazant pushed a commit that referenced this pull request Jun 24, 2020
An out-of-the-box configuration of SLES with KVM or Xen provides a
wicked-managed, L2 bridge configuration for VM connectivity. libvirt
virtual networks provide an alternate network setup for VM connectivity
but must be enabled separately. Since the wicked-managed configuration
is the default, move it's description before that of libvirt's virtual
networks. Also remove the confusing text around isolated vs forwarded
networks and add some information about use-cases for the various
configurations. Finally, add a warning about the implicit enabling of
layer 3 forwarding in the VM host when enabling a libvirt virtual network.

See https://bugzilla.suse.com/show_bug.cgi?id=1166570 for more details.
tbazant added a commit that referenced this pull request Jun 24, 2020
@cwickert
Copy link
Member

Umm, this actually broke the build because of a typo in an entity:

/usr/src/app/xml/libvirt_networking.xml:56: parser error : Entity 'vhhost' not defined

   &vhhost;'s LAN.

You can see this in travis, but due to a bug, daps exited 0 nevertheless.

Fixed validation in d1ba31c

@jfehlig
Copy link
Collaborator Author

jfehlig commented Jun 26, 2020

I thought there were gate checks to verify a PR could be built. Such trivial and common mistakes could be automatically detected well before merging.

@lproven
Copy link
Contributor

lproven commented Jun 29, 2020

I thought there were gate checks to verify a PR could be built. Such trivial and common mistakes could be automatically detected well before merging.

There are. Or, rather, there are meant to be. This highlighted a bug in DAPS which caused it to return the wrong exit code.

@jfehlig jfehlig deleted the libvirt-network-fixes branch August 5, 2021 17:02
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.

5 participants