[Xenial] 0.9.1~fan1 from ppa:apw/fan-staging fanatic fails if lxd not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was testing fanatic from apw's fan-staging ppa:
ubuntu-fan:
Installed: 0.9.1~fan1
Candidate: 0.9.1~fan1
Version table:
*** 0.9.1~fan1 0
500 http://
100 /var/lib/
0.9.0 0
500 http://
I didn't have lxd installed when running fanatic and get the following error:
$ sudo fanatic
Welcome to the fanatic fan networking wizard. This will help you set
up an example fan network and optionally configure docker and/or LXD to
use this network. See fanatic(1) for more details.
Configure fan underlay (hit return to accept, or specify alternative) [192.168.0.0/16]:
Configure fan overlay (hit return to accept, or specify alternative) [250.0.0.0/8]:
vxlan: unknown command "fan-map"?
Usage: ... vxlan id VNI [ { group | remote } ADDR ] [ local ADDR ]
[ ttl TTL ] [ tos TOS ] [ dev PHYS_DEV ]
[ dstport PORT ] [ srcport MIN MAX ]
[ [no]learning ] [ [no]proxy ] [ [no]rsc ]
[ [no]l2miss ] [ [no]l3miss ]
[ ageing SECONDS ] [ maxaddress NUMBER ]
[ [no]udpcsum ] [ [no]udp6zerocsumtx ] [ [no]udp6zerocsumrx ]
[ gbp ]
Where: VNI := 0-16777215
ADDR := { IP_ADDRESS | any }
TOS := { NUMBER | inherit }
TTL := { 1..255 | inherit }
/usr/sbin/fanctl: ip link add ftun0 type vxlan id 16384000 dev enp0s25 dstport 0 local 192.168.1.16 fan-map 250.0.0.
/usr/sbin/fanctl: WARNING: ftun0: failed to configure address translation
RTNETLINK answers: Cannot assign requested address
iptables: Bad rule (does a matching rule exist in that chain?).
rm: cannot remove ‘/run/ubuntu-
Cannot find device "ftun0"
/usr/sbin/fanctl: ip link set dev ftun0 up
/usr/sbin/fanctl: WARNING: ftun0: failed to up interface
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: No chain/target/match by that name.
rm: cannot remove ‘/run/ubuntu-
interface ftun0 does not exist!
/usr/sbin/fanctl: brctl addif fan-250 ftun0
/usr/sbin/fanctl: WARNING: ftun0: failed to add vxlan interface to bridge
Cannot find device "ftun0"
Cannot find device "ftun0"
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: No chain/target/match by that name.
rm: cannot remove ‘/run/ubuntu-
Cannot find device "fan-250"
/usr/sbin/fanctl: ip addr add 250.1.16.1/8 dev fan-250
/usr/sbin/fanctl: WARNING: fan-250: failed to add 250.1.16.1/8 address
iptables: Too many links.
Cannot find device "fan-250"
/usr/sbin/fanctl: ip link set dev fan-250 up
/usr/sbin/fanctl: WARNING: fan-250: failed to bring interface up
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Too many links.
rm: cannot remove ‘/run/ubuntu-
dnsmasq: failed to create listening socket for 250.1.16.1: Cannot assign requested address
/usr/sbin/fanctl: dnsmasq -u dnsmasq --strict-order --bind-interfaces --pid-file=
/usr/sbin/fanctl: WARNING: fan-250: failed to start dnsmasq
iptables: Bad rule (does a matching rule exist in that chain?).
iptables: Too many links.
rm: cannot remove ‘/run/ubuntu-
/usr/sbin/fanctl: /etc/network/fan:22 192.168.0.0/16 250.0.0.0/8 -- failed err=1
LXD not installed, unable to configure
Hrm, something is not quite right with this test box, I'm going to reimage it. Testing fanatic from ubuntu- fan-0.9. 1~fan1 without lxd on another system is not exhibiting this issue. Marking this Invalid while I continue to investigate.