Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac m1 Docker one-click deployment guide error #860

Open
FancyXun opened this issue Dec 18, 2024 · 1 comment
Open

mac m1 Docker one-click deployment guide error #860

FancyXun opened this issue Dec 18, 2024 · 1 comment

Comments

@FancyXun
Copy link

Follow https://github.com/OpenCSGs/csghub-installer/tree/main/docker
macOS

export SERVER_DOMAIN=$(ipconfig getifaddr $(route get default | grep interface | awk '{print $2}'))
export SERVER_PORT=80
docker run -it -d \
    --name omnibus-csghub \
    --hostname omnibus-csghub \
    -p ${SERVER_PORT}:80 \
    -p 2222:2222 \
    -p 8000:8000 \
    -p 9000:9000 \
    -v ~/Documents/csghub/data:/var/opt \
    -v ~/Documents/csghub/log:/var/log \
    -e SERVER_DOMAIN=${SERVER_DOMAIN} \
    -e SERVER_PORT=${SERVER_PORT} \
    opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/omnibus-csghub:latest

Errors:

Apply environments variables.
Creating directories.
2024-12-17 11:08:28,375 INFO Set uid to user 0 succeeded
2024-12-17 11:08:28,376 INFO RPC interface 'supervisor' initialized
2024-12-17 11:08:28,376 INFO supervisord started with pid 54
2024-12-17 11:08:29,384 INFO spawned: 'casdoor' with pid 55
2024-12-17 11:08:29,387 INFO spawned: 'csghub-accounting' with pid 56
2024-12-17 11:08:29,390 INFO spawned: 'csghub-portal' with pid 57
2024-12-17 11:08:29,393 INFO spawned: 'csghub-rproxy' with pid 61
2024-12-17 11:08:29,396 INFO spawned: 'csghub-runner' with pid 63
2024-12-17 11:08:29,398 INFO spawned: 'csghub-server' with pid 66
2024-12-17 11:08:29,401 INFO spawned: 'csghub-user' with pid 69
2024-12-17 11:08:29,402 INFO spawned: 'dnsmasq' with pid 71
2024-12-17 11:08:29,405 INFO spawned: 'gitaly' with pid 73
2024-12-17 11:08:29,407 INFO spawned: 'gitlab-shell' with pid 76
2024-12-17 11:08:29,409 INFO spawned: 'k8s-init-job' with pid 79
2024-12-17 11:08:29,411 INFO spawned: 'logger' with pid 82
2024-12-17 11:08:29,415 INFO spawned: 'minio' with pid 89
2024-12-17 11:08:29,417 INFO spawned: 'minio-init-job' with pid 92
2024-12-17 11:08:29,419 INFO spawned: 'mirror-init-job' with pid 104
2024-12-17 11:08:29,421 INFO spawned: 'mirror-lfs' with pid 109
2024-12-17 11:08:29,423 INFO spawned: 'mirror-repo' with pid 114
2024-12-17 11:08:29,425 INFO spawned: 'nats' with pid 120
2024-12-17 11:08:29,428 INFO spawned: 'nginx' with pid 128
2024-12-17 11:08:29,430 INFO spawned: 'postgres-init-job' with pid 131
2024-12-17 11:08:29,433 INFO spawned: 'postgresql' with pid 134
2024-12-17 11:08:29,435 INFO spawned: 'redis' with pid 139
2024-12-17 11:08:29,438 INFO spawned: 'registry' with pid 141
2024-12-17 11:08:29,440 INFO spawned: 'seed-init-job' with pid 150
2024-12-17 11:08:29,442 INFO spawned: 'space-builder' with pid 155
2024-12-17 11:08:29,445 INFO spawned: 'temporal' with pid 158
2024-12-17 11:08:29,449 INFO spawned: 'temporal-ui' with pid 168
2024-12-17 11:08:29,450 INFO exited: k8s-init-job (exit status 0; expected)

===== /var/log/gitlab-shell/gitlab-shell.log ==================

===== /var/log/csghub-runner/k8s-init-job.log =================
0
ls: cannot access '/etc/.kube/config*': No such file or directory
Non clusters detected.
2024-12-17 11:08:29,456 INFO success: minio-init-job entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 11:08:29,457 INFO success: mirror-init-job entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 11:08:29,457 INFO success: postgres-init-job entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 11:08:29,457 INFO success: seed-init-job entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 11:08:30,686 INFO success: logger entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-17 11:08:31,529 INFO exited: minio-init-job (exit status 0; expected)

===== /var/log/minio/minio-init-job.log =======================
Waiting MinIO ready...
MinIO is ready.
Initialize minio buckets
Added `myMinio` successfully.
Bucket created successfully `myMinio/csghub-server`.
Bucket created successfully `myMinio/csghub-portal`.
Bucket created successfully `myMinio/csghub-registry`.
2024-12-17 11:08:32,220 INFO exited: postgres-init-job (exit status 0; expected)

===== /var/log/postgresql/postgres-init-job.log ===============
Waiting PostgreSQL ready...
/var/run/postgresql:5432 - no response
/var/run/postgresql:5432 - accepting connections
PostgreSQL is ready.
Initialize postgres databases
CREATE ROLE
CREATE DATABASE
GRANT
CREATE ROLE
CREATE DATABASE
GRANT
CREATE ROLE
CREATE DATABASE
GRANT
CREATE ROLE
CREATE DATABASE
GRANT
ALTER ROLE
2024-12-17 11:08:33,587 WARN exited: csghub-portal (exit status 2; not expected)

===== /var/log/csghub-portal/csghub-portal.log ================
Waiting PostgreSQL ready...
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Initializing database migrations...
init logger, level: INFO, format: json
Running database migrations...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:33.573254711Z","level":"INFO","msg":"migrated to group #1 (20240902082008_create_admin_photo)"}
Starting portal...
init logger, level: INFO, format: json
panic: template: pattern matches no files: `prompts/assistant.html`

goroutine 1 [running]:
opencsg.com/portal/internal/routes.createRender()
        /myapp/internal/routes/router.go:169 +0x4bc
opencsg.com/portal/internal/routes.Initialize(0x4000118008)
        /myapp/internal/routes/router.go:90 +0x3d8
opencsg.com/portal/cmd/csghub-portal/cmd/start.init.func1(0x40002a3000?, {0xaba598?, 0x4?, 0xaba59c?})
        /myapp/cmd/csghub-portal/cmd/start/server.go:35 +0x120
github.com/spf13/cobra.(*Command).execute(0x175e3a0, {0x17966e0, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x175c400)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(0x40003cbf38?, {0x10d08f0?, 0x17966e0?})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1034 +0x48
main.main()
        /myapp/cmd/csghub-portal/main.go:12 +0x34
2024-12-17 11:08:34,112 WARN exited: csghub-server (exit status 1; not expected)

===== /var/log/csghub-server/csghub-server.log ================
Waiting PostgreSQL ready...
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Database setup...
Migration init
init logger, level: INFO, format: json
Migration migrate
init logger, level: INFO, format: json
Insert data successfully
Insert data successfully
{"time":"2024-12-17T11:08:34.059450294Z","level":"INFO","msg":"migrated to group #1 (115 migrations (20231118022757 ... 20241126071538))"}
Reset temporary environments
Starting server...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:34.088742669Z","level":"INFO","msg":"FIFOScheduler run started"}
{"time":"2024-12-17T11:08:34.088893628Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/17 11:08:34 INFO  No logger configured for temporal client. Created default one.
Error: failed to start worker:  unable to create workflow client, error:failed reaching server: last connection error: connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:7233: connect: connection refused"
2024-12-17 11:08:35,250 INFO spawned: 'csghub-portal' with pid 646
2024-12-17 11:08:35,252 INFO spawned: 'csghub-server' with pid 647

===== /var/log/csghub-portal/csghub-portal.log ================
Waiting PostgreSQL ready...

===== /var/log/csghub-server/csghub-server.log ================
Waiting PostgreSQL ready...

===== /var/log/csghub-portal/csghub-portal.log ================
PostgreSQL is ready.
Waiting MinIO ready...

===== /var/log/csghub-server/csghub-server.log ================
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Database setup...
Migration init

===== /var/log/csghub-portal/csghub-portal.log ================
MinIO is ready.
Initializing database migrations...
init logger, level: INFO, format: json
Running database migrations...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:35.320748462Z","level":"INFO","msg":"there are no new migrations to run (database is up to date)"}
Starting portal...
init logger, level: INFO, format: json

===== /var/log/csghub-server/csghub-server.log ================
init logger, level: INFO, format: json
Migration migrate

===== /var/log/csghub-portal/csghub-portal.log ================
2024-12-17 11:08:35,335 WARN exited: csghub-portal (exit status 2; not expected)
panic: template: pattern matches no files: `prompts/assistant.html`

goroutine 1 [running]:
opencsg.com/portal/internal/routes.createRender()
        /myapp/internal/routes/router.go:169 +0x4bc
opencsg.com/portal/internal/routes.Initialize(0x400048c008)
        /myapp/internal/routes/router.go:90 +0x3d8
opencsg.com/portal/cmd/csghub-portal/cmd/start.init.func1(0x40002b9000?, {0xaba598?, 0x4?, 0xaba59c?})
        /myapp/cmd/csghub-portal/cmd/start/server.go:35 +0x120
github.com/spf13/cobra.(*Command).execute(0x175e3a0, {0x17966e0, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x175c400)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(0x40003edf38?, {0x10d08f0?, 0x17966e0?})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1034 +0x48
main.main()
        /myapp/cmd/csghub-portal/main.go:12 +0x34

===== /var/log/csghub-server/csghub-server.log ================
init logger, level: INFO, format: json

===== /var/log/csghub-portal/csghub-portal.log ================

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:35.350672045Z","level":"INFO","msg":"there are no new migrations to run (database is up to date)"}
Reset temporary environments
Starting server...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:35.379602003Z","level":"INFO","msg":"FIFOScheduler run started"}
{"time":"2024-12-17T11:08:35.379825878Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/17 11:08:35 INFO  No logger configured for temporal client. Created default one.
2024/12/17 11:08:35 INFO  Started Worker Namespace default TaskQueue workflow_handle_push_queue WorkerID 647@omnibus-csghub@
2024/12/17 11:08:35 WARN  Failed to poll for task. Namespace default TaskQueue workflow_handle_push_queue WorkerID 647@omnibus-csghub@ WorkerType WorkflowWorker Error Namespace default is not found.
2024/12/17 11:08:35 WARN  Failed to poll for task. Namespace default TaskQueue workflow_handle_push_queue WorkerID 647@omnibus-csghub@ WorkerType ActivityWorker Error Namespace default is not found.
Error: failed to register cron jobs:  unable to create schedule, error:Namespace default is not found.
2024-12-17 11:08:35,644 WARN exited: csghub-server (exit status 1; not expected)
2024-12-17 11:08:37,370 INFO spawned: 'csghub-portal' with pid 813

===== /var/log/csghub-portal/csghub-portal.log ================
Waiting PostgreSQL ready...
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Initializing database migrations...
init logger, level: INFO, format: json
Running database migrations...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:37.455067963Z","level":"INFO","msg":"there are no new migrations to run (database is up to date)"}
Starting portal...
init logger, level: INFO, format: json
2024-12-17 11:08:37,464 WARN exited: csghub-portal (exit status 2; not expected)
panic: template: pattern matches no files: `prompts/assistant.html`

goroutine 1 [running]:
opencsg.com/portal/internal/routes.createRender()
        /myapp/internal/routes/router.go:169 +0x4bc
opencsg.com/portal/internal/routes.Initialize(0x400048a008)
        /myapp/internal/routes/router.go:90 +0x3d8
opencsg.com/portal/cmd/csghub-portal/cmd/start.init.func1(0x40002a3000?, {0xaba598?, 0x4?, 0xaba59c?})
        /myapp/cmd/csghub-portal/cmd/start/server.go:35 +0x120
github.com/spf13/cobra.(*Command).execute(0x175e3a0, {0x17966e0, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x175c400)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(0x40003cbf38?, {0x10d08f0?, 0x17966e0?})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1034 +0x48
main.main()
        /myapp/cmd/csghub-portal/main.go:12 +0x34
2024-12-17 11:08:38,472 INFO spawned: 'csghub-server' with pid 859

===== /var/log/csghub-server/csghub-server.log ================
Waiting PostgreSQL ready...
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Database setup...
Migration init
init logger, level: INFO, format: json
Migration migrate
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:38.586292921Z","level":"INFO","msg":"there are no new migrations to run (database is up to date)"}
Reset temporary environments
Starting server...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:38.616692713Z","level":"INFO","msg":"FIFOScheduler run started"}
{"time":"2024-12-17T11:08:38.616847005Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/17 11:08:38 INFO  No logger configured for temporal client. Created default one.
2024/12/17 11:08:38 INFO  Started Worker Namespace default TaskQueue workflow_handle_push_queue WorkerID 859@omnibus-csghub@
2024/12/17 11:08:38 INFO  Started Worker Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@
2024-12-17 11:08:39,432 INFO success: casdoor entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,432 INFO success: csghub-accounting entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,432 INFO success: csghub-rproxy entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,432 INFO success: csghub-runner entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: csghub-user entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: dnsmasq entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: gitaly entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: gitlab-shell entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: minio entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: mirror-lfs entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: mirror-repo entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,433 INFO success: nats entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,434 INFO success: nginx entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,434 INFO success: postgresql entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,434 INFO success: redis entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
{"time":"2024-12-17T11:08:39.432176589Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.432176464Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.432484964Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":2,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
{"time":"2024-12-17T11:08:39.432689464Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":2,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
{"time":"2024-12-17T11:08:39.433013505Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.433202422Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":0,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
2024-12-17 11:08:39,439 INFO success: registry entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
{"time":"2024-12-17T11:08:39.439229964Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.439457297Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":1,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
2024-12-17 11:08:39,454 INFO success: space-builder entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,454 INFO success: temporal entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
2024-12-17 11:08:39,454 INFO success: temporal-ui entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)
{"time":"2024-12-17T11:08:39.45837088Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.458615505Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":0,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
{"time":"2024-12-17T11:08:39.459114589Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.459353422Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":1,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
{"time":"2024-12-17T11:08:39.463183964Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.463413547Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":0,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
2024-12-17 11:08:39,472 WARN exited: csghub-runner (exit status 2; not expected)

===== /var/log/csghub-runner/csghub-runner.log ================
2024-12-17 11:08:39,477 INFO spawned: 'csghub-runner' with pid 983
Waiting CSGHub-Server ready...
CSGHub-Server is ready.
Starting runner...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:39.467176964Z","level":"ERROR","msg":"No kubeconfig files","path":"/root/.kube"}
panic: runtime error: index out of range [0] with length 0

goroutine 56 [running]:
opencsg.com/csghub-server/runner/component.(*workFlowComponentImpl).RunWorkflowsInformer(0x0?, 0x0?, 0x0?)
        /starhub/runner/component/workflow.go:273 +0x2e4
created by opencsg.com/csghub-server/runner/component.NewWorkFlowComponent in goroutine 1
        /starhub/runner/component/workflow.go:59 +0x120
Waiting CSGHub-Server ready...

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:39.486191547Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.486431255Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":0,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}

===== /var/log/csghub-runner/csghub-runner.log ================
CSGHub-Server is ready.
Starting runner...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:39.51232788Z","level":"ERROR","msg":"No kubeconfig files","path":"/root/.kube"}
2024-12-17 11:08:39,516 WARN exited: csghub-runner (exit status 2; not expected)
panic: runtime error: index out of range [0] with length 0

goroutine 15 [running]:
opencsg.com/csghub-server/runner/component.(*workFlowComponentImpl).RunWorkflowsInformer(0x0?, 0x0?, 0x0?)
        /starhub/runner/component/workflow.go:273 +0x2e4
created by opencsg.com/csghub-server/runner/component.NewWorkFlowComponent in goroutine 1
        /starhub/runner/component/workflow.go:59 +0x120

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:39.543498339Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:39.543721922Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":0,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}
2024-12-17 11:08:40,756 INFO spawned: 'csghub-portal' with pid 1017
2024-12-17 11:08:40,758 INFO spawned: 'csghub-runner' with pid 1018

===== /var/log/csghub-runner/csghub-runner.log ================
Waiting CSGHub-Server ready...

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:40.774117631Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:40.774478214Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":1,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}

===== /var/log/csghub-runner/csghub-runner.log ================
CSGHub-Server is ready.
Starting runner...
init logger, level: INFO, format: json

===== /var/log/csghub-portal/csghub-portal.log ================
Waiting PostgreSQL ready...

===== /var/log/csghub-runner/csghub-runner.log ================
{"time":"2024-12-17T11:08:40.806571423Z","level":"ERROR","msg":"No kubeconfig files","path":"/root/.kube"}
panic: runtime error: index out of range [0] with length 0

goroutine 69 [running]:
opencsg.com/csghub-server/runner/component.(*workFlowComponentImpl).RunWorkflowsInformer(0x0?, 0x0?, 0x0?)
        /starhub/runner/component/workflow.go:273 +0x2e4
created by opencsg.com/csghub-server/runner/component.NewWorkFlowComponent in goroutine 1
        /starhub/runner/component/workflow.go:59 +0x120
2024-12-17 11:08:40,811 WARN exited: csghub-runner (exit status 2; not expected)

===== /var/log/csghub-portal/csghub-portal.log ================
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Initializing database migrations...
init logger, level: INFO, format: json
Running database migrations...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:40.841377631Z","level":"INFO","msg":"there are no new migrations to run (database is up to date)"}
Starting portal...
init logger, level: INFO, format: json
panic: template: pattern matches no files: `prompts/assistant.html`

goroutine 1 [running]:
opencsg.com/portal/internal/routes.createRender()
        /myapp/internal/routes/router.go:169 +0x4bc
opencsg.com/portal/internal/routes.Initialize(0x400007a010)
        /myapp/internal/routes/router.go:90 +0x3d8
opencsg.com/portal/cmd/csghub-portal/cmd/start.init.func1(0x40002b9000?, {0xaba598?, 0x4?, 0xaba59c?})
        /myapp/cmd/csghub-portal/cmd/start/server.go:35 +0x120
github.com/spf13/cobra.(*Command).execute(0x175e3a0, {0x17966e0, 0x0, 0x0})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x175c400)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/spf13/cobra.(*Command).ExecuteContext(0x40003edf38?, {0x10d08f0?, 0x17966e0?})
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:1034 +0x48
main.main()
        /myapp/cmd/csghub-portal/main.go:12 +0x34
2024-12-17 11:08:41,854 WARN exited: csghub-portal (exit status 2; not expected)
2024-12-17 11:08:42,858 INFO gave up: csghub-portal entered FATAL state, too many start retries too quickly
2024-12-17 11:08:42,863 INFO spawned: 'csghub-runner' with pid 1066

===== /var/log/csghub-runner/csghub-runner.log ================
Waiting CSGHub-Server ready...

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:42.88047859Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:42.880943924Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":1,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}

===== /var/log/csghub-runner/csghub-runner.log ================
CSGHub-Server is ready.
Starting runner...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:42.918929757Z","level":"ERROR","msg":"No kubeconfig files","path":"/root/.kube"}
panic: runtime error: index out of range [0] with length 0

goroutine 50 [running]:
opencsg.com/csghub-server/runner/component.(*workFlowComponentImpl).RunWorkflowsInformer(0x0?, 0x0?, 0x0?)
        /starhub/runner/component/workflow.go:273 +0x2e4
created by opencsg.com/csghub-server/runner/component.NewWorkFlowComponent in goroutine 1
        /starhub/runner/component/workflow.go:59 +0x120
2024-12-17 11:08:42,924 WARN exited: csghub-runner (exit status 2; not expected)

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:43.619209341Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024-12-17 11:08:46,309 INFO spawned: 'csghub-runner' with pid 1089

===== /var/log/csghub-runner/csghub-runner.log ================
Waiting CSGHub-Server ready...

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:46.322919675Z","level":"INFO","msg":"Tags loaded successfully","count":214}
{"time":"2024-12-17T11:08:46.323291259Z","level":"INFO","msg":"http request","ip":"127.0.0.1","method":"GET","latency(ms)":1,"status":200,"current_user":"","auth_type":"","url":"/api/v1/tags"}

===== /var/log/csghub-runner/csghub-runner.log ================
CSGHub-Server is ready.
Starting runner...
init logger, level: INFO, format: json
{"time":"2024-12-17T11:08:46.352968134Z","level":"ERROR","msg":"No kubeconfig files","path":"/root/.kube"}
2024-12-17 11:08:46,357 WARN exited: csghub-runner (exit status 2; not expected)
panic: runtime error: index out of range [0] with length 0

goroutine 38 [running]:
opencsg.com/csghub-server/runner/component.(*workFlowComponentImpl).RunWorkflowsInformer(0x0?, 0x0?, 0x0?)
        /starhub/runner/component/workflow.go:273 +0x2e4
created by opencsg.com/csghub-server/runner/component.NewWorkFlowComponent in goroutine 1
        /starhub/runner/component/workflow.go:59 +0x120
2024-12-17 11:08:46,358 INFO gave up: csghub-runner entered FATAL state, too many start retries too quickly
2024-12-17 11:08:48,621 INFO success: csghub-server entered RUNNING state, process has stayed up for > than 10 seconds (startsecs)

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:08:48.620696385Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:08:53.629389762Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:08:58.629705208Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:09:03.635269336Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:09:08.64128263Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024-12-17 11:09:12,967 INFO exited: mirror-init-job (exit status 0; expected)

===== /var/log/csghub-server/mirror-init-job.log ==============
Waiting PostgreSQL ready...
PostgreSQL is ready.
Waiting MinIO ready...
MinIO is ready.
Waiting CSGHub-Server ready...
CSGHub-Server is ready.
Start multi-source synchronization background and Initialize the sample repository
init logger, level: INFO, format: json
{"time":"2024-12-17T11:09:12.963736299Z","level":"ERROR","msg":"failed to sync as client","err":"failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get \"https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800\": EOF"}

===== /var/log/csghub-server/csghub-server.log ================
{"time":"2024-12-17T11:09:13.644218466Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:09:18.646446801Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:09:23.652182012Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:28.153306208Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:33.192563627Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:38.203158505Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:43.210326882Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:48.211986968Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T11:36:53.220327595Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:31.0050465Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:36.014186961Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:41.016574047Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:46.018957424Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:51.028134635Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T12:23:56.030276845Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:47:35.333737Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:47:40.344527378Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:47:45.346723963Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:47:50.355716007Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:47:55.360925926Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T13:48:00.369174679Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:04.556708375Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:09.568073336Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:14.57679013Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:19.582228507Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:24.584031218Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T15:00:29.589396595Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:19:44.280241833Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:19:49.287163794Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:19:54.289520047Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:19:59.293198924Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:20:04.301265843Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T16:20:09.308135262Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:27:36.730832459Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:27:41.732835711Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:27:46.735552172Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:27:51.747339674Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:27:56.748806343Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T17:28:01.749903345Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:25.061785459Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:30.063929669Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:35.064744213Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:40.071528924Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:45.07405501Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T18:32:50.076980262Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:12.323783709Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:17.337178878Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:22.339653963Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:27.346322716Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:32.347827051Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T19:57:37.385469095Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:17:57.508208667Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:18:02.511897419Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:18:07.520679797Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:18:12.522981007Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:18:17.52432251Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T21:18:22.529919262Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:17.947622917Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:22.949770711Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:27.951529088Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:32.957836007Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:37.960750801Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-17T22:41:42.962283262Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T00:03:53.853305959Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 00:03:55 INFO  sync as client workflow started Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 Attempt 1
2024/12/18 00:03:55 DEBUG ExecuteActivity Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 Attempt 1 ActivityID 5 ActivityType SyncAsClient
{"time":"2024-12-18T00:03:58.855625003Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T00:04:04.036384422Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T00:04:09.039611257Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T00:04:14.04318451Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T00:04:19.046193304Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 00:04:20 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 ActivityType SyncAsClient Attempt 1 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF
{"time":"2024-12-18T01:16:14.693617125Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 01:16:15 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 ActivityType SyncAsClient Attempt 2 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF
2024/12/18 01:16:17 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 ActivityType SyncAsClient Attempt 3 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": dial tcp: lookup hub.opencsg.com on 127.0.0.1:53: no such host
2024/12/18 01:16:17 ERROR failed to sync as client Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-17T12:00:00Z RunID 015f38b0-f897-4a1a-a8c8-a30eacbbbb51 Attempt 1 error activity error (type: SyncAsClient, scheduledEventID: 5, startedEventID: 6, identity: 859@omnibus-csghub@): failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": dial tcp: lookup hub.opencsg.com on 127.0.0.1:53: no such host (type: wrapError, retryable: true): failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": dial tcp: lookup hub.opencsg.com on 127.0.0.1:53: no such host (type: wrapError, retryable: true): Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": dial tcp: lookup hub.opencsg.com on 127.0.0.1:53: no such host (type: Error, retryable: true): dial tcp: lookup hub.opencsg.com on 127.0.0.1:53: no such host (type: OpError, retryable: true): lookup hub.opencsg.com on 127.0.0.1:53: no such host (type: DNSError, retryable: true)
{"time":"2024-12-18T01:16:19.704910253Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:24.709814922Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:29.711260341Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:34.712588885Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:39.715606095Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:44.724436834Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 01:16:46 INFO  sync as client workflow started Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c Attempt 1
2024/12/18 01:16:46 DEBUG ExecuteActivity Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c Attempt 1 ActivityID 5 ActivityType SyncAsClient
{"time":"2024-12-18T01:16:49.726523461Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:54.739867172Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:16:59.747986382Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:04.749399135Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 01:17:06 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c ActivityType SyncAsClient Attempt 1 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": dial tcp: lookup hub.opencsg.com on 192.168.65.7:53: read udp 172.17.0.2:56412->192.168.65.7:53: i/o timeout
{"time":"2024-12-18T01:17:09.752688054Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:14.755532375Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:19.756838086Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 01:17:22 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c ActivityType SyncAsClient Attempt 2 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF
{"time":"2024-12-18T01:17:24.758727088Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:29.760499674Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
2024/12/18 01:17:31 ERROR Activity error. Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c ActivityType SyncAsClient Attempt 3 Error failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF
2024/12/18 01:17:31 ERROR failed to sync as client Namespace default TaskQueue workflow_cron_queue WorkerID 859@omnibus-csghub@ WorkflowType SyncAsClientWorkflow WorkflowID sync-as-client-workflow-2024-12-18T01:00:00Z RunID 2cdfdadf-d71a-4372-9dae-8ccf918a9e2c Attempt 1 error activity error (type: SyncAsClient, scheduledEventID: 5, startedEventID: 6, identity: 859@omnibus-csghub@): failed to sync latest version from client, current version:2800, error: failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF (type: wrapError, retryable: true): failed to get latest version from endpoint https://hub.opencsg.com, param cur:2800, cause: Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF (type: wrapError, retryable: true): Get "https://hub.opencsg.com/api/v1/sync/version/latest?cur=2800": EOF (type: Error, retryable: true): EOF
{"time":"2024-12-18T01:17:34.762048468Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:39.766639887Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:44.773225834Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:49.779109169Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:54.78798463Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:17:59.791553757Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:04.79262326Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:09.796118137Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:14.796932542Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:19.800149503Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:24.801606463Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
{"time":"2024-12-18T01:18:29.803969757Z","level":"ERROR","msg":"refresh status all failed","error":"Get \"http://127.0.0.1:8082/api/v1/service/status-all\": dial tcp 127.0.0.1:8082: connect: connection refused"}
@Rader
Copy link
Collaborator

Rader commented Dec 18, 2024

@FancyXun as the error log says, you miss the "kube config" file.

here is the doc related:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants