Initialize iscsi target during installation

This change enables initialization of iscsi target using the new
openstacklib::iscsid class to ensure that initiator name is generated
during installation.

Depends-on: https://review.opendev.org/c/openstack/puppet-openstacklib/+/823795/
Change-Id: I6b762c8ef0e7b4b19ae81acf878236330b3ba3ee
(cherry picked from commit c3bbd0059d)
This commit is contained in:
Takashi Kajinami 2021-06-04 00:55:56 +09:00 committed by Alfredo Moralejo
parent 43097e401c
commit 49d6dae15b
2 changed files with 5 additions and 0 deletions

View File

@ -132,6 +132,8 @@ class openstack_integration::cinder (
target_ip_address => '127.0.0.1',
manage_volume_type => true,
}
include openstacklib::iscsid
Service['iscsid'] -> Service['cinder-volume']
}
'rbd': {
cinder::backend::rbd { 'BACKEND_1':

View File

@ -191,6 +191,9 @@ class openstack_integration::nova (
}
# make sure ceph pool exists before running nova-compute
Exec['create-nova'] -> Service['nova-compute']
} else {
include openstacklib::iscsid
Service['iscsid'] -> Service['nova-compute']
}
class { 'nova::scheduler': }
class { 'nova::scheduler::filter': }