moving a subnet to a different fabric prevents DHCP relay configuration

Bug #2016302 reported by Peter Jose De Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned
maas-ui
Triaged
Low
Unassigned

Bug Description

Hello,

When configuring DHCP relay on MAAS, if a relay is configured on a VLAN, for example VLAN 41, with a subnet, for example 10.10.21.0/24. If that subnet is then moved to a different fabric, its not possible to disable the relay. The following warning is shown on the MAAS UI:

"No subnets are available on this VLAN. DHCP cannot be enabled." Although the UI shows as DHCP enabled.

[Steps to reproduce]
1. Setup maas with two VLANs, one untagged, one native VLAN for example VID 41, the native VLAN having DHCP forwarded to the untagged VLAN.
2. Setup a DHCP relay to go from 41, to untagged.
3. Configure DHCP relay for VLAN 41 via untagged along with a dynamic range.
4. Create a new fabric, and move the subnet for VLAN 41 to this subnet.
5. Try to disable DHCP relay on VLAN 41.

[Workaround]

Move the subnet back to its original VLAN, and disable DHCP first.

Thanks,
Peter

Tags: ui
summary: - moving to a different subnet prevents DHCP relay configuration
+ moving a subnet to a different fabric prevents DHCP relay configuration
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

This limitation exists only in the UI, it's possible to remove the DHCP relay settings using the CLI:

maas $ADMIN vlan update $FABRIC_ID $VID relay_vlan=

tags: added: ui
Changed in maas:
status: New → Triaged
Changed in maas:
milestone: none → 3.5.0
importance: Undecided → Low
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

need to test whether this is a problem of MAAS UI or a problem in the websocket API

Changed in maas-ui:
importance: Undecided → Low
milestone: none → 3.5.0
status: New → Triaged
Changed in maas:
milestone: 3.5.0 → 3.5.x
Changed in maas-ui:
milestone: 3.5.0 → 3.5.x
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.