Bug 826374
Summary: | fail to create sacalable nodejs app on integration env | ||
---|---|---|---|
Product: | OKD | Reporter: | Meng Bo <bmeng> |
Component: | Containers | Assignee: | Rob Millner <rmillner> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | admiller, mfisher, mmcgrath |
Target Milestone: | --- | Keywords: | Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-08 17:58:41 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: |
Description
Meng Bo
2012-05-30 05:35:53 UTC
cannot reproduce this on latest devenv_1808 It looks like the app ctl script is failing to start after haproxy config. D, [2012-05-30T15:41:06.179758 #29997] DEBUG -- : libra.rb:307:in `cartridge_do_action' cartridge_do_action validation = embedded/haproxy-1.4 configure 'no1s' 'rlmtest' '44ea328b76854d90b1b989ea5238f2b3' D, [2012-05-30T15:41:09.044273 #29997] DEBUG -- : libra.rb:364:in `cartridge_do_action' cartridge_do_action ERROR (121) ------ Haproxy already stopped SSH_KEY_ADD: AAAAB3NzaC1yc2EAAAABIwAAAQEA3unosSAfgg/4r3FzMV7J/QmYqyAeXm9BjSsewfHyUWn+b6dGudW62kHDTjsqtgk7MKK3fwpVLp5fcKzbkSx0How0SIZ+ZvOTy7clAADqKvH9FDIB07sEy57IuYm03uutyO+0l7OyZop7knKPCTPBnenFAzhVuDfmXza42HIy95yvHw+bW4XY1aNuyv+7Vhr0M2bsibcXyJKZgTVRVnmbtZeMdDl1jTd8ZXCplYO3JtQCu7mevU/vcZt+9gfFe2fUpTyZaD+xEIqpsfW5nFWsQm885jp7B6vOnXUURINxKLZGrVJprVWmM2lPL2Ty0vSulxW+wH6W2hAajYL0uMtRhw== BROKER_AUTH_KEY_ADD: Failed to start /var/lib/stickshift/44ea328b76854d90b1b989ea5238f2b3/nodejs-0.6/no1s_ctl.sh ------) Need to be able to instrument the ctl script on INT to see what's happening. It doesn't reproduce on devenv so I'm declaring it not a build blocker unless it reproduces on the stage build. this issue also can be reproduced on latest stage. I can confirm on current stage environment. $ rhc app create -a no1s -t nodejs-0.6 -s -d --config ~/.openshift/express-stg.conf Submitting form: debug: true rhlogin: admiller Contacting https://stg.openshift.redhat.com Creating application: no1s in admillerstg /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-rest.rb:144:in `process_error_response': Failed to create application no1s due to:Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. (Rhc::Rest::ServerErrorException) from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-rest.rb:142:in `each' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-rest.rb:142:in `process_error_response' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-rest.rb:86:in `send' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-rest/domain.rb:30:in `add_application' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/lib/rhc-common.rb:511:in `create_app' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/bin/rhc-app:227:in `create_app' from /usr/lib/ruby/gems/1.8/gems/rhc-0.94.1/bin/rhc-app:499 from /usr/bin/rhc-app:19:in `load' from /usr/bin/rhc-app:19 Also lets make sure there's a cucumber test for this scenario Looks like this is an issue with the haproxy embedding: http://pastebin.test.redhat.com/91862 Line 95 Crankcase commit 3f4897c0dd05fcfb7417e9c36fbbec7c07593216 appears to fix the problem. Scalable nodejs creation shouldn't have worked on devenv - this may have masked another issue. Pull request accepted. I've added an @extended test where the scalable app cucumber tests are run for all app frameworks instead of just php. verified on latest stage , issue has been fixed. |