Skip to content

Commit

Permalink
configuration udpate and better cfg. issue resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
hholoubk committed Jan 6, 2025
1 parent e5f4080 commit f4977f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
libvirtd_debug_level = "1"
libvirtd_debug_filters = "1:*"
check_str_local_log = '['"dir":"/etc/pki/qemu","endpoint":"client","verify-peer":true']'
check_str_remote_log = '"dir":"/etc/pki/qemu","endpoint":"server","verify-peer":true'
check_str_remote_log = '['"dir":"/etc/pki/qemu","endpoint":"server","verify-peer":true']'
action_during_mig = '[{"func": "libvirt_network.check_established", "after_event": "iteration: \'1\'", "func_param": "params"}, {"func": "set_migrate_speed_to_high", "func_param": "params"}]'
- tls_destination:
no with_postcopy
Expand Down
11 changes: 7 additions & 4 deletions provider/migration/base_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,13 @@ def check_local_and_remote_log(self, local_str_in_log=True, remote_str_in_log=Tr
:param remote_str_in_log: True if the remote file should include the given string,
otherwise, False
"""
check_str_local_log = eval(self.params.get("check_str_local_log", "[]"))
check_no_str_local_log = eval(self.params.get("check_no_str_local_log", "[]"))
check_str_remote_log = eval(self.params.get("check_str_remote_log", "[]"))
check_no_str_remote_log = eval(self.params.get("check_no_str_remote_log", "[]"))
try:
check_str_local_log = eval(self.params.get("check_str_local_log", "[]"))
check_no_str_local_log = eval(self.params.get("check_no_str_local_log", "[]"))
check_str_remote_log = eval(self.params.get("check_str_remote_log", "[]"))
check_no_str_remote_log = eval(self.params.get("check_no_str_remote_log", "[]"))
except Exception as e:
self.test.error(f"Wrong test configuration. Unable to eval one or more parameter(s): {str(e)}")
log_file = self.params.get("libvirtd_debug_file")
runner_on_target = None

Expand Down

0 comments on commit f4977f1

Please sign in to comment.