You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After building an image successfully, the pod that was generated by deployment configuration has an error "Crash loop back off".
I've followed an instruction below.
cd fisdemogui
oc new-project fisdemogui --display-name="Fuse Banking Demo - GUI" --description="Web GUI for Banking demo, does transfer and balance enquiry"
oc new-build --image-stream=nodejs --binary=true --name=fisdemogui
oc start-build fisdemogui --from-dir=. --follow
oc new-app fisdemogui
oc expose svc fisdemogui
The build stage from "oc start-build" is running successfully without any error.
The error will occurred in deployment stage after running "oc new-app" command.
Note: I also tried to change an image-stream from "nodejs" to "nodejs:8-RHOAR" as suggestion in this issue-363542292 but the error is the same.
The following is log from pod that was created by deployment config using a built container image from the build stage.
git version 1.8.3.1
Environment:
DEV_MODE=false
NODE_ENV=production
DEBUG_PORT=5858
Running as user uid=1001(default) gid=0(root) groups=0(root)
Launching via npm...
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info lifecycle [email protected]~prestart: [email protected]
npm info lifecycle [email protected]~start: [email protected]
> [email protected] start /opt/app-root/src
> npm run build:dev && node server/app.js
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
> [email protected] build:dev /opt/app-root/src
> webpack --config build/webpack.config.js
npm info lifecycle [email protected]~prebuild:dev: [email protected]
npm info lifecycle [email protected]~build:dev: [email protected]
sh: webpack: command not found
npm info lifecycle [email protected]~build:dev: Failed to exec build:dev script
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] build:dev: `webpack --config build/webpack.config.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 293ms
npm ERR! A complete log of this run can be found in:
npm ERR! /opt/app-root/src/.npm/_logs/2019-03-10T10_24_04_031Z-debug.log
npm info lifecycle [email protected]~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `npm run build:dev && node server/app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 1343ms
npm ERR! A complete log of this run can be found in:
npm ERR! /opt/app-root/src/.npm/_logs/2019-03-10T10_24_04_072Z-debug.log
Any body found the same issue ?
Or have any idea about this ?
The text was updated successfully, but these errors were encountered:
After building an image successfully, the pod that was generated by deployment configuration has an error "Crash loop back off".
I've followed an instruction below.
The build stage from "oc start-build" is running successfully without any error.
The error will occurred in deployment stage after running "oc new-app" command.
Note: I also tried to change an image-stream from "nodejs" to "nodejs:8-RHOAR" as suggestion in this issue-363542292 but the error is the same.
The following is log from pod that was created by deployment config using a built container image from the build stage.
Any body found the same issue ?
Or have any idea about this ?
The text was updated successfully, but these errors were encountered: