Enable Ceph in CentOS8 scenario001/004 job
This patch enables ceph in CentOS8 scenario001 and 004, which was disabled previously[1], since now ceph is available for CentOS8. [1] b44d0bdd5a19661130b6ada02f9ae825783a78a1 Change-Id: I61e4eb899933e2c5b5c9d43d00240f62a3c18b94
This commit is contained in:
parent
89e0a65e51
commit
5666beb441
@ -22,15 +22,6 @@ if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') or
|
||||
$ssl = true
|
||||
}
|
||||
|
||||
# FIXME(ykarel) Enable ceph in CentOS8 once Ceph repos are available
|
||||
if ($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
||||
$backend = undef
|
||||
$ceph = false
|
||||
} else {
|
||||
$backend = 'rbd'
|
||||
$ceph = true
|
||||
}
|
||||
|
||||
case $::osfamily {
|
||||
'Debian': {
|
||||
$ipv6 = false
|
||||
@ -75,18 +66,18 @@ class { 'openstack_integration::keystone':
|
||||
token_expiration => '2400',
|
||||
}
|
||||
class { 'openstack_integration::glance':
|
||||
backend => $backend,
|
||||
backend => 'rbd',
|
||||
}
|
||||
class { 'openstack_integration::neutron':
|
||||
notification_topics => $notification_topics,
|
||||
}
|
||||
include openstack_integration::placement
|
||||
class { 'openstack_integration::nova':
|
||||
libvirt_rbd => $ceph,
|
||||
libvirt_rbd => true,
|
||||
notification_topics => $notification_topics,
|
||||
}
|
||||
class { 'openstack_integration::cinder':
|
||||
backend => $backend,
|
||||
backend => 'rbd',
|
||||
}
|
||||
include openstack_integration::ceilometer
|
||||
class { 'openstack_integration::aodh':
|
||||
@ -95,16 +86,14 @@ class { 'openstack_integration::aodh':
|
||||
if $enable_vitrage {
|
||||
include openstack_integration::vitrage
|
||||
}
|
||||
if $ceph {
|
||||
include openstack_integration::ceph
|
||||
}
|
||||
include openstack_integration::ceph
|
||||
class { 'openstack_integration::heat':
|
||||
notification_topics => $notification_topics,
|
||||
}
|
||||
include openstack_integration::provision
|
||||
include openstack_integration::redis
|
||||
class { 'openstack_integration::gnocchi':
|
||||
integration_enable => $ceph,
|
||||
integration_enable => true,
|
||||
}
|
||||
include openstack_integration::panko
|
||||
|
||||
|
@ -22,15 +22,6 @@ if ($::os['name'] == 'Ubuntu') or ($::os['name'] == 'Fedora') or
|
||||
$ssl = true
|
||||
}
|
||||
|
||||
# FIXME(ykarel) Enable ceph in CentOS8 once Ceph repos are available
|
||||
if ($::os['family'] == 'RedHat' and Integer.new($::os['release']['major']) > 7) {
|
||||
$backend = undef
|
||||
$ceph = false
|
||||
} else {
|
||||
$backend = 'swift'
|
||||
$ceph = true
|
||||
}
|
||||
|
||||
if $::operatingsystem == 'Ubuntu' {
|
||||
$ipv6 = false
|
||||
# Watcher packages are not available in Ubuntu repository.
|
||||
@ -64,7 +55,7 @@ include openstack_integration::rabbitmq
|
||||
include openstack_integration::mysql
|
||||
include openstack_integration::keystone
|
||||
class { 'openstack_integration::glance':
|
||||
backend => $backend,
|
||||
backend => 'swift',
|
||||
}
|
||||
class { 'openstack_integration::neutron':
|
||||
bgpvpn_enabled => $bgpvpn_enabled,
|
||||
@ -73,14 +64,12 @@ class { 'openstack_integration::neutron':
|
||||
}
|
||||
include openstack_integration::placement
|
||||
class { 'openstack_integration::nova':
|
||||
libvirt_rbd => $ceph,
|
||||
libvirt_rbd => true,
|
||||
}
|
||||
|
||||
if $ceph {
|
||||
class { 'openstack_integration::ceph':
|
||||
deploy_rgw => true,
|
||||
swift_dropin => true,
|
||||
}
|
||||
class { 'openstack_integration::ceph':
|
||||
deploy_rgw => true,
|
||||
swift_dropin => true,
|
||||
}
|
||||
if $watcher_enabled {
|
||||
include openstack_integration::watcher
|
||||
|
Loading…
x
Reference in New Issue
Block a user