pt-sift doesn't download the correct files

Bug #1461947 reported by Miguel Angel Nieto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Confirmed
Undecided
Unassigned

Bug Description

Seems that curl instead of following the 301 redirection it just gets the error and save it as a file. The url works well when using wget:

======== xxxxxx at 2015_06_04_11_21_35 DEFAULT (2 of 2) ========
--diskstats--
./pt-diskstats: line 1: html: No such file or directory
./pt-diskstats: line 2: syntax error near unexpected token `<'
'/pt-diskstats: line 2: `<head><title>301 Moved Permanently</title></head>

./pt-diskstats: line 1: html: No such file or directory
./pt-diskstats: line 2: syntax error near unexpected token `<'
'/pt-diskstats: line 2: `<head><title>301 Moved Permanently</title></head>
./pt-diskstats: line 1: html: No such file or directory
./pt-diskstats: line 2: syntax error near unexpected token `<'
'/pt-diskstats: line 2: `<head><title>301 Moved Permanently</title></head>

--vmstat--
./pt-align: line 1: html: No such file or directory
./pt-align: line 2: syntax error near unexpected token `<'
'/pt-align: line 2: `<head><title>301 Moved Permanently</title></head>
wa 0% . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Changed in percona-toolkit:
status: New → Confirmed
Revision history for this message
Frank Cizmich (frank-cizmich) wrote :

This is a duplicate of:
https://bugs.launchpad.net/percona-toolkit/+bug/1457573

There's a small patch there.

Including it here for convenience and marking as duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.