GravityInc commented on issue #1005: Action has no kind set - Error decoding runtimes with Local Values URL: https://github.com/apache/openwhisk-wskdeploy/issues/1005#issuecomment-590751443 Hi Guys, This is the first time im raising an issue so apology if im not following the process. Please can you guide me to the process to raise the below issue. My yaml file is: packages: hello_world_package: version: 1.0 license: Apache-2.0 actions: hello_world: function: hello.js runtime: nodejs:10 when i try wskdeploy i get the error: Info: The API host is [https://cloud.ibm.com], from command line. Info: The auth key is set, from command line. Info: The namespace is [badc09ad-d0e6-4b13-b880-706ce18fb183], from command line. Info: The API Gateway access token is set, from .wskprops. Info: The API Gateway Tenant ID is [{crn:v1:bluemix:public:functions:us-south:a/0a919041b78748d290b0da5716ecde30:badc09ad-d0e6-4b13-b880-706ce18fb183:: .wskprops}], from .wskprops. Warning: Invalid or missing runtime [nodejs:10] 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 [128]: [ERROR_YAML_FILE_FORMAT_ERROR]: File: [manifest.yaml]: ==> manifestreader.go [348]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yaml]: Action [hello_world] has no kind set. ==> MBC1MQV1MVG940:test u352443$ wskdeploy --apihost https://cloud.ibm.com --auth ELUKpzTTV_RI83eJ56h3t90uqJCFHDWXzq3RoAu8sFkv --namespace badc09ad-d0e6-4b13-b880-706ce18fb183 -v Info: deploy using manifest file [/Users/u352443/Projects/dump/test/manifest.yaml]... Info: deploy using deployment file []... Info: CLI Flags: > ApiHost: [https://cloud.ibm.com] > Auth: [ELUKpzTTV_RI83eJ56h3t90uqJCFHDWXzq3RoAu8sFeew] > Namespace: [badc09ad-d0e6-4b13-b880-706ce18fb183] > ApiVersion: [] > CfgFile: [/Users/u352443/.wskprops] > CliVersion: [unset] > CliGitCommit: [unset] > CliBuildDate: [unset] > ProjectPath: [.] > DeploymentPath: [] > ManifestPath: [/Users/u352443/Projects/dump/test/manifest.yaml] > 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 [https://cloud.ibm.com], from command line. Info: The auth key is set, from command line. Info: The namespace is [badc09ad-d0e6-4b13-55t5-706ce18fb183], from command line. Info: The API Gateway access token is set, from .wskprops. Info: The API Gateway Tenant ID is [{crn:v1:bluemix:public:functions:us-south:a/0a919041b78748d2931212da5716ecde30:badc09ad-3dde4-4b13-qwdq3dqw-706ce18fb183:: .wskprops}], from .wskprops. Warning: Invalid or missing runtime [nodejs:10] 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 [128]: [ERROR_YAML_FILE_FORMAT_ERROR]: File: [manifest.yaml]: ==> manifestreader.go [348]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yaml]: 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 to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
