Page MenuHomeVyOS Platform

Limit container network name to 15 characters
Closed, ResolvedPublicBUG

Description

When creating a container bridged to a network with a name longer than 15 characters, the container will not start:

vyos@vyos# sudo podman start busybox
WARN[0000] Failed to load cached network config: network thisismorethan15chars not found in CNI cache, falling back to loading network thisismorethan15chars from disk
Error: unable to start container "ad1397e0c623cc0322734f1fff90e421e4664c43ac42a0b0c978be73408de197": plugin type="bridge" failed (add): cni plugin bridge failed: failed to create bridge "cni-thisismorethan15chars": could not add "cni-thisismorethan15chars": numerical result out of range

Details

Difficulty level
Easy (less than an hour)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESThigebu
ResolvedBUGsarthurdev

Event Timeline

sarthurdev changed the task status from Open to In progress.Nov 22 2022, 11:55 AM
sarthurdev claimed this task.
sarthurdev created this task.