Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-8239

mysql : mysqltuner script won't download due to new github raw URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mysql
    • Labels:
      None
    • Template:
      MODULES Bug Template
    • Method Found:
      Customer Feedback
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 3.10.0 up to 7.0.0
      Puppet Version: All
      OS Name/Version: All

      Github URL for downloading raw files has changed, breaking downloads of mysqltuner.

       

      Hardcoded URL in the module is:

      $_source  = "https://github.com/major/MySQLTuner-perl/raw/${version}/mysqltuner.pl" 

      Is now:

      https://raw.githubusercontent.com/major/MySQLTuner-perl/${version}/mysqltuner.pl
      

      Desired Behavior:

      Mysqltuner script is downloaded from Github

      Actual Behavior:

      File is not downloaded.

      Notice: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0]/Exec[/opt/staging/mysql/mysqltuner-v1.3.0]/returns:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
      Notice: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0]/Exec[/opt/staging/mysql/mysqltuner-v1.3.0]/returns:                                  Dload  Upload   Total   Spent    Left  Speed
      Notice: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0  0     0    0     0    0     0      0      0 --:--:--  0:03:33 --:--:--     0curl: (7) Failed connect to github.com:443; Operation now in progress
      Error: 'curl  -f -L -o /opt/staging/mysql/mysqltuner-v1.3.0 https://github.com/major/MySQLTuner-perl/raw/v1.3.0/mysqltuner.pl' returned 7 instead of one of [0]
      Error: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0]/Exec[/opt/staging/mysql/mysqltuner-v1.3.0]/returns: change from 'notrun' to ['0'] failed: 'curl  -f -L -o /opt/staging/mysql/mysqltuner-v1.3.0 https://github.com/major/MySQLTuner-perl/raw/v1.3.0/mysqltuner.pl' returned 7 instead of one of [0]
      Notice: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0]/File[/opt/staging/mysql/mysqltuner-v1.3.0]: Dependency Exec[/opt/staging/mysql/mysqltuner-v1.3.0] has failures: true
      Warning: /Stage[main]/Mysql::Server::Mysqltuner/Staging::File[mysqltuner-v1.3.0]/File[/opt/staging/mysql/mysqltuner-v1.3.0]: Skipping because of failed dependencies

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gadavis Geoff Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support