Install perl into pmm-client docker container

Description

Using docker image perconalab/pmm-client:3-dev-latest

in "MySQL Instance Summary - Service Summary" causes:

 

/usr/local/percona/pmm2/tools/pt-mysql-summary: line 227: perl: command not found

/usr/local/percona/pmm2/tools/pt-mysql-summary: line 264: /tmp/pt-mysql-summary.743.efzNs0/po/*: No such file or directory

No long attribute in option spec /tmp/pt-mysql-summary.743.efzNs0/po/*

 

We need to install perl into PMM Client docker image to not face this issue.

Some data might be unavailable in pt-mysql-summary result, but majority of informaion should be available in Service summary panel.

How to test

  1. Install PMM server & PMM client using docker.

  2. Install MySQL using docker as well.

  3. Configure node and add MySQL to PMM

  4. Navigate to MySQL / MySQL Instance Summary

  5. You will see the error which is mentioned in description and in the screenshot.

How to document

None

Attachments

4

Activity

Show:

Peter Sirotnak March 6, 2025 at 7:56 AM

Tested using docker container for pmm client and ps 8.0 connected trough that pmm client container:

talha.rizwan February 19, 2025 at 7:46 AM

Hi,
Could you please try now with perconalab/pmm-client-fb:PR-3831-367134d?

Nailya Kutlubaeva February 12, 2025 at 2:44 PM

It seems to me something is wrong with permissions for ‘pmm’ folder. I started docker client and it fail with:

 

 

 

I re-checked with 3-dev-latest client container and everything is ok.

Aaditya Dubey December 24, 2024 at 1:31 PM

Hi

Thank you for the report.
It is verified as described.

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

No

Planned Version/s

Fix versions

Story Points

Sprint

Affects versions

Start date

Due date

Smart Checklist

Created December 18, 2024 at 8:49 AM
Updated last week
Resolved last week