Drop workarounds for old packaging problems in Ubuntu
Some of the services have been disabled in Ubuntu because of old package problems but can be enabled now, to restore test coverage in Ubuntu. This also enables murano in both CentOS and Ubuntu. The murano tempest plugin tests still fail so tempest tests are still disabled for now. Depends-on: https://review.opendev.org/900608 Change-Id: I98f67f5088240e9a0c3ff0e4927959f40a1b6119
This commit is contained in:
parent
dd451d9a5b
commit
544159a630
@ -22,27 +22,10 @@ if $facts['os']['name'] == 'Ubuntu' {
|
||||
|
||||
case $facts['os']['family'] {
|
||||
'Debian': {
|
||||
$ipv6 = false
|
||||
# murano package should be fixed on Ubuntu Xenial
|
||||
$murano_enabled = false
|
||||
# trove package contains broken Tempest tests
|
||||
$trove_enabled = false
|
||||
|
||||
# TODO(tobias-urdin): Ubuntu Train packages has not moved out Sahara
|
||||
# plugins to its own packages.
|
||||
if $facts['os']['name'] == 'Ubuntu' {
|
||||
$sahara_integration_enable = false
|
||||
} else {
|
||||
$sahara_integration_enable = true
|
||||
}
|
||||
$ipv6 = false
|
||||
}
|
||||
'RedHat': {
|
||||
$ipv6 = true
|
||||
# NOTE(mnaser): We need to figure out why Murano won't accept credentials
|
||||
# and how to get it to work with Keystone V3.
|
||||
$murano_enabled = false
|
||||
$trove_enabled = true
|
||||
$sahara_integration_enable = true
|
||||
$ipv6 = true
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily (${facts['os']['family']})")
|
||||
@ -73,9 +56,7 @@ include openstack_integration::placement
|
||||
class { 'openstack_integration::nova':
|
||||
cinder_enabled => true,
|
||||
}
|
||||
if $trove_enabled {
|
||||
include openstack_integration::trove
|
||||
}
|
||||
include openstack_integration::trove
|
||||
class { 'openstack_integration::horizon':
|
||||
heat_enabled => true
|
||||
}
|
||||
@ -84,9 +65,7 @@ class { 'openstack_integration::sahara':
|
||||
integration_enable => $sahara_integration_enable,
|
||||
}
|
||||
include openstack_integration::designate
|
||||
if $murano_enabled {
|
||||
include openstack_integration::murano
|
||||
}
|
||||
include openstack_integration::murano
|
||||
include openstack_integration::mistral
|
||||
include openstack_integration::provision
|
||||
|
||||
@ -97,11 +76,12 @@ class { 'openstack_integration::magnum':
|
||||
|
||||
class { 'openstack_integration::tempest':
|
||||
designate => true,
|
||||
trove => $trove_enabled,
|
||||
trove => true,
|
||||
mistral => true,
|
||||
sahara => $sahara_integration_enable,
|
||||
sahara => true,
|
||||
horizon => true,
|
||||
murano => $murano_enabled,
|
||||
# TODO(tkajinam): Some of the murano tests still fail.
|
||||
murano => false,
|
||||
# NOTE(tkajinam): The scenario job we enable requires cinder, which is not
|
||||
# enabled in this scenario.
|
||||
heat => false,
|
||||
|
@ -101,7 +101,12 @@ class openstack_integration::murano {
|
||||
roles => ['admin', 'service'],
|
||||
password => 'a_big_secret',
|
||||
}
|
||||
-> murano_application { 'io.murano':
|
||||
package_path => "${application_package_path}/io.murano.zip",
|
||||
|
||||
# TODO(tkajinam): murano_application is not idempotent in Ubuntu
|
||||
if $facts['os']['family'] == 'RedHat' {
|
||||
murano_application { 'io.murano':
|
||||
package_path => "${application_package_path}/io.murano.zip",
|
||||
}
|
||||
Keystone_user_role<||> -> Murano_application['io.murano']
|
||||
}
|
||||
}
|
||||
|
@ -85,6 +85,7 @@ class openstack_integration::sahara (
|
||||
class { 'sahara::service::engine': }
|
||||
class { 'sahara::client': }
|
||||
class { 'sahara::notify': }
|
||||
sahara::plugin { 'vanilla': }
|
||||
|
||||
if $integration_enable {
|
||||
# create simple sahara templates
|
||||
|
Loading…
x
Reference in New Issue
Block a user