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

QAN-agent doesn't work after docker-way upgrade

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 1.16.0
    • Fix Version/s: None
    • Component/s: PMM ManageD, QAN Agent
    • Labels:
      None

      Description

      1. Install PMM 1.15.0
      2. Add MySQL to monitoring and RDS instances (credentials in PMM-1060)
      3. Stop and remove pmm-server
      4. Run last pmm-server:
        docker run -d -p 8887:80 --restart always -e QUERIES_RETENTION=1 --volumes-from pmm-data --name pmm-server perconalab/pmm-server:dev-latest

      Result:
      in docker logs:

      2018-10-29 06:12:00,775 INFO gave up: pmm-qan-agent-9000 entered FATAL state, too many start retries too quickly
      2018-10-29 06:12:05,571 INFO stopped: grafana (exit status 0)
      2018-10-29 06:12:11,682 INFO spawned: 'grafana' with pid 512
      2018-10-29 06:12:12,729 INFO success: grafana entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
      2018-10-29 06:12:12,778 INFO exited: dashboard-upgrade (exit status 0; expected)
      
      [root@e190e6553e4a opt]# supervisorctl status |grep FATAL
      pmm-qan-agent-9000               FATAL     Exited too quickly (process log may have details)
      [root@e190e6553e4a opt]# tail -50 /var/log/pmm-qan-agent-9000.log 
      Agent config file /usr/local/percona/qan-agent/config/agent.conf does not existAgent config file /usr/local/percona/qan-agent/config/agent.conf does not existAgent config file /usr/local/percona/qan-agent/config/agent.conf does not existAgent config file /usr/local/percona/qan-agent/config/agent.conf does not exist[root@e190e6553e4a opt]# 
      [root@e190e6553e4a opt]# rpm -qa |grep pmm-client
      pmm-client-1.16.0-1.el7.x86_64

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexey.palazhchenko Alexey Palazhchenko
                  Reporter:
                  nailya.kutlubaeva Nailya Kutlubaeva
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: