Bug 987810
| Summary: | [fork][origin_runtime_186]some service can't start normally when create an apaerogear-push-0.8.0 app | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Yan Du <yadu> | ||||||||||||
| Component: | Containers | Assignee: | Farah Juma <fjuma> | ||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||
| Priority: | medium | ||||||||||||||
| Version: | 2.x | CC: | daniel.bevenius, matzew, pmorie | ||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Target Release: | --- | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | 2013-08-29 12:48:39 UTC | Type: | Bug | ||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Embargoed: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Yan Du
2013-07-24 08:11:03 UTC
Created attachment 777646 [details]
detail log
I haven't been able to reproduce this using a devenv instance based on the latest fork AMI (fork_ami_aerogear_push_709). In particular, all of the services start successfully for me. However, this could be a timing issue, i.e., it could be that the datasource service sometimes isn't started when the Netty service starts up. Dan is looking into this (see https://issues.jboss.org/browse/AGPUSH-213). A dependency on jpa has been added to the Netty module (see https://issues.jboss.org/browse/AGPUSH-213). This bug should no longer occur once a new fork AMI has been created. A new fork AMI that contains the fix for this issue is now available for testing. A new fork AMI that contains the fix for this issue is now available for testing. test on for_ami_pmorie_736, issue still can be reproduced. server.log has attached. pls. check it. thanks. Created attachment 781038 [details]
0731_server.log (fork_ami_pmorie_736)
A dependency on the datasource has been added to the netty subsystem. A new fork AMI that contains this fix is currently being built. The new fork AMI is still not ready for test. will re-test it once the new fork ami is ready. Thanks. The new fork AMI is now ready: fork_ami_aerogear_push_748 test on fork_ami_aerogear_push_748 still show some error in server.log, pls. refer to the attachment. Thanks. Created attachment 783639 [details]
fork_ami_aerogear_push_748 test log
Could you please also attach boot.log for the latest run? We have added a log statement at info level when we add the dependency to the configured data source. I don't see this in the log file attached and I like to verify. Thanks Created attachment 783662 [details]
boot log
Thanks for attaching the boot.log. I can see the log statement so this looks correct. It has been difficult for us to reproduce this issue and the only way has been to set breakpoints in the code. Obviously adding the dependency is not working and I'll look into this. Thanks A dependency on the datasource being bound in JNDI (as opposed to a dependency on the datasource service itself) has been added to the cartridge (as Dan described in https://issues.jboss.org/browse/AGPUSH-213?focusedCommentId=12795533&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12795533). This bug should hopefully no longer occur once the new fork AMI is ready. The new fork AMI is now ready for testing: fork_ami_aerogear_push_758 test on fork_ami_aerogear_push_758, most of the previous error in server.log disappeared, but seems still show ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate], (and i tried to create jbossas-7 app, there is no such error shown with jbossas-7 app.) You can refer detail log in attachment. thanks. Created attachment 786002 [details]
fork_ami_aerogear_push_758 log
Hello Yan, the ERROR is not a stopper, however a fix has been created. Please see this JIRA ticket for more details: https://issues.jboss.org/browse/AGPUSH-273 The new fork AMI is now ready for testing: fork_ami_aerogear_push_809 test on fork_ami_aerogear_push_809 no error shown when creating aerogear push server application. move the bug to verified. |