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 2021/04/23 02:14:33 UTC

[GitHub] [openwhisk] JaewonHur commented on issue #5106: Requested resource could not be found

JaewonHur commented on issue #5106:
URL: https://github.com/apache/openwhisk/issues/5106#issuecomment-825336630


   ```
   [2021-04-23T10:53:28.109Z] [INFO] [#tid_0Q8EMATRbzuhUaml55cS9KQxF3jzQkFR] PUT /api/v1/namespaces/_/actions/hello overwrite=false
   [2021-04-23T10:53:28.110Z] [INFO] [#tid_0Q8EMATRbzuhUaml55cS9KQxF3jzQkFR] [BasicHttpService] [marker:http_put.404_counter:1:1]
   ```
   This is the server log of the `wsk action create` request.
   Is it because I didn't specify any namespace?
   (the request from playground has the namespace `whisk.system`.)
   
   Also the debug log of `wsk action create` request is here.
   
   ```
   Response body size is 96 bytes
   Response body received:
   {"code":"6jAODvczdyE86HCua75dZXbcJBXud6Qa","error":"The requested resource could not be found."}
   [o/whisk.PrintResponseInfo]:536:[Inf] Response body received (ASCII quoted string):
   "{\"code\":\"6jAODvczdyE86HCua75dZXbcJBXud6Qa\",\"error\":\"The requested resource could not be found.\"}"
   [/whisk.parseErrorResponse]:551:[Inf] HTTP failure 404 + body
   [/whisk.parseErrorResponse]:566:[Inf] HTTP failure 404; server error The requested resource could not be found. (code 6jAODvczdyE86HCua75dZXbcJBXud6Qa)
   [k.(*ActionService).Insert]:230:[Err] s.client.Do() error - HTTP req http://172.17.0.1:3232/api/v1/namespaces/_/actions/hello?overwrite=false; error 'The requested resource could not be found. (code 6jAODvczdyE86HCua75dZXbcJBXud6Qa)'
   [ommands.actionInsertError]:970:[Err] Client.Actions.Insert(&whisk.Action{Namespace:"_", Name:"hello", Version:"", Exec:(*whisk.Exec)(0xc00053e3f0), Annotations:whisk.KeyValueArr(nil), DelAnnotations:[]string(nil), Parameters:whisk.KeyValueArr(nil), Limits:(*whisk.Limits)(nil), Error:"", Code:0, Publish:(*bool)(nil), Updated:0}, false) error: The requested resource could not be found. (code 6jAODvczdyE86HCua75dZXbcJBXud6Qa)
   [-cli/commands.ExitOnError]:1193:[Inf] err object type: *whisk.WskError
   [-cli/commands.ExitOnError]:1204:[Err] Got a *whisk.WskError error: &whisk.WskError{RootErr:(*errors.errorString)(0xc000570540), ExitCode:148, DisplayMsg:true, MsgDisplayed:false, DisplayUsage:true, DisplayPrefix:true, ApplicationError:false, TimedOut:false}
   error: Unable to create action 'hello': The requested resource could not be found. (code 6jAODvczdyE86HCua75dZXbcJBXud6Qa)
   Run 'wsk --help' for usage.
   ```
   


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