Skip to content

ipset does not work because of incompatible kernel and userspace protocols #174

@alban

Description

@alban

Description

Flatcar Container Linux by Kinvolk alpha (2605.0.0):

$ sudo ipset list
ipset v6.20.1: Kernel support protocol versions 6-7 while userspace supports protocol versions 6-6
Kernel and userspace incompatible: settype by userspace. with revision 1578235808 not supported 

Impact

I cannot easily inspect ipsets.

Environment and steps to reproduce

  1. Set-up: Lokomotive cluster with calico having configured ipset rules
  2. Task: list rules fom command line
  3. Action(s): sudo ipset list
  4. Error: see above

Expected behavior
ipset list lists the ipsets, e.g. from Calico

Additional information

Workaround:

docker run --rm -ti --privileged --net=host ubuntu
apt-get update &>/dev/null && apt-get install -y ipset &>/dev/null && ipset list

Related issue: https://bugs.launchpad.net/ubuntu/+source/firewalld/+bug/1821596

Note: this issue does not affect iptables: I can use iptables without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions