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/794605 Change-Id: I6b762c8ef0e7b4b19ae81acf878236330b3ba3ee
This commit is contained in:
parent
ea8824c436
commit
c3bbd0059d
@ -131,6 +131,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':
|
||||
|
@ -195,6 +195,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