Comment 5 for bug 1067979

Revision history for this message
Dimiter Naydenov (dimitern) wrote :

I'm ready to propose the branch with the fix. Running the script above now produces this:

local -> local
[sudo] password for dimitern:
Logging to /home/dimitern/.juju/local/log/cloud-init-output.log on remote host
Fetching tools: wget --no-verbose -O $bin/tools.tar.gz 'http://10.0.3.1:8040/tools/releases/juju-1.17.1.1-saucy-amd64.tgz'
Starting MongoDB server (juju-db-dimitern-local)
Bootstrapping Juju machine agent
Starting Juju machine agent (juju-agent-dimitern-local)
environment: local
machines:
  "0":
    agent-state: pending
    dns-name: localhost
    instance-id: localhost
    series: saucy
services: {}
Added charm "cs:precise/wordpress-21" to the environment.
ERROR charm "cs:precise/wordpress-21" already uploaded

We catch the race before it happens and report it to the user.