[MAAS 2.0 ] does not add default gw route to nodes.

Bug #1567614 reported by Manoj Iyer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Undecided
Unassigned

Bug Description

MAAS 2.0 (beta) does not add default gw route to hosts. This causes the nodes not to be pingable from external to subnet. Adding this route manually fixes the issue, but MAAS UI has changed and it is missing the necessary network config options under "networks" so I am unable to add this route from MAAS UI.

ubuntu@hawker3:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.3.0 * 255.255.255.0 U 0 0 0 lxcbr0
10.228.0.0 * 255.255.0.0 U 0 0 0 enP7p1s0

ubuntu@hawker3:~$ sudo route add default gw 10.228.0.1 enP7p1s0

ubuntu@hawker3:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.228.0.1 0.0.0.0 UG 0 0 0 enP7p1s0
10.0.3.0 * 255.255.255.0 U 0 0 0 lxcbr0
10.228.0.0 * 255.255.0.0 U 0 0 0 enP7p1s0
ubuntu@hawker3:~$

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Manoj,

Actually MAAS adds the default gateway for the interface that has been selected as the default gateway. By default, it will always be the interface in which MAAS is PXE booting unless you manually switch that. This will be based on whether you have defined a gateway for the subnet.

Did you define a gateway for the subnet ?

This is what MAAS defines:

ubuntu@blissless-madyson:~$ ip route sh
default via 192.168.10.1 dev eno1 onlink
10.0.3.0/24 dev lxcbr0 proto kernel scope link src 10.0.3.1
192.168.10.0/24 dev eno1 proto kernel scope link src 192.168.10.3

Changed in maas:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.