I am adding PMM-Server using --force node after the node which has this
host name was shut down.
pmm-admin config --force --server-insecure-tls
The command fails with this command:
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: Node with instance
"184.108.40.206" and region "datacenter4" already exists..
This command is run on the different IP rather quickly after the server was
shut down. Looks like there is some race condition
At very least Error message is unclear - is it question of node which needs
to be overwritten (by --force) or was the connected (not merely registered)
node what was detected ?
Peter Zaitsev, CEO, Percona