Need persistent storage for postgres charms

Bug #1290860 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Vincent Ladeuil

Bug Description

So we don't lose data and stuff :-)

 affects ubuntu-ci-services-itself
 tag airline
 assignee cjohnston

Tags: airline
Evan (ev)
Changed in ubuntu-ci-services-itself:
milestone: none → phase-0
Revision history for this message
Evan (ev) wrote :

Andy wants this targeted to phase 0, so I've done that. We need to be super careful with this one. There are a lot of moving parts and we need to ensure the charm is using the cinder volume from install time.

Changed in ubuntu-ci-services-itself:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Andy Doan (doanac) wrote :

phase-0 isn't going to happen

Changed in ubuntu-ci-services-itself:
milestone: phase-0 → backlog
Revision history for this message
Chris Johnston (cjohnston) wrote :

The current proposed way to do this is to have deploy.py create the volumes, deploy the services, link the volume to the service machine, then do juju set to update the service to where postgres is using the volume

Changed in ubuntu-ci-services-itself:
assignee: Chris Johnston (cjohnston) → nobody
Andy Doan (doanac)
Changed in ubuntu-ci-services-itself:
milestone: backlog → phase-1
Ursula Junque (ursinha)
Changed in uci-engine:
importance: Undecided → High
milestone: none → phase-1
status: New → Confirmed
Evan (ev)
no longer affects: ubuntu-ci-services-itself
Revision history for this message
Evan (ev) wrote :

Moving to uce-0. I think we're going to want this in any prodstack deployment. We only held off because of the risk to the phase 0.5 deadline, which has now passed.

Changed in uci-engine:
milestone: phase-1 → uce-0
Revision history for this message
Evan (ev) wrote :

I wonder if we can do this by:
 1. Calling juju add-machine inside deploy.py
 2. Attaching the nova volume to machine 1 in deploy.py
 3. Having "to: 1" in the .yaml for the postgres charm
 4. Running through deploy.py as usual

I vaguely recall discussing this as an option before. Was there some reason we thought it wouldn't work?

Revision history for this message
Andy Doan (doanac) wrote : Re: [Bug 1290860] Re: Need persistent storage for postgres charms

On 04/24/2014 04:34 AM, Evan Dandrea wrote:
> I wonder if we can do this by:
> 1. Calling juju add-machine inside deploy.py
> 2. Attaching the nova volume to machine 1 in deploy.py
> 3. Having "to: 1" in the .yaml for the postgres charm
> 4. Running through deploy.py as usual
>
> I vaguely recall discussing this as an option before. Was there some
> reason we thought it wouldn't work?

I was thinking along these lines also. I wonder if it would be a better
use of our time to figure out how to patch these semantics into
juju-deployer directly?

Revision history for this message
Vincent Ladeuil (vila) wrote :

The fix (using block-storage-borker and storage charms) landed in revno 732

Changed in uci-engine:
assignee: nobody → Vincent Ladeuil (vila)
status: Confirmed → 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.