This is in a production environment using the manual provider, 1 physical machine. Using juju 1.x. I'm not sure how to get the exact juju version since all commands fail.
PROBLEM: All juju commands fail with "i/o timeout". Juju-db and jujud-machine-0 are both running.
WHAT I ATTEMPTED: I restarted Juju-db and jujud-machine-0, but the issue remains.
EXAMPLE:
juju status --format tabular
WARNING discarding API open error: read tcp 127.0.0.1:37017: i/o timeout
ERROR Unable to connect to environment "cityot".
Please check your credentials or use 'juju bootstrap' to create a new environment.
Error details:
read tcp 10.8.0.1:37017: i/o timeout
machine-0.log:
2016-08-25 09:37:27 ERROR juju.worker runner.go:223 exited "api": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:37:39 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 10.8.0.1:37017: i/o timeout
2016-08-25 09:37:43 ERROR juju.worker runner.go:223 exited "certupdater": retrieving initial server addesses: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:38:03 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 10.8.0.1:37017: i/o timeout
2016-08-25 09:38:27 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:38:51 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:39:05 ERROR juju.worker runner.go:223 exited "api": read tcp 10.8.0.1:37017: i/o timeout
2016-08-25 09:39:11 ERROR juju.worker runner.go:223 exited "certupdater": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:39:15 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:39:21 ERROR juju.worker runner.go:223 exited "528e26f1-5281-4307-83cf-65e2165b3356": failed to open state for environment 528e26f1-5281-4307-83cf-65e2165b3356: cannot create lease client: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:04 ERROR juju.worker runner.go:223 exited "certupdater": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:09 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:13 ERROR juju.worker runner.go:223 exited "528e26f1-5281-4307-83cf-65e2165b3356": failed to open state for environment 528e26f1-5281-4307-83cf-65e2165b3356: cannot log in to admin database as "machine-0": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:28 ERROR juju.worker runner.go:223 exited "certupdater": retrieving initial server addesses: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:31 ERROR juju.worker runner.go:223 exited "api": read tcp 10.8.0.1:37017: i/o timeout
2016-08-25 09:40:43 ERROR juju.worker runner.go:223 exited "528e26f1-5281-4307-83cf-65e2165b3356": failed to open state for environment 528e26f1-5281-4307-83cf-65e2165b3356: cannot log in to admin database as "machine-0": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:47 ERROR juju.worker.peergrouper worker.go:138 peergrouper loop terminated: tomb: dying
2016-08-25 09:40:47 ERROR juju.worker runner.go:223 exited "peergrouper": read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:40:52 ERROR juju.worker runner.go:223 exited "certupdater": retrieving initial server addesses: read tcp 127.0.0.1:37017: i/o timeout
2016-08-25 09:41:11 ERROR juju.worker runner.go:223 exited "peergrouper": cannot read settings: read tcp 127.0.0.1:37017: i/o timeout
Mongotop output:
mongotop --host localhost:37017 --ssl
connected to: localhost:37017
error: { ok: 0.0, errmsg: "unauthorized" }
error: { ok: 0.0, errmsg: "unauthorized" }
machine-0.log