public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>,
	Mark Schouten <mark@tuxis.nl>
Subject: Re: [PVE-User] Proxmox VE 7.0 (beta) released!
Date: Fri, 2 Jul 2021 22:57:44 +0200	[thread overview]
Message-ID: <1a76ef0b-5b6e-2c2d-8702-cd889a378143@proxmox.com> (raw)
In-Reply-To: <0d129a03-9a70-e123-5e5a-e7862ef303ac@tuxis.nl>

On 29.06.21 10:05, Mark Schouten wrote:
> Hi,
> 
> Op 24-06-2021 om 15:16 schreef Martin Maurer:
>> We are pleased to announce the first beta release of Proxmox Virtual Environment 7.0! The 7.x family is based on the great Debian 11 "Bullseye" and comes with a 5.11 kernel, QEMU 6.0, LXC 4.0, OpenZFS 2.0.4.
> 
> I just upgraded a node in our demo cluster and all seemed fine. Except for non-working cluster network. I was unable to ping the node through the cluster interface, pvecm saw no other nodes and ceph was broken.
> 
> However, if I ran tcpdump, ping started working, but not the rest.
> 
> Interesting situation, which I 'fixed' by disabling vlan-aware-bridge for that interface. After the reboot, everything works (AFAICS).
> 
> If Proxmox wants to debug this, feel free to reach out to me, I can grant you access to this node so you can check it out.
> 

FYI, there was some more investigation regarding this, mostly spear headed by Wolfgang,
and we found and fixed[0] an actual, rather old (fixes commit is from 2014!), bridge bug
in the kernel.

The first few lines of the fix's commit message[0] explain the basics:

> [..] bridges with `vlan_filtering 1` and only 1 auto-port don't
> set IFF_PROMISC for unicast-filtering-capable ports.

Further, we saw all that weird behavior as
* while this is independent of any specific network driver, those specific drivers
  vary wildly in how the do things, and some thus worked (by luck) while others did
  not.

* It can really only happen in the vlan-aware case, as else all ports are set promisc
  no matter what, but depending in which order things are done the result may still
  differ even with vlan-aware on

* It did not matter before (i.e., before systemd started to also apply their
  MACAddressPolicy by default onto virtual devices like bridges) because then the
  bridge basically always had a MAC from one of it's ports, so the fdb always
  contained the bridge's MAC implicitly and the bug was concealed.

So it's quite likely that this rather confusing mix of behaviors would had pop up
in more places, where bridges are used, in the upcoming  months when that systemd
change slowly rolled into stable distros, so actually really nice to find and fix
(*knocks wood*) this during beta!

Anyhow, a newer kernel build is now also available in the bullseye based pvetest
repository, if you want to test and confirm the fix:

pve-kernel-5.11.22-1-pve version 5.11.22-2

cheers,
Thomas


[0]: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=a019abd80220




  parent reply	other threads:[~2021-07-02 20:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 13:16 Martin Maurer
2021-06-24 14:08 ` [PVE-User] Error updating Ceph from Nautilus to Octopus Ralf Storm
2021-06-29  8:05 ` [PVE-User] Proxmox VE 7.0 (beta) released! Mark Schouten
2021-06-29  8:23   ` Stoiko Ivanov
2021-06-29  8:34     ` Mark Schouten
2021-06-29  9:46   ` Thomas Lamprecht
2021-06-29 10:06     ` Mark Schouten
2021-06-29 10:31       ` Thomas Lamprecht
2021-06-29 12:04         ` Mark Schouten
2021-06-29 13:31           ` Stoiko Ivanov
2021-06-29 13:51             ` alexandre derumier
2021-06-29 14:14             ` Thomas Lamprecht
2021-07-02 20:57   ` Thomas Lamprecht [this message]
2021-07-02 21:06     ` Mark Schouten
     [not found] ` <mailman.239.1625514988.464.pve-user@lists.proxmox.com>
2021-07-06  9:55   ` Stoiko Ivanov
2021-06-29 12:27 Wolfgang Bumiller
     [not found] <kcEE.HSoMZfIyQreLVdFDq7JFjQ.AFttFk5y1wE@ckcucs11.intern.ckc-it.at>
2021-07-06 10:22 ` Stoiko Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1a76ef0b-5b6e-2c2d-8702-cd889a378143@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=mark@tuxis.nl \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal