swift-storage improvements: use local devices and avoid loopback storage

Bug #1777683 reported by Adam Sheridan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Charms Deployment Guide
Fix Released
Low
Peter Matulis

Bug Description

when deploying the swift proxy charm and adding the relation you get an error saying about not enough storage zones. This is because the config of swift-storage is set to use block-device: sdc but the physical machines only have 2 disks, so have no sdc.

The answer is to tell config to use "/swift-storage-image.img|10G" this will create a 10 gb file on root of the machine and create a loopback device and attach swift-storage to it.

Revision history for this message
Ryan Beisner (1chb1n) wrote :

This is expected behavior. The doc-fix that I would suggest here is to advise the reader that they may need to adjust block device config to match their own hardware/topology.

Changed in charm-deployment-guide:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Ryan Beisner (1chb1n) wrote :

Further: the local loopback file approach is not recommended for production use cases. The loopback approach is handy for testing. The documentation should be clarified to represent these 2 points. Thank you.

Changed in charm-deployment-guide:
assignee: nobody → Peter Matulis (petermatulis)
status: Confirmed → In Progress
summary: - Install OpenStack in charm-deployment-guide
+ swift-storage improvements: use local devices and avoid loopback storage
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-deployment-guide (master)

Fix proposed to branch: master
Review: https://review.opendev.org/693745

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-deployment-guide (master)

Reviewed: https://review.opendev.org/693745
Committed: https://git.openstack.org/cgit/openstack/charm-deployment-guide/commit/?id=6928d6ac987fac8a7f519ce546fc6e0b3da4080c
Submitter: Zuul
Branch: master

commit 6928d6ac987fac8a7f519ce546fc6e0b3da4080c
Author: Peter Matulis <email address hidden>
Date: Mon Nov 11 14:56:39 2019 -0500

    Use local devices and avoid loopback storage

    Closes-Bug: #1777683

    Change-Id: Ia35e962f7a536ca092c3eb5ebce258e1a37d3ab2

Changed in charm-deployment-guide:
status: In Progress → 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.