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 2018/11/29 04:52:17 UTC

[GitHub] npearce commented on issue #1005: Action has no kind set - Error decoding runtimes with Local Values

npearce commented on issue #1005: Action has no kind set - Error decoding runtimes with Local Values
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/1005#issuecomment-442705866
 
 
   I believe I ran into the same problem with a fresh docker-compose install today. 
   
   You can work around this with `--strict`
   
   Verbose '-v' output below - note the missing runtimes.json warning:
   
   ```
   $ wskdeploy  -m manifest.yml -v
   Info: deploy using deployment file []...
   
   Info: Configuration:
         > ApiHost: []
         > Auth: []
         > Namespace: []
         > ApiVersion: []
         > CfgFile: [/Users/npearce/.wskprops]
         > CliVersion: [0.9.9]
         > ProjectPath: [.]
         > DeploymentPath: []
         > ManifestPath: [manifest.yml]
         > Preview: [false]
         > Strict: [false]
         > Key: []
         > Cert: []
         > Managed: [false]
         > ProjectName: []
         > ApigwAccessToken: []
         > Verbose: [true]
         > Trace: [false]
         > Sync: [false]
         > Report: [false]
         > Param: [[]]
         > ParamFile: []
   
   Info: The API host is [xxxxxxxxxx], from .wskprops.
   Info: The auth key is set, from .wskprops.
   Info: The namespace is [guest], from .wskprops.
   Info: Unmarshal OpenWhisk runtimes from local values.
   Warning: open /private/tmp/wskdeploy-20181108-94023-1cdcxf7/incubator-openwhisk-wskdeploy-0.9.9/src/github.com/apache/incubator-openwhisk-wskdeploy/runtimes/runtimes.json: no such file or directory
   Warning: Invalid or missing runtime [nodejs:6] specified in manifest for the action [hello_world].
   Warning: Runtime changed to [] based on the action's source file extension for action [hello_world].
   Error: manifestreader.go [123]: [ERROR_YAML_FILE_FORMAT_ERROR]: File: [manifest.yml]:
   ==> manifestreader.go [334]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yml]: Action [hello_world] has no kind set.
   ==>
   $
   ```

----------------------------------------------------------------
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