Page MenuHomeVyOS Platform

Limit container network name to 15 characters
Needs testing, Requires assessmentPublicBUG

Description

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

[email protected]# 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)

Event Timeline

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