"ERROR while obtaining model user" while executing juju run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
As seen in this test run: https:/
Using Juju 2.8.6 on Focal.
While attempting to execute juju run the command fails with:
2020-11-12-07:23:45 root DEBUG [localhost]: juju run -m foundations-
2020-11-12-07:23:47 root ERROR [localhost] Command failed: juju run -m foundations-
DEBUG:
2020-11-12-07:23:47 root ERROR [localhost] STDOUT follows:
ERROR while obtaining model user: while obtaining model user: read tcp 127.0.0.
2020-11-12-07:23:47 root ERROR [localhost] STDERR follows:
None
I can't find anything glaringly offending in the Juju controller logs, however in syslog the juju-db was killed but I wasn't able to find out why:
...
Nov 12 07:23:47 juju-1 systemd[1]: snap.juju-
Nov 12 07:23:47 juju-1 systemd[1]: snap.juju-
Nov 12 07:23:47 juju-1 systemd[1]: snap.juju-
Nov 12 07:23:47 juju-1 systemd[1]: Stopped Service for snap application juju-db.daemon.
Nov 12 07:23:47 juju-1 systemd[1]: Started Service for snap application juju-db.daemon.
...
Controller crashdumps here: https:/
Full artifacts here: https:/
We haven't been investigating this one, and it doesn't seem to have come up again. If it is an issue that is recurring, please reopen.