need support for safely adding new devices to the ring post-install

Bug #1383390 reported by Edward Hope-Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swift-storage (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley

Bug Description

If the block-devices config value changes between the install and storage-relation-joined hooks firing we get devices added to the ring which have not been formatted or mounted i.e. not usable by swift. The charm also does not support safely adding new devices to the ring post-install without trampling on existing devices.

Tags: openstack cts
Changed in swift-storage (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
importance: Undecided → High
tags: added: backport-potential cts openstack
tags: removed: backport-potential
summary: - devices added to ring but not formatted for use
+ need support for safely adding new devices to the ring post-install
Changed in swift-storage (Juju Charms Collection):
milestone: none → 16.04
description: updated
Changed in swift-storage (Juju Charms Collection):
milestone: 16.04 → 16.01
Changed in swift-storage (Juju Charms Collection):
milestone: 16.01 → 16.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-storage (master)

Reviewed: https://review.openstack.org/287166
Committed: https://git.openstack.org/cgit/openstack/charm-swift-storage/commit/?id=e7bf2f910e531f18ac525f86382f9c777db88264
Submitter: Jenkins
Branch: master

commit e7bf2f910e531f18ac525f86382f9c777db88264
Author: Edward Hope-Morley <email address hidden>
Date: Wed Mar 2 12:39:50 2016 +0000

    Allow devices to be added post-install

    Track devices that have been added to the ring and allow
    devices to be added to the ring post-install (currently
    only allowed within the install hook). Devices added to
    the ring prior to this patch existing will be migrated
    to the tracking store of devices to avoid conflicts.

    Change-Id: Id268dc6369041a4d2db6f30a997dfa0c0d73b93f
    Closes-Bug: 1383390

Changed in swift-storage (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in swift-storage (Juju Charms Collection):
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.