apache / apache/openwhisk

Update Max memory and time OpenWhisk Backend - Fails Actions updated to use the new values

Open
#4,962 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

## Environment details:

*Kubernetes, kubernetes 1.13

Docker version 18.09.7

## Steps to reproduce the issue:

1. Changed the default max for memory and time as below:
actions:
time:
min: "100ms"
#LT: Updated
#max: "5m"
**max: "15m"**
#LT
std: "1m"
memory:
min: "128m"
#LT: Updated
#max: "512m"
**max: "1024m"**
#LT
std: "256m"
2. Post change create or update any function (python3) to use new max
Like change the function to use "-m 768" or '-m 1024" . The function fails to work and errors out with response
"response": {
"status": "whisk internal error",
"statusCode": 0,
"success": false,
"result": {
"error": "Action version is not compatible and cannot be invoked."
}
}
3. However, updating the function back to the old max still works.
4. There are no errors in updating function to the new max memory number only when invoking the function it fails.
5. invoker was restarted as per my knowledge but no difference.

## Provide the expected results and outputs:

```
The function should be transparent to this memory update
```

## Provide the actual results and outputs:

```
output comes here
```

## Additional information you deem important:
* The issue is persistent once the action is updated to use any value above the previous max 512
Also as i pointed above the issue is fixed when the function is updated back to use any value under or equal to the old max 512

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.