Skip to content

nft binary not working due to missing libjansson.so shared library file #12753

@notnooblord

Description

@notnooblord

Bug Report

Cannot initialize bridge-cni with nftables support, due to failed nft call due to missing lib.

Description

This issue is explained in detail had a PR by @smira, where the support for json was added: #12413
However, seems that library .so file is not included.
On problematic nodes I get /lib/libjansson.so.4: No such file or directory (needed by /usr/bin/nft)

Logs

kubectl describe of failed containers:

kubelet  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "1e09625e5c813611cfd1f9b43220151061a0dd25e66e5f5a549d74af02bb9ce9": plugin type="bridge" failed (add): could not run nftables command: Error loading shared library libjansson.so.4: No such file or directory (needed by /usr/bin/nft)

Environment

  • Talos version: 1.12.3 (SHA 6d6471f), also same on 1.12.1
  • Kubernetes version: 1.34.1
  • Platform: amd64

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions