Skip to content

Commit

Permalink
fixup! Dev: pre-migration: add checks for used corosync features (jsc…
Browse files Browse the repository at this point in the history
…#PED-11808)
  • Loading branch information
nicholasyang2022 committed Jan 7, 2025
1 parent 5122a71 commit a1afb54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crmsh/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ def check_unsupported_corosync_features(handler: CheckResultHandler):
handler.log_info("Checking used corosync features...")
transport = 'udpu' if corosync.is_unicast() else 'udp'
handler.handle_tip(f'Corosync transport "{transport}" will be deprecated in corosync 3.', [

Check warning on line 273 in crmsh/migration.py

View check run for this annotation

Codecov / codecov/patch

crmsh/migration.py#L271-L273

Added lines #L271 - L273 were not covered by tests
'After migrating to SLES 16, run "crm health sles16 --fix" to migrate it to transport "knet".',
'After migrating to SLES 16, run "crm cluster health sles16 --fix" to migrate it to transport "knet".',
])
if corosync.get_value("totem.rrp_mode") in {'active', 'passive'}:
handler.handle_tip(f'Corosync RRP will be deprecated in corosync 3.', [

Check warning on line 277 in crmsh/migration.py

View check run for this annotation

Codecov / codecov/patch

crmsh/migration.py#L276-L277

Added lines #L276 - L277 were not covered by tests
'After migrating to SLES 16, run "crm health sles16 --fix" to migrate it to knet multilink.',
'After migrating to SLES 16, run "crm cluster health sles16 --fix" to migrate it to knet multilink.',
])


Expand Down

0 comments on commit a1afb54

Please sign in to comment.