原因: ContainersNotInitialized
消息: containers with incomplete status: [openpitrix-app-db-ctrl openpitrix-attachment-db-ctrl openpitrix-cluster-db-ctrl openpitrix-isv-db-ctrl openpitrix-job-db-ctrl openpitrix-repo-db-ctrl openpitrix-runtime-db-ctrl openpitrix-task-db-ctrl]
开始运行(Ready)
状态: False
原因: ContainersNotReady
消息: containers with unready status: [hyperpitrix]
容器准备就绪(ContainersReady)
状态: False
原因: ContainersNotReady
消息: containers with unready status: [hyperpitrix]
调度成功(PodScheduled)
状态: True
zheng1
docker logs k8s_openpitrix-app-db-ctrl_openpitrix-hyperpitrix-deployment-64d468c5db-fql8t_openpitrix-system_337a0608-d10f-4d1a-ac7c-23146ba4568f_1
EBUG: Found filesystem resource: /flyway/sql/app/V0_9__app_version_type.sql
ERROR: Unexpected error
org.flywaydb.core.internal.exception.FlywaySqlException:
Unable to obtain connection from database (jdbc:mysql://mysql.kubesphere-system.svc/app) for user ‘root’: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
SQL State : 08S01
Error Code : 0
Message : Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:60)
at org.flywaydb.core.internal.jdbc.JdbcConnectionFactory.<init>(JdbcConnectionFactory.java:80)
at org.flywaydb.core.Flyway.execute(Flyway.java:438)
at org.flywaydb.core.Flyway.migrate(Flyway.java:149)
at org.flywaydb.commandline.Main.executeOperation(Main.java:176)
at org.flywaydb.commandline.Main.main(Main.java:123)
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:827)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:447)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:237)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199)
at org.flywaydb.core.internal.jdbc.DriverDataSource.getConnectionFromDriver(DriverDataSource.java:447)
at org.flywaydb.core.internal.jdbc.DriverDataSource.getConnection(DriverDataSource.java:413)
at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56)
… 5 more
Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151)
at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167)
at com.mysql.cj.protocol.a.NativeProtocol.negotiateSSLConnection(NativeProtocol.java:340)
at com.mysql.cj.protocol.a.NativeAuthenticationProvider.negotiateSSLConnection(NativeAuthenticationProvider.java:777)
at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:486)
at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:202)
at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1348)
at com.mysql.cj.NativeSession.connect(NativeSession.java:163)
at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:947)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:817)
… 11 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
at com.mysql.cj.protocol.ExportControlled.performTlsHandshake(ExportControlled.java:316)
at com.mysql.cj.protocol.StandardSocketFactory.performTlsHandshake(StandardSocketFactory.java:188)
at com.mysql.cj.protocol.a.NativeSocketConnection.performTlsHandshake(NativeSocketConnection.java:99)
at com.mysql.cj.protocol.a.NativeProtocol.negotiateSSLConnection(NativeProtocol.java:331)
… 18 more
jacky
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-federation-system kubefed-admission-webhook-7cb749bd75-m6pgt 1/1 Running 0 4h37m 10.233.96.12 node2 <none> <none>
kube-federation-system kubefed-controller-manager-558858576c-9w4ms 1/1 Running 0 4h37m 10.233.92.14 node3 <none> <none>
kube-federation-system kubefed-controller-manager-558858576c-k8cjq 1/1 Running 0 4h37m 10.233.96.13 node2 <none> <none>
kube-system calico-kube-controllers-578894d4cd-gzwz7 1/1 Running 0 5h20m 10.233.92.1 node3 <none> <none>
kube-system calico-node-lldfq 1/1 Running 0 5h20m 192.168.20.38 node3 <none> <none>
kube-system calico-node-qdh22 1/1 Running 0 5h20m 192.168.20.51 node2 <none> <none>
kube-system calico-node-z44b5 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system coredns-54dd447c79-gn4j9 1/1 Running 0 5h20m 10.233.90.2 node1 <none> <none>
kube-system coredns-54dd447c79-qcnft 1/1 Running 0 5h20m 10.233.90.5 node1 <none> <none>
kube-system kube-apiserver-node1 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system kube-controller-manager-node1 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system kube-proxy-2fhds 1/1 Running 0 5h20m 192.168.20.38 node3 <none> <none>
kube-system kube-proxy-988cq 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system kube-proxy-lmvs6 1/1 Running 0 5h20m 192.168.20.51 node2 <none> <none>
kube-system kube-scheduler-node1 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system metrics-server-55d97578dd-969df 1/1 Running 0 5h19m 192.168.20.51 node2 <none> <none>
kube-system nodelocaldns-k7rkk 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system nodelocaldns-wh6×9 1/1 Running 0 5h20m 192.168.20.38 node3 <none> <none>
kube-system nodelocaldns-xh5cl 1/1 Running 0 5h20m 192.168.20.51 node2 <none> <none>
kube-system openebs-localpv-provisioner-77444d76f-m88q8 1/1 Running 0 5h20m 10.233.90.1 node1 <none> <none>
kube-system openebs-ndm-68dc6 1/1 Running 0 5h20m 192.168.20.38 node3 <none> <none>
kube-system openebs-ndm-operator-7b8869b8dd-pd7lf 1/1 Running 1 5h20m 10.233.90.3 node1 <none> <none>
kube-system openebs-ndm-qdg26 1/1 Running 0 5h20m 192.168.20.46 node1 <none> <none>
kube-system openebs-ndm-wjvq8 1/1 Running 0 5h19m 192.168.20.51 node2 <none> <none>
kube-system snapshot-controller-0 1/1 Running 0 5h17m 10.233.96.1 node2 <none> <none>
jacky
kubesphere-alerting-system notification-db-ctrl-job-2jfbk 1/1 Running 0 4h17m 10.233.92.18 node3 <none> <none>
kubesphere-alerting-system notification-db-init-job-8hzdx 0/1 Completed 0 4h17m 10.233.96.15 node2 <none> <none>
kubesphere-alerting-system notification-deployment-64545856cd-pmn2m 1/1 Running 0 4h38m 10.233.96.10 node2 <none> <none>
kubesphere-controls-system default-http-backend-5bb9f4dcd9-whmf6 1/1 Running 0 5h16m 10.233.92.2 node3 <none> <none>
kubesphere-controls-system kubectl-admin-c5d954cbf-6llsg 1/1 Running 0 5h14m 10.233.92.10 node3 <none> <none>
kubesphere-monitoring-system alertmanager-main-0 2/2 Running 2 5h15m 10.233.92.4 node3 <none> <none>
kubesphere-monitoring-system alertmanager-main-1 2/2 Running 2 5h15m 10.233.96.3 node2 <none> <none>
kubesphere-monitoring-system alertmanager-main-2 2/2 Running 0 5h15m 10.233.90.11 node1 <none> <none>
kubesphere-monitoring-system kube-state-metrics-6fdc5cbb7-hpbwg 3/3 Running 0 5h15m 10.233.96.2 node2 <none> <none>
kubesphere-monitoring-system node-exporter-2qgfn 2/2 Running 0 5h15m 192.168.20.38 node3 <none> <none>
kubesphere-monitoring-system node-exporter-48k9m 2/2 Running 0 5h15m 192.168.20.51 node2 <none> <none>
kubesphere-monitoring-system node-exporter-cxnlh 2/2 Running 0 5h15m 192.168.20.46 node1 <none> <none>
kubesphere-monitoring-system notification-manager-deployment-5744b74465-6vdxv 1/1 Running 0 5h14m 10.233.92.8 node3 <none> <none>
kubesphere-monitoring-system notification-manager-deployment-5744b74465-c5bnb 1/1 Running 0 5h14m 10.233.96.6 node2 <none> <none>
kubesphere-monitoring-system notification-manager-operator-85cf994d78-9bpf8 2/2 Running 0 5h15m 10.233.92.7 node3 <none> <none>
kubesphere-monitoring-system prometheus-k8s-0 3/3 Running 0 5h15m 10.233.92.6 node3 <none> <none>
kubesphere-monitoring-system prometheus-k8s-1 3/3 Running 0 5h15m 10.233.96.5 node2 <none> <none>
kubesphere-monitoring-system prometheus-operator-5cbd9dd945-z7pcr 2/2 Running 0 5h15m 10.233.92.3 node3 <none> <none>
kubesphere-system etcd-5ff9557768-txzwr 1/1 Running 0 4h39m 10.233.92.12 node3 <none> <none>
kubesphere-system ks-apiserver-5dd874d9c7-hdtg9 1/1 Running 0 3h22m 10.233.90.24 node1 <none> <none>
kubesphere-system ks-console-cbcdcdddb-52r4g 1/1 Running 0 5h16m 10.233.90.10 node1 <none> <none>
kubesphere-system ks-controller-manager-586d668cd7-cq77f 1/1 Running 0 3h22m 10.233.90.25 node1 <none> <none>
kubesphere-system ks-installer-656879d68c-xzb5z 1/1 Running 0 5h20m 10.233.90.4 node1 <none> <none>
kubesphere-system minio-75d6d7986f-7xvjw 1/1 Running 0 4h19m 10.233.92.17 node3 <none> <none>
kubesphere-system mysql-6776cbfb5d-4j9cs 1/1 Running 0 4h39m 10.233.96.8 node2 <none> <none>
kubesphere-system openldap-0 1/1 Running 0 5h17m 10.233.90.9 node1 <none> <none>
kubesphere-system redis-588c4d98-x8l9k 1/1 Running 0 5h17m 10.233.90.7 node1 <none> <none>
kubesphere-system tower-75f999c7cc-g6jzq 1/1 Running 0 4h38m 10.233.96.11 node2 <none> <none>
openpitrix-system hyperpitrix-generate-kubeconfig-kc6k2 0/2 Init:0/1 0 4h17m 10.233.96.18 node2 <none> <none>
openpitrix-system hyperpitrix-release-app-job-m87zh 0/1 Init:0/2 0 4h17m 10.233.96.17 node2 <none> <none>
openpitrix-system openpitrix-hyperpitrix-deployment-64d468c5db-fql8t 0/1 Init:3/11 2 4h17m 10.233.90.18 node1 <none> <none>