Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:Perseo
Description
Created question in FIWARE Q/A platform on 19-06-2018 at 09:06
Please, ANSWER this question AT https://stackoverflow.com/questions/50922739/installation-timeout-on-perseo-docker-build
Question:
Installation timeout on Perseo Docker Build
Description:
I'm trying to install perseo following the guide from https://github.com/telefonicaid/perseo-core/blob/master/documentation/deployment.md
I guess that I have to install perseo-core first and after I have to install perseo-fe. When I'm trying to deploy perseo-core, I'm getting some errors (probably the issue is on my side).
When I try docker build -t perseo ., after few warnings, it seems it hangs at some point:
http://mirror.uv.es/mirror/CentOS/7.5.1804/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.uv.es/mirror/CentOS/7.5.1804/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
ftp://ftp.cesca.cat/centos/7.5.1804/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on ftp://ftp.cesca.cat/centos/7.5.1804/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
http://ftp.cica.es/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.cica.es/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
http://mirror.airenetworks.es/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://mirror.airenetworks.es/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
http://centos.uvigo.es/7.5.1804/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://centos.uvigo.es/7.5.1804/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
http://ftp.uma.es/mirror/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://ftp.uma.es/mirror/CentOS/7.5.1804/extras/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
If I try to install it from rpm, I get the next errors:
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.1yMNCh (%prep)
[centos@digitanimal-fiware-test-2018 rpm]$ ^C
[centos@digitanimal-fiware-test-2018 rpm]$ sudo ./create-rpm.sh 1 0.1
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iyb82M
+ umask 022
+ cd /home/centos/perseo-core/rpm/BUILD
+ echo '[INFO] Preparing installation'
[INFO] Preparing installation
+ rm -Rf /home/centos/perseo-core/rpm/BUILDROOT/perseo-cep-core-0.1-1.x86_64
+ mkdir -p /home/centos/perseo-core/rpm/BUILDROOT/perseo-cep-core-0.1-1.x86_64
+ '[' -d /home/centos/perseo-core/rpm/BUILDROOT/perseo-cep-core-0.1-1.x86_64/usr/share/tomcat/webapps ']'
+ mkdir -p /home/centos/perseo-core/rpm/BUILDROOT/perseo-cep-core-0.1-1.x86_64/usr/share/tomcat/webapps
+ cp -ax /home/centos/perseo-core/rpm/../target/perseo-core-0.1.war /home/centos/perseo-core/rpm/BUILDROOT/perseo-cep-core-0.1-1.x86_64/usr/share/tomcat/webapps/perseo-core.war
cp: cannot stat '/home/centos/perseo-core/rpm/../target/perseo-core-0.1.war': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.iyb82M (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.iyb82M (%prep)
Any help? Also, if there is any additional information from perseo, could you share the links? I'm using the doc coming from http://fiware-iot-stack.readthedocs.io/en/latest/cep/index.html and from github
Thanks
2018-12-10 15:06|CREATED monitor | # answers= 2, accepted answer= False