Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-589

MariaDB install fails on AWS: ftp.hosteurope.de very slow

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      I tried to deploy MariaDB to the centos.org marketplace AMI in AWS (eu-central-1/ami-1e038d71).

      This uses the entity org.apache.brooklyn.entity.database.mariadb.MariaDbNode, via the test in https://github.com/brooklyncentral/brooklyn-mariadb-node/.

      However, the install ssh command didn't complete. It kept trying to curl the mariadb tar.gz from http://ftp.hosteurope.de, but was getting less than 1 bytes/sec back.

      Logging into the VM and trying this manually, I saw:

      curl -v -f -L -k --retry 10 --keepalive-time 30 --speed-time 30 "http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-10.2.6/bintar-linux-x86_64/mariadb-10.2.6-linux-x86_64.tar.gz" -o mariadb-10.2.6-linux-x86_64.tar.gz
      
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                       Dload  Upload   Total   Spent    Left  Speed
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to ftp.hosteurope.de port 80 (#0)
      *   Trying 80.237.136.138...
      * Connected to ftp.hosteurope.de (80.237.136.138) port 80 (#0)
      > GET /mirror/archive.mariadb.org/mariadb-10.2.6/bintar-linux-x86_64/mariadb-10.2.6-linux-x86_64.tar.gz HTTP/1.1
      > User-Agent: curl/7.29.0
      > Host: ftp.hosteurope.de
      > Accept: */*
      > 
        0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0* Operation too slow. Less than 1 bytes/sec transferred the last 30 seconds
        0     0    0     0    0     0      0      0 --:--:--  0:00:30 --:--:--     0
      * Closing connection 0
      Warning: Transient problem: timeout Will retry in 1 seconds. 10 retries left.
      * About to connect() to ftp.hosteurope.de port 80 (#1)
      *   Trying 80.237.136.138...
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to ftp.hosteurope.de (80.237.136.138) port 80 (#1)
      > GET /mirror/archive.mariadb.org/mariadb-10.2.6/bintar-linux-x86_64/mariadb-10.2.6-linux-x86_64.tar.gz HTTP/1.1
      > User-Agent: curl/7.29.0
      > Host: ftp.hosteurope.de
      > Accept: */*
      > 
        0     0    0     0    0     0      0      0 --:--:--  0:00:29 --:--:--     0
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              aled.sage Aled Sage
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: