Skip to content

Failing to attach containers to encrypted overlay network since linux 5.15.17 #2653

Open
@arnegroskurth

Description

@arnegroskurth

(I've phrased the issue for moby/moby before realizing that this is a separate component - so sorry for the docker-based description)

Description

Its currently not possible to communicate over encrypted overlay networks with kernel 5.15.17 due to an unset interface id when configuring the ipsec tunnel.

Downstream issue: coreos/fedora-coreos-tracker#1111

Steps to reproduce the issue:

With two linux 5.15.17 hosts: Create an encrypted overlay network in a swarm and try to communicate between two containers on different nodes attached to that overlay network.

Additional information you deem important (e.g. issue happens only occasionally):

related linux change: torvalds/linux@68ac0f3810e7
potential workaround in netlink library: vishvananda/netlink#727

Missing Ifid for netlink.XfrmPolicy struct: (there may be more)

fPol := &netlink.XfrmPolicy{

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions