PMM DBaaS edit db cluster broken
Attachments
Activity

Beata Handzelova March 9, 2023 at 2:29 PM
One more issue found with source range and edit:
Nothing changes when you try to delete last source range, strangely it works fine when you try to edit it or remove one source range when you have more source ranges. The problem seems to be only with removing the only one last source range.
could you please check?
It looks weird to me when last source range is deleted and we're left only with the "Add new" button. Add new what? Can you please make it so that when last source range is removed, the trash bin icon click doesn't remove the whole field and Source Range label, but instead clears the value in source range field?

Beata Handzelova March 9, 2023 at 12:05 PM
2. Is not fixed. It seems BE doesn't send info about internet facing... I created cluster with internet facing enabled, but when going to edit that cluster this is the result:
Also db configuration in edit is broken after move from pmm to dbaas operator already informed.

Former user February 21, 2023 at 12:35 PM
Tested with https://github.com/Percona-Lab/pmm-submodules/pull/3055#issuecomment-1424109962
1. when editing expose enabled/disabled - it updates in DB Cluster Parameters column immediately to External Access:Enabled/Disabled but connection column is not updated and still shows the "internal" host (user has to refresh the page)
2. internet facing doesn't work properly - create db cluster with internet facing enabled then go to edit cluster and the checkbox is not checked, or create db cluster with only expose enabled then go to edit cluster and both enabled and internet facing is checked
3. when one source range is added there's no way to delete it after, the "trash bin" icon shows up only when second source range is added, but the first cannot be removed
4. can we trim the spaces before and after?

Iaroslavna Soloveva February 9, 2023 at 8:04 AMEdited
, we need changes on BE for this ticket
Now:
BE doesn't return internet_facing prop in edit mode even if we set it in creation mode
BE doesn't allow to edit expose and internet_facing
BE doesn't allow to edit Source Ranges
With the new DBaaS UI, once you create a db cluster and then try to edit several things are not working correctly
StorageClass must be read-only showing the actual value as AFAIK you can't change it once created.
Database configuration shows empty but you can still add configs that override previous content. It must be pre-filled with actual content.
Networking shows all empty and it doesn't allow changes. Also, you don't know which are the allowed CIDRs if they were set. We can start, at least, showing what's enabled/set and allow changes to CIDRs (edit, create, delete)