Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Done
-
2.0.0, 2.0.1
-
5
-
Yes
-
Yes
-
Yes
Description
Hi,
I am adding PMM-Server using --force node after the node which has this
host name was shut down.
Specific Command:
pmm-admin config --force --server-insecure-tls
--server-url=https://admin:PASSWORD@$PMMSERVER
--node-model=linode$LINODE_RAM --region=datacenter$LINODE_DATACENTERID
--az=myaz
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
"74.207.226.41" 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
DOC: Installing pmm Client section should have `--force' flag explained