dubee opened a new issue #4444: Investigate why controller/invoker does not work with JDK9 or higher URL: https://github.com/apache/incubator-openwhisk/issues/4444 When using JDK9 or higher, the controller is not able to determine that the invoker is healthy. The controller is able to register that there is an invoker available on startup, but the active ack from the invoker health check is never received by the controller. Resulting in the controller seeing an unhealthy invoker. JDK images tested: `adoptopenjdk/openjdk12:x86_64-alpine-jdk-12.33` `adoptopenjdk/openjdk9:x86_64-alpine-jdk-9.0.4.11` Controller logs, completion ack never received: ``` [2019-04-12T17:37:50.491Z] [INFO] [#tid_sid_invokerHealth] [InvokerPool] registered a new invoker: invoker0 [2019-04-12T17:37:50.516Z] [WARN] [#tid_sid_invokerHealth] [InvokerActor] invoker0 is unhealthy [2019-04-12T17:37:50.538Z] [INFO] [#tid_sid_invokerHealth] [ShardingContainerPoolBalancer] posting topic 'invoker0' with activation id '5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c' [2019-04-12T17:37:50.562Z] [INFO] [#tid_sid_invokerHealth] [InvokerPool] invoker status changed to 0 -> Unhealthy [2019-04-12T17:37:50.567Z] [INFO] [#tid_sid_loadbalancer] [ShardingContainerPoolBalancerState] loadbalancer invoker status updated. managedInvokers = 1 blackboxInvokers = 1 [2019-04-12T17:37:50.658Z] [INFO] [#tid_sid_invokerHealth] [ShardingContainerPoolBalancer] posted to invoker0[0][122] ``` Invoker logs, completion ack sent: ``` [2019-04-12T17:37:50.668Z] [INFO] [#tid_sid_invokerHealth] [ContainerPool] containerStart containerState: cold container: None activations: 1 of max 1 action: invokerHealthTestAction0 namespace: whisk.system activationId: 5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c [2019-04-12T17:37:50.670Z] [INFO] [#tid_sid_invokerHealth] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 32 --memory 128m --memory-swap 128m --network bridge -e __OW_API_HOST=https://172.17.0.1:443 --name wsk00_11_whisksystem_invokerHealthTestAction0 --pids-limit 1024 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --log-driver json-file --env __OW_ALLOW_CONCURRENT=false openwhisk/nodejs6action:c173d64 (timeout: 1 minute) [2019-04-12T17:37:51.536Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] sending initialization to ContainerId(43aeda4d2f343e1274a58c89c1a32832c05f4e0b97332fab4561ed0ea84ba0b3) ContainerAddress(172.17.0.27,8080) [2019-04-12T17:37:51.855Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] initialization result: ok [2019-04-12T17:37:51.856Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] sending arguments to /whisk.system/invokerHealthTestAction0 at ContainerId(43aeda4d2f343e1274a58c89c1a32832c05f4e0b97332fab4561ed0ea84ba0b3) ContainerAddress(172.17.0.27,8080) [2019-04-12T17:37:51.867Z] [INFO] [#tid_sid_invokerHealth] [DockerContainer] running result: ok [2019-04-12T17:37:51.927Z] [INFO] [#tid_sid_invokerHealth] [InvokerReactive] posted completion of activation 5bdbd0b3e1e14bbf9bd0b3e1e1dbbf9c ``` The problem here may exist in the controller. In an attempt to narrow the problem down, I was able to successfully run the invoker on JDK12 and the controller on JDK8 simultaneously without issue, but not vice versa.
---------------------------------------------------------------- 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
