Emergency

critical bug: pmm-client 1.1.3 mysql:queries exit with status 1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • critical bug: pmm-client 1.1.3 mysql:queries exit with status 1

    I'm facing trouble while upgrading

    pmm-admin add mysql --user root --password password

    [linux:metrics] OK, already monitoring this system.
    [mysql:metrics] OK, now monitoring MySQL metrics using DSN root:***@unix(/data/mysql/mysql.sock)
    [mysql:queries] Error adding MySQL queries: problem with agent registration on QAN API: exit status 1

  • #2
    Hi JoyG , my apologies for not answering your post sooner. May I suggest you remove the instance, and then re-add with --verbose so we can get greater detail for why the QAN part is failing?
    Code:
    pmm-admin remove mysql
    pmm-admin add mysql --verbose

    Comment


    • #3
      I am currently experiencing the same output when attempting to add the mysql:queries service to a fresh pmm-client installation.
      Thus far I have not found a clear solution to the problem.

      My verbose output is given in the txt file.
      Attached Files

      Comment


      • #4
        Hi Pomoens,

        can you give me the version of your PMM Server and PMM Client?
        Do you have enough free space inside PMM Server container?
        Is pmm-admin tool has been run from root rights?

        according to logs your application failed during percona-qan-agent-installer run
        see https://github.com/percona/pmm-clien...s.go#L149-L164 for details
        percona-qan-agent-installer tool has debug flag.

        can you run percona-qan-agent-installer in debug mode and share output?
        theoretically, needed command can look like this:
        Code:
        /usr/local/percona/qan-agent/bin/percona-qan-agent-installer -debug -mysql=false -server-user=USER -server-pass=PASSWORD PMM-IP
        please use the following command if you are working via SSL
        Code:
        /usr/local/percona/ qan -agent/bin/percona- qan -agent-installer -debug -mysql=false -server-user=USER -server-pass=PASSWORD -use-insecure-ssl PMM-IP:443

        Comment

        Working...
        X