Unable to delete unused VLAN

Bug #1838773 reported by Nick Niehoff
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned
2.6
Won't Fix
Undecided
Unassigned

Bug Description

After creating a VLAN in the UI the user is unable to delete the same VLAN.

Steps to reproduce:

1. Navigate to the subnets tab of MAAS 2.6
2. Add a VLAN with any vlan id
3. Attempt to delete the VLAN via the UI

Workaround via CLI:

export FABRIC_NAME=TheNameOfTheFabric
export VLAN_ID=123

FABRIC_ID=$(maas admin fabrics read | jq --arg name ${FABRIC_NAME} '.[] | select(.name == $name) | .id')
maas admin vlan delete $FABRIC_ID $VLAN_ID

Tags: cli
Changed in maas:
status: New → Triaged
importance: Undecided → High
Nick Niehoff (nniehoff)
summary: - [2.6, UI] Unable to delete unused VLAN
+ Unable to delete unused VLAN
Revision history for this message
Heather Lemon (hypothetical-lemon) wrote :

screenshot of error

Revision history for this message
Heather Lemon (hypothetical-lemon) wrote :

this seems to work on the 2.7 and 2.8 branch, just an issue with 2.6

tags: added: cli
Changed in maas:
status: Triaged → Fix Released
Changed in maas:
milestone: none → 2.7.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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