Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAAS DNS GUI doesnt work with duplicates #2644

Open
webteam-app opened this issue May 11, 2021 · 2 comments
Open

MAAS DNS GUI doesnt work with duplicates #2644

webteam-app opened this issue May 11, 2021 · 2 comments

Comments

@webteam-app
Copy link

Bug originally filed by kruisdraad at https://bugs.launchpad.net/bugs/1919024

condition:

Go to DNS and add 2 records:

LB IN A 1.1.1.1
LB IN A 1.1.1.2

This is a totally legit DNS configuration.

However if you edit the record of 1.1.1.2 to 1.1.1.3, both records are updated. Deleting one, deleted both.

Expectation:

Records should be edited in combo. My guess is the GUI uses the name field to select the right record and does not assume duplicates. The selection should be extended for the full record and its replacement to prevent other records to be editted

@Caleb-Ellis
Copy link
Contributor

I can fix this by replacing all the "address_record" methods with the "dnsresource" methods, but a lot of logic gets moved into the UI. Waiting on an answer from core on whether they can fix it in the backend.

@Caleb-Ellis
Copy link
Contributor

As per the email to the MAAS-design mailing list, we'll leave this for now while the core team come up with a mini-spec for updating the websocket api.

@Caleb-Ellis Caleb-Ellis removed this from the Iteration: 21-25 - 21 Jun to 2 Jul 2021 milestone Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants