Skip to content

Commit 9529004

Browse files
authored
Fix rcu schema pwd update regression (#873)
1 parent 7f9c97f commit 9529004

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

core/src/main/python/update.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ def __update_offline(model, model_context, aliases):
199199
# deleting servers that are added by templates before set server groups causes mayhem
200200
topology_updater.update_machines_clusters_and_servers(delete_now=False)
201201

202+
# update rcu schema password must happen before updating jrf domain
203+
if model_context.get_update_rcu_schema_pass() is True:
204+
rcu_helper = RCUHelper(model, model_context, aliases)
205+
rcu_helper.update_rcu_password()
206+
202207
__update_offline_domain()
203208

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

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

214216
__update_offline_domain()
215217

0 commit comments

Comments
 (0)