SwiftRawDisks parameter doesn't work properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Christian Schwede |
Bug Description
There is a parameter "SwiftRawDisks" that could be used to define disks to be used by Swift as storage device.
However, it doesn't work properly: defining SwiftRawDisks adds the given device to the rings, but the device "d1" still exists, and this is just a local directory, stored on the root disk. This was unexpected; IMO the device d1 should not be used if raw disks for Swift are defined, because there is a risk to overfill the root disk and create additional I/O load on the root disk.
The XFS filesystems on the raw disks are neither created and mounted, so you have to manually workaround this.
I used this template:
parameter_
SwiftRawDisks: {"vdb": {}}
Using the following template everything worked as expected:
parameter_
controllerEx
swift:
tripleo:
However, defining these manually might be error-prone, using the single parameter "SwiftRawDisks" seems to be a better approach.
Changed in tripleo: | |
status: | New → In Progress |
assignee: | nobody → Christian Schwede (cschwede) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/387278
Review: https:/