Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-1823

Couldn't set <empty> password for encrypt password in pt-secure-collect

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I noticed we coouldn't set <empty> as encrypt password of pt-secure-collect log file.
       

      [vagrant@server1 ~]$ dbdeployer deploy single 8.0.19
      Database installed in $HOME/sandboxes/msb_8_0_19
      run 'dbdeployer usage single' for basic instructions'
      ......... sandbox server started
      
      [vagrant@server1 ~]$ pt-secure-collect collect --mysql-user=root --mysql-password=msandbox --mysql-host=127.0.0.1 --mysql-port=8019
      Encryption password: -> press Enter for set <empty>
      Re type password: -> press Enter for set <empty> again
      
      INFO[2020-04-10 17:20:20] Creating temporary directory: /home/vagrant/data_collection_2020-04-10_17_20_18 
      INFO[2020-04-10 17:20:20] Temp directory is "/home/vagrant/data_collection_2020-04-10_17_20_18" 
      INFO[2020-04-10 17:20:20] Creating output file "/home/vagrant/data_collection_2020-04-10_17_20_18/pt-stalk_2020-04-10_17_20_20.out" 
      INFO[2020-04-10 17:20:20] Running pt-stalk --no-stalk --iterations=2 --sleep=30 --host=127.0.0.1 --dest=/home/vagrant/data_collection_2020-04-10_17_219 --user=root --password=******** 
      INFO[2020-04-10 17:21:53] Creating output file "/home/vagrant/data_collection_2020-04-10_17_20_18/pt-summary_2020-04-10_17_21_53.out" 
      INFO[2020-04-10 17:21:53] Running pt-summary                           
      INFO[2020-04-10 17:21:55] Creating output file "/home/vagrant/data_collection_2020-04-10_17_20_18/pt-mysql-summary_2020-04-10_17_21_55.out" 
      INFO[2020-04-10 17:21:55] Running pt-mysql-summary --host=127.0.0.1 --port=8019 --user=root --password=******** 
      INFO[2020-04-10 17:22:07] Sanitizing output collected data             
      INFO[2020-04-10 17:23:02] Creating tar file "/home/vagrant/data_collection_2020-04-10_17_20_18/data_collection_2020-04-10_17_20_18.tar.gz" 
      

      pt-secure-collect command is done, but `./data_collection_2020-04-10_17_20_18/` don't include any files :
       

      [vagrant@server1 ~]$ ls data_collection_2020-04-10_17_20_18/
      [vagrant@server1 ~]$ 
      

       

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                lalit.choudhary Lalit Choudhary
                Reporter:
                y-taka Yoshimi Takahashi
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: