Aled Sage created BROOKLYN-589:
----------------------------------
Summary: MariaDB install fails on AWS: ftp.hosteurope.de very slow
Key: BROOKLYN-589
URL: https://issues.apache.org/jira/browse/BROOKLYN-589
Project: Brooklyn
Issue Type: Bug
Affects Versions: 0.12.0
Reporter: Aled Sage
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:
{noformat}
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
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)