File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,15 +308,14 @@ def clean_sliver_inconsistencies(self):
308308 # Extract UUID if found
309309 if match :
310310 sliver_id = match .group (1 )
311- print ("Sliver Id:" , sliver_id )
312311 if sliver_id not in cf_active_sliver_ids :
313312 result_2 = self .execute_ansible (inventory_path = inventory_location ,
314313 playbook_path = vm_playbook_path ,
315314 extra_vars = {"operation" : "delete" , "vmname" : vm_name },
316315 ansible_python_interpreter = ansible_python_interpreter )
317316 self .logger .info (f"Deleted instance: { vm_name } ; result: { result_2 .get_json_result_ok ()} " )
318317 else :
319- print ( "Sliver Id not found in the input string. " )
318+ self . logger . error ( f "Sliver Id not found in the input string: { vm_name } " )
320319 except Exception as e :
321320 self .logger .error (f"Failed to cleanup CF and openstack inconsistencies instance: { instance } vm: { vm_name } : { e } " )
322321 self .logger .error (traceback .format_exc ())
You can’t perform that action at this time.
0 commit comments