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/02/20 09:55:13 UTC

[GitHub] huksley opened a new issue #1037: Unable to deploy simple API with error msg_config_missing_apigw_access_token

huksley opened a new issue #1037: Unable to deploy simple API with error msg_config_missing_apigw_access_token
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/1037
 
 
   OS: Linux Ubuntu 18.04
   OpenWhisk deployed to docker using [devtools](https://github.com/apache/incubator-openwhisk-devtools/tree/master/docker-compose) compose setup
   
   I've tried using latest and 0.9.9 version of deploy
   
   I've created simple manifest [myservice.yaml](https://gist.github.com/huksley/efdf069e4be7551f06129cd0b7c6cefe)
   
   - [x] Deploying without APIs - successful
   - [ ] Deploying with `apis` block - error
   
   ```bash
   wskdeploy -m myservice.yaml -s -v
   Info: deploy using deployment file []...
   
   Info: Configuration:
         > ApiHost: []
         > Auth: []
         > Namespace: []
         > ApiVersion: []
         > CfgFile: [/home/user/.wskprops]
         > CliVersion: [0.9.9]
         > ProjectPath: [.]
         > DeploymentPath: []
         > ManifestPath: [myservice.yaml]
         > Preview: [false]
         > Strict: [true]
         > Key: []
         > Cert: []
         > Managed: [false]
         > ProjectName: []
         > ApigwAccessToken: []
         > Verbose: [true]
         > Trace: [false]
         > Sync: [false]
         > Report: [false]
         > Param: [[]]
         > ParamFile: []
   
   Info: The API host is [https://10.6.3.137], from .wskprops.
   Info: The auth key is set, from .wskprops.
   Info: The namespace is [_], from .wskprops.
   Info: Unmarshal OpenWhisk runtimes from local values.
   Warning: open /home/travis/gopath/src/github.com/apache/incubator-openwhisk-wskdeploy/runtimes/runtimes.json: no such file or directory
   Warning: [testapi1] is marked as public in manifest file, it will be visible and can be accessed by anyone
   Error: manifestreader.go [113]: [ERROR_YAML_FILE_FORMAT_ERROR]: File: [myservice.yaml]: 
   ==> manifest_parser.go [1154]: [ERROR_WHISK_CLIENT_INVALID_CONFIG]: msg_config_missing_apigw_access_token
   ```
   
   ```bash
   > user@machine:~$ cat .wskprops
   AUTH=deadbeef:deadbeef
   APIHOST=https://10.6.3.137
   ```
   

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