Skip to content

unable to invoke action by docker  #4197

@axiqia

Description

@axiqia

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. 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()
  1. zip exec.zip hello.py

  2. wsk action create hello exec.zip --docker axiqia/ubuntu:python3action

  3. wsk action invoke hello -r
    ok: invoked /_/hello, but the request has not yet finished, with id 119aefadbfbb4c049aefadbfbb7c04d8

  4. wsk activation get 119aefadbfbb4c049aefadbfbb7c04d8

error: Unable to get activation '119aefadbfbb4c049aefadbfbb7c04d8': The requested resource does not exist. (code d9eb7cb32652189f3fd630f9c74831c9)

Thank you for help me!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions