Edit monitoring instance does not work

Description

Tested with Everest v0.0.0-c25b0b1.

Create a mysql, mongodb and postgresql db with scheduled backups and PITR enabled.

Create a monitoring instance. Edit the databases and enable monitoring for them.

Edit the monitoring instance, enter an invalid endpoint url

The endpoint url is accepted by the UI

The databases start restarting

Issues:

  1. The url isn’t checked if it is valid or invalid.

  2. Even if correct url is entered, the UI doesn’t check its username and password.

  3. The UI doesn’t create an api key in the changed pmm url.

  4. All existing databases using the pmm instance restart. Mysql database restarts many times and displays the error

Attaching mysql logs for analysis.

Environment

None

Attachments

4

Activity

Show:

Fábio Da Silva 4 days ago
Edited

From the FE side, there’s nothing we can do about the new URL validation. The BE should re-validate the connection based on the URL and possibly new credentials.

About checking username/password: we don’t collect those after the user inserted them the first time, that’s why there’s empty fields that are not mandatory when editing the endpoint. If users want new credentials, they can input them.

CC

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Smart Checklist

Created 5 days ago
Updated 4 days ago