manual provider bootstrap fails if curl isn't installed

Bug #1300321 reported by dann frazier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
John A Meinel
1.18
Fix Released
High
John A Meinel

Bug Description

juju-core 1.17.7-0ubuntu1

dannf@trusty:~$ juju bootstrap
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Installing package: git
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: juju-mongodb
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' -o $bin/tools.tar.gz 'https://streams.canonical.com/juju/tools/releases/juju-1.17.7-trusty-amd64.tgz'
Ign http://security.ubuntu.com trusty-security InRelease
Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Ign http://us.archive.ubuntu.com trusty InRelease
Get:2 http://security.ubuntu.com trusty-security Release [58.5 kB]
Get:3 http://security.ubuntu.com trusty-security/main Sources [14 B]
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Get:5 http://security.ubuntu.com trusty-security/universe Sources [14 B]
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [14 B]
Get:7 http://us.archive.ubuntu.com trusty Release.gpg [933 B]
Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [14 B]
Get:9 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Get:11 http://us.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [14 B]
Get:13 http://us.archive.ubuntu.com trusty Release [58.5 kB]
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [14 B]
Get:15 http://security.ubuntu.com trusty-security/main i386 Packages [14 B]
Get:16 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Get:17 http://security.ubuntu.com trusty-security/universe i386 Packages [14 B]
Get:18 http://us.archive.ubuntu.com trusty-updates Release [58.5 kB]
Get:19 http://security.ubuntu.com trusty-security/multiverse i386 Packages [14 B]
Get:20 http://us.archive.ubuntu.com trusty-backports Release [58.6 kB]
Get:21 http://us.archive.ubuntu.com trusty/main Sources [1,076 kB]
Get:22 http://security.ubuntu.com trusty-security/main Translation-en [14 B]
Get:23 http://security.ubuntu.com trusty-security/multiverse Translation-en [14 B]
Get:24 http://security.ubuntu.com trusty-security/restricted Translation-en [14 B]
Get:25 http://security.ubuntu.com trusty-security/universe Translation-en [14 B]
Get:26 http://us.archive.ubuntu.com trusty/restricted Sources [5,386 B]
Get:27 http://us.archive.ubuntu.com trusty/universe Sources [6,403 kB]
Ign http://security.ubuntu.com trusty-security/main Translation-en_US
Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com trusty-security/restricted Translation-en_US
Ign http://security.ubuntu.com trusty-security/universe Translation-en_US
Get:28 http://us.archive.ubuntu.com trusty/multiverse Sources [175 kB]
Get:29 http://us.archive.ubuntu.com trusty/main amd64 Packages [1,367 kB]
Get:30 http://us.archive.ubuntu.com trusty/restricted amd64 Packages [13.1 kB]
Get:31 http://us.archive.ubuntu.com trusty/universe amd64 Packages [5,863 kB]
Get:32 http://us.archive.ubuntu.com trusty/multiverse amd64 Packages [131 kB]
Get:33 http://us.archive.ubuntu.com trusty/main i386 Packages [1,363 kB]
Get:34 http://us.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:35 http://us.archive.ubuntu.com trusty/universe i386 Packages [5,871 kB]
Get:36 http://us.archive.ubuntu.com trusty/multiverse i386 Packages [133 kB]
Get:37 http://us.archive.ubuntu.com trusty/main Translation-en [772 kB]
Get:38 http://us.archive.ubuntu.com trusty/multiverse Translation-en [101 kB]
Get:39 http://us.archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Get:40 http://us.archive.ubuntu.com trusty/universe Translation-en [4,046 kB]
Get:41 http://us.archive.ubuntu.com trusty-updates/main Sources [14 B]
Get:42 http://us.archive.ubuntu.com trusty-updates/restricted Sources [14 B]
Get:43 http://us.archive.ubuntu.com trusty-updates/universe Sources [14 B]
Get:44 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [14 B]
Get:45 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [14 B]
Get:46 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [14 B]
Get:47 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [14 B]
Get:48 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14 B]
Get:49 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [14 B]
Get:50 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [14 B]
Get:51 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [14 B]
Get:52 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14 B]
Get:53 http://us.archive.ubuntu.com trusty-updates/main Translation-en [14 B]
Get:54 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [14 B]
Get:55 http://us.archive.ubuntu.com trusty-updates/restricted Translation-en [14 B]
Get:56 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [14 B]
Get:57 http://us.archive.ubuntu.com trusty-backports/main Sources [14 B]
Get:58 http://us.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:59 http://us.archive.ubuntu.com trusty-backports/universe Sources [14 B]
Get:60 http://us.archive.ubuntu.com trusty-backports/multiverse Sources [14 B]
Get:61 http://us.archive.ubuntu.com trusty-backports/main amd64 Packages [14 B]
Get:62 http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Get:63 http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages [14 B]
Get:64 http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [14 B]
Get:65 http://us.archive.ubuntu.com trusty-backports/main i386 Packages [14 B]
Get:66 http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:67 http://us.archive.ubuntu.com trusty-backports/universe i386 Packages [14 B]
Get:68 http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages [14 B]
Get:69 http://us.archive.ubuntu.com trusty-backports/main Translation-en [14 B]
Get:70 http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en [14 B]
Get:71 http://us.archive.ubuntu.com trusty-backports/restricted Translation-en [14 B]
Get:72 http://us.archive.ubuntu.com trusty-backports/universe Translation-en [14 B]
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Ign http://us.archive.ubuntu.com trusty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com trusty-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty-backports/universe Translation-en_US
Fetched 27.6 MB in 46s (594 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
cpu-checker is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
bridge-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
rsyslog-gnutls is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
juju-mongodb is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 195 not upgraded.
/bin/bash: line 38: curl: command not found
ERROR bootstrapping failed, removing state file: rc: 1
Bootstrap failed, destroying environment
ERROR rc: 1

Related branches

Revision history for this message
dann frazier (dannf) wrote :

Installing curl to all targets ahead of time works around this problem (affects both bootstrap and non-bootstrap nodes)

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: curl manual-provider
Changed in juju-core:
milestone: none → 1.18.0
John A Meinel (jameinel)
Changed in juju-core:
assignee: nobody → John A Meinel (jameinel)
status: Triaged → In Progress
John A Meinel (jameinel)
Changed in juju-core:
milestone: 1.19.0 → 2.0
Go Bot (go-bot)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0 → 1.19.0
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.

Other bug subscribers

Remote bug watches

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