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 2021/05/23 16:11:16 UTC
[GitHub] [cloudstack] pmury opened a new issue #3397: Docker simulator not working, built in DB configuration problem
pmury opened a new issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and master branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
Issue with Docker based simulator
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master branch.
-->
~~~
4.13 SNAPSHOT, "latest" image tag
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
Docker CE 18.09.6
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Ubuntu 18.04.2 LTS
##### SUMMARY
<!-- Explain the problem/feature briefly -->
Can't access UI via localhost:8080: 503 error Service not available.
According to docker logs there's a database configuration problem:
Caused by: java.sql.SQLException: Access denied for user 'cloud'@'localhost' (using password: YES)
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
As README says: run Docker container and access it.
docker run --name simulator -p 8080:8080 -d cloudstack/simulator
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Simulator UI is accessible
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
HTTP ERROR: 503
Problem accessing /client/. Reason:
Service Unavailable
~~~
--
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
[GitHub] [cloudstack] tampler commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-993473715
Hi @weizhouapache @rhtyd
I've pulled Wei's image from [here](https://hub.docker.com/r/ustcweizhou/cloudstack-simulator). I was able to boot it. I'll be looking at it these days.
Wei, could you pls upload it to the official ACS account [here](https://hub.docker.com/r/cloudstack/simulator) And drop obsolete images not to confuse people.
--
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
[GitHub] [cloudstack] rhtyd commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-993421382
Hi @tampler yes the docker support is not officially maintained, I think some of my colleagues may have some idea, cc @weizhouapache @DaanHoogland @sureshanaparti
--
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
[GitHub] [cloudstack] rhtyd commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-672742432
Looks like fixed in https://github.com/apache/cloudstack/commit/9abb703a41a48fc16bc8153451b3c403d4522454
Please reopen if against latest master this is still reproducible
----------------------------------------------------------------
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
[GitHub] [cloudstack] tampler commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
tampler commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-992220822
I'm having the same issue with the latest 4.15 code. Simulator seems to be totally unmainted on Docker as per [this](https://hub.docker.com/r/cloudstack/simulator).
After building the ACS I had to manually run `ssh-keygen` command to produce a `id_rsa.cloud` key and restart the simulator container. Now, I'm getting a null-pointer exception as below. The full log is here: [sim.log](https://github.com/apache/cloudstack/files/7702115/sim.log)
```bash
[0m INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [root-ca] from URL [jar:file:/acs/client/target/cloud-client-ui-4.15.3.0-SNAPSHOT.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
[0m INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) (logid:) Configuring CloudStack Components
[0m [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@10f192d8{/client,file:///acs/client/target/classes/META-INF/webapp/,UNAVAILABLE}{file:///acs/client/target/classes/META-INF/webapp/}
[0m org.springframework.context.ApplicationContextException: Failed to start bean 'cloudStackLifeCycle'; nested exception is java.lang.NullPointerException
[0m at org.springframework.context.support.DefaultLifecycleProcessor.doStart (DefaultLifecycleProcessor.java:181)
[0m at org.springframework.context.support.DefaultLifecycleProcessor.access$200 (DefaultLifecycleProcessor.java:54)
[0m at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start (DefaultLifecycleProcessor.java:356)
```
@rhtyd Could you pls take a look
--
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
[GitHub] [cloudstack] weizhouapache commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-993425549
@tampler
could you please test with 4.16.0.0 ?
issues should have been fixed by #5507
--
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
[GitHub] [cloudstack] martin-sweeny commented on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
martin-sweeny commented on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-846528703
Experiencing this with docker simulator on `latest`
--
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
[GitHub] [cloudstack] tampler edited a comment on issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397#issuecomment-992220822
I'm having the same issue with the latest 4.15 code. Simulator seems to be totally unmainted on Docker as per [this](https://hub.docker.com/r/cloudstack/simulator).
Ubuntu 21.10
Docker 20.10.11
After building the ACS I had to manually run `ssh-keygen` command to produce a `id_rsa.cloud` key and restart the simulator container. Now, I'm getting a null-pointer exception as below. The full log is here: [sim.log](https://github.com/apache/cloudstack/files/7702115/sim.log)
```bash
[0m INFO [o.a.c.s.m.m.i.DefaultModuleDefinitionSet] (main:null) (logid:) Loading module context [root-ca] from URL [jar:file:/acs/client/target/cloud-client-ui-4.15.3.0-SNAPSHOT.jar!/META-INF/cloudstack/bootstrap/spring-bootstrap-context-inheritable.xml]
[0m INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] (main:null) (logid:) Configuring CloudStack Components
[0m [WARNING] Failed startup of context o.e.j.m.p.JettyWebAppContext@10f192d8{/client,file:///acs/client/target/classes/META-INF/webapp/,UNAVAILABLE}{file:///acs/client/target/classes/META-INF/webapp/}
[0m org.springframework.context.ApplicationContextException: Failed to start bean 'cloudStackLifeCycle'; nested exception is java.lang.NullPointerException
[0m at org.springframework.context.support.DefaultLifecycleProcessor.doStart (DefaultLifecycleProcessor.java:181)
[0m at org.springframework.context.support.DefaultLifecycleProcessor.access$200 (DefaultLifecycleProcessor.java:54)
[0m at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start (DefaultLifecycleProcessor.java:356)
```
@rhtyd Could you pls take a look
--
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
[GitHub] [cloudstack] rhtyd closed issue #3397: Docker simulator not working, built in DB configuration problem
Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #3397:
URL: https://github.com/apache/cloudstack/issues/3397
----------------------------------------------------------------
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