Skip to content

Fix rcu schema pwd update regression #873

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions core/src/main/python/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ def __update_offline(model, model_context, aliases):
# deleting servers that are added by templates before set server groups causes mayhem
topology_updater.update_machines_clusters_and_servers(delete_now=False)

# update rcu schema password must happen before updating jrf domain
if model_context.get_update_rcu_schema_pass() is True:
rcu_helper = RCUHelper(model, model_context, aliases)
rcu_helper.update_rcu_password()

__update_offline_domain()

topology_updater.set_server_groups()
Expand All @@ -207,9 +212,6 @@ def __update_offline(model, model_context, aliases):

# Add resources after server groups are established to prevent auto-renaming
model_deployer.deploy_model_offline(model, model_context, aliases, wlst_mode=__wlst_mode)
if model_context.get_update_rcu_schema_pass() is True:
rcu_helper = RCUHelper(model, model_context, aliases)
rcu_helper.update_rcu_password()

__update_offline_domain()

Expand Down