Bug 966450
Summary: | "rebuild error Error" is shown when git push for nodetime quickstart and farmstand-nodejs-mongodb-example | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
Component: | Templates | Assignee: | Ben Parees <bparees> |
Status: | CLOSED CANTFIX | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | dmcphers, jkeck, wsun |
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: | 2015-06-29 03:54:45 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
Wei Sun
2013-05-23 10:16:36 UTC
Our version of nodejs is old. This works fine when used with https://github.com/openshift/nodejs-custom-version-openshift I am adding farmstand to this bug as they appear to be the same problem: Description of problem: Create farmstand-nodejs-mongodb-example quickstart as follow README.md.But failed to git push.It shows some error messages,like remote: Failed to execute: 'control build' for /var/lib/openshift/421340315062835938852864/nodejs: rc(1) Version-Release number of selected component (if applicable): devenv_3223 https://github.com/openshift/farmstand-nodejs-mongodb-example How reproducible: Always Steps to Reproduce: 1.Create quickstart as follow https://github.com/openshift/farmstand-nodejs-mongodb-example 2. 3. Actual results: 1.openshift@openshift-ubuntu:~/test/nd$ git push ----------skip--------------------- remote: gyp ERR! configure error Error: EXDEV, link '/usr/lib/node_modules/npm/node_modules/node-gyp/legacy/tools/gyp/gyptest.pyc' remote: gyp ERR! not ok remote: gmake: *** [node_gyp] Error 1 remote: child process exited with code 2 remote: npm info postinstall bson.5 remote: npm info build /var/lib/openshift/421340315062835938852864/app-root/runtime/repo/node_modules/mongodb remote: npm info linkStuff mongodb.11 remote: npm info install mongodb.11 remote: npm info postinstall mongodb.11 remote: npm ERR! remote: npm ERR! Additional logging details can be found in: remote: npm ERR! /var/lib/openshift/421340315062835938852864/app-root/runtime/repo/npm-debug.log remote: npm ERR! not ok code undefined remote: npm ERR! not ok code 1 remote: Failed to execute: 'control build' for /var/lib/openshift/421340315062835938852864/nodejs: rc(1) remote: stdout: #<IO:0x0000000150d2b8> remote: stderr#<IO:0x0000000150d240> remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:950:in `block in do_control_with_directory' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:776:in `process_cartridges' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:923:in `do_control_with_directory' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/v2_cart_model.rb:799:in `do_control' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/application_container.rb:502:in `build' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/default_builder.rb:37:in `post_receive' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.1/lib/openshift-origin-node/model/application_container.rb:421:in `post_receive' remote: /usr/bin/gear:133:in `block (3 levels) in <main>' remote: /usr/bin/gear:80:in `do_command' remote: /usr/bin/gear:132:in `block (2 levels) in <main>' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:180:in `call' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/command.rb:155:in `run' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:385:in `run_active_command' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/runner.rb:62:in `run!' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/delegates.rb:11:in `run!' remote: /opt/rh/ruby193/root/usr/share/gems/gems/commander-4.0.3/lib/commander/import.rb:10:in `block in <top (required)>' Expected results: Can create it successfully Additional info: The farmstand quickstart currently works with our nodejs cart, we had to bump the jquery version as well as fix the env variables. [1] The original description is misleading. Nodefly *DOES* work, but nodetime *DOES NOT* (as evidenced in the stack trace). There is a pull request in for nodetime to use the updated ENV variables. But as Mrunal pointed out, this will not work with our current nodejs version. [2] [1]: https://github.com/openshift/farmstand-nodejs-mongodb-example/commit/af6a6e82bb571bdc771dbd1af7589db8eead6b3c [2]: https://github.com/nodetime/nodetime-openshift-quickstart/pull/2 Need to retest .10 Nodejs the original repo (https://github.com/openshift/nodefly-openshift-quickstart) no longer exists. the https://github.com/nodetime/nodetime-openshift-quickstart repo appears to be abandoned, the pull was never merged. i'm inclined to close this. QE is there anything else you'd like to do with it? Since the original repo (https://github.com/openshift/nodefly-openshift-quickstart) no longer exists,close this bug is ok for me. |