Skip to content

Commit

Permalink
Start evmserverd after cli config
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Apr 12, 2024
1 parent c1001f8 commit 173e4e2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/manageiq/appliance_console/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 173e4e2

Please sign in to comment.