From 173e4e2869d5aec13ad1347e59e2d56810bfaa75 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Fri, 12 Apr 2024 11:15:21 -0400 Subject: [PATCH] Start evmserverd after cli config --- lib/manageiq/appliance_console/cli.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/manageiq/appliance_console/cli.rb b/lib/manageiq/appliance_console/cli.rb index 3bbc391c..4d135ac4 100644 --- a/lib/manageiq/appliance_console/cli.rb +++ b/lib/manageiq/appliance_console/cli.rb @@ -273,12 +273,12 @@ def run saml_unconfig if saml_unconfig? oidc_config if oidc_config? oidc_unconfig if oidc_unconfig? - set_server_state if set_server_state? openscap if openscap? message_server_config if message_server_config? message_server_unconfig if message_server_unconfig? message_client_config if message_client_config? message_client_unconfig if message_client_unconfig? + set_server_state if set_server_state? rescue CliError => e say(e.message) say("") @@ -322,9 +322,6 @@ def set_internal_db # start pg, create user, create db update the rails configuration, # verify, set up the database with region. activate does it all! raise CliError, "Failed to configure internal database" unless config.activate - - # enable/start related services - config.post_activation rescue RuntimeError => e raise CliError, "Failed to configure internal database #{e.message}" end @@ -343,9 +340,6 @@ def set_external_db # call create_or_join_region (depends on region value) raise CliError, "Failed to configure external database" unless config.activate - - # enable/start related services - config.post_activation end def set_replication