2021-01-18 15:23:13 UTC - Philipp Heuberger: hey fellow devs, I'm trying to 
invoke an action from a different IAM namespace on IBM Cloud Functions using 
the openwhisk SDK, but keep getting `The supplied authentication is invalid` as 
a result. I'm using the IAM Api key that I generated in the IBM web console and 
this is how I'm trying to invoke the function:
```  const ow = openwhisk({
    apihost: 
'<http://eu-de.functions.cloud.ibm.com|eu-de.functions.cloud.ibm.com>',
    namespace: 'somenamespace',
    api_key: params.APIKEY,
  })

  const result = await ow.actions.invoke({
    name: `package-name/action-name`,
    blocking: true,
    result: true,
  })```
any pointers would be greatly appreciated :pray:
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610983393013400
----
2021-01-18 18:38:44 UTC - Alessandro Banfi: @Rodric Rabbah Looking at the 
status of the pods I found out that the invoker is currently set to 
ImagePullBackOff. Considering that the docker image compilation completed 
without further ado, I executed the command `kind load docker-image 
whisk/invoker:latest` and modified the cluster definition yaml, what I have to 
do in order to register the image?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610995124013700?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 18:40:06 UTC - Alessandro Banfi: @Rodric Rabbah @Ben Carver sorry, I 
written on the wrong thread!
ok_hand : Ben Carver
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1610995206014100?thread_ts=1610727093.003200&cid=C3TPCAQG1
----
2021-01-18 21:58:48 UTC - Alessandro Banfi: Looking at the controller logs I 
found out the followings:
`2021-01-18T21:20:11.631538531Z stdout F [2021-01-18T21:20:11.631Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] POST /api/v1/namespaces/_/actions/nat 
blocking=true&amp;result=false`
`2021-01-18T21:20:11.633844995Z stdout F [2021-01-18T21:20:11.633Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [BasicAuthenticationDirective] 
authenticate: 23bc46b1-71f6-4ed5-8c54-816aa4f8c502`
`2021-01-18T21:20:11.635525468Z stdout F [2021-01-18T21:20:11.635Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [Identity] [GET] serving from cache: 
CacheKey(23bc46b1-71f6-4ed5-8c54-816aa4f8c502) 
[marker:database_cacheHit_counter:4]`
`2021-01-18T21:20:11.685824462Z stdout F [2021-01-18T21:20:11.685Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [WhiskActionMetaData] [GET] serving 
from datastore: CacheKey(guest/nat) [marker:database_cacheMiss_counter:55]`
`2021-01-18T21:20:11.685916625Z stdout F [2021-01-18T21:20:11.685Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [CouchDbRestStore] [GET] 'test_whisks' 
finding document: 'id: guest/nat' [marker:database_getDocument_start:55]`
`2021-01-18T21:20:11.71212039Z stdout F [2021-01-18T21:20:11.711Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [CouchDbRestStore]  
[marker:database_getDocument_finish:81:26]`
`2021-01-18T21:20:11.75450234Z stdout F [2021-01-18T21:20:11.754Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ActionsApi]  
[marker:controller_blockingActivation_start:123]`
`2021-01-18T21:20:11.754645994Z stdout F [2021-01-18T21:20:11.754Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ActionsApi] action activation id: 
e95f34f210d746f89f34f210d746f834 [marker:controller_loadbalancer_start:124]`
`2021-01-18T21:20:11.761997183Z stdout F [2021-01-18T21:20:11.761Z] [ERROR] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ShardingContainerPoolBalancer] failed 
to schedule activation e95f34f210d746f89f34f210d746f834, action 
'guest/nat@0.0.1' (blackbox), ns 'guest' - invokers to use: Map(Unhealthy -&gt; 
1)`
`2021-01-18T21:20:11.764997463Z stdout F [2021-01-18T21:20:11.764Z] [WARN] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ActionsApi] No invokers available 
[marker:controller_loadbalancer_error:133:9]`
`2021-01-18T21:20:11.765046876Z stdout F [2021-01-18T21:20:11.764Z] [WARN] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ActionsApi] No invokers available 
[marker:controller_blockingActivation_error:134:10]`
`2021-01-18T21:20:11.765263557Z stdout F [2021-01-18T21:20:11.765Z] [ERROR] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [ActionsApi] [POST] failed in 
loadbalancer: No invokers available`
`2021-01-18T21:20:11.775626615Z stdout F [2021-01-18T21:20:11.775Z] [INFO] 
[#tid_zBcca7H7Web9rnktucv9He1DhOEKdhXp] [BasicHttpService] 
[marker:http_post.503_counter:145:145]`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611007128014600?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 22:00:39 UTC - Alessandro Banfi: And looking at invoker logs I found 
out:
`2021-01-18T21:14:50.936228737Z stdout F [2021-01-18T21:14:50.935Z] [INFO] 
[#tid_sid_invokerWarmup] [KubernetesClient] launching pod 
wskowdev-invoker-00-1-prewarm-nodejs10 
(image:openwhisk/action-nodejs-v10:1.17.0, mem: 256) (timeout: 60s) 
[marker:invoker_kubeapi.create_start:6344]`
`2021-01-18T21:14:50.936417013Z stdout F [2021-01-18T21:14:50.936Z] [INFO] 
[#tid_sid_invokerWarmup] [KubernetesClient] launching pod 
wskowdev-invoker-00-2-prewarm-nodejs10 
(image:openwhisk/action-nodejs-v10:1.17.0, mem: 256) (timeout: 60s) 
[marker:invoker_kubeapi.create_start:6344]`
`2021-01-18T21:14:51.311412325Z stdout F [2021-01-18T21:14:51.311Z] [ERROR] 
[#tid_sid_unknown] [InvokerReactive] terminal failure while processing message: 
spray.json.DeserializationException: Object is missing required member 
'lockedArgs'`
`2021-01-18T21:14:53.651269399Z stdout F [2021-01-18T21:14:53.650Z] [INFO] 
[#tid_sid_invoker] [CouchDbRestStore]  
[marker:database_queryView_finish:9059:3318]`
`2021-01-18T21:14:53.651901609Z stdout F [2021-01-18T21:14:53.651Z] [INFO] 
[#tid_sid_unknown] [InvokerReactive] updated blacklist to 0 entries`
`2021-01-18T21:15:51.20840787Z stdout F [2021-01-18T21:15:51.207Z] [ERROR] 
[#tid_sid_unknown] [InvokerReactive] terminal failure while processing message: 
spray.json.DeserializationException: Object is missing required member 
'lockedArgs'`
`2021-01-18T21:15:51.831292856Z stdout F [2021-01-18T21:15:51.830Z] [ERROR] 
[#tid_sid_invokerWarmup] [KubernetesClient] Failed create pod for 
'wskowdev-invoker-00-2-prewarm-nodejs10': class 
org.apache.openwhisk.core.containerpool.kubernetes.KubernetesPodReadyTimeoutException
 - Pod readiness timed out after 60s 
[marker:invoker_kubeapi.create_error:67239:60894]`
`2021-01-18T21:15:51.831454985Z stdout F [2021-01-18T21:15:51.831Z] [ERROR] 
[#tid_sid_invokerWarmup] [KubernetesClient] Failed create pod for 
'wskowdev-invoker-00-1-prewarm-nodejs10': class 
org.apache.openwhisk.core.containerpool.kubernetes.KubernetesPodReadyTimeoutException
 - Pod readiness timed out after 60s 
[marker:invoker_kubeapi.create_error:67239:60894]`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611007239014900?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 22:01:38 UTC - Alessandro Banfi: It seems like if an argument under 
the name of *lockedArgs* is missing from the parameter provided to the invoker.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611007298015100?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 22:24:16 UTC - Rodric Rabbah: How old is your invoker image? 
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611008656015700?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 22:58:06 UTC - Alessandro Banfi: It has been built just this evening 
from master branch of openwhisk (pulled master branch then typed `./gradlew 
distDocker`
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611010686016500?thread_ts=1610570671.496500&cid=C3TPCAQG1
----
2021-01-18 23:35:14 UTC - Rodric Rabbah: lockedArgs were introduced in this PR
if you’re sending activation messages via kafka, make sure you’re adding the 
property to the message
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611012914019800?thread_ts=1610570671.496500&cid=C3TPCAQG1
----

Reply via email to