juju status ERROR current model controller devlocal not found

fengxia fxia1 at lenovo.com
Mon Dec 4 15:30:50 UTC 2017


Hi Juju,

I had a localhost controller bootstrapped and deployed 8 machines (LXDs) 
to it. Host is a KVM vm of Ubuntu 16.04 amd64.

Now for some strange reason, `juju status` reports error as if it lost 
its model? `list-controllers` showed the controller looks fine. `lxc 
list` shows all the machines are up and running.

Any idea of what this error is about, and how to debug it?

----------------------------------------------------

(dev) fengxia at ubuntu:~$ juju status
ERROR current model for controller devlocal not found
(dev) fengxia at ubuntu:~$ juju list-controllers
Use --refresh flag with this command to see the latest information.

Controller  Model  User   Access     Cloud/Region         Models 
Machines    HA  Version
devlocal*   -      admin  superuser  localhost/localhost 2         1  
none  2.2.6

(dev) fengxia at ubuntu:~$ juju status
ERROR current model for controller devlocal not found
(dev) fengxia at ubuntu:~$ lxc list
+---------------+---------+-----------------------+------+------------+-----------+
|     NAME      |  STATE  |         IPV4          | IPV6 | TYPE    | 
SNAPSHOTS |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-6f4281-0 | RUNNING | 10.175.135.196 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-0 | RUNNING | 10.175.135.253 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-1 | RUNNING | 10.175.135.247 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-2 | RUNNING | 10.175.135.191 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-3 | RUNNING | 10.175.135.116 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-4 | RUNNING | 10.175.135.106 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-5 | RUNNING | 10.175.135.128 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-6 | RUNNING | 10.175.135.83 (eth0)  |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+
| juju-7031bf-7 | RUNNING | 10.175.135.223 (eth0) |      | PERSISTENT | 
0         |
+---------------+---------+-----------------------+------+------------+-----------+

(dev) fengxia at ubuntu:~$ juju list-models
Controller: devlocal

Model       Cloud/Region         Status     Machines  Cores Access  Last 
connection
controller  localhost/localhost  available         1      - admin   just now
default     localhost/localhost  available         8      - admin   11 
hours ago

-- 
Feng Xia

Advisory Engineer
Datacenter Group (DCG), Lenovo US
8000 Development Dr, Morrisiville, NC 27509
W: http://www.lenovo.com




More information about the Juju mailing list