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

gitlab deployed but UI shows "failed" #3036

Closed
hlwanghl opened this issue Oct 28, 2020 · 2 comments
Closed

gitlab deployed but UI shows "failed" #3036

hlwanghl opened this issue Oct 28, 2020 · 2 comments
Assignees
Labels
area/app-management kind/bug Categorizes issue or PR as related to a bug. stale No recent activity in a long period
Milestone

Comments

@hlwanghl
Copy link
Contributor

hlwanghl commented Oct 28, 2020

Describe the Bug
The GitLab chart from https://charts.kubesphere.io/main can be deployed successfully, but KS UI shows "failed".

image

image

cli results:

root@i-w1z77crh:~# helm -n apps ls
NAME	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART       	APP VERSION
git 	apps     	1       	2020-10-28 02:17:13.925026452 +0000 UTC	deployed	gitlab-4.2.2	13.2.2
root@i-w1z77crh:~#
root@i-w1z77crh:~# kubectl -n apps get po
NAME                                                 READY   STATUS      RESTARTS   AGE
git-gitaly-0                                         1/1     Running     0          37m
git-gitlab-shell-857bcfb4bd-xtxb2                    1/1     Running     0          37m
git-gitlab-upgrade-check-nzxx5                       0/1     Completed   0          37m
git-migrations.1-98xwn                               0/1     Completed   0          37m
git-minio-7b86674fc6-5cpjl                           1/1     Running     0          37m
git-nginx-ingress-controller-54b4967d7c-cvff9        1/1     Running     0          37m
git-nginx-ingress-default-backend-7477d885cd-8vtck   1/1     Running     0          37m
git-postgresql-0                                     1/1     Running     0          37m
git-redis-master-0                                   1/1     Running     0          37m
git-registry-5d77fb9564-4d2mm                        1/1     Running     0          37m
git-shared-secrets.1-w2b-ts4v9                       0/1     Completed   0          37m
git-sidekiq-all-in-1-v1-598c8c8c9d-vc7lg             1/1     Running     0          37m
git-task-runner-79d5b9f5fb-qtjwg                     1/1     Running     0          37m
git-webservice-6dffcb4488-q9rx5                      2/2     Running     0          37m

openpitrix logging:

2020-10-28 02:53:15.84097 -ERROR- Failed to wait subtask in runtime [default]: rpc error: code = Unknown desc = deployments.apps "git-gitlab-runner" not found (controller.go:422)(t-gOgy9mzglM5L|j-n7J3lVE1pX5P)
2020-10-28 02:53:17.13393 -ERROR- Failed to wait task [t-gOgy9mzglM5L]: Task [t-gOgy9mzglM5L] failed.  (controller.go:186)(j-n7J3lVE1pX5P)

Versions Used
KubeSphere: 3.0.0
Kubernetes: 1.17.9

Environment
QKE 3.0.0 standard test, 1 master + 2 workers

How To Reproduce
Steps to reproduce the behavior:

  1. import main repo https://charts.kubesphere.io/main
  2. deploy GitLab from main repo with following config:
    global:
      hosts:
        domain: apps.svc.cluster.local
    
    gitlab-runner:
      install: false
    
    gitlab:
      webservice:
        helmTests:
          enabled: false
    
  3. wait for all pods running
  4. See error

Expected behavior
KS UI shows active when deployed.

@zheng1 zheng1 self-assigned this Oct 31, 2020
@zheng1 zheng1 added area/app-management kind/bug Categorizes issue or PR as related to a bug. labels Oct 31, 2020
@zheng1 zheng1 added this to the 3.1.0 milestone Oct 31, 2020
@stale
Copy link

stale bot commented Jan 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the stale No recent activity in a long period label Jan 29, 2021
@stale
Copy link

stale bot commented Feb 28, 2021

This issue is being automatically closed due to inactivity.

@stale stale bot closed this as completed Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/app-management kind/bug Categorizes issue or PR as related to a bug. stale No recent activity in a long period
Projects
None yet
Development

No branches or pull requests

2 participants