Skip to content

Commit 3ccafea

Browse files
authored
JIRA WDT-526 - Update resources after setting server groups in offline update (#802)
1 parent b5285b8 commit 3ccafea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/src/main/python/update.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,17 +227,16 @@ def __update_offline(model, model_context, aliases):
227227
topology_updater = TopologyUpdater(model, model_context, aliases, wlst_mode=WlstModes.OFFLINE)
228228
topology_updater.update()
229229

230+
topology_updater.set_server_groups()
231+
232+
# Add resources after server groups are established to prevent auto-renaming
230233
model_deployer.deploy_model_offline(model, model_context, aliases, wlst_mode=__wlst_mode)
231234
if model_context.get_update_rcu_schema_pass() is True:
232235
rcu_helper = RCUHelper(model, model_context, aliases)
233236
rcu_helper.update_rcu_password()
234237

235238
__update_offline_domain()
236239

237-
topology_updater.set_server_groups()
238-
239-
__update_offline_domain()
240-
241240
model_deployer.deploy_model_after_update(model, model_context, aliases, wlst_mode=__wlst_mode)
242241

243242
try:

0 commit comments

Comments
 (0)