lp:~axwalk/juju-core/lp1235717-null-provider-bootstrap-storage-http

Created by Andrew Wilkins and last modified
Get this branch:
bzr branch lp:~axwalk/juju-core/lp1235717-null-provider-bootstrap-storage-http
Only Andrew Wilkins can upload to this branch. If you are Andrew Wilkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrew Wilkins
Project:
juju-core
Status:
Development

Recent revisions

1956. By Andrew Wilkins

provider/null: add comment about ssh lifetime

1955. By Andrew Wilkins

provider/null: wrap bootstrap storage in HTTP

In some cases, the URL of the bootstrap storage
is actually used; namely when metadata doesn't
exist in the target machine, but tools do. This
is problematic for the trunk implementation, as
the URLs are using an "sftp" scheme.

We fix this by wrapping the bootstrap sshstorage
in an httpstorage, listening only on localhost,
and using an authkey generated via crypto/rand.

Fixes #1235717

1954. By Roger Peppe

[r=rogpeppe] environs: return better error from NewFromName

When an environment isn't bootstrapped,
we shouldn't return a config error because
there's no environ info.

Fixes lp#1235217

https://codereview.appspot.com/14386044/

1953. By Roger Peppe

[r=rogpeppe] worker/addressupdater: fix NotImplemented problem

It was dying with the error rather than continuing.
The tests didn't check the error return.

https://codereview.appspot.com/14388044/

1952. By Nate Finch

[r=natefinch] Azure docs and doc cleanup

Added documentation for the Azure provider and cleaned up the formatting of a bunch of the CLI documentation to be standard about indents and wrapping.

1951. By Andrew Wilkins

[r=axwalk],[bug=1235084],[bug=1235100] provider/null: fix storage issues

- Don't require CAKey to create a storage client
- Do not specify a default for storage-auth-key,
  and fail validation if it's not set.

A machine agent will not have an authkey initially,
as it's a secret. It is transmitted on the first
API connection. We need to fail config validation
until that point.

Fixes #1235100
Fixes #1235084

https://codereview.appspot.com/14387043/

1950. By Andrew Wilkins

[r=axwalk],[bug=1235102] environs/httpstorage: use req.Host in HEAD

The HEAD response was returning the listening IP
address, rather than the host presented in the
original HTTP Request. This is changed to now use
the request's Host field.

Fixes #1235102

https://codereview.appspot.com/14388043/

1949. By Andrew Wilkins

[r=axwalk],[bug=1235130] provider/local: don't try to chown certs

Fixes #1235130

https://codereview.appspot.com/14289044/

1948. By Andrew Wilkins

[r=dimitern],[bug=1234127] environs/cloudinit: use cloud-tools on precise

Use the cloud-tools pocket of the cloud archive on
12.04 (presumably we'll update for later LTS'). Also,
remove the PPA for precise, as cloud-tools has a recent
enough version of mongodb-server for our needs.

I've added cloud-tools to apt not just for state
servers, but so it's picked up by all; thus we'll get
up-to-date LXC for when we support containers on
non-local providers.

The OpenStack pockets are not added, as there are
separate ones for separate releases. It'll have to
be up to the charms to add that, I think.

Fixes #1234127

https://codereview.appspot.com/14329043/

1947. By Roger Peppe

[r=rogpeppe] worker/addressupdater: log when addresses change

This is useful information and worth recording.

https://codereview.appspot.com/14328043/

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~go-bot/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers