listing models is slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Menno Finlay-Smits |
Bug Description
I've found that my 2.1.2 controller has grown sluggish in querying juju models and juju status. The controller is arm64 MAAS, 55GB RAM free, and that machine is otherwise quite snappy at the moment.
ubuntu@
total used free shared buff/cache available
Mem: 64392 4931 55911 57 3549 58889
Swap: 8191 0 8191
ubuntu@
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 58M 6.3G 1% /run
/dev/sda2 220G 13G 197G 6% /
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/sda1 511M 936K 511M 1% /boot/efi
tmpfs 6.3G 0 6.3G 0% /run/user/1000
ubuntu@
Linux node-loewy 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:31:00 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@
02:36:19 up 7 days, 6:35, 1 user, load average: 0.81, 1.76, 2.63
---
jenkins@
2.1.2-xenial-amd64
real 0m0.032s
user 0m0.028s
sys 0m0.000s
jenkins@
02:33:09 INFO juju.cmd supercommand.go:63 running juju [2.1.2 gc go1.6.2]
02:33:09 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "--debug", "controllers"}
Use --refresh flag with this command to see the latest information.
Controller Model User Access Cloud/Region Models Machines HA Version
ruxton-maas-arm64* - admin superuser ruxton-maas 2 1 none 2.1.2
02:33:09 INFO cmd supercommand.go:465 command finished
real 0m0.049s
user 0m0.036s
sys 0m0.004s
jenkins@
02:33:13 INFO juju.cmd supercommand.go:63 running juju [2.1.2 gc go1.6.2]
02:33:13 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "--debug", "models"}
02:33:13 INFO juju.juju api.go:72 connecting to API addresses: [10.245.
02:33:13 DEBUG juju.api apiclient.go:590 dialing "wss://
02:33:14 DEBUG juju.api apiclient.go:593 successfully dialed "wss://
02:33:14 INFO juju.api apiclient.go:521 connection established to "wss://
02:33:17 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
02:33:18 INFO juju.juju api.go:72 connecting to API addresses: [10.245.
02:33:18 DEBUG juju.api apiclient.go:590 dialing "wss://
02:33:18 DEBUG juju.api apiclient.go:593 successfully dialed "wss://
02:33:18 INFO juju.api apiclient.go:521 connection established to "wss://
02:33:21 DEBUG juju.juju api.go:263 API hostnames unchanged - not resolving
Controller: ruxton-maas-arm64
Model Cloud/Region Status Machines Cores Access Last connection
controller ruxton-maas available 1 48 admin 7 seconds ago
default ruxton-maas available 0 - admin 2017-03-22
02:33:27 INFO cmd supercommand.go:465 command finished
real 0m13.983s
user 0m0.068s
sys 0m0.008s
tags: | added: usability |
tags: | added: amd64 arm64 ppc64el |
tags: | added: adrastea |
tags: | added: canonical-bootstack |
Changed in juju: | |
status: | Fix Committed → Fix Released |
I rebooted the controller host and `juju models` is now back to an acceptable level of usability. It had only been up for 7 days, and had perhaps a dozen models come and go on it.
jenkins@ juju-osci1- machine- 6:~$ time juju models
Controller: ruxton-maas-arm64
Model Cloud/Region Status Machines Cores Access Last connection
controller ruxton-maas available 1 48 admin just now
default ruxton-maas available 0 - admin 2017-03-22
real 0m0.723s
user 0m0.068s
sys 0m0.008s