[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-17 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-382166164
 
 
   Hi @mdeuser @akrabat @rabbah @jthomas @jcrossley3 
   
   I tried to run installRouteMgmt.sh , by passing all the parameters required 
to it in both(ubuntu and cent-OS ) environments
   
   
AUTH="23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP"
   APIHOST="https://10.123.70.204;
   NAMESPACE="guest"
   
OPENWHISK_HOME="/home/ubuntu/incubator-openwhisk-devtools/docker-compose/openwhisk-master"
   
WSK_CLI="/home/ubuntu/incubator-openwhisk-devtools/docker-compose/openwhisk-master/bin/wsk"
   GW_USER=""
   GW_PWD=""
   GW_HOST_V2="https://10.123.70.204:9000/v1;
   
   then ran below command 
   
   $WSK_CLI -i --apihost "$APIHOST" package update --auth "$AUTH"  --shared no 
"$NAMESPACE/apimgmt" -a description "This package manages the gateway API 
configuration." -p gwUser "$GW_USER" -p gwPwd "$GW_PWD" -p gwUrlV2 
"$GW_HOST_V2" -d -v 
   
   Output 
   
   
ubuntu@ip-10-123-70-204:~/incubator-openwhisk-devtools/docker-compose/openwhisk-master/bin$
 $WSK_CLI -i --apihost "$APIHOST" package update --auth "$AUTH"  --shared no 
"$NAMESPACE/apimgmt" -a description "This package manages the gateway API 
configuration." -p gwUser "$GW_USER" -p gwPwd "$GW_PWD" -p gwUrlV2 
"$GW_HOST_V2" -d -v
   [commands.NewQualifiedName]:132:[Inf] Qualified pkg+entity (EntityName): 
guest/apimgmt
   [commands.NewQualifiedName]:133:[Inf] Qualified namespace: guest
   [commands.NewQualifiedName]:134:[Inf] Qualified package: guest
   [commands.NewQualifiedName]:135:[Inf] Qualified entity: apimgmt
   [-cli/commands.parseShared]:988:[Err] Sharing is 'false'
   [k-cli/commands/package.go]:224:[Inf] Parsing parameters: 
[]string{"{\"gwUser\": \"\"}", "{\"gwPwd\": \"\"}", "{\"gwUrlV2\": 
\"https://10.123.70.204:9000/v1\"}"}
   [mmands.getJSONFromStrings]:058:[Inf] Convert content to JSON: 
[]string{"{\"gwUser\": \"\"}", "{\"gwPwd\": \"\"}", "{\"gwUrlV2\": 
\"https://10.123.70.204:9000/v1\"}"}
   [mmands.getJSONFromStrings]:068:[Inf] Created map 'map[gwUser:]' from 
'{"gwUser": ""}'
   [mmands.getJSONFromStrings]:068:[Inf] Created map 'map[gwUser: gwPwd:]' from 
'{"gwPwd": ""}'
   [mmands.getJSONFromStrings]:068:[Inf] Created map 'map[gwUser: gwPwd: 
gwUrlV2:https://10.123.70.204:9000/v1]' from '{"gwUrlV2": 
"https://10.123.70.204:9000/v1"}'
   [.getKeyValueFormattedJSON]:091:[Inf] Created key/value format '[{gwUser } 
{gwPwd } {gwUrlV2 https://10.123.70.204:9000/v1}]' from 'map[gwPwd: 
gwUrlV2:https://10.123.70.204:9000/v1 gwUser:]'
   [k-cli/commands/package.go]:235:[Inf] Parsing annotations: 
[]string{"{\"description\": \"This package manages the gateway API 
configuration.\"}"}
   [mmands.getJSONFromStrings]:058:[Inf] Convert content to JSON: 
[]string{"{\"description\": \"This package manages the gateway API 
configuration.\"}"}
   [mmands.getJSONFromStrings]:068:[Inf] Created map 'map[description:This 
package manages the gateway API configuration.]' from '{"description": "This 
package manages the gateway API configuration."}'
   [.getKeyValueFormattedJSON]:091:[Inf] Created key/value format 
'[{description This package manages the gateway API configuration.}]' from 
'map[description:This package manages the gateway API configuration.]'
   [k.(*Client).addAuthHeader]:298:[Inf] Adding basic auth header; using authkey
   REQUEST:
   [PUT]   
https://10.123.70.204/api/v1/namespaces/guest/packages/guest/apimgmt?overwrite=true
   Req Headers
   {
 "Authorization": [
   "Basic 
MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A="
 ],
 "Content-Type": [
   "application/json"
 ],
 "User-Agent": [
   "OpenWhisk-CLI/1.0 (2018-04-17T03:17:54.816+)"
 ]
   }
   Req Body
   
{"namespace":"guest","name":"guest/apimgmt","publish":false,"annotations":[{"key":"description","value":"This
 package manages the gateway API 
configuration."}],"parameters":[{"key":"gwUser","value":""},{"key":"gwPwd","value":""},{"key":"gwUrlV2","value":"https://10.123.70.204:9000/v1"}]}
   
   [go/whisk.PrintRequestInfo]:458:[Inf] Req Body (ASCII quoted string):
   
"{\"namespace\":\"guest\",\"name\":\"guest/apimgmt\",\"publish\":false,\"annotations\":[{\"key\":\"description\",\"value\":\"This
 package manages the gateway API 
configuration.\"}],\"parameters\":[{\"key\":\"gwUser\",\"value\":\"\"},{\"key\":\"gwPwd\",\"value\":\"\"},{\"key\":\"gwUrlV2\",\"value\":\"https://10.123.70.204:9000/v1\"}]}\n;
   RESPONSE:Got response with code 404
   Resp Headers
   {
 "Connection": [
   "keep-alive"
 ],
 "Content-Length": [
   "64"
 ],
 "Content-Type": [
   "application/json"
 ],
 "Date": [
   "Tue, 17 Apr 2018 21:41:26 GMT"
 ],
 "Server": [
   "openwhisk/api-gateway-1.9.3.1"
 

[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-17 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-382111360
 
 
   Hi @mdeuser  @akrabat @rabbah @jthomas @jcrossley3 
   
   We are trying to install and use openwhisk in corporate environment. 
   Cent-OS is the preferred operating system that we want to use. 
   
   Is there any documentation , webpages that have all the steps in detail for 
the installation process. 
   It seems api functions (api list ,create) are not working when we tried 
installation through below links
   
   1. https://github.com/apache/incubator-openwhisk
   2. https://github.com/apache/incubator-openwhisk-devtools
   3. https://blog.krugazor.eu/2017/12/openwhisk-centos-installation-part-2/ 
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-17 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-382111360
 
 
   Hi @mdeuser  , 
   
   We are trying to install and use openwhisk in corporate environment. 
   Cent-OS is the preferred operating system that we want to use. 
   
   Is there any documentation , webpages that have all the steps in detail for 
the installation process. 
   It seems api functions (api list ,create) are not working when we tried 
installation through below links
   
   1. https://github.com/apache/incubator-openwhisk
   2. https://github.com/apache/incubator-openwhisk-devtools
   3. https://blog.krugazor.eu/2017/12/openwhisk-centos-installation-part-2/ 
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-16 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-381705113
 
 
   @mdeuser  thanks !
   
   CLI is not installed correctly. when i run 
   
   ansible-playbook -i environments/local openwhisk.yml
   
   Monday 16 April 2018  11:00:41 -0400 (0:00:00.574)   0:00:49.831 
**
   fatal: [controller0]: FAILED! => {"changed": false, "msg": "Error pulling 
image whisk/controller:latest - 404 Client Error: Not Found 
(\"{\"message\":\"pull access denied for whisk/controller, repository does not 
exist or may require 'docker login'\"}\")"}
   
   Error pulling image whisk/controller:latest - 404 Client Error: Not Found
   ("{"message":"pull access denied for whisk/controller, repository does not 
exist
   or may require 'docker login'"}")
   
   i tried running routemgmnt.yml also , it failed with connection refused 
error 
   
   ansible-playbook  -i environments/local   routemgmt.yml
   
   TASK [cli-install : Grab the local CLI from the binaries unarchived into 
nginx] 

   Monday 16 April 2018  11:16:18 -0400 (0:00:03.486)   0:00:10.615 
**
   fatal: [ansible]: FAILED! => {"changed": false, "dest": 
"/home/mparuthickal/openwhisk/ansible/../bin", "gid": 0, "group": "root", 
"mode": "0755", "msg": "Request failed: ", "owner": "root", "size": 4096, "state": "directory", "uid": 0, 
"url": "https://172.17.0.1/cli/go/download/linux/amd64/wsk"}
   
   Request failed: 
   
   --
   Tried on cent-os 7 and ubuntu16.04 both. 
   It will be great if you can share some specific page you know which i can 
follow to get openwhisk up and running including api mgmt .


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-13 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-381204356
 
 
   @mdeuser thansk for your response !
   yes i am able to download file from the link you provided , do i need to run 
this manually ?
   
   basically , I am stuck at cli-install step and i guess because of that 
routemanagement.sh also failed. 
   
   I followed this page --
   https://blog.krugazor.eu/2017/12/openwhisk-centos-installation-part-2/
   
   below are the steps that i ran 
   pip install ansible
   pip install docker-py
   pip install jinja2==2.9.6
   
   wget https://downloads.lightbend.com/scala/2.12.4/scala-2.12.4.rpm
   rpm -ihv scala-2.12.4.rpm
   git clone https://github.com/apache/incubator-openwhisk openwhisk 
   cd openwhisk
   ./gradlew distDocker
   nmcli connection modify docker0 connection.zone trusted
   systemctl stop NetworkManager.service
   firewall-cmd --permanent --zone=trusted --change-interface=docker0
   systemctl start NetworkManager.service
   systemctl restart docker.service
   ansible-playbook couchdb.yml --tags ini
   ansible-playbook initdb.yml
   ansible-playbook wipe.yml
   ansible-playbook apigateway.yml
   **ansible-playbook openwhisk.yml**
   ansible-playbook postdeploy.yml
   
   and i failed at  **ansible-playbook openwhisk.yml** 
   
   upon digging further i found out that cli-install step failed . 
   
   regarding this error ? 
   
   "**https://172.17.0.1/cli/go/download/linux/amd64/wsk**"} 
   
   do i need to change the host or something since its trying to access a 
location which starts with 172.17.0.1 ?
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-12 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-38097
 
 
   @mdeuser  thansk for your response !
Based on your comments i tried to install routemgmt.yml file and got below 
error 
   
   TASK [cli-install : Grab the local CLI from the binaries unarchived into 
nginx] *
   Thursday 12 April 2018  16:07:52 -0400 (0:00:02.050)   0:00:07.612 

   fatal: [ansible]: FAILED! => {"changed": false, "dest": 
"/home/mparuthickal/openwhisk/ansible/../bin", "gid": 0, "group": "root", 
"mode": "0755", "msg": "Request failed", "owner": "mparuthickal", "response": 
"HTTP Error 404: Not Found", "size": 4096, "state": "directory", "status_code": 
404, "uid": 30040, "url": 
"**https://172.17.0.1/cli/go/download/linux/amd64/wsk**"}
   
   Request failed
   
   PLAY RECAP 
**
   ansible: ok=4changed=1unreachable=0failed=1
   
   Thursday 12 April 2018  16:07:52 -0400 (0:00:00.493)   0:00:08.106 

   
===
   Gathering Facts 

   
   and one more error i get when trying to run openwhisk.yml file 
   
   TASK [cli : Download release archive to build directory ...] 

   Thursday 12 April 2018  16:19:49 -0400 (0:00:00.359)   0:01:31.037 

   fatal: [172.17.0.1]: FAILED! => {"changed": false, "msg": "Failed to connect 
to github-production-release-asset-2e65be.s3.amazonaws.com at port 443: [Errno 
-2] Name or service not known"}
   
   Failed to connect to github-production-release-asset-
   2e65be.s3.amazonaws.com at port 443: [Errno -2] Name or service not known
   
   PLAY RECAP 
**
   172.17.0.1 : ok=10   changed=2unreachable=0failed=1
   
   In first error its trying to download somefile from 172.17.0.1 --- which i 
believe is the cause of error ? where and what should i change to avoid this 
error. 


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-11 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-380551450
 
 
   @mdeuser  Thanks for your response!
   
   yes i am working on apache openwhisk backend. 
   
   Below is the error and output that i get when i tried to debug further
   
   [root@cvricapi01 bin]# ./wsk api list -d -v -i
   [-go/whisk.addRouteOptions]:051:[Inf] Adding options 
&{ApiOptions:{ActionName: ApiBasePath: ApiRelPath: ApiVerb: ApiName: 
SpaceGuid:23bc46b1-71f6-4ed5-8c54-816aa4f8c502 AccessToken:DUMMY TOKEN 
ResponseType:} Limit:30 Skip:0 Docs:false} to route 
'web/whisk.system/apimgmt/getApi.http'
   [-go/whisk.addRouteOptions]:076:[Inf] Returning route options 
'web/whisk.system/apimgmt/getApi.http?accesstoken=**DUMMY+TOKEN**=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502'
 from input struct &{ApiOptions:{ActionName: ApiBasePath: ApiRelPath: ApiVerb: 
ApiName: SpaceGuid:23bc46b1-71f6-4ed5-8c54-816aa4f8c502 AccessToken:DUMMY TOKEN 
ResponseType:} Limit:30 Skip:0 Docs:false}
   [/whisk.(*ApiService).List]:329:[Inf] Api GET/list route with api options: 
web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   [k.(*Client).NewRequestUrl]:701:[Inf] basepath: https://172.17.0.1/api, 
version/namespace path: v1, resource path: 
web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   [k.(*Client).addAuthHeader]:298:[Inf] Adding basic auth header; using authkey
   REQUEST:
   [GET]   
https://172.17.0.1/api/v1/web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   Req Headers
   {
 "Authorization": [
   "Basic 
MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A="
 ],
 "User-Agent": [
   "OpenWhisk-CLI/1.0 (2018-04-09T03:50:54.484+)"
 ]
   }
   RESPONSE:Got response with code 404
   Resp Headers
   {
 "Connection": [
   "keep-alive"
 ],
 "Content-Length": [
   "70"
 ],
 "Content-Type": [
   "application/json"
 ],
 "Date": [
   "Wed, 11 Apr 2018 18:26:03 GMT"
 ],
 "Server": [
   "nginx/1.12.2"
 ]
   }
   Response body size is 70 bytes
   Response body received:
   {
 "error": "The requested resource does not exist.",
 "code": 430
   }
   [o/whisk.PrintResponseInfo]:499:[Inf] Response body received (ASCII quoted 
string):
   "{\n  \"error\": \"The requested resource does not exist.\",\n  \"code\": 
430\n}"
   [/whisk.parseErrorResponse]:514:[Inf] HTTP failure 404 + body
   [/whisk.parseErrorResponse]:525:[Inf] HTTP failure 404; server error The 
requested resource does not exist. (code 430)
   [/whisk.(*ApiService).List]:344:[Err] s.client.Do() error - HTTP req 
https://172.17.0.1/api/v1/web/whisk.system/apimgmt/getApi.http?accesstoken=**DUMMY+TOKEN**=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502;
 error 'The requested resource does not exist. (code 430)'
   [whisk-cli/commands/api.go]:526:[Err] 
Client.Apis.List({ApiOptions:whisk.ApiOptions{ActionName:"",
 ApiBasePath:"", ApiRelPath:"", ApiVerb:"", ApiName:"", 
SpaceGuid:"23bc46b1-71f6-4ed5-8c54-816aa4f8c502", AccessToken:"DUMMY TOKEN", 
ResponseType:""}, Limit:30, Skip:0, Docs:false}) error: The requested resource 
does not exist. (code 430)
   [main.main]:068:[Inf] err object type: *whisk.WskError
   [main.main]:072:[Err] Got a *whisk.WskError error: 
{RootErr:(*errors.errorString)(0xc4202fc6a0), ExitCode:1, 
DisplayMsg:true, MsgDisplayed:false, DisplayUsage:false, DisplayPrefix:true, 
ApplicationError:false, TimedOut:false}
   error: Unable to obtain the API list: The requested resource does not exist. 
(code 430) 
   
   As highlighted access token always comes as DUMMY TOKEN , not sure if this 
correct behavior or if that's causing some issue ? if yes , then how can i 
rectify that. 
   
   I am able to create action with web=true and get the accessible url .
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-11 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-380551450
 
 
   @mdeuser  Thanks for your response!
   
   yes i am working on apache openwhisk backend. 
   
   Below is the error and output that i get when i tried to debug further
   
   [root@cvricapi01 bin]# ./wsk api list -d -v -i
   [-go/whisk.addRouteOptions]:051:[Inf] Adding options 
&{ApiOptions:{ActionName: ApiBasePath: ApiRelPath: ApiVerb: ApiName: 
SpaceGuid:23bc46b1-71f6-4ed5-8c54-816aa4f8c502 AccessToken:DUMMY TOKEN 
ResponseType:} Limit:30 Skip:0 Docs:false} to route 
'web/whisk.system/apimgmt/getApi.http'
   [-go/whisk.addRouteOptions]:076:[Inf] Returning route options 
'web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502'
 from input struct &{ApiOptions:{ActionName: ApiBasePath: ApiRelPath: ApiVerb: 
ApiName: SpaceGuid:23bc46b1-71f6-4ed5-8c54-816aa4f8c502 AccessToken:DUMMY TOKEN 
ResponseType:} Limit:30 Skip:0 Docs:false}
   [/whisk.(*ApiService).List]:329:[Inf] Api GET/list route with api options: 
web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   [k.(*Client).NewRequestUrl]:701:[Inf] basepath: https://172.17.0.1/api, 
version/namespace path: v1, resource path: 
web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   [k.(*Client).addAuthHeader]:298:[Inf] Adding basic auth header; using authkey
   REQUEST:
   [GET]   
https://172.17.0.1/api/v1/web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502
   Req Headers
   {
 "Authorization": [
   "Basic 
MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A="
 ],
 "User-Agent": [
   "OpenWhisk-CLI/1.0 (2018-04-09T03:50:54.484+)"
 ]
   }
   RESPONSE:Got response with code 404
   Resp Headers
   {
 "Connection": [
   "keep-alive"
 ],
 "Content-Length": [
   "70"
 ],
 "Content-Type": [
   "application/json"
 ],
 "Date": [
   "Wed, 11 Apr 2018 18:26:03 GMT"
 ],
 "Server": [
   "nginx/1.12.2"
 ]
   }
   Response body size is 70 bytes
   Response body received:
   {
 "error": "The requested resource does not exist.",
 "code": 430
   }
   [o/whisk.PrintResponseInfo]:499:[Inf] Response body received (ASCII quoted 
string):
   "{\n  \"error\": \"The requested resource does not exist.\",\n  \"code\": 
430\n}"
   [/whisk.parseErrorResponse]:514:[Inf] HTTP failure 404 + body
   [/whisk.parseErrorResponse]:525:[Inf] HTTP failure 404; server error The 
requested resource does not exist. (code 430)
   [/whisk.(*ApiService).List]:344:[Err] s.client.Do() error - HTTP req 
https://172.17.0.1/api/v1/web/whisk.system/apimgmt/getApi.http?accesstoken=DUMMY+TOKEN=30=0=23bc46b1-71f6-4ed5-8c54-816aa4f8c502;
 error 'The requested resource does not exist. (code 430)'
   [whisk-cli/commands/api.go]:526:[Err] 
Client.Apis.List({ApiOptions:whisk.ApiOptions{ActionName:"",
 ApiBasePath:"", ApiRelPath:"", ApiVerb:"", ApiName:"", 
SpaceGuid:"23bc46b1-71f6-4ed5-8c54-816aa4f8c502", AccessToken:"DUMMY TOKEN", 
ResponseType:""}, Limit:30, Skip:0, Docs:false}) error: The requested resource 
does not exist. (code 430)
   [main.main]:068:[Inf] err object type: *whisk.WskError
   [main.main]:072:[Err] Got a *whisk.WskError error: 
{RootErr:(*errors.errorString)(0xc4202fc6a0), ExitCode:1, 
DisplayMsg:true, MsgDisplayed:false, DisplayUsage:false, DisplayPrefix:true, 
ApplicationError:false, TimedOut:false}
   error: Unable to obtain the API list: The requested resource does not exist. 
(code 430) 
   
   I am able to create action with web=true and get the accessible url .
   


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-10 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-380259881
 
 
   @rabbah @jthomas @mdeuser 
   
   I am getting below error while trying to list  api. everything else action, 
rule ,trigger is working fine 
   
   command ran :  ./wsk api list -i
   Error :   error: Unable to obtain the API list: The requested resource does 
not exist. (code 247)
   
   can you please suggest what could be the possible reason for this,


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-10 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-380259881
 
 
   @rabbah @jthomas @mdeuser 
   
   I am getting this error while trying to list  api. everything else action, 
rule ,trigger is working fine 
   
   command ran :  ./wsk api list -i
   Error :   error: Unable to obtain the API list: The requested resource does 
not exist. (code 247)
   
   can you please suggest what could be the possible reason for this,


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] yadavvipinsonu commented on issue #2317: wsk api authentication issues

2018-04-10 Thread GitBox
yadavvipinsonu commented on issue #2317: wsk api authentication issues
URL: 
https://github.com/apache/incubator-openwhisk/issues/2317#issuecomment-380259881
 
 
   I am getting this error while trying to list  api. everything else action, 
rule ,trigger is working fine 
   
   command ran :  ./wsk api list -i
   Error :   error: Unable to obtain the API list: The requested resource does 
not exist. (code 247)
   
   can you please suggest what could be the possible reason for this,


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:
us...@infra.apache.org


With regards,
Apache Git Services