Pressing ctrl~C can leave juju in a weird broken(?) state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Whilst developing, I didn't correctly setup the APIServer (I missed a dependency) and went to check out why, I saw that the dependency engine was crash looping (this is normal). So I ctrl-C'd the bootstrap process, which then followed up with a welcoming method:
Extract from the `/var/log/
github.
github.
2023-03-20 10:43:12 ERROR juju.worker.
2023-03-20 10:43:18 DEBUG juju.worker.
2023-03-20 10:43:18 DEBUG juju.api apiclient.go:820 looked up localhost -> [127.0.0.1]
2023-03-20 10:43:19 DEBUG juju.worker.
2023-03-20 10:43:19 DEBUG juju.worker.
stack trace:
dial tcp 127.0.0.1:17070: connect: connection refused
github.
github.
github.
github.
github.
github.
github.
github.
github.
2023-03-20 10:43:19 ERROR juju.worker.
2023-03-20 10:43:21 DEBUG juju.worker.
2023-03-20 10:43:25 DEBUG juju.worker.
stack trace:
github.
github.
2023-03-20 10:43:25 ERROR juju.worker.
2023-03-20 10:43:35 DEBUG juju.worker.
2023-03-20 10:43:35 DEBUG juju.api apiclient.go:820 looked up localhost -> [127.0.0.1]
2023-03-20 10:43:36 DEBUG juju.worker.
2023-03-20 10:43:36 DEBUG juju.worker.
stack trace:
dial tcp 127.0.0.1:17070: connect: connection refused
github.
github.
github.
github.
github.
github.
github.
github.
github.
2023-03-20 10:43:36 ERROR juju.worker.
Extract from the bootstrap logs. Notice the end which states that we can create a new model:
juju bootstrap lxd test --build-agent
Creating Juju controller "test" on lxd/default
Building local Juju agent binary version 3.2-beta1 for amd64
To configure your system to better support LXD containers, please see: https:/
Launching controller instance(s) on lxd/default...
- juju-1a4826-0 (arch=amd64)
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 240.60.0.120:22
Connected to 240.60.0.120
Running machine configuration script...
Bootstrap agent now started
Contacting Juju controller at 240.60.0.120 to verify accessibility...
^C
Ctrl-C pressed, stopping bootstrap and cleaning up resources
Now you can run
juju add-model <model-name>
to create a new model to deploy workloads.
summary: |
- Pressing ctrl~C can leave juju in a broken state + Pressing ctrl~C can leave juju in a weird broken(?) state |
Changed in juju: | |
importance: | Medium → Low |