Details

    • Type: Bug
    • Status: In Review
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0, 2.0.1
    • Fix Version/s: None
    • Component/s: PMM Admin, PMM ManageD
    • Labels:
    • Story Points:
      5
    • Sprint:
      Platform Sprint 8
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Doc:
      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

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                alexey.palazhchenko Alexey Palazhchenko
                Reporter:
                pz Peter Zaitsev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 hours, 4 minutes
                  3h 4m