Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5368

"Failed to get PMM Server parameter" after config.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0, 2.2.1, 2.4.0
    • Fix Version/s: None
    • Component/s: PMM Admin, PMM Agent, PMM Client
    • Labels:
    • Environment:

      The server is running in a docker container on Debian Buster. In front of the server, we have an Nginx proxy with a let's encrypt certificate.

      The client is directly installed on Debian Buster and we run Percona server 5.7.28.

      Description

      With the pmm2-client version 2.2 we have this issue:

       

      After running `pmm-admin config` i still get the following error:

       

      $ pmm-admin config --server-url=https://admin:******@pmm-server.<our_domain>.ch
      Checking local pmm-agent status...
      pmm-agent is running.
      Registering pmm-agent on PMM Server...
      Registered.
      Configuration file /usr/local/percona/pmm2/config/pmm-agent.yaml updated.
      Reloading pmm-agent configuration...
      Configuration reloaded.
      Checking local pmm-agent status...
      pmm-agent is running.
      $ pmm-admin add mysql
      Failed to get PMM Server parameters from local pmm-agent: pmm-agent is running, but not set up.
      Please run `pmm-admin config` with --server-url flag.

      The client is registered in the PMM server and the config exists. I also checked the logs and the config file, nothing shows any problems.

       

      Does anyone have a solution for this issue?

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mawit Martin Wittwer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: