rancher / rio

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

gets stuck with rio dashboard #1038

Closed thelark closed 4 years ago

thelark commented 4 years ago

Describe the bug

gets stuck with rio dashboard

To Reproduce

Steps to reproduce the behavior:

  1. download rio
  2. rio install on ubuntu desktop(20.04)
  3. installation successed
  4. run rio dashboard
  5. stuck in Waiting for dashboard service to be ready

    Expected behavior

    Installation does not hang and k3s deployments do not crash

    k3s version: k3s version

    k3s version v1.17.4+k3s1 (3eee8ac3)

    Rio version: rio info

    Rio Version: v0.7.1 (d4c5f274) Rio CLI Version: v0.7.1 (d4c5f274)

    Additional context

    output: rio system logs

    rio-controller | time="2020-05-07T07:36:34Z" level=info msg="Starting rio-controller, version: v0.7.1, git commit: d4c5f274"
    rio-controller | time="2020-05-07T07:36:34Z" level=info msg="Updating CRD services.rio.cattle.io"
    rio-controller | time="2020-05-07T07:36:34Z" level=info msg="Updating CRD stacks.rio.cattle.io"
    rio-controller | I0507 07:36:34.299161       1 leaderelection.go:241] attempting to acquire leader lease  rio-system/rio...
    rio-controller | time="2020-05-07T07:36:34Z" level=info msg="listening at :443"
    rio-controller | I0507 07:36:34.303469       1 leaderelection.go:251] successfully acquired lease rio-system/rio
    rio-controller | time="2020-05-07T07:36:35Z" level=info msg="Starting /v1, Kind=ConfigMap controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting apps/v1, Kind=Deployment controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting apps/v1, Kind=DaemonSet controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting apps/v1, Kind=StatefulSet controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting /v1, Kind=Service controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting /v1, Kind=Endpoints controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting extensions/v1beta1, Kind=Ingress controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting admin.rio.cattle.io/v1, Kind=ClusterDomain controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting admin.rio.cattle.io/v1, Kind=PublicDomain controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting rbac.authorization.k8s.io/v1, Kind=ClusterRole controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting rio.cattle.io/v1, Kind=Service controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting rio.cattle.io/v1, Kind=ExternalService controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting rio.cattle.io/v1, Kind=Router controller"
    rio-controller | time="2020-05-07T07:36:37Z" level=info msg="Starting gloo.solo.io/v1, Kind=Settings controller"
StrongMonkey commented 4 years ago

Does dashboard link eventually work? I am able to get it working in v0.7.1. You can try to access dashboard link in rio -s ps. This might be a timing issue.

ShadowJonathan commented 4 years ago

@StrongMonkey In the brief moment i had rio installed (to see what it was about) i had the same issue, the dashboard will not go up because it is upgrading connections to https, which the gateway cannot handle if it does not have letsencrypt/certmanager installed, so it'll error/timeout