日志如下,是按照时间逆序的
2020-11-17 12:26:36.59356 -INFO- Service config http://localhost:9202 (main.go:69)
2020-11-17 12:26:36.59343 -INFO- App service http://hyperpitrix:9102 (main.go:55)
2020-11-17 12:26:36.59346 -INFO- Repo indexer service http://hyperpitrix:9108 (main.go:61)
2020-11-17 12:26:36.59348 -INFO- Account service http://openpitrix-account-service:9115 (main.go:63)
2020-11-17 12:26:36.59374 -DEBUG- Create dlock with key [dlock_global_config] (dlock.go:17)
2020-11-17 12:26:36.504524 I | proto: duplicate proto type registered: openpitrix.ErrorDetail
2020-11-17 12:26:36.50154 -DEBUG- GetConf: &{Log:{Level:debug} Grpc:{ShowErrorCause:true} Mysql:{Host:mysql.kubesphere-system.svc Port:3306 User:root Password:password Database:openpitrix Disable:false} Etcd:{Endpoints:etcd.kubesphere-system.svc:2379} IAM:{SecretKey😮penPitrix-lC4LipAXPYsuqw5F ExpireTime:2h0m0s RefreshTokenExpireTime:336h0m0s} Attachment:{AccessKey:openpitrixminioaccesskey SecretKey:openpitrixminiosecretkey Endpoint:http://minio.kubesphere-system.svc:9000 BucketName:openpitrix-attachment} DisableGops:false} (config.go:99)
2020-11-17T12:26:36.411601Z info ads XDS: Pushing:2020-11-17T12:26:36Z/502 Services:52 ConnectedEndpoints:0
2020-11-17T12:26:36.410225Z info ads Push debounce stable[632] 2: 100.079172ms since last change, 100.087904ms since last push, full=true
2020-11-17T12:26:36.310061Z info ads Incremental push, service hyperpitrix.openpitrix-system.svc.cluster.local has no endpoints
[2020/11/17 12:26:36] [ info] [input:tail:tail.2] inotify_fs_remove(): inode=883956439 watch_fd=218
2020-11-17 20:26:35.82803 -INFO- ExecutorWatcher update executor [alert-executors/alerting-executor-6ff88975dc-hnkhw] [{“Name”:“alerting-executor-6ff88975dc-hnkhw”,“TaskCount”:0}] (executor_watcher.go:144)
E1117 12:26:35.491850 1 applications.go:157] rpc error: code = Unavailable desc = transport is closing
E1117 12:26:35.491874 1 handler.go:83] rpc error: code = Unavailable desc = transport is closing
E1117 12:26:35.491882 1 handler.go:930] rpc error: code = Unavailable desc = transport is closing
E1117 12:26:35.491890 1 utils.go:32] /home/runner/work/kubesphere/kubesphere/pkg/kapis/openpitrix/v1/handler.go:931 rpc error: code = Unavailable desc = transport is closing
I1117 12:26:35.491915 1 apiserver.go:539] 172.31.27.95 - “GET /kapis/openpitrix.io/v1/workspaces/haormj/clusters/host/namespaces/test/applications/cl-m193j25oyv293z HTTP/1.1” 500 58 692ms
172.31.21.77 - - [17/Nov/2020:12:26:35 +0000] “GET / HTTP/1.1” 200 612 “-” “kube-probe/1.18+” “-”
2020-11-17 12:26:34.80124 -DEBUG- dbr.select spend 0.47ms: map[sql:SELECT zone, cluster_id, name, description, app_id, version_id, subnet_id, vpc_id, frontgate_id, cluster_type, endpoints, status, transition_status, metadata_root_access, owner, owner_path, global_uuid, upgrade_status, upgrade_time, runtime_id, create_time, status_time, additional_info, env, debug FROM cluster WHERE (cluster_id
= ‘cl-m193j25oyv293z’)] (event.go:48)
2020-11-17 12:26:34.8003 -DEBUG- dbr.select spend 0.56ms: map[sql:SELECT zone, cluster_id, name, description, app_id, version_id, subnet_id, vpc_id, frontgate_id, cluster_type, endpoints, status, transition_status, metadata_root_access, owner, owner_path, global_uuid, upgrade_status, upgrade_time, runtime_id, create_time, status_time, additional_info, env, debug FROM cluster WHERE ((owner_path
LIKE ‘%’) OR (owner
= ‘system’)) AND ((cluster_id
IN (‘cl-m193j25oyv293z’)) AND (runtime_id
IN (‘host’)) AND (zone
IN (‘test’))) AND (debug
= 0) ORDER BY create_time DESC LIMIT 1 OFFSET 0] (event.go:48)
2020-11-17 12:26:34.8007 -DEBUG- dbr.select spend 0.34ms: map[sql:SELECT COUNT(*) FROM cluster WHERE ((owner_path
LIKE ‘%’) OR (owner
= ‘system’)) AND ((cluster_id
IN (‘cl-m193j25oyv293z’)) AND (runtime_id
IN (‘host’)) AND (zone
IN (‘test’))) AND (debug
= 0)] (event.go:48)
2020-11-17 12:26:34.79964 -INFO- Request received [DescribeClusters] [&{UserId:system OwnerPath::system AccessPath:}] [{“cluster_id”:[“cl-m193j25oyv293z”],“runtime_id”:[“host”],“limit”:1,“with_detail”:true,“zone”:[“test”]}] (grpc_server.go:180)
<– GET /kapis/openpitrix.io/v1/workspaces/haormj/clusters/host/namespaces/test/applications/cl-m193j25oyv293z 2020/11/17T12:26:34.794
2020-11-17 12:26:33.39612 -DEBUG- dbr.select spend 0.33ms: map[sql:SELECT version_id, active, app_id, owner, owner_path, name, description, package_name, home, icon, screenshots, maintainers, keywords, sources, readme, status, review_id, message, type, sequence, create_time, status_time, update_time FROM app_version WHERE (active
= 0) AND (app_id
= ‘app-wYN7Jj4zo0Xr’) AND (status
!= ‘deleted’) ORDER BY sequence DESC] (event.go:48)