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/06 05:00:33 UTC
[GitHub] jcarreira opened a new issue #4244: Error when deploying: Failed to
initialize reactive invoker
jcarreira opened a new issue #4244: Error when deploying: Failed to initialize reactive invoker
URL: https://github.com/apache/incubator-openwhisk/issues/4244
I'm trying to deploy openwhisk on top of kubernetes (--node-count=2 on aws ec2) and a few components fail:
```
helm install ../incubator-openwhisk-deploy-kube/helm/openwhisk/ --namespace openwhisk --name openwhisk -f values-openwhisk.yaml
(.......)
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
invoker-jhfw9 0/1 CrashLoopBackOff 5 7m18s
invoker-xnlwn 0/1 CrashLoopBackOff 5 7m18s
apigateway-64b5fb47df-rxfkw 1/1 Running 0 7m18s
couchdb-6db7d989dd-sttrz 1/1 Running 0 7m18s
nginx-55d45778cb-nljxn 1/1 Running 0 7m18s
redis-6788bb4875-c7vzv 1/1 Running 0 7m18s
controller-0 1/1 Running 0 7m18s
kafka-0 1/1 Running 0 7m18s
zookeeper-0 1/1 Running 0 7m17s
init-couchdb-7rv6s 0/1 Completed 0 7m18s
install-catalog-29tc9 0/1 Error 0 7m18s
install-catalog-2wwmb 0/1 Error 0 3m21s
install-catalog-s56np 0/1 Error 0 4m46s
install-catalog-tn9fb 1/1 Running 0 15s
install-catalog-wdggg 0/1 Error 0 95s
install-routemgmt-8ss64 0/1 Error 0 3m7s
install-routemgmt-bcncq 0/1 Error 0 107s
install-routemgmt-jvxn8 0/1 Error 0 4m26s
install-routemgmt-kfv59 0/1 Error 0 5m13s
install-routemgmt-mr866 0/1 Error 0 7m18s
```
If I do ```kubectl logs -n openwhisk invoker-jhfw9```, I get (only showing the last part):
```
[2019-02-06T04:56:00.433Z] [INFO] Client environment:java.io.tmpdir=/tmp
[2019-02-06T04:56:00.433Z] [INFO] Client environment:java.compiler=<NA>
[2019-02-06T04:56:00.433Z] [INFO] Client environment:os.name=Linux
[2019-02-06T04:56:00.434Z] [INFO] Client environment:os.arch=amd64
[2019-02-06T04:56:00.434Z] [INFO] Client environment:os.version=4.9.0-7-amd64
[2019-02-06T04:56:00.434Z] [INFO] Client environment:user.name=root
[2019-02-06T04:56:00.434Z] [INFO] Client environment:user.home=/root
[2019-02-06T04:56:00.434Z] [INFO] Client environment:user.dir=/
[2019-02-06T04:56:00.435Z] [INFO] Initiating client connection, connectString=zookeeper-0.zookeeper.openwhisk.svc.cluster.local:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@6ef81f31
[2019-02-06T04:56:00.451Z] [INFO] Opening socket connection to server zookeeper-0.zookeeper.openwhisk.svc.cluster.local/100.96.3.13:2181. Will not attempt to authenticate using SASL (unknown error)
[2019-02-06T04:56:00.456Z] [INFO] Default schema
[2019-02-06T04:56:00.461Z] [INFO] Socket connection established to zookeeper-0.zookeeper.openwhisk.svc.cluster.local/100.96.3.13:2181, initiating session
[2019-02-06T04:56:00.467Z] [INFO] Session establishment complete on server zookeeper-0.zookeeper.openwhisk.svc.cluster.local/100.96.3.13:2181, sessionid = 0x100000fa339000e, negotiated timeout = 40000
[2019-02-06T04:56:00.474Z] [INFO] State change: CONNECTED
[2019-02-06T04:56:00.476Z] [INFO] [#tid_sid_unknown] [InstanceIdAssigner] invokerReg: connected to zookeeper
[2019-02-06T04:56:00.503Z] [INFO] [#tid_sid_unknown] [InstanceIdAssigner] invokerReg: invoker ip-172-20-48-145.us-west-2.compute.internal was assigned its previous invokerId 0
[2019-02-06T04:56:00.503Z] [INFO] backgroundOperationsLoop exiting
[2019-02-06T04:56:00.507Z] [INFO] EventThread shut down for session: 0x100000fa339000e
[2019-02-06T04:56:00.508Z] [INFO] Session: 0x100000fa339000e closed
[2019-02-06T04:56:00.513Z] [INFO] The configuration was reloaded successfully.
[2019-02-06T04:56:00.893Z] [INFO] [#tid_sid_unknown] [KafkaMessagingProvider] topic invoker0 already existed
[2019-02-06T04:56:01.139Z] [INFO] [#tid_sid_unknown] [InvokerReactive] LogStoreProvider: class org.apache.openwhisk.core.containerpool.logging.DockerToActivationLogStore
[2019-02-06T04:56:01.143Z] [ERROR] [#tid_sid_invoker] [Invoker] Failed to initialize reactive invoker: whisk.core.containerpool.docker.DockerContainerFactoryProvider$
```
My values-openwhisk.yaml is:
```
whisk:
ingress:
name: ow-ingress
api_host_name: 192.168.65.3
api_host_port: 443
#api_host_proto: https
type: NodePort
nginx:
httpsNodePort: 31001
k8s:
persistence:
enabled: false
```
Any idea what is the problem?
----------------------------------------------------------------
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