OpenWhisk无法在OpenShift中启动

时间:2019-04-24 17:49:51

标签: openshift openwhisk

我是OpenWhisk和OpenShift的新手,并且在部署它时遇到问题。我正在按照指南here进行安装。尝试进行部署时,我在strimzi-cluster-controller中收到以下证书错误,这表明该证书丢失。还有其他我应该关注的文档吗?还是有生成此证书并将其导入的过程?

+ JAR=/cluster-controller.jar
+ shift
+ . /bin/dynamic_resources.sh
++ get_heap_size
+++ cat /sys/fs/cgroup/memory/memory.limit_in_bytes
++ CONTAINER_MEMORY_IN_BYTES=9223372036854771712
++ DEFAULT_MEMORY_CEILING=1152921504606846975
++ '[' 9223372036854771712 -lt 1152921504606846975 ']'
+ MAX_HEAP=
+ '[' -n '' ']'
+ export MALLOC_ARENA_MAX=2
+ MALLOC_ARENA_MAX=2
+ JAVA_OPTS=' -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom'
+ exec java -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom -jar /cluster-controller.jar -Dvertx.cacheDirBase=/tmp -Djava.security.egd=file:/dev/./urandom
Exception in thread "main" io.fabric8.kubernetes.client.KubernetesClientException: An error has occurred.
    at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:62)
    at io.fabric8.kubernetes.client.KubernetesClientException.launderThrowable(KubernetesClientException.java:53)
    at io.fabric8.kubernetes.client.utils.HttpClientUtils.createHttpClient(HttpClientUtils.java:168)
    at io.fabric8.kubernetes.client.BaseClient.<init>(BaseClient.java:55)
    at io.fabric8.kubernetes.client.BaseClient.<init>(BaseClient.java:47)
    at io.fabric8.kubernetes.client.DefaultKubernetesClient.<init>(DefaultKubernetesClient.java:70)
    at io.strimzi.controller.cluster.Main.main(Main.java:41)
Caused by: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Empty input
    at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110)
    at java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:339)
    at io.fabric8.kubernetes.client.internal.CertUtils.createTrustStore(CertUtils.java:93)
    at io.fabric8.kubernetes.client.internal.CertUtils.createTrustStore(CertUtils.java:71)
    at io.fabric8.kubernetes.client.internal.SSLUtils.trustManagers(SSLUtils.java:114)
    at io.fabric8.kubernetes.client.internal.SSLUtils.trustManagers(SSLUtils.java:93)
    at io.fabric8.kubernetes.client.utils.HttpClientUtils.createHttpClient(HttpClientUtils.java:63)
    ... 4 more
Caused by: java.io.IOException: Empty input
    at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:106)
    ... 10 more

0 个答案:

没有答案