Comment 0 for bug 2031845

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue found with J-oem-6.5.0-1002

The ubuntu_fan_smoke_test failed with:
    Error: Unsupported attribute.

$ fanatic enable-fan -u 172.17.0.0/16 -o 250.0.0.0/8
configuring fan underlay:172.17.0.0/16 overlay:250.0.0.0/8
Error: Unsupported attribute.
/usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev docker0 dstport 0 local 172.17.0.1 fan-map 250.0.0.0/8:172.17.0.0/16
/usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
RTNETLINK answers: Cannot assign requested address
iptables v1.8.7 (nf_tables): Chain 'fan-egress' does not exist
Try `iptables -h' or 'iptables --help' for more information.
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: No chain/target/match by that name.
rm: cannot remove '/run/ubuntu-fan/nat-core': No such file or directory
/usr/sbin/fanctl: /etc/network/fan:40 172.17.0.0/16 250.0.0.0/8 -- failed err=1
/usr/sbin/fanatic: unable to bring fan up, unable to configure

It is the ip command execute in fanatic that trigger this "Error: Unsupported attribute." error:
$ ip link add ftun0 type vxlan id 16384000 dev docker0 dstport 0 local 172.17.0.1 fan-map 250.0.0.0/8:172.17.0.0/16
Error: Unsupported attribute.