cannot delete already existing subnets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo | ||
2.2 |
Won't Fix
|
High
|
Unassigned | ||
2.3 |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
I cannot delete an already existing subnet from the ui nor the api.
This is only for subnets created automatically during maas installation. I can delete those I create after maas is all the way up.
I see this on version: 2.2.0 (bzr6057-snap)
To reproduce:
snap install maas --devmode
sudo maas init #and complete setup
navigate to http://
click on a subnet and try to delete it.
expected outcome:
subnet is deleted
actual outcome:
An error is displayed saying 'Subnet matching query does not exist.'
I also attempted to delete these subnets using the branch from https:/
Any help would be appreciated.
Thanks!
Related branches
- Mike Pontillo (community): Approve
-
Diff: 148 lines (+72/-8)4 files modifiedsrc/maasserver/models/signals/iprange.py (+19/-4)
src/maasserver/models/signals/staticipaddress.py (+19/-4)
src/maasserver/models/subnet.py (+3/-0)
src/maasserver/models/tests/test_subnet.py (+31/-0)
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 148 lines (+72/-8)4 files modifiedsrc/maasserver/models/signals/iprange.py (+19/-4)
src/maasserver/models/signals/staticipaddress.py (+19/-4)
src/maasserver/models/subnet.py (+3/-0)
src/maasserver/models/tests/test_subnet.py (+31/-0)
Changed in maas: | |
milestone: | none → 2.3.0 |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Mike Pontillo (mpontillo) |
tags: | added: foundations-engine |
tags: | added: internal |
tags: | added: canonical-bootstack |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.x |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 2.3.x → 2.4.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Hi Greg,
Have you tried deleting the subnet via the CLI ? If not, can you please do so and provide your results here? Also please provide:
- Exact way you are trying to delete a subnet (seem via libmaas) common/ logs/*) IIRC.
- Logs (/var/snao/
Thanks.