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:
parent
43097e401c
commit
49d6dae15b
@ -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':
|
||||
|
@ -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': }
|
||||
|
Loading…
Reference in New Issue
Block a user