juju version: 3.2.0-genericlinux-amd64 MAAS version: **2.7.3 (8290-g.ebe2b9884)
Problem: Two days ago, the microk8s certificate was expired. The kubectl command cannot work. By using the below command, the certificate was renewed and the k8s can work again. However, one day later, the juju ssh command cannot work. If I run juju status, which is saying the below error.
root@maas8:~# juju status
ERROR No controllers registered.
Please either create a new controller using “juju bootstrap” or connect to another controller that you have been given access to using “juju register”.
root@maas8:~# juju list-clouds
Only clouds with registered credentials are shown.
There are more clouds, use --all to see them.
You can bootstrap a new controller using one of these clouds…
Clouds available on the client:
Cloud Regions Default Type Credentials Source Description
auto-simulators 0 k8s 0 built-in A local Kubernetes context
auto-simulators-maas8 0 k8s 0 built-in A local Kubernetes context
localhost 1 localhost lxd 0 built-in LXD Container Hypervisor
Could anyone know this issue, and how to fix it? Is it possible to fix it instead of creating a new controller? Thank you so much.
BRs, Tingting