uptime-openshift icon indicating copy to clipboard operation
uptime-openshift copied to clipboard

Openshift fails to install Application

Open lupetalo opened this issue 10 years ago • 11 comments

Is it something regarding this app. Unable to complete the requested operation. Show less MongoDB 2.4 database added. Please make note of these credentials:

Root User: admin Root Password: lkumT_XVxaq7 Database Name: nodejs

Connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/ The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 562f41132d5271566400001e -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c4,c404' /bin/sh -c "gear postreceive --init >> /tmp/initial-build.log 2>&1""' returned an error. rc=255

.Last 10 kB of build output: info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/diff npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/growl npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/commander npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/ms npm info preinstall [email protected] npm http 304 https://registry.npmjs.org/ms npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/mkdirp npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug npm info installOne [email protected] npm info preinstall [email protected] npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/minimatch npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/graceful-fs npm info trying registry request attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/inherits npm http 200 https://registry.npmjs.org/graceful-fs npm http 200 https://registry.npmjs.org/minimatch npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug/node_modules/ms npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/debug npm info linkStuff [email protected] npm info install [email protected] npm info retry fetch attempt 1 at 05:19:54 npm info postinstall [email protected] npm info retry fetch attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm info retry fetch attempt 1 at 05:19:54 npm http GET https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm http 200 https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/socket.io/node_modules/socket.io-client npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm http 200 https://registry.npmjs.org/graceful-fs/-/graceful-fs-2.0.3.tgz npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/socket.io npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info installOne [email protected] npm info installOne [email protected] npm info installOne [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/xml2js/node_modules/sax npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/xml2js npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/inherits npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/graceful-fs npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info preinstall [email protected] npm info trying registry request attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/lru-cache npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade npm info installOne [email protected] npm info trying registry request attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/sigmund npm http 200 https://registry.npmjs.org/lru-cache npm info retry fetch attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz npm info retry fetch attempt 1 at 05:19:55 npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade/node_modules/mkdirp npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/jade npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info install [email protected] into /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info installOne [email protected] npm info installOne [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info preinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/lru-cache npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob/node_modules/minimatch npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha/node_modules/glob npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest/node_modules/mocha npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm info build /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo/node_modules/webpagetest npm info linkStuff [email protected] npm info install [email protected] npm info postinstall [email protected] npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is most likely a problem with the raw-socket package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls raw-socket npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-504.34.1.el6.x86_64 npm ERR! command "node" "/opt/rh/nodejs010/root/usr/bin/npm" "install" "-d" npm ERR! cwd /var/lib/openshift/562f41132d5271566400001e/app-root/runtime/repo npm ERR! node -v v0.10.35 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm info preuninstall [email protected] npm info uninstall [email protected] npm info postuninstall [email protected] npm info preuninstall [email protected] npm info uninstall [email protected] npm info postuninstall [email protected] npm ERR! not ok code 0 An error occurred executing 'gear postreceive' (exit code: 1) Error message: CLIENT_ERROR: Failed to execute: 'control build' for /var/lib/openshift/562f41132d5271566400001e/nodejs

For more details about the problem, try running the command again with the '--trace' option.

lupetalo avatar Oct 27 '15 09:10 lupetalo

I'm also getting this.

deavmi avatar Dec 06 '15 13:12 deavmi

Also facing this issue here.

pakyinsun avatar Dec 19 '15 14:12 pakyinsun

So am I....

vpapakir avatar Jul 04 '16 17:07 vpapakir

Nobody is going to see this unfortunately. Project is abandoned...

lupetalo avatar Jul 04 '16 17:07 lupetalo

Thanks for letting me know @lupetalo are you interested in working it a bit?

vpapakir avatar Jul 04 '16 17:07 vpapakir

@vpapakir I am not that capable with OpenShift scripts. Barely succeeded in starting the original Uptime...

lupetalo avatar Jul 04 '16 17:07 lupetalo

@lupetalo @vpapakir sorry, can't assist. Happy to transfer ownership of this repo if you'd like. Good luck

rkmallik avatar Jul 04 '16 17:07 rkmallik

Neither do I @lupetalo but I have recently started using OpenShift and I think I will stick to it for quite a few time, so let's give it a spin ;-)

Glad to take over the repo @rkmallik !

vpapakir avatar Jul 04 '16 18:07 vpapakir

Great, @vpapakir !

Per https://help.github.com/articles/about-repository-transfers/ It looks like you need to create a repo with the same name (uptime-openshift) for me to initiate the transfer. I think forking this repo should suffice. Let me know when you do that and I'll initiate the transfer

rkmallik avatar Jul 05 '16 16:07 rkmallik

I did already @rkmallik ! Thank you very much!

vpapakir avatar Jul 05 '16 16:07 vpapakir

Hello!

Uptime works again on OpenShift, feel free to create an app from this repo!

vpapakir avatar Mar 24 '17 12:03 vpapakir