rancher / rio

Application Deployment Engine for Kubernetes
https://rio.io
Apache License 2.0
2.27k stars 228 forks source link

rio dashboard Abnormal startup #1067

Open chenmins opened 3 years ago

chenmins commented 3 years ago

Describe the bug

rio dashboard Abnormal startup

uname -a Linux rio 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

To Reproduce

  1. rio dashboard

Expected behavior

root@rio:~# rio dashboard
- Waiting for dashboard service to be readyINFO[0083] Opening browser to https://dashboard-rio-system.pl9fpl.on-rio.io/dashboard/?setup=qvq4xtsjpt6rcgrwp4bhb54xslmzc2zchkjgb7d6dmwsr842fmjkrf 
FATA[0083] exec: "xdg-open": executable file not found in $PATH 

Kubernetes version & type (GKE, on-prem): kubectl version

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4+k3s1", GitCommit:"2532c10faad43e2b6e728fdcc01662dc13d37764", GitTreeState:"clean", BuildDate:"2020-11-18T22:11:18Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4+k3s1", GitCommit:"2532c10faad43e2b6e728fdcc01662dc13d37764", GitTreeState:"clean", BuildDate:"2020-11-18T22:11:18Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}

Type: Rio version: rio info

Rio Version: v0.8.0 (af7ad687)
Rio CLI Version: v0.8.0 (af7ad687)
Cluster Domain: pl9fpl.on-rio.io
Cluster Domain IPs: 47.242.37.86
System Namespace: rio-system
Wildcard certificates: pl9fpl.on-rio.io(true)

Additional context rio system logs output:

rio-controller | time="2020-12-11T13:06:17Z" level=info msg="Starting rio-controller, version: v0.8.0, git commit: af7ad687"
rio-controller | time="2020-12-11T13:06:17Z" level=info msg="Updating CRD services.rio.cattle.io"
rio-controller | time="2020-12-11T13:06:17Z" level=info msg="Updating CRD stacks.rio.cattle.io"
rio-controller | I1211 13:06:17.451063       1 leaderelection.go:241] attempting to acquire leader lease  rio-system/rio...
rio-controller | time="2020-12-11T13:06:17Z" level=info msg="listening at :443"
rio-controller | I1211 13:06:17.456606       1 leaderelection.go:251] successfully acquired lease rio-system/rio
rio-controller | time="2020-12-11T13:06:17Z" level=info msg="Starting /v1, Kind=ConfigMap controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting apps/v1, Kind=StatefulSet controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting /v1, Kind=Endpoints controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting admin.rio.cattle.io/v1, Kind=Certificate controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting apps/v1, Kind=DaemonSet controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting tekton.dev/v1alpha1, Kind=TaskRun controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting /v1, Kind=Secret controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting /v1, Kind=Service controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting apps/v1, Kind=Deployment controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting admin.rio.cattle.io/v1, Kind=ClusterDomain controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting extensions/v1beta1, Kind=Ingress controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRole controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rio.cattle.io/v1, Kind=Router controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rio.cattle.io/v1, Kind=Service controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rio.cattle.io/v1, Kind=ExternalService controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting rio.cattle.io/v1, Kind=Stack controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting gitwatcher.cattle.io/v1, Kind=GitCommit controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting admin.rio.cattle.io/v1, Kind=PublicDomain controller"
rio-controller | time="2020-12-11T13:06:19Z" level=info msg="Starting gloo.solo.io/v1, Kind=Settings controller"
rio-controller | 2020/12/11 13:06:20 [INFO] [*.pl9fpl.on-rio.io] acme: Obtaining bundled SAN certificate
rio-controller | 2020/12/11 13:06:21 [INFO] [*.pl9fpl.on-rio.io] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/9228390615
rio-controller | 2020/12/11 13:06:21 [INFO] [*.pl9fpl.on-rio.io] acme: authorization already valid; skipping challenge
rio-controller | 2020/12/11 13:06:21 [INFO] [*.pl9fpl.on-rio.io] acme: Validations succeeded; requesting certificates
rio-controller | 2020/12/11 13:06:23 [INFO] [*.pl9fpl.on-rio.io] Server responded with a certificate.
kubectl logs dashboard-55f6fb4fc9-vpccc -n rio-system
time="2020-12-11T13:14:23Z" level=info msg="Rancher version dev is starting"
time="2020-12-11T13:14:23Z" level=info msg="Rancher arguments {Config:{Kubeconfig: UserKubeconfig: HTTPSPort:443 HTTPPort:80 Namespace: WebhookConfig:{WebhookAuthentication:false WebhookKubeconfig: WebhookURL: CacheTTLSeconds:0}} AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features:}"
time="2020-12-11T13:14:23Z" level=info msg="Starting API controllers"
I1211 13:14:23.686350       7 leaderelection.go:241] attempting to acquire leader lease  kube-system/cattle-controllers...
I1211 13:14:23.686548       7 leaderelection.go:241] attempting to acquire leader lease  kube-system/cloud-controllers...
time="2020-12-11T13:14:24Z" level=info msg="Starting apiregistration.k8s.io/v1, Kind=APIService controller"
time="2020-12-11T13:14:24Z" level=info msg="Refreshing all schemas"
time="2020-12-11T13:14:24Z" level=info msg="Starting apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition controller"
time="2020-12-11T13:14:25Z" level=info msg="Refreshing all schemas"
time="2020-12-11T13:14:25Z" level=fatal msg="unable to retrieve the complete list of server APIs: tap.linkerd.io/v1alpha1: the server is currently unable to handle the request"
JElgar commented 3 years ago

Hi there I'm getting the same error "level=fatal msg="unable to retrieve the complete list of server APIs: tap.linkerd.io/v1alpha1: the server is currently unable to handle the request". Is there a work around for this?

chenmins commented 3 years ago

so ,I alway use rio commands.