Local provider isn't usable after an old environment has been destroyed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golxc |
Fix Committed
|
High
|
Patrick Hetu | ||
juju-core |
Fix Released
|
High
|
Ian Booth |
Bug Description
I would expect that when using the local provider, if I do 'sudo juju destroy-
I can create a new local environment using 'sudo juju bootstrap'. But it doesn't seem
that works.
Let's say that I do some testing with a local provider, and I decide to start over, so I
do "sudo juju destroy-
Now when I do "sudo juju bootstrap", the bootstrap itself doesn't return any error,
but looking at "juju status" after I've deployed a new service I see this:
environment: local
machines:
"0":
agent-state: started
agent-version: 1.15.1.1
dns-name: 10.0.3.1
instance-id: localhost
series: saucy
"1":
agent-
instance-id: pending
series: precise
services:
mysql:
charm: cs:precise/mysql-27
exposed: false
relations:
cluster:
- mysql
units:
mysql/0:
machine: "1"
Ok, so I have to manually remove the containers, using lxc-destroy. However, that also
isn't enough, now after a new bootstrap and deploy I see this:
machines:
"0":
agent-state: started
agent-version: 1.15.1.1
dns-name: 10.0.3.1
instance-id: localhost
series: saucy
"1":
agent-
file exists)'
instance-id: pending
series: precise
services:
mysql:
charm: cs:precise/mysql-27
exposed: false
relations:
cluster:
- mysql
units:
mysql/0:
machine: "1"
Related branches
- Nate Finch (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedgolxc.go (+1/-1)
- Ian Booth: Approve
-
Diff: 12 lines (+1/-1)1 file modifieddependencies.tsv (+1/-1)
summary: |
- Local provider can't bootstrap after an old environment has been - destroyed + Local provider isn't usable after an old environment has been destroyed |
Changed in juju-core: | |
milestone: | none → 2.0 |
Changed in golxc: | |
status: | New → Fix Committed |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.17.1 |
Changed in golxc: | |
assignee: | nobody → Patrick Hetu (patrick-hetu) |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I have seen this while testing. I cannot reliably succeed or fail.