Impossible to remove last MAC from network in UI

Bug #1363913 reported by Adam Collard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Julian Edwards

Bug Description

It's seemingly impossible to disassociate the last MAC address from a network.

1. Create a network and associate a single MAC address
2. Navigate to http://my.maas/MAAS/networks/my-network/edit
3. Deselect the MAC (hold down Ctrl and click on the selected MAC)
4. Save Network

POST parameters are showing as:

csrfmiddlewaretoken=<redacted>
description=Auto created when creating interface eth0 on cluster beretstack
ip=10.0.7.0
name=beretstack-eth0
netmask=255.255.255.0
vlan_tag=

Note that there are no mac_address entries.

1.6.1+bzr2550-0ubuntu1~ppa2

Related branches

tags: added: cloud-installer landscape
Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.7.0
Revision history for this message
Adam Collard (adam-collard) wrote :

For anyone else hitting this, the workaround using CLI is a call like:

maas courage network disconnect-macs beretstack-eth0 macs=52:54:00:a4:34:8e

Changed in maas:
assignee: nobody → Julian Edwards (julian-edwards)
status: Triaged → In Progress
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.