2020/02/21 17:14:17 [INFO] getting resource https://file.choerodon.com.cn/choerodon-install/version.yml
2020/02/21 17:14:18 [INFO] getting resource https://file.choerodon.com.cn/choerodon-install/0.20/install.yml
2020/02/21 17:14:18 [INFO] namespace c7n-system already exists
2020/02/21 17:14:18 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/02/21 17:14:19 [INFO] waiting slaver running…
2020/02/21 17:14:20 [INFO] waiting slaver running…
2020/02/21 17:14:21 [INFO] clean history jobs…
2020/02/21 17:14:21 [INFO] start install postgresql
2020/02/21 17:14:21 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/02/21 17:14:21 [INFO] using exist release postgresql
2020/02/21 17:14:21 [INFO] start install mysql
2020/02/21 17:14:21 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/02/21 17:14:21 [INFO] using exist release mysql
2020/02/21 17:14:21 [INFO] start install redis
2020/02/21 17:14:21 [INFO] using exist release redis
2020/02/21 17:14:21 [INFO] start install gitlab
2020/02/21 17:14:21 [DEBUG] ignore create pv because specify storage class and no other persistence config
2020/02/21 17:14:21 [INFO] Waiting postgresql running
2020/02/21 17:14:21 [DEBUG] postgresql: resource password is Changeme123
2020/02/21 17:14:21 [DEBUG] checking postgresql-postgresql:5432
E0221 17:14:21.422593 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:21 socat[4745] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
2020/02/21 17:14:21 [DEBUG] check postgresql health failed with msg: ‘rpc error: code = Unavailable desc = transport is closing’ retry …
E0221 17:14:22.422231 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:22 socat[4749] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
E0221 17:14:23.916509 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:23 socat[4794] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
E0221 17:14:26.650734 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:26 socat[4867] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
E0221 17:14:31.451374 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:31 socat[4868] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
E0221 17:14:37.943363 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:37 socat[4969] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
2020/02/21 17:14:41 [DEBUG] check postgresql health failed with msg: 'rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: ’ retry …
E0221 17:14:47.071793 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:14:47 socat[5052] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
2020/02/21 17:15:01 [DEBUG] check postgresql health failed with msg: 'rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: ’ retry …
E0221 17:15:05.169134 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:15:05 socat[5231] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
2020/02/21 17:15:21 [DEBUG] check postgresql health failed with msg: 'rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: ’ retry …
E0221 17:15:28.173088 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:15:28 socat[5498] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
2020/02/21 17:15:41 [DEBUG] check postgresql health failed with msg: 'rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: ’ retry …
2020/02/21 17:16:01 [DEBUG] check postgresql health failed with msg: 'rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: ’ retry …
E0221 17:16:06.403636 22033 portforward.go:400] an error occurred forwarding 8001 -> 9001: error forwarding port 9001 to pod 00181fe4790bd22ac632a84b6efc0eda7fa7d394dcca3fc1f77d4cdfe5a404bd, uid : exit status 1: 2020/02/21 17:16:06 socat[5941] E connect(5, AF=2 127.0.0.1:9001, 16): Connection refused
请使用kubectl get pods -n c7n-system
命令查看一下到底是哪一个pods没有正常。
然后使用kubectl describe pods <不正常的 pod name> -n c7n-system
和 kubectl logs <不正常的 pod name> -n c7n-system
两个命令查看pod详情和日志。