Hi, while testing eventing functions I managed to get the cluster in a weird state.
My test does:
- Create a function (let’s call it
fn
). - While it’s being bootstrapped, set settings for it to become undeployed.
- Repeatedly call delete endpoint until
fn
gets deleted. - Create another function
fn
with different content. - While it’s being bootstrapped, set settings for it to become undeployed.
- Repeatedly call delete endpoint until
fn
gets deleted.
After this point, I tried to run again the same test, and immediately got an error ERR_APP_ALREADY_DEPLOYED
, even if in the UI no functions are visible, and the REST API returns an empty list for current functions. The cluster is now in this weird state.
Response:
{
"name": "ERR_APP_ALREADY_DEPLOYED",
"code": 20,
"description": "Function already deployed",
"attributes": null,
"runtime_info": {
"code": 20,
"info": "Function: db_eventing_integration_test_testFn_functionLifecycle_sameName another function with same name is already deployed, skipping save request"
}
}
Here are the logs at the current state: https://s3.amazonaws.com/cb-customers/Alberto+Marchetti/collectinfo-2018-09-04T175138-ns_1%40127.0.0.1.zip
Thanks,
Alberto