`juju bootstrap --add-model` results in a broken model
Bug #2064107 reported by
Jack Shaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Thomas Miller |
Bug Description
Reproduced on Juju 4.0, lxd provider
Running:
`juju bootstrap lxd lxd --add-model m`
Results in a broken model
```
$ juju status -m m
(hangs forever)
```
Whereas
```
$ juju status -m controller
$ juju models
$ juju add-model m2
$ juju status -m m2
```
All succeed
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
importance: | High → Medium |
assignee: | nobody → Thomas Miller (tlmiller) |
milestone: | none → 4.0-beta3 |
Changed in juju: | |
milestone: | 4.0-beta3 → 4.0-beta4 |
Changed in juju: | |
milestone: | 4.0-beta4 → 4.0-beta5 |
To post a comment you must log in.
In controller logs I see:
``` apicaller [19a84c] failed to connect dependency "api-caller" manifold worker stopped: [19a84c] "machine-0" cannot open api: unable to connect to API: dial tcp 127.0.0.1:17070: connect: connection refused com/juju/ juju/api. gorillaDialWebs ocket:672: com/juju/ juju/api. dialer. dial1:1092: com/juju/ juju/api. dialer. dial:1067: unable to connect to API com/juju/ juju/api. dialWebsocketMu lti:963: com/juju/ juju/api. dialAPI: 621: com/juju/ juju/api. Open:120: com/juju/ juju/internal/ worker/ apicaller. connectFallback :162: com/juju/ juju/internal/ worker/ apicaller. ScaryConnect: 217: com/juju/ juju/cmd/ jujud-controlle r/agent/ machine. commonManifolds .Manifold. ManifoldConfig. startFunc. func44: 99: [19a84c] "machine-0" cannot open api dependency "api-caller" manifold worker returned unexpected error: [19a84c] "machine-0" cannot open api: unable to connect to API: dial tcp 127.0.0.1:17070: connect: connection refused
machine-0: 12:09:34 DEBUG juju.worker.
machine-0: 12:09:34 DEBUG juju.worker.
stack trace:
dial tcp 127.0.0.1:17070: connect: connection refused
github.
github.
github.
github.
github.
github.
github.
github.
github.
machine-0: 12:09:34 ERROR juju.worker.
```
Which may (or may not) be relevant