Fix incomplete setting to enable in-storage image data copy

Change-Id: Ie2e89ad697120aa46a05753690c5c3835e612f68
This commit is contained in:
Takashi Kajinami 2024-07-30 02:40:17 +09:00
parent 6d37684f6d
commit cac0f79f71
5 changed files with 21 additions and 10 deletions

View File

@ -60,6 +60,7 @@ class { 'openstack_integration::keystone':
}
class { 'openstack_integration::glance':
backend => 'rbd',
show_multiple_locations => true,
}
class { 'openstack_integration::neutron':
notification_topics => $notification_topics,

View File

@ -57,6 +57,7 @@ include openstack_integration::redis
include openstack_integration::keystone
class { 'openstack_integration::glance':
backend => 'rbd',
show_multiple_locations => true,
}
class { 'openstack_integration::neutron':

View File

@ -54,6 +54,7 @@ include openstack_integration::keystone
include openstack_integration::cinder
class { 'openstack_integration::glance':
backend => 'cinder',
show_multiple_locations => true,
}
class { 'openstack_integration::neutron':
driver => 'ovn',

View File

@ -139,7 +139,9 @@ class openstack_integration::cinder (
}
class { 'cinder::backup': }
class { 'cinder::cron::db_purge': }
class { 'cinder::glance': }
class { 'cinder::glance':
allowed_direct_url_schemes => ['cinder'],
}
case $backend {
'iscsi': {
class { 'cinder::setup_test_volume':

View File

@ -9,9 +9,14 @@
# (optional) Boolean to configure or not image encryption
# Defaults to false.
#
# [*show_multiple_locations*]
# (optional) Include the backend image locations in image properties
# Defaults to undef
#
class openstack_integration::glance (
$backend = 'file',
$image_encryption = false,
$show_multiple_locations = undef,
) {
include openstack_integration::config
@ -113,6 +118,7 @@ class openstack_integration::glance (
default_backend => $default_backend,
bind_host => $::openstack_integration::config::host,
service_name => 'httpd',
show_multiple_locations => $show_multiple_locations,
}
class { 'glance::wsgi::apache':
bind_host => $::openstack_integration::config::host,