juju-status error from controller model
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
High
|
Unassigned |
Bug Description
SolutionsQA tests failed when calling juju status on the controller model just after bootstrap.
We can see from the bootstrap output that the controller reported itself available:
Bootstrap agent now started
Contacting Juju controller at 10.244.32.115 to verify accessibility...
Bootstrap complete, controller "foundation-
Controller machines are in the "controller" model
Initial model "default" added
2020-09-15-09:28:40 root ERROR [localhost] Command failed: juju status -m foundation-
2020-09-15-09:28:40 root ERROR [localhost] STDOUT follows:
{}
subprocess.
The test harness subsequently called juju status against the same controller without it raising an error, so possibly a timing issue?
We saw this on two runs:
https:/
https:/
Changed in juju: | |
status: | Incomplete → New |
Changed in juju: | |
milestone: | 3.0.0 → 3.0.1 |
Changed in juju: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in juju: | |
milestone: | 3.0.2 → 3.0.3 |
Changed in juju: | |
milestone: | 3.0.3 → 3.0.4 |
I tried to recreate this by bootstrapping a controller and quickly calling status on it, and wasn't able to do so.
I suspect that the error is local to the machine executing Juju run. Can you capture stdout from Python's subprocess model? (You can also get more information about the local run by passing --debug to the juju run command.)