You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/04/24 14:01:51 UTC

[GitHub] [incubator-openwhisk] cjelger opened a new issue #4455: Cannot update action kind if runtime is no longer supported

cjelger opened a new issue #4455: Cannot update action kind if runtime is no longer supported
URL: https://github.com/apache/incubator-openwhisk/issues/4455
 
 
   I tried to update the `kind` of an action that has an old runtime that has been removed, but this fails with the following error message:
   
   ```
   $ wsk action update foo --kind nodejs:10
   error: Unable to create action 'foo': The 'nodejs:10-fat' runtime is no longer supported. You may read and delete but not update or invoke this action. (code Jhgg2GzINamHp5yxACGBXjCbcViyU8bD)
   ```
   
   The `nodejs:10-fat` is indeed an old runtime that has been removed. I found the error message at:
   
   https://github.com/apache/incubator-openwhisk/blob/master/common/scala/src/main/scala/org/apache/openwhisk/http/ErrorResponse.scala#L56-L63
   
   so it looks like a backend issue and not an issue from the `wsk` CLI.
   
   I'd have expected that it is possible to update the `kind` in order to update all actions that use some deprecated runtime without having to redeploy the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services