Issues

Select view

Select search mode

 

pt-query-digest >= 3.5.2 in docker image can't exec hostname: no such file or directory

Done

Description

When using the perconalab/percona-toolkit docker image , starting with 3.5.x, I see

Pipeline process 5 (iteration) caused an error: Can't exec "hostname": No such file or directory at /usr/bin/pt-query-digest line 6828.

With image 3.2.1:

On image 3.5.2 and later:

Environment

None

Smart Checklist

Details

Assignee

Reporter

Priority

Components

Affects versions

Fix versions

Needs QA

Yes

Smart Checklist

Created January 12, 2024 at 10:56 AM
Updated July 22, 2024 at 3:25 PM
Resolved January 15, 2024 at 2:25 PM

Activity

Andreas WachowskiJanuary 15, 2024 at 1:50 PM

LGTM. Thank you all for the prompt response!

Sveta SmirnovaJanuary 15, 2024 at 1:26 PM

Fix verified. please mark this ticket as “Resolved”.

surabhi.bhatJanuary 15, 2024 at 12:58 PM

The issue has been fixed now and the updated docker images have been pushed to percona and perconalab organizations on docker hub. Please check the docker images with the below tags for the fix:

percona-toolkit:3.5.7
percona-toolkit:3.5
percona-toolkit:3
percona-toolkit:latest

Sveta SmirnovaJanuary 12, 2024 at 12:02 PM

Please ignore my last comment: hostname does not exist in the new Docker image either.

Verified as described.

Sveta SmirnovaJanuary 12, 2024 at 11:51 AM

Thank you for the report.

Could you please try with the latest 3.5.7 image from ? We reworked Docker images for the Percona Toolkit and they are now part of the percona hub.