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

DNS: No error message shown when parent zone of subzone is deleted #1196

Open
galkindmitrii opened this issue Feb 23, 2023 · 3 comments
Open
Assignees

Comments

@galkindmitrii
Copy link
Member

Designate does not allow deletion of parent zone as long as subzones exist.
In case a user tries to delete a parent zone via CLI a correct error is shown:

"Please delete any subzones before deleting this zone"

If this is done in Elektra - no error message is shown at all. This is very misleading for the users.

@hgw77 hgw77 self-assigned this Mar 1, 2023
@hgw77
Copy link
Collaborator

hgw77 commented Aug 3, 2023

can you explain how I create a subzone in elektra? I did not find an example where a zone contains a subzones

@galkindmitrii
Copy link
Member Author

can you explain how I create a subzone in elektra? I did not find an example where a zone contains a subzones

if parent zone is called example.com., then subzone is sub.example.com.
This is especially misleading when the parent zone and subzones are in different projects.

@hgw77
Copy link
Collaborator

hgw77 commented Apr 11, 2024

I investigated the problem and i seems Elektra does not show the error message from the API. The API returns with error 400 and the message Please delete any subzones before deleting this zone we need to handle the error message correctly

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

2 participants