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/01/03 14:40:55 UTC

[GitHub] axiqia opened a new issue #4197: unable to invoke action by docker

axiqia opened a new issue #4197: unable to invoke action by docker 
URL: https://github.com/apache/incubator-openwhisk/issues/4197
 
 
   
   ## Environment details:
   
   * local deployment, Ubuntu 16.04.5 LTS
   * Docker version 18.09.0, build 4d60db4
   
   
   I can use `dockerSkeleton` to invoke docker actions following [here](https://github.com/apache/incubator-openwhisk/blob/master/docs/actions-docker.md). But when I try to invoke an action based on my own docker image, there is something wrong.
   
   ## Steps to reproduce the issue:
   
   1.  ` $ cat hello.py        `
   ```
   def main():
       greeting = "Hello " + "!"
       print(greeting)
       return {"greeting": greeting}
   
   if __name__ == "__main__":
       main()
   ```
   
   2.   `zip exec.zip hello.py`
   3.   `wsk action create hello exec.zip --docker axiqia/ubuntu:python3action`
   4.  `wsk action invoke hello -r `
   `ok: invoked /_/hello, but the request has not yet finished, with id 119aefadbfbb4c049aefadbfbb7c04d8`
   
   
   6. ` wsk activation get 119aefadbfbb4c049aefadbfbb7c04d8 `   
   ``` 
   error: Unable to get activation '119aefadbfbb4c049aefadbfbb7c04d8': The requested resource does not exist. (code d9eb7cb32652189f3fd630f9c74831c9)
   ```
   
   Thank you for help me!
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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