Page MenuHomeVyOS Platform

Container Network Naming Bug
Closed, InvalidPublicBUG

Description

An "_" in the network name creates a bug:

admin@edge# show container 
+name dns02 {
+    image ubuntu:focal
+    network container_net {
+        address 10.0.72.253
+    }
+}
 network container_net {
     prefix 10.0.72.0/24
 }
[edit]
cmd 'podman start dns02'
returned (out):

returned (err):
time="2021-08-12T19:21:39Z" level=error msg="Error adding network: failed to list chains: running [/usr/sbin/iptables -t nat -S --wait]: exit status 1: iptables v1.8.7 (nf_tables): table `nat' is incompatible, use 'nft' tool.\n\n"
time="2021-08-12T19:21:39Z" level=error msg="Error while adding pod to CNI network \"container_net\": failed to list chains: running [/usr/sbin/iptables -t nat -S --wait]: exit status 1: iptables v1.8.7 (nf_tables): table `nat' is incompatible, use 'nft' tool.\n\n"
Error: unable to start container "8036f595360c20b183b3e49968555d35e6b2dc2ac1e82c81a595e4123dec9e69": error configuring network namespace for container 8036f595360c20b183b3e49968555d35e6b2dc2ac1e82c81a595e4123dec9e69: failed to list chains: running [/usr/sbin/iptables -t nat -S --wait]: exit status 1: iptables v1.8.7 (nf_tables): table `nat' is incompatible, use 'nft' tool.

[[container]] failed
Commit failed
[edit]
}

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)