This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds the ability for cinder to use LVM as a backend
- Loading branch information
1 parent
e111e8b
commit 02d557e
Showing
13 changed files
with
534 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
# Copyright 2017 The Openstack-Helm Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -ex | ||
|
||
sed -i "s|udev_rules = 1|udev_rules = 0|g" /etc/lvm/lvm.conf | ||
sed -i "s|udev_sync = 1|udev_sync = 0|g" /etc/lvm/lvm.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Configuration for cinder-rootwrap | ||
# This file should be owned by (and only-writeable by) the root user | ||
|
||
[DEFAULT] | ||
# List of directories to load filter definitions from (separated by ','). | ||
# These directories MUST all be only writeable by root ! | ||
filters_path=/etc/cinder/rootwrap.d | ||
|
||
# List of directories to search executables in, in case filters do not | ||
# explicitely specify a full path (separated by ',') | ||
# If not specified, defaults to system PATH environment variable. | ||
# These directories MUST all be only writeable by root ! | ||
exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin | ||
|
||
# Enable logging to syslog | ||
# Default value is False | ||
use_syslog=False | ||
|
||
# Which syslog facility to use. | ||
# Valid values include auth, authpriv, syslog, local0, local1... | ||
# Default value is 'syslog' | ||
syslog_log_facility=syslog | ||
|
||
# Which messages to log. | ||
# INFO means log all usage | ||
# ERROR means only log unsuccessful attempts | ||
syslog_log_level=ERROR |
Oops, something went wrong.