create fstab entry when storage is attached

Bug #1783419 reported by james beedy
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth
2.5
Fix Released
High
Ian Booth
PostgreSQL Charm
Invalid
Undecided
Unassigned

Bug Description

Can we create an fstab entry when storage is attached?

Currently, following a reboot the attached storage mount doesn't survive and Postgresql fails to start.

Tags: canonical-is
Revision history for this message
Stuart Bishop (stub) wrote :

The PostgreSQL charm is using Juju provided storage, and Juju is responsible for this.

Changed in postgresql-charm:
status: New → Invalid
Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.4.2
status: New → Triaged
importance: Undecided → High
Changed in juju:
milestone: 2.4.2 → 2.4.3
Changed in juju:
milestone: 2.4.3 → none
Changed in juju:
milestone: none → 2.4.4
Stuart Bishop (stub)
tags: added: canonical-is
Changed in juju:
milestone: 2.4.4 → none
Revision history for this message
Stuart Bishop (stub) wrote :

I can't see any way that Juju Storage mounts are guaranteed to be mounted before the services that need them start up. This appears to be a race, where it is assumed that jujud starts up and mounts things before the other systemd services on the box start up. We can't use Juju Storage on production unless someone can correct my analysis, or storage mounting is fixed.

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.6-beta1
Ian Booth (wallyworld)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Ian Booth (wallyworld) wrote :
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.