From 544159a630f1de9784439f1e96cc450aaf3d05a8 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 10 Nov 2023 15:03:30 +0900 Subject: [PATCH] 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 --- fixtures/scenario003.pp | 36 ++++++++---------------------------- manifests/murano.pp | 9 +++++++-- manifests/sahara.pp | 1 + 3 files changed, 16 insertions(+), 30 deletions(-) diff --git a/fixtures/scenario003.pp b/fixtures/scenario003.pp index 6a0417330..86d1368cf 100644 --- a/fixtures/scenario003.pp +++ b/fixtures/scenario003.pp @@ -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, diff --git a/manifests/murano.pp b/manifests/murano.pp index 97ebb360a..9a6b0556e 100644 --- a/manifests/murano.pp +++ b/manifests/murano.pp @@ -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'] } } diff --git a/manifests/sahara.pp b/manifests/sahara.pp index 23eb065ea..6e27f54d4 100644 --- a/manifests/sahara.pp +++ b/manifests/sahara.pp @@ -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