maas provider can't bootstrap on precise with 1.17.2

Bug #1282553 reported by Adam Collard
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Dimiter Naydenov

Bug Description

juju uses wget to fetch tools from streams.canonical.com which uses SNI but wget on precise doesn't support SNI, causing bootstrap to fail. Running the equivalent command using cURL instead of wget works on precise and later.

Bootstrap failure:

Installing add-apt-repository
Adding apt repository: deb http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/cloud-tools main
Running apt-get update
Running apt-get upgrade
Installing package: git
Installing package: cpu-checker
Installing package: mongodb-server
Fetching tools: wget --no-verbose -O $bin/tools.tar.gz 'https://streams.canonical.com/juju/tools/releases/juju-1.17.2-precise-amd64.tgz'
2014-02-20 11:43:48 ERROR juju.provider.common bootstrap.go:140 bootstrap failed: exit status 1
Stopping instance...
2014-02-20 11:43:49 ERROR juju.cmd supercommand.go:294 exit status 1

Wget failure on precise:

$ wget --no-verbose -O tools.tar.gz 'https://streams.canonical.com/juju/tools/releases/juju-1.17.2-precise-amd64.tgz'
ERROR: no certificate subject alternative name matches
        requested host name `streams.canonical.com'.
To connect to streams.canonical.com insecurely, use `--no-check-certificate'.

Tags: landscape

Related branches

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

Precise's version of wget does not support SNI, but curl does. So I'll replace the wget call with a curl call and add curl to the list of installed packages.

Changed in juju-core:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Dimiter Naydenov (dimitern)
milestone: none → 1.18.0
summary: - bootstrap should use cURL not wget
+ 1.17.2 can't bootstrap maas on precise, wget doesn't support SNI
summary: - 1.17.2 can't bootstrap maas on precise, wget doesn't support SNI
+ 1.17.2 can't bootstrap precise using maas, wget doesn't support SNI
summary: - 1.17.2 can't bootstrap precise using maas, wget doesn't support SNI
+ maas provider can't bootstrap on precise with 1.17.2
Changed in juju-core:
milestone: 1.18.0 → 1.17.3
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1282553] Re: 1.17.2 can't bootstrap maas on precise, wget doesn't support SNI

Is this just a dupe of bug #1282553 ?

John
=:->
On Feb 20, 2014 1:40 PM, "Adam Collard" <email address hidden> wrote:

> ** Summary changed:
>
> - bootstrap should use cURL not wget
> + 1.17.2 can't bootstrap maas on precise, wget doesn't support SNI
>
> ** Summary changed:
>
> - 1.17.2 can't bootstrap maas on precise, wget doesn't support SNI
> + 1.17.2 can't bootstrap precise using maas, wget doesn't support SNI
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> https://bugs.launchpad.net/bugs/1282553
>
> Title:
> maas provider can't bootstrap on precise with 1.17.2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1282553/+subscriptions
>

Revision history for this message
Adam Collard (adam-collard) wrote :

On Sunday, March 2, 2014, John A Meinel <email address hidden> wrote:

> Is this just a dupe of bug #1282553 ?
>
>
This is #1282553, which bug did you mean?

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.