| Summary: | Show 503 after rhc deploy nodejs-0.6 and nodejs-0.10 and jbossews-2.0 app | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Yan Du <yadu> |
| Component: | oc | Assignee: | Fabiano Franz <ffranz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | ffranz, lxia |
| 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: | 2014-01-24 03:24:20 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1020365 | ||
|
Description
Yan Du
2013-10-16 07:57:43 UTC
OK, I've reproduced this. The gear has not been restarted after the manual deploy. Logging into the gear and running 'gear restart' works fine. I believe this is actually an issue with rhc's Ruby SSH implementation. When issuing the deploy command directly to the gear via ssh works fine: `ssh user@host "gear deploy master"` What's happening with rhc is that when the SSH session closes, the nodejs supervisor process is receiving a SIGHUP and terminating, even though the supervisor process is launched with nohup. My suspicion is that something about rhc's ssh handling in ssh_helpers.rb#ssh_ruby is taking down the newly restarted supervisor with it when the process exits. Reassigning to the UI team to investigate the Net::SSH implementation to explain the different in behavior compared to ssh. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/01a92292cee97c0a424a220265c92b8e1d163cc6 Bug 1019646: Check if specified git ref is valid during deploy This also happen on jbossews-2.0. The same steps as description. Ooops. It still needs some work on CLI side. Fixed in pull request https://github.com/openshift/rhc/pull/487 Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/3ddf7f9dad2622bb39a633c79d8649ba6bc26c7d Fixes Bug 1019646 and Bug 1020473 test on devenv_3921 test ok with nodejs-0.6/nodejs-0.10/jbossews-2.0 app, all apps can be accessed normally after rhc deploy move the bug to verified |