Add function via NooBaa Management Console fails...
See original GitHub issueEnvironment info
- NooBaa Version:
INFO[0000] CLI version: 5.7.0
INFO[0000] noobaa-image: noobaa/noobaa-core:5.7.0
INFO[0000] operator-image: noobaa/noobaa-operator:5.7.0
- Platform: OpenShift 4.7.4 - with NooBaa deployed via the OpenShift Container Storage operator.
Actual behavior
- Attempting to create a function via the NooBaa Management Console fails. A toast is displayed in the UI with the following message:
Creating function test failed
Expected behavior
- The function should be created successfully.
Steps to reproduce
- Open the NooBaa Management Console
- Select Functions in the left hand navigation menu
- Click the Create Function button
- In the Create Function modal dialog, enter a Function Name of
testand click the Next button - Enter the following function code:
function test() {
};
- Enter
testin the Execution Function field and click the Next button - Click the Create button
- The error toast is displayed in the bottom left hand corner
More information - Screenshots / Logs / Other output
The following message is seen in the logs for the noobaa-core-0 pod:
[32mJun-21 9:29:17.796[35m [WebServer/36] [31m[ERROR][39m CONSOLE:: RPC._on_request: ERROR srv func_api.create_func reqid 366@wss://noobaa-mgmt-openshift-storage.apps.cp4wa-474-msmiths-ocs.cp.fyre.ibm.com(znszq7.zzwr) connid ws://[::ffff:10.254.12.1]:52574/(2g7zspo2o9) TypeError: Cannot read property 'openUploadStream' of null
at /root/node_modules/noobaa-core/src/server/func_services/func_store.js:123:59
at new Promise (<anonymous>)
at FuncStore.create_code_gridfs (/root/node_modules/noobaa-core/src/server/func_services/func_store.js:122:16)
at Object.create_func (/root/node_modules/noobaa-core/src/server/func_services/func_server.js:72:10)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async /root/node_modules/noobaa-core/src/rpc/rpc.js:340:32
at async RPC._on_request (/root/node_modules/noobaa-core/src/rpc/rpc.js:348:25)
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
NooBaa Simple MCG Deployment stuck in configuring state
Description of problem: Hi Folks, I am trying to setup a simple MCG for Red Hat Quay registry using the following guide: ...
Read more >S3 and WebUI not responsive after heavy load by ... - GitHub
WebUI is not working after a heavy load was produced due to Noobaa-Function calls. The limit seems to be somewhere around 5k Events...
Read more >OpenShift Container Platform 4.11 release notes
Troubleshooting bootstrap failures during installation on AWS. The installation program now gathers serial console logs from the bootstrap and control plane ...
Read more >NooBaa Software Defined Storage
NooBaa ensures reliability, performance, and security across a heterogeneous and dynamic storage environment, in your datacenter, in the cloud, ...
Read more >Deploy Project Quay on OpenShift with the Quay Operator
The Project Quay Operator provides a simple method to deploy and manage Project Quay ... Red Hat OpenShift Data Foundation provides this API...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@guymguym Following your suggestion I installed also master with mongo and it worked for me.
Just for recap, for me it works, using master on both postgres and mongo
@msmiths Sure, Please keep me update when you have a newer version, as I can’t reproduce it. If this persists in the newer version, We would like to get the must gather, and we can look at the logs.