Install thin-provisioning-tools for Debian based systems
When using Cinder with LVM, it requires a utility which is included in the thin-provisioning-tools packages which do not get installed alongside the Cinder packages. This patch ensures that the correct package is installed when using the iSCSI LVM backend. Change-Id: I35adf0eeb0becc681edd7d514880560933f3521d Depends-On: Ib22cc3a5ff87ffb755219db20d82ca0bffb65e61 Related-Bug: #1615134
This commit is contained in:
parent
bdf5486e45
commit
499b13eb11
@ -57,6 +57,15 @@ define cinder::backend::iscsi (
|
||||
include ::cinder::deps
|
||||
include ::cinder::params
|
||||
|
||||
# NOTE(mnaser): Cinder requires /usr/sbin/thin_check to create volumes which
|
||||
# does not get installed with Cinder (see LP#1615134).
|
||||
if $::osfamily == 'Debian' {
|
||||
package { 'thin-provisioning-tools':
|
||||
ensure => present,
|
||||
tag => 'cinder-support-package',
|
||||
}
|
||||
}
|
||||
|
||||
cinder_config {
|
||||
"${name}/volume_backend_name": value => $volume_backend_name;
|
||||
"${name}/volume_driver": value => $volume_driver;
|
||||
|
Loading…
x
Reference in New Issue
Block a user