Open harsh61426 opened 2 years ago
I formatted your description for better readability.
It seems it complains about invokerHealthTestAction.
How did you initialize CouchDB?
Thanks for formatting. To initialize CouchDB, I had initially tried to run this script https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/configMapFiles/initCouchDB/initdb.sh But it didn't work. So I downloaded the relevant files from the OpenWhisk repo and used the CouchDB parameters given in values.yaml, ran the ansible playbook commands.
Note: everything was working fine for the past few weeks
Is there a way to check invokerHealthTestAction?
I would look into the DB.
It generally looks like this.
{
"_id": "whisk.system/invokerHealthTestAction0",
"_rev": "187-cb37241d627e51fc27ba74690ab13fd2",
"annotations": [],
"entityType": "action",
"exec": {
"kind": "nodejs:10",
"code": "function main(params) { return params; }",
"binary": false
},
"limits": {
"concurrency": 1,
"logs": 0,
"memory": 128,
"timeout": 60000
},
"name": "invokerHealthTestAction0",
"namespace": "whisk.system",
"parameters": [],
"publish": false,
"updated": 1641283227482,
"version": "0.0.1"
}
I restarted the pods using kubectl rollout restart deploy which restarted alarmprovider, apigateway, couched, kafkaprovider, nginx and redis. After this the controller and invoker are now in running state.
But I have encountered other problems with OpenWhisk. The whisk namespace is empty when I check " wsk -i property get". This is not allowing action creation and invocations. I can't seem to find a way to set this value. Hence I tried reinstalling the couchDB part with no success.
The documentation part on deploying and initializing the couchDB is not clear. How exactly do I do it? Do I run all the scripts in https://github.com/apache/openwhisk-deploy-kube/tree/master/helm/openwhisk/configMapFiles ? In what order should I run them?
The scripts are run by the owdev-init-couchdb
job when the helm chart is first deployed. They are not intended to be run except during this initial deployment.
Im unable to get the Controller and Invoker to running 1/1 state.
I increased the initialDelaySeconds for the liveness and readiness probe for the controller, but it doesn't work. Can you please tell me how to resolve this issue?