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

Deadlock when adding external exporter

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Start external exporter. Make sure PMM server can reach it.
      2. Try to add it with invalid metrics path: pmm-admin --verbose add external:service rds --service-port=9042 --path=INVALID
      3. pmm-managed external exporters deadlocks after that. No other external exporters can be added or removed until pmm-managed restart.

      This issue can be reproduced with any exporter which return HTTP code 404 Not Found for invalid URL. Fortunately, most exporters (node_exporter, mysqld_exporter, postgresql_exporter, etc., but notably not our own rds_exporter) return 200 OK and landing page in that case. So effects of that bug are limited, despite the fact that the bug itself is quite serious.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  alexey.palazhchenko Alexey Palazhchenko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: