Can't reprovision a machine with manual provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Nate Finch | ||
juju-core |
Fix Released
|
High
|
Nate Finch | ||
1.25 |
Fix Released
|
High
|
Nate Finch |
Bug Description
If I bootstrap to a machine using the manual provider, then destroy-environment and attempt to re-bootstrap it fails. This is because of "turds" left in place that "destroy-
$ juju bootstrap --upload-tools
Bootstrapping environment "manual"
Starting new instance for initial state server
ERROR failed to bootstrap environment: machine is already provisioned
$ ssh michael@
michael@
Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-45-generic x86_64)
* Documentation: https:/
System information as of Wed Feb 4 17:28:09 GMT 2015
System load: 0.04 Processes: 94
Usage of /: 25.0% of 6.76GB Users logged in: 1
Memory usage: 14% IP address for eth0: 192.168.178.180
Swap usage: 0%
Graph this data and manage this system at:
https:/
Last login: Wed Feb 4 17:20:46 2015 from ubuntubox.fritz.box
michael@ubuntu:~$ sudo find / -name "*juju*"
[sudo] password for michael:
/etc/apt/
/etc/init/
/etc/sudoers.
/usr/lib/juju
/usr/lib/
/usr/lib/
/usr/share/
/home/ubuntu/
/var/cache/
/var/log/juju
/var/log/
/var/lib/
/var/lib/
/var/lib/juju
Changed in juju-core: | |
assignee: | nobody → Eric Snow (ericsnowcurrently) |
status: | Triaged → In Progress |
Changed in juju-core: | |
assignee: | nobody → Nate Finch (natefinch) |
summary: |
- Can't reprovision a machine with manual provider and machine behind a - proxy + Can't reprovision a machine with manual provider |
Changed in juju-core: | |
importance: | Medium → High |
milestone: | none → 2.0-beta7 |
Changed in juju-core: | |
milestone: | 2.0-beta7 → 2.0-beta8 |
tags: | added: manual-story |
Changed in juju-core: | |
milestone: | 2.0-beta8 → 2.0-beta9 |
Changed in juju-core: | |
milestone: | 2.0-beta9 → 2.0-beta10 |
Changed in juju-core: | |
milestone: | 2.0-beta10 → 2.0-beta11 |
Changed in juju-core: | |
milestone: | 2.0-beta11 → 2.0-beta12 |
Changed in juju-core: | |
milestone: | 2.0-beta13 → 2.0-beta14 |
Changed in juju-core: | |
milestone: | 2.0-beta14 → 2.0-beta15 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta15 → none |
milestone: | none → 2.0-beta15 |
Changed in juju-core: | |
assignee: | nobody → Nate Finch (natefinch) |
importance: | Undecided → High |
status: | New → Fix Released |
This has happened twice on the machines we do manual provider testing. This also the same problem with a failed destroy-environment with local-provider. When destroy-environment fails to cleanup resources, a subsequent bootstrap will also fail.
I believe destroy-environment --force does not guarantee cleanup of resources, and several people have used --force in error.
Was this failure seen with a released juju version? Does it happen all the time? What --force used?