MAAS managed DHCP should not require a router IP

Bug #1334325 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Graham Binns

Bug Description

With MAAS 1.5.1+bzr2269-0ubuntu0.1 on Ubuntu 14.04, if I edit the
interface for a cluster and try and remove the router IP, MAAS
refuses, saying "That field cannot be empty (unless that interface is
'unmanaged')".

I'm not sure why this restriction exists (it's certainly not imposed
by ISC dhcpd) but it makes MAAS managed DHCP unusable for the network
I'm trying to configure as it has a MAAS private LAN and public IPs on
each server; the gateway/router is on the public IP side of each
server, not MAAS private LAN side.

Could we please make the router IP optional?

Related branches

James Troup (elmo)
tags: added: canonical-is
Graham Binns (gmb)
Changed in maas:
status: New → Triaged
importance: Undecided → High
Revision history for this message
James Troup (elmo) wrote :

Ante helpfully pointed out that there is a simple workaround which is
to edit /etc/maas/templates/dhcp/dhcpd.conf.template and remove the
following line:

       option routers {{dhcp_subnet['router_ip']}};

I'd still like to see this field made optional in the UI, but its no
longer a high priority (for me).

tags: added: trivial
Changed in maas:
importance: High → Medium
Graham Binns (gmb)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.