Ensemble branch option needs to allow for distro pkg, ppa, and source branch install

Bug #828147 reported by Kapil Thangavelu
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cloudfoundry
New
Undecided
Unassigned
pyjuju
Fix Released
Critical
Jim Baker
juju (Ubuntu)
Fix Released
Critical
Clint Byrum

Bug Description

Ensemble currently defines an ensemble-branch environment option which allows specification of where to get ensemble code for machine deployments (limited to bzr published branches). At the moment we default to ppa package installation if this option is not specified.

Its critical for the oneiric rellease that we have a mechanism that defaults to using the distro package, but allows specifying the ppa, or a branch. This should also rename the 'ensemble-branch' option to 'ensemble-origin'.

Related branches

Changed in ensemble:
milestone: none → eureka
importance: Undecided → Critical
Changed in ensemble:
assignee: nobody → Jim Baker (jimbaker)
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 828147] [NEW] Ensemble branch option needs to allow for distro pkg, ppa, and source branch install

Excerpts from Kapil Thangavelu's message of Wed Aug 17 16:17:46 UTC 2011:
> Public bug reported:
>
> Ensemble currently defines an ensemble-branch environment option which
> allows specification of where to get ensemble code for machine
> deployments (limited to bzr published branches). At the moment we
> default to ppa package installation if this option is not specified.
>
> Its critical for the oneiric rellease that we have a mechanism that
> defaults to using the distro package, but allows specifying the ppa, or
> a branch. This should also rename the 'ensemble-branch' option to
> 'ensemble-origin'.

Can solve this and allow for private hosting by making ensemble-origin
flexible as either a branch (lp:xxx), a ppa:xxx, or an apt sources line:

ensemble-origin: "deb http://mymirror.internal/ubuntu oneiric main"
ensemble-version: 0.5+306-0ubuntu1

ensemble-origin: lp:ensemble
ensemble-version: 306

ensemble-origin: ppa:ensemble/ppa

Unspecified version should always mean the "latest available".

On a "higher order" note, I wonder if, for repeatability, we shouldn't
process all of this on the client side, and just build a deb or tarball
that is pushed into file storage.

Jim Baker (jimbaker)
Changed in ensemble:
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hi guys,

This bug is release-critical for Ubuntu 11.10 JuJu for us... Can we get an update as to where we are with it? We require JuJu to default to bootstrapping and installing the distro JuJu package on bootstrap and service nodes. Leaving the features to pull JuJu from a bzr branch or a ppa would be a nice to have. Thanks.

Revision history for this message
Robbie Williamson (robbiew) wrote :

I believe Clint is working on having this addressed for 11.10.

Changed in juju (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
milestone: none → ubuntu-11.10
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This branch is pretty critical for the final release. I did take a look at making the default _DISTRO in the distro packages, but it ripples through too much code and affects too many tests. The branch looks to be nearly ready for merge into trunk, so I'm confident we'll have it in 11.10.

Changed in juju (Ubuntu):
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in juju:
status: In Progress → Fix Released
Changed in juju (Ubuntu):
status: Triaged → 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.