Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"name":"S3" ,"error":{"code":"MODULE_NOT_FOUND" #5039

Open
o-lenczyk opened this issue Mar 9, 2023 · 0 comments
Open

"name":"S3" ,"error":{"code":"MODULE_NOT_FOUND" #5039

o-lenczyk opened this issue Mar 9, 2023 · 0 comments

Comments

@o-lenczyk
Copy link

I just started cloudserver:

kubectl run zenko --image zenko/cloudserver                                                                                                                           ─╯
pod/zenko created

logs here:

kubectl logs zenko                                                                                                                                                    ─╯
yarn run v1.22.15
$ npm-run-all --parallel start_dmd start_s3server
$ node index.js
$ npm-run-all --parallel start_mdserver start_dataserver
$ node dataserver.js
$ node mdserver.js
{"name":"S3","time":1678351685526,"error":{"code":"MODULE_NOT_FOUND","requireStack":["/usr/src/app/lib/kms/wrapper.js","/usr/src/app/lib/data/wrapper.js","/usr/src/app/lib
/utilities/healthcheckHandler.js","/usr/src/app/lib/utilities/internalHandlers.js","/usr/src/app/lib/server.js","/usr/src/app/index.js"]},"level":"warn","message":"scality
 kms unavailable. Using file kms backend unless mem specified.","hostname":"zenko","pid":62}
{"name":"MetadataFileServer","time":1678351685928,"error":"Cannot find module 'ioctl'\nRequire stack:\n- /usr/src/app/node_modules/arsenal/lib/storage/utils.js\n- /usr/src
/app/node_modules/arsenal/lib/storage/metadata/in_memory/metastore.js\n- /usr/src/app/node_modules/arsenal/lib/storage/metadata/MetadataWrapper.js\n- /usr/src/app/node_mod
ules/arsenal/index.js\n- /usr/src/app/lib/Config.js\n- /usr/src/app/mdserver.js","errorStack":"Error: Cannot find module 'ioctl'\nRequire stack:\n- /usr/src/app/node_modul
es/arsenal/lib/storage/utils.js\n- /usr/src/app/node_modules/arsenal/lib/storage/metadata/in_memory/metastore.js\n- /usr/src/app/node_modules/arsenal/lib/storage/metadata/
MetadataWrapper.js\n- /usr/src/app/node_modules/arsenal/index.js\n- /usr/src/app/lib/Config.js\n- /usr/src/app/mdserver.js\n    at Function.Module._resolveFilename (node:i
nternal/modules/cjs/loader:933:15)\n    at Function.Module._load (node:internal/modules/cjs/loader:778:27)\n    at Module.require (node:internal/modules/cjs/loader:1005:19
)\n    at require (node:internal/modules/cjs/helpers:102:18)\n    at trySetDirSyncFlag (/usr/src/app/node_modules/arsenal/lib/storage/utils.js:9:19)\n    at Object.setDirS
yncFlag (/usr/src/app/node_modules/arsenal/lib/storage/utils.js:46:13)\n    at MetadataFileServer.startServer (/usr/src/app/node_modules/arsenal/lib/storage/metadata/file/
MetadataFileServer.js:124:22)\n    at Object.<anonymous> (/usr/src/app/mdserver.js:28:14)\n    at Module._compile (node:internal/modules/cjs/loader:1101:14)\n    at Object
.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)","level":"warn","message":"WARNING: Synchronization directory updates are not supported on this platform
. Newly written data could be lost if your system crashes before the operating system is able to write directory updates.","hostname":"zenko","pid":115}
{"name":"MetadataFileServer","time":1678351685930,"level":"info","message":"creating metadata service at /MDFile/metadata","hostname":"zenko","pid":115}
{"name":"MetadataFileServer","time":1678351685935,"level":"info","message":"creating record log service at /MDFile/recordLog","hostname":"zenko","pid":115}
{"name":"MetadataFileServer","time":1678351685937,"level":"info","message":"starting metadata file backend server","hostname":"zenko","pid":115}
{"name":"MetadataFileServer","time":1678351685959,"level":"info","message":"This deployment's identifier is cec6eb31-019d-4468-9d87-b48e7874beee","hostname":"zenko","pid":
115}
{"name":"DataFileStore","time":1678351686052,"level":"info","message":"pre-creating 3511 subdirs...","hostname":"zenko","pid":104}
{"name":"DataFileStore","time":1678351686054,"error":"Cannot find module 'ioctl'\nRequire stack:\n- /usr/src/app/node_modules/arsenal/lib/storage/utils.js\n- /usr/src/app/
node_modules/arsenal/lib/storage/metadata/in_memory/metastore.js\n- /usr/src/app/node_modules/arsenal/lib/storage/metadata/MetadataWrapper.js\n- /usr/src/app/node_modules/
arsenal/index.js\n- /usr/src/app/dataserver.js","errorStack":"Error: Cannot find module 'ioctl'\nRequire stack:\n- /usr/src/app/node_modules/arsenal/lib/storage/utils.js\n
- /usr/src/app/node_modules/arsenal/lib/storage/metadata/in_memory/metastore.js\n- /usr/src/app/node_modules/arsenal/lib/storage/metadata/MetadataWrapper.js\n- /usr/src/ap
p/node_modules/arsenal/index.js\n- /usr/src/app/dataserver.js\n    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)\n    at Function.Module._l
oad (node:internal/modules/cjs/loader:778:27)\n    at Module.require (node:internal/modules/cjs/loader:1005:19)\n    at require (node:internal/modules/cjs/helpers:102:18)\
n    at trySetDirSyncFlag (/usr/src/app/node_modules/arsenal/lib/storage/utils.js:9:19)\n    at Object.setDirSyncFlag (/usr/src/app/node_modules/arsenal/lib/storage/utils.
js:46:13)\n    at /usr/src/app/node_modules/arsenal/lib/storage/data/file/DataFileStore.js:91:30\n    at FSReqCallback.oncomplete (node:fs:188:23)","level":"warn","message
":"WARNING: Synchronization directory updates are not supported on this platform. Newly written data could be lost if your system crashes before the operating system is ab
le to write directory updates.","hostname":"zenko","pid":104}
{"name":"DataFileStore","time":1678351686328,"level":"info","message":"data file store init complete, go forth and store data.","hostname":"zenko","pid":104}
{"name":"DataFileRESTServer","time":1678351686328,"method":"arsenal.network.Server.start","port":9991,"level":"info","message":"starting Server under http","hostname":"zen
ko","pid":104}
{"name":"DataFileRESTServer","time":1678351686332,"method":"arsenal.network.Server._onListening","address":{"address":"127.0.0.1","family":"IPv4","port":9991},"serverIP":"
localhost","serverPort":9991,"level":"info","message":"Server is listening","hostname":"zenko","pid":104}
{"name":"MetadataFileClient","time":1678351686689,"level":"info","message":"connecting to metadata service at http://localhost:9990/MDFile/metadata","hostname":"zenko","pi
d":62}

Is it expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant