manual provider: juju bootstrap fails with "102 bootstrapping failed, removing state file: exit status 1"

Bug #1282235 reported by Aaron Bentley
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Critical
Andrew Wilkins

Bug Description

# previously run:
$ euca-authorize default -P tcp -p 8040 -s 0.0.0.0/0
$ euca-authorize default -P tcp -p 8080 -s 0.0.0.0/0

# start bootstrap-host:
$ euca-run-instances -k id_rsa -t m1.large ami-bd6d40d4
RESERVATION r-9478e6ba 507541322704 default
INSTANCE i-ce88dee0 ami-bd6d40d4 pending id_rsa 0m1.large 2014-02-19T19:16:58.000Z us-east-1d aki-88aa75e1 monitoring-disabled instance-store

# get IP address
$ euca-describe-instances i-ce88dee0
RESERVATION r-9478e6ba 507541322704 default
INSTANCE i-ce88dee0 ami-bd6d40d4 ec2-54-80-141-151.compute-1.amazonaws.com ip-10-9-145-216.ec2.internal pending id_rsa 0 m1.large 2014-02-19T19:16:58.000Z us-east-1d aki-88aa75e1 monitoring-disabled 54.80.141.151 10.9.145.216 instance-store

#update config for new bootstrap-host IP
$ export JUJU_HOME=$(pwd)/manual-provider-home
$ sed -i 's/bootstrap-host.*/bootstrap-host: 54.80.141.151/' manual-provider-home/environments.yaml
$juju bootstrap --show-log -e manual
2014-02-19 19:25:58 INFO juju.environs.manual init.go:155 initialising "54.80.141.151", user "ubuntu"
2014-02-19 19:25:59 INFO juju.environs.manual init.go:166 ubuntu user is already initialised
2014-02-19 19:25:59 INFO juju.provider.manual environ.go:109 initialized ubuntu user
2014-02-19 19:26:03 INFO juju.environs.bootstrap bootstrap.go:46 bootstrapping environment "manual"
2014-02-19 19:26:03 INFO juju.environs.manual init.go:55 Detecting series and characteristics on 54.80.141.151
2014-02-19 19:26:06 INFO juju.environs.manual init.go:118 series: precise, characteristics: arch=amd64 cpu-cores=1 mem=7450M
2014-02-19 19:26:06 INFO juju.environs.tools tools.go:85 reading tools with major.minor version 1.17
2014-02-19 19:26:06 INFO juju.environs.tools tools.go:96 filtering tools by series: precise
2014-02-19 19:26:06 INFO juju.environs.tools tools.go:99 filtering tools by architecture: amd64
2014-02-19 19:26:10 INFO juju.environs.bootstrap bootstrap.go:58 picked newest version: 1.17.0
2014-02-19 19:26:10 INFO juju.environs.manual init.go:29 Checking if 54.80.141.151 is already provisioned
2014-02-19 19:26:12 INFO juju.environs.manual init.go:46 54.80.141.151 is not provisioned
2014-02-19 19:26:12 INFO juju.environs.manual bootstrap.go:78 Filtering possible tools: 1.17.0-precise-amd64
2014-02-19 19:26:12 INFO juju.environs.manual bootstrap.go:88 Saving bootstrap state file to bootstrap storage
Logging to /var/log/cloud-init-output.log on remote host
Installing add-apt-repository
Adding apt repository: deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/cloud-tools main
Running apt-get update
Installing package: git
Installing package: cpu-checker
Installing package: mongodb-server
2014-02-19 19:26:58 ERROR juju.environs.manual bootstrap.go:102 bootstrapping failed, removing state file: exit status 1
2014-02-19 19:26:58 ERROR juju.cmd supercommand.go:294 exit status 1

Related branches

Aaron Bentley (abentley)
description: updated
Curtis Hovey (sinzui)
Changed in juju-core:
importance: High → Critical
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 1.17.3
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

there's a separate bug filed for this (see first pastebin for cli output) https://bugs.launchpad.net/juju-core/+bug/1280678

nutshell, manual provider needs --upload-tools on trunk

Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
status: Triaged → In Progress
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.