【部署】分步部署到harbor时,pod都是running了,但还是服务访问不聊吗

  • Choerodon平台版本: 0.6.0

  • 遇到问题的执行步骤:
    Harbor

  • 文档地址:

  • 环境信息(如:节点信息):
    4台4核以上16G

  • 报错日志:

[root@localhost ~]# kubectl logs -n c7n-system harbor-harbor-core-68f78b5644-vt5q2
2020-11-26T03:36:26Z [INFO] [/replication/adapter/native/adapter.go:44]: the factory for adapter docker-registry registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/harbor/adapter.go:42]: the factory for adapter harbor registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/dockerhub/adapter.go:25]: Factory for adapter docker-hub registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/huawei/huawei_adapter.go:27]: the factory of Huawei adapter was registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/googlegcr/adapter.go:31]: the factory for adapter google-gcr registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/awsecr/adapter.go:49]: the factory for adapter aws-ecr registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/azurecr/adapter.go:15]: Factory for adapter azure-acr registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/aliacr/adapter.go:28]: the factory for adapter ali-acr registered
2020-11-26T03:36:26Z [INFO] [/replication/adapter/helmhub/adapter.go:31]: the factory for adapter helm-hub registered
2020-11-26T03:36:26Z [DEBUG] [/core/auth/authenticator.go:126]: Registered authentication helper for auth mode: http_auth
2020-11-26T03:36:26Z [DEBUG] [/core/auth/authenticator.go:126]: Registered authentication helper for auth mode: db_auth
2020-11-26T03:36:26Z [DEBUG] [/core/auth/authenticator.go:126]: Registered authentication helper for auth mode: ldap_auth
2020-11-26T03:36:26Z [DEBUG] [/core/auth/authenticator.go:126]: Registered authentication helper for auth mode: uaa_auth
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnPullImage is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnDeleteImage is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnUploadChart is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnDownloadChart is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnDeleteChart is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnScanningCompleted is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnScanningFailed is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic OnPushImage is subscribed
2020-11-26T03:36:26Z [DEBUG] [/core/notifier/topic/topics.go:30]: topic http is subscribed
2020-11-26T03:36:26Z [INFO] [/core/controllers/base.go:290]: Config path: /etc/core/app.conf
2020-11-26T03:36:26Z [INFO] [/core/main.go:174]: initializing configurations...
2020-11-26T03:36:26Z [INFO] [/core/config/config.go:101]: key path: /etc/core/key
2020-11-26T03:36:26Z [INFO] [/core/config/config.go:74]: init secret store
2020-11-26T03:36:26Z [INFO] [/core/config/config.go:77]: init project manager based on deploy mode
2020-11-26T03:36:26Z [INFO] [/core/config/config.go:146]: initializing the project manager based on local database...
2020-11-26T03:36:26Z [INFO] [/core/main.go:178]: configurations initialization completed
2020-11-26T03:36:26Z [INFO] [/common/dao/base.go:84]: Registering database: type-PostgreSQL host-harbor-harbor-database port-5432 databse-registry sslmode-"disable"
2020-11-26T03:38:21Z [INFO] [/common/dao/base.go:89]: Register database completed
2020-11-26T03:38:21Z [INFO] [/common/dao/pgsql.go:119]: Upgrading schema for pgsql ...
2020-11-26T03:38:21Z [INFO] [/common/dao/pgsql.go:122]: No change in schema, skip.
2020-11-26T03:38:21Z [INFO] [/core/main.go:80]: User id: 1 already has its encrypted password.
2020-11-26T03:38:21Z [DEBUG] [/replication/replication.go:86]: the replication initialization completed
2020-11-26T03:38:21Z [INFO] [/core/main.go:226]: initializing notification...
2020-11-26T03:38:21Z [INFO] [/pkg/notification/notification.go:50]: notification initialization completed
2020-11-26T03:38:21Z [INFO] [/core/main.go:248]: Because SYNC_REGISTRY set false , no need to sync registry 
2020-11-26T03:38:21Z [INFO] [/core/main.go:251]: Init proxy
2020-11-26T03:38:21Z [ERROR] [/core/main.go:259]: Failed to parse SYNC_QUOTA: strconv.ParseBool: parsing "": invalid syntax
2020-11-26T03:38:21Z [DEBUG] [/common/dao/project.go:149]: sql:=select distinct p.project_id, p.name, p.owner_id, 
		p.creation_time, p.update_time  from project as p where p.deleted=false order by p.name, param= []
2020/11/26 03:38:21 [I] [asm_amd64.s:1337] http server Running on http://:8080
2020-11-26T03:38:26Z [DEBUG] [/core/filter/security.go:229]: OIDC CLI modifier only handles request by docker CLI or helm CLI
2020-11-26T03:38:26Z [DEBUG] [/core/filter/security.go:444]: can not get user information from session
2020-11-26T03:38:26Z [DEBUG] [/core/filter/security.go:499]: user information is nil
2020-11-26T03:38:26Z [DEBUG] [/core/filter/security.go:513]: using local database project manager
2020-11-26T03:38:26Z [DEBUG] [/core/filter/security.go:515]: creating local database security context...
2020/11/26 03:38:26 [D] [server.go:2774] |  192.168.2.224| 200 |   2.564096ms|   match| GET      /api/ping   r:/api/ping
2020-11-26T03:38:36Z [DEBUG] [/core/filter/security.go:229]: OIDC CLI modifier only handles request by docker CLI or helm CLI
2020-11-26T03:38:36Z [DEBUG] [/core/filter/security.go:444]: can not get user information from session
2020-11-26T03:38:36Z [DEBUG] [/core/filter/security.go:499]: user information is nil
2020-11-26T03:38:36Z [DEBUG] [/core/filter/security.go:513]: using local database project manager
2020-11-26T03:38:36Z [DEBUG] [/core/filter/security.go:515]: creating local database security context...

* 原因分析:
  > 提出您分析问题的过程,以便我们能更准确的找到问题所在

* 疑问:
  > 提出您对于遇到和解决该问题时的疑问

请检查域名解析是否正确。