Removing a DNS address record removes the resource entry

Bug #1898218 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

There seems to be a UI issue where removing a DNS address entry removes the whole resource, even if it has more than one IP associated.
To reproduce:

- create a DNS record like "test" A "1.2.3.4"
- create a DNS record like "test" AAAA "2001::1"
- select one of those and select "remove record"

Both entries are gone.

This seems to be because the UI calls "domain.delete_dnsresource", which removes the whole resource (ignoring the passed IP address).
It should likely call "domain.delete_address_record" instead.

Tags: ui
Changed in maas-ui:
importance: Undecided → Unknown
Kit Randel (blr)
Changed in maas:
status: New → In Progress
Kit Randel (blr)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas-ui:
status: New → Fix Released
Changed in maas:
milestone: none → 3.2.0-beta1
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.