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
Describe the bug
When we use any version of cubejs/cube past v0.35.10, our cube deployment results in the following errors:
"error": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.",
"stack": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.\n at FileRepository.getFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:31:13)\n at FileRepository.dataSchemaFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:46:19)\n at DataSchemaCompiler.doCompile (/cube/node_modules/@cubejs-backend/schema-compiler/src/compiler/DataSchemaCompiler.js:81:19)\n at CompilerApi.getCompilers (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:67:26)\n at CompilerApi.metaConfig (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:221:23)\n at ApiGateway.load (/cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1597:30)\n at /cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:257:7"
Describe the bug
When we use any version of cubejs/cube past v0.35.10, our cube deployment results in the following errors:
"error": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.",
"stack": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.\n at FileRepository.getFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:31:13)\n at FileRepository.dataSchemaFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:46:19)\n at DataSchemaCompiler.doCompile (/cube/node_modules/@cubejs-backend/schema-compiler/src/compiler/DataSchemaCompiler.js:81:19)\n at CompilerApi.getCompilers (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:67:26)\n at CompilerApi.metaConfig (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:221:23)\n at ApiGateway.load (/cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1597:30)\n at /cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:257:7"
We are deploying cube to aks following a similar chart structure as what is documented here: https://github.com/cube-js/cube/tree/master/examples/kubernetes/cluster
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the api results to come back with valid data from our ConfigMap that was specified in the query parameter of the call.
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
v0.35.11 through latest does not work
Example cube.js file in root
The text was updated successfully, but these errors were encountered: