You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/03/09 17:06:44 UTC
[GitHub] [cloudstack] ravening commented on issue #3950: Docker build fails
in master
ravening commented on issue #3950: Docker build fails in master
URL: https://github.com/apache/cloudstack/issues/3950#issuecomment-596656524
@DaanHoogland I already have the changes mentioned in #3651 in my local branch and its still failing.
Below are the logs I found in the working docker image from 4.13
```
========> WARNING: Provided file does not exist: /root/developer/../utils/conf/db.properties.override
========> WARNING: Provided file does not exist: /root/developer/developer-prefill.sql.override
========> Initializing database=cloud with host=localhost port=3306 username=cloud password=cloud
============> Running query: drop database if exists `cloud`
============> Running query: create database `cloud`
============> Running query: GRANT ALL ON cloud.* to 'cloud'@`localhost` identified by 'cloud'
============> Running query: GRANT ALL ON cloud.* to 'cloud'@`%` identified by 'cloud'
```
But I dont see that while building image in 4.14 and below is the error I see
```
Step 12/15 : RUN find /var/lib/mysql -type f -exec touch {} \; && (/usr/bin/mysqld_safe &); sleep 5; mvn -Pdeveloper -pl developer -Ddeploydb; mvn -Pdeveloper -pl developer -Ddeploydb-simulator;
MARVIN_FILE=`find /root/tools/marvin/dist/ -name "Marvin*.tar.gz"`; pip install $MARVIN_FILE
---> Running in 0edc5833c9a0
2020-03-09T16:16:55.284684Z mysqld_safe Logging to syslog.
2020-03-09T16:16:55.294813Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2020-03-09T16:16:55.370564Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.s
ecurity.ProtectionDomain)
```
And because of this reason, I get db connection excpetion and the mgt server wont start
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services