maas-cluster fails to register if the host has an IPv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
When a MAAS cluster controller is installed on a host with IPv6 it
will fail to register with the region controller.
/var/log/
Oct 9 21:48:47 gremlin maas.cluster: [INFO] Could not register with region controller: BAD REQUEST.
There's no more detail but using tcpdump I was able to see that it was
doing a POST to /MAAS/api/
following payload:
'[{"interface": "lxcbr0", "ip": "10.0.3.1", "subnet_mask": "255.255.255.0"}, {"interface": "br0", "ip": "10.124.0.10", "subnet_mask": "255.255.248.0"}, {"interface": "br0", "ip": "2001:67c:
Based on that, I guessed the problem was the IPv6 address and indeed,
when I deleted the IPv6 from br0, the cluster was able to register
with the region controller.
This is MAAS 1.7beta5 from the experimental PPA.
Related branches
- Raphaël Badin (community): Approve
- Julian Edwards (community): Approve
-
Diff: 72 lines (+14/-11)4 files modifieddocs/ipv6.rst (+1/-0)
src/maasserver/forms.py (+3/-6)
src/maasserver/models/nodegroupinterface.py (+1/-1)
src/maasserver/tests/test_forms_nodegroupinterface.py (+9/-4)
tags: | added: canonical-is |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Sorry if you're not the best person to look at this jtv. I'll happily fix it if you don't know where the problem lies.