Comment 5 for bug 1418139

Revision history for this message
Michael Foord (mfoord) wrote : Re: Can't reprovision a machine with manual provider and machine behind a proxy

Hah, so with trunk and a firewalled kvm instance (only access to the network via a proxy except for the state server port and ssh) I see the problem.

$ juju bootstrap --upload-tools
Bootstrapping environment "manual"
Starting new instance for initial state server
Building tools to upload (1.23-alpha1.1-trusty-amd64)
Installing Juju agent on bootstrap instance
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap complete
$ juju destroy-environment
error: no environment specified
$ juju destroy-environment manual
WARNING! this command will destroy the "manual" environment (type: manual)
This includes all machines, services, data and other resources.

Continue [y/N]? y
$ juju bootstrap --upload-tools
WARNING This juju environment is already bootstrapped. If you want to start a new Juju
environment, first run juju destroy-environment to clean up, or switch to an
alternative environment.
ERROR environment is already bootstrapped