Impossible to remove last MAC from network in UI
Bug #1363913 reported by
Adam Collard
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://
3. Deselect the MAC (hold down Ctrl and click on the selected MAC)
4. Save Network
POST parameters are showing as:
csrfmiddlewaret
description=Auto created when creating interface eth0 on cluster beretstack
ip=10.0.7.0
name=beretstack
netmask=
vlan_tag=
Note that there are no mac_address entries.
1.6.1+bzr2550-
Related branches
lp:~julian-edwards/maas/mac-network-removal
- Jeroen T. Vermeulen (community): Approve
-
Diff: 94 lines (+49/-3)3 files modifiedsrc/maasserver/api/networks.py (+3/-1)
src/maasserver/forms.py (+20/-2)
src/maasserver/tests/test_forms_network.py (+26/-0)
tags: | added: cloud-installer landscape |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.7.0 |
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.
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