Bug 1368218
| Summary: | [RFE] Permit usage of multiple and raw disks as Swift backend | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Giulio Fidente <gfidente> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED ERRATA | QA Contact: | Mike Abrams <mabrams> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 (Newton) | CC: | cschwede, djuran, dnavale, egafford, gfidente, jjoyce, mabrams, mburns, mcornea, morazi, pblanc, pgrist, rhel-osp-director-maint, slinaber |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-5.0.0-1.2.el7ost | Doc Type: | Enhancement |
| Doc Text: |
With this update, you can now configure Object Storage service (swift) with additional raw disks by deploying the overcloud with an additional environment file, for example:
parameter_defaults:
ExtraConfig:
SwiftRawDisks:
sdb:
byte_size: 2048
mnt_base_dir: /src/sdb
sdc:
byte_size: 2048
As a result, the Object Storage service is not limited by the local node `root` filesystem.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-14 15:52:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Giulio Fidente
2016-08-18 17:39:27 UTC
To specify multiple raw disks to be used as Swift backends, deploy using an additional environment file:
parameter_defaults:
ExtraConfig:
SwiftRawDisks:
sdb: {}
sdc: {}
It is also possible to customize the byte_size and mount point to use for each disk, for example:
parameter_defaults:
ExtraConfig:
SwiftRawDisks:
sdb:
byte_size: 2048
mnt_base_dir: /src/sdb
sdc:
byte_size: 2048
It is also possible to provide node-specific disk maps with node-specific hiera, as described in [1]
1. http://tripleo.org/advanced_deployment/node_specific_hieradata.html
This didn't work for me as expected - I opened a bug upstream and proposed a fix: https://bugs.launchpad.net/tripleo/+bug/1634051 https://review.openstack.org/387278 Thanks Christian, the fix you posted looks good to me, thanks! I think best thing to do would be to move the BZ back in ON_DEV and link to your submission from it as well. The fix cschwede proposed has failed upstream CI on HA. https://review.openstack.org/387278 Patches merged on master and stable/newton, moving to POST. Moving to MODIFIED; included in latest build from yesterday evening. *** Bug 1276691 has been marked as a duplicate of this bug. *** *** Bug 1320185 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html |