konveyor / mig-demo-apps

A collection of apps ideal for migration demos
Apache License 2.0
15 stars 70 forks source link

fix: Parks App #103

Closed mateusoliveira43 closed 10 months ago

mateusoliveira43 commented 10 months ago

Mongo ImageStream seems to be not available anymore in OCP, so App was being deployed without the parks showing in the map.

Some other minor changes to avoid warnings from oc commands

weshayutin commented 10 months ago

HA... well hello fips

Environment:
DEV_MODE=false
NODE_ENV=production
DEBUG_PORT=5858
Launching via npm...
npm info it worked if it ends with ok
npm info using npm@6.14.11
npm info using node@v10.24.0
npm info lifecycle restify-mongodb-parks@0.1.0~prestart: restify-mongodb-parks@0.1.0
npm info lifecycle restify-mongodb-parks@0.1.0~start: restify-mongodb-parks@0.1.0
> restify-mongodb-parks@0.1.0 start /opt/app-root/src
> node server.js
DB connection: mongodb://mongo-user-1:mongo-user-password@172.30.27.27:27017/restify-database
Listening on 0.0.0.0, port 8080
internal/crypto/hash.js:33
this._handle = new _Hash(algorithm);
^
Error: error:060800C8:digital envelope routines:EVP_DigestInit_ex:disabled for FIPS
at new Hash (internal/crypto/hash.js:33:18)
at Object.createHash (crypto.js:101:10)
at passwordDigest (/opt/app-root/src/node_modules/mongodb-core/lib/auth/scram.js:54:20)
at /opt/app-root/src/node_modules/mongodb-core/lib/auth/scram.js:212:25
at /opt/app-root/src/node_modules/mongodb-core/lib/connection/pool.js:469:18
at process._tickCallback (internal/process/next_tick.js:61:11)
npm info lifecycle restify-mongodb-parks@0.1.0~start: Failed to exec start script
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! restify-mongodb-parks@0.1.0 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the restify-mongodb-parks@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm timing npm Completed in 555ms
npm ERR! A complete log of this run can be found in:
npm ERR! /opt/app-root/src/.npm/_logs/2023-09-14T18_43_47_200Z-debug.log