You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "lohitslohit (via GitHub)" <gi...@apache.org> on 2024/06/08 07:34:18 UTC
[I] CloudStack dev setup [cloudstack]
lohitslohit opened a new issue, #9189:
URL: https://github.com/apache/cloudstack/issues/9189
I am new to cloudstack. i had tried to setup cloudstack dev envirment. while executing the mvn -P developer -pl developer -Ddeploydb command while issue is raised. Unable to find properties file: commands.properties. How to fix this issue.
```
mvn -P developer -pl developer -Ddeploydb
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.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------< org.apache.cloudstack:cloud-developer >----------------
[INFO] Building Apache CloudStack Developer Mode 4.20.0.0-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (cloudstack-checkstyle) @ cloud-developer ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ cloud-developer ---
[WARNING] Ignoring missing properties file: /home/ubuntu18/OpenSource/cloudstack/developer/../utils/conf/db.properties.override
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer ---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) > validate @ cloud-developer >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (cloudstack-checkstyle) @ cloud-developer ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) < validate @ cloud-developer <<<
[INFO]
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
========> WARNING: Provided file does not exist: /home/ubuntu18/OpenSource/cloudstack/developer/../utils/conf/db.properties.override
========> WARNING: Provided file does not exist: /home/ubuntu18/OpenSource/cloudstack/developer/developer-prefill.sql.override
========> Initializing database=cloud with host=localhost port=3306 username=clouduser password=cloud
============> Running query: drop database if exists `cloud`
============> Running query: create database `cloud`
============> Running query: CREATE USER IF NOT EXISTS clouduser@`localhost` identified by 'cloud'
============> Running query: CREATE USER IF NOT EXISTS clouduser@`%` identified by 'cloud'
============> Running query: GRANT ALL ON cloud.* to 'clouduser'@`localhost`
============> Running query: GRANT ALL ON cloud.* to 'clouduser'@`%`
========> Initializing database=cloud_usage with host=localhost port=3306 username=clouduser password=cloud
============> Running query: drop database if exists `cloud_usage`
============> Running query: create database `cloud_usage`
============> Running query: CREATE USER IF NOT EXISTS clouduser@`localhost` identified by 'cloud'
============> Running query: CREATE USER IF NOT EXISTS clouduser@`%` identified by 'cloud'
============> Running query: GRANT ALL ON cloud_usage.* to 'clouduser'@`localhost`
============> Running query: GRANT ALL ON cloud_usage.* to 'clouduser'@`%`
========> Processing SQL file at /home/ubuntu18/OpenSource/cloudstack/developer/target/db/create-schema.sql
========> Processing SQL file at /home/ubuntu18/OpenSource/cloudstack/developer/target/db/create-schema-premium.sql
========> Processing SQL file at /home/ubuntu18/OpenSource/cloudstack/developer/target/db/templates.sql
========> Processing SQL file at /home/ubuntu18/OpenSource/cloudstack/developer/developer-prefill.sql
========> Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker
**13:00:26.897 [com.cloud.upgrade.DatabaseCreator.main()] ERROR com.cloud.utils.PropertiesUtil - Unable to find properties file: commands.properties**
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "lohitslohit (via GitHub)" <gi...@apache.org>.
lohitslohit commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2155874867
@weizhouapache During thre build process I had used `mvn -Pdeveloper,systemvm clean install` No error while executing this command.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #9189: CloudStack dev setup
URL: https://github.com/apache/cloudstack/issues/9189
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2157957881
@lohitslohit which version of java and MySQL are you running, can you share output of `mvn --version`, for example on my system it returns:
```
> mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 11.0.16.1, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk@11/11.0.16.1_1/libexec/openjdk.jdk/Contents/Home
Default locale: en_IN, platform encoding: UTF-8
OS name: "mac os x", version: "14.5", arch: "aarch64", family: "mac"
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "oferchen (via GitHub)" <gi...@apache.org>.
oferchen commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2158389867
try to update your proprietary dependencies https://github.com/apache/cloudstack/pull/9205 this is required if you use -Dnoredist
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2155859741
@lohitslohit
have you built the project successfully before running the command ?
what commands did you run ?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "lohitslohit (via GitHub)" <gi...@apache.org>.
lohitslohit commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2156688041
Any update on this?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CloudStack dev setup [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #9189:
URL: https://github.com/apache/cloudstack/issues/9189#issuecomment-2156726641
> Any update on this?
Have you made some changes on the code or settings?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org