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

PMM's default MongoDB DSN is localhost, which is not resolved to IPv4 on modern systems

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: PMM Client
    • Labels:

      Description

      PMM's default mongodb's DSN is localhost

      https://github.com/percona/pmm-client/blob/master/pmm-admin.go#L1545

      while on ,,modern'' OS' it is resolved to ::1 (ipv6).

      MongoDB by default is bound to 0.0.0.0 (ipv4) which makes localhost connections not working.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  iwo.panowicz Iwo Panowicz
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h