Skip to content

Fix vm cleanup iptables/ipset misleading error logs (Fixes #12770) - #12850

Open
dheeraj12347 wants to merge 1 commit into
apache:4.22from
dheeraj12347:fix-sg-cleanup-12770
Open

Fix vm cleanup iptables/ipset misleading error logs (Fixes #12770)#12850
dheeraj12347 wants to merge 1 commit into
apache:4.22from
dheeraj12347:fix-sg-cleanup-12770

Conversation

@dheeraj12347

Copy link
Copy Markdown
Contributor

Problem

During KVM VM cleanup, security_group.py tries to flush and delete iptables/ip6tables chains and ipsets unconditionally. If the chain or set has already been removed (for example, when cleanup is rerun or after partial failures), the underlying commands fail, and the agent logs misleading ERROR messages and stack traces, even though there is nothing left to clean up. This makes idempotent cleanup noisy and harder to debug. [web:2]

Changes

  • Added helper functions:

    • iptables_chain_exists(chain)
    • ip6tables_chain_exists(chain)
    • ipset_exists(setname)

    These use the existing execute() wrapper to check whether a chain or ipset exists. Exit code 1 (not found) is treated as a normal condition: it is logged at DEBUG and returns False, while other non‑zero exit codes are still raised as real errors. [file:69]

  • Updated destroy_network_rules_for_vm() to:

    • Check iptables and ip6tables chain existence via the new helpers before flushing and deleting them.
    • Check IPv4 and IPv6 ipset existence before flushing and deleting them.
    • Log missing chains and ipsets at DEBUG level as “does not exist, skipping”.
    • Keep logging real failures when flushing/deleting chains or ipsets at ERROR level.
    • Preserve existing behavior for ebtables cleanup, DNAT rule removal, and rule/log file cleanup. [file:69]

Result

  • VM cleanup for KVM is now idempotent and no longer emits misleading ERROR logs when chains or ipsets are already gone.
  • Real failures during cleanup are still surfaced as ERROR messages with details, improving signal‑to‑noise in agent logs. [file:69][web:2]

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves KVM VM security-group cleanup in security_group.py by making iptables/ip6tables chain and ipset removal more idempotent, aiming to reduce misleading ERROR logs when cleanup is re-run and resources are already gone.

Changes:

  • Added helper functions to detect existence of iptables/ip6tables chains and ipsets before attempting flush/delete.
  • Updated destroy_network_rules_for_vm() to conditionally flush/delete chains and ipsets, and to log “missing” cases at DEBUG.
  • Tightened exception handling in DNAT cleanup blocks (catch Exception explicitly).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +60 to +67
try:
execute("iptables -S %s 2>/dev/null" % chain)
return True
except CalledProcessError as e:
if e.returncode == 1:
# Chain not found - normal for idempotent cleanup
logging.debug("iptables chain %s does not exist", chain)
return False
Comment thread scripts/vm/network/security_group.py Outdated
Comment on lines +267 to +275
for ipset in [vm_ipsetname, vm_ipsetname + '-6']:
if ipset_exists(ipset):
try:
execute('ipset -F ' + ipset)
execute('ipset -X ' + ipset)
except Exception as e:
logging.error("Failed to flush/delete ipset %s: %s", ipset, str(e))
else:
logging.debug("Ipset %s does not exist, skipping", ipset)
@codecov

codecov Bot commented Mar 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.83%. Comparing base (27bce46) to head (2b9a340).
⚠️ Report is 291 commits behind head on 4.22.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.22   #12850      +/-   ##
============================================
+ Coverage     17.61%   17.83%   +0.21%     
- Complexity    15662    16023     +361     
============================================
  Files          5917     5928      +11     
  Lines        531415   534404    +2989     
  Branches      64973    65399     +426     
============================================
+ Hits          93588    95286    +1698     
- Misses       427271   428301    +1030     
- Partials      10556    10817     +261     
Flag Coverage Δ
uitests 3.82% <ø> (+0.11%) ⬆️
unittests 18.90% <ø> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@dheeraj12347 can you assess co-pilot’s comments?

@dheeraj12347

Copy link
Copy Markdown
Contributor Author

Hi @DaanHoogland , I reviewed the Copilot comments and addressed all three.

  • The existence checks now use check_output() directly, so expected return code 1 does not go through execute() and produce an ERROR traceback.
  • ip6tables command-not-found (return code 127) is handled as a DEBUG/skip during cleanup.
  • ipset command-not-found (return code 127) is handled similarly.

I also ran the Python syntax check and git diff --check locally.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@weizhouapache , maybe this one is a good excuse to clean up the security groups smoke test set.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19126

@weizhouapache

weizhouapache commented Sep 7, 2026

Copy link
Copy Markdown
Member

@weizhouapache , maybe this one is a good excuse to clean up the security groups smoke test set.

yes, the smoke test on advanced zone is useless for this PR

@github-project-automation github-project-automation Bot moved this from conflict/waiting to Done in CloudStack Testing Sep 7, 2026
@weizhouapache weizhouapache reopened this Sep 7, 2026
@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan help

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland [SL] I understand these words: "help", "hello", "thanks", "package", "test", "sweep", "shutup"
Test command usage: test [mgmt os] [hypervisor] [keepEnv] [qemuEv] [basicZone|securityGroups]
Mgmt OS options: ['alma10', 'ol10', 'rocky10', 'ol8', 'ol9', 'debian12', 'alma8', 'alma9', 'suse15', 'ubuntu20', 'centos7', 'centos6', 'rocky8', 'ubuntu18', 'ubuntu22', 'rocky9', 'ubuntu26', 'ubuntu24']
Hypervisor options: ['kvm-centos6', 'kvm-centos7', 'kvm-rocky8', 'kvm-rocky9', 'kvm-rocky10', 'kvm-ol8', 'kvm-ol9', 'kvm-ol10', 'kvm-alma8', 'kvm-alma9', 'kvm-alma10', 'kvm-ubuntu18', 'kvm-ubuntu20', 'kvm-ubuntu22', 'kvm-ubuntu24', 'kvm-ubuntu26', 'kvm-debian12', 'kvm-suse15', 'vmware-55u3', 'vmware-60u2', 'vmware-65u2', 'vmware-67u3', 'vmware-70u1', 'vmware-70u2', 'vmware-70u3', 'vmware-80', 'vmware-80u1', 'vmware-80u2', 'vmware-80u3', 'vmware-80u3e', 'xenserver-65sp1', 'xenserver-71', 'xenserver-74', 'xenserver-84', 'xcpng74', 'xcpng76', 'xcpng80', 'xcpng81', 'xcpng82', 'xcpng83']
Note: when keepEnv is passed, you need to specify mgmt server os and hypervisor or use the matrix command.
when qemuEv is passed, it will deploy KVM hyperviosr hosts with qemu-kvm-ev, else it will default to stock qemu.
When basicZone and/or securityGroups are passed it will create a zone of the last type specified (default is Advanced)
Package command usage: package [all(default value),kvm,xen,vmware,hyperv,ovm] - a comma separated list can be passed with package command to bundle the required hypervisor's systemVM templates. Not passing any argument will bundle all - kvm,xen and vmware templates.
Sweep command usage: sweep - strips attached archive/file links from my own comments on this PR, marking them as removed.
Shutup command usage: shutup - deletes all of my comments on this PR.

Blessed contributors for kicking Trillian test jobs: ['shwstppr', 'Damans227', 'vishesh92', 'Pearl1594', 'harikrishna-patnala', 'nvazquez', 'DaanHoogland', 'weizhouapache', 'borisstoyanov', 'vladimirpetrov', 'kiranchavala', 'prashanthr2', 'ingox', 'NuxRo', 'rajujith', 'sureshanaparti', 'abh1sar', 'sudo87', 'RosiKyu']

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test securityGroups keepEnv

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@DaanHoogland DaanHoogland moved this from Done to Ready in CloudStack Testing Sep 8, 2026
@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-16920)
Environment: kvm-ol8 (x2), zone: Advanced_with_Security_Groups Networking with Mgmt server ol8
Total time taken: 84581 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr12850-t16920-kvm-ol8.zip
Smoke tests completed. 89 look OK, 60 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_deploy_vm_from_direct_download_template_nfs_storage Error 3.50 test_direct_download.py
ContextSuite context=TestDirectDownloadTemplates>:teardown Error 1.10 test_direct_download.py
test_DeleteDomain Failure 46.60 test_accounts.py
test_forceDeleteDomain Failure 41.12 test_accounts.py
test_01_events_resource Error 3.27 test_events_resource.py
ContextSuite context=TestExtensions>:setup Error 0.00 test_extension_custom.py
test_vm_backup_create_vm_from_backup Failure 811.66 test_backup_recovery_nas.py
test_vm_backup_lifecycle Error 1.12 test_backup_recovery_nas.py
test_replace_acl_of_network Error 1.79 test_global_acls.py
test_01_condensed_drs_algorithm Error 2.50 test_cluster_drs.py
test_02_balanced_drs_algorithm Error 0.12 test_cluster_drs.py
ContextSuite context=TestClusterDRS>:teardown Error 1.22 test_cluster_drs.py
test_dedicateGuestVlanRange Error 0.00 test_guest_vlan_range.py
ContextSuite context=TestDedicateGuestVlanRange>:teardown Error 0.01 test_guest_vlan_range.py
test_04_verify_guest_lspci Error 810.64 test_deploy_virtio_scsi_vm.py
test_06_verify_guest_lspci_again Error 810.65 test_deploy_virtio_scsi_vm.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Failure 4.06 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Failure 3.18 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Failure 3.94 test_internal_lb.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Failure 4.06 test_internal_lb.py
test_02_create_network_routed_mode_with_specified_cidr Error 0.13 test_ipv4_routing.py
test_04_create_isolated_network_routed_mode_with_cidrsize Error 0.10 test_ipv4_routing.py
test_06_isolated_network_with_routed_mode Error 0.09 test_ipv4_routing.py
test_07_vpc_and_tier_with_routed_mode Error 2.56 test_ipv4_routing.py
test_11_isolated_network_with_dynamic_routed_mode Error 2.33 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 7.21 test_ipv4_routing.py
test_01_ping_in_vr_success Failure 0.04 test_diagnostics.py
test_02_ping_in_vr_failure Failure 0.03 test_diagnostics.py
test_07_arping_in_vr Failure 0.03 test_diagnostics.py
test_10_traceroute_in_vr Failure 0.02 test_diagnostics.py
test_13_retrieve_vr_default_files Failure 0.03 test_diagnostics.py
test_14_retrieve_vr_one_file Failure 0.02 test_diagnostics.py
test_01_create_ipv6_public_ip_range Error 0.04 test_ipv6_infra.py
test_03_create_network_domain_network_offering Error 3.83 test_domain_network_offerings.py
test_03_create_vpc_domain_vpc_offering Error 5.04 test_domain_vpc_offerings.py
test_05_register_unregister_extension Error 0.08 test_extension_lifecycle.py
test_06_register_extension_already_fail Error 0.07 test_extension_lifecycle.py
test_07_delete_extension_registered_resource_fail Error 0.06 test_extension_lifecycle.py
test_09_extension_deploy_vm Error 0.32 test_extension_lifecycle.py
test_10_vpc_tier_kubernetes_cluster Error 3.65 test_kubernetes_clusters.py
test_08_listsystemvms Failure 0.04 test_list_volumes.py
ContextSuite context=TestLoadBalance>:setup Error 0.00 test_loadbalance.py
test_01_native_to_native_network_migration Error 2.00 test_migration.py
test_02_native_to_native_vpc_migration Error 4.40 test_migration.py
test_network_acl Error 2.40 test_network_acl.py
ContextSuite context=TestIpv6Network>:setup Error 0.00 test_network_ipv6.py
ContextSuite context=TestNetworkPermissions>:setup Error 0.00 test_network_permissions.py
test_delete_account Error 70.36 test_network.py
test_delete_network_while_vm_on_it Error 5.71 test_network.py
test_delete_network_while_vm_on_it Error 5.71 test_network.py
test_deploy_vm_l2network Error 6.65 test_network.py
test_deploy_vm_l2network Error 6.65 test_network.py
test_l2network_restart Error 7.87 test_network.py
test_l2network_restart Error 7.87 test_network.py
ContextSuite context=TestL2Networks>:teardown Error 8.99 test_network.py
test_01_port_fwd_on_src_nat Failure 0.02 test_network.py
test_02_port_fwd_on_non_src_nat Error 0.03 test_network.py
ContextSuite context=TestPublicIP>:setup Error 1.79 test_network.py
test_reboot_router Error 128.67 test_network.py
test_releaseIP Error 8.40 test_network.py
test_releaseIP_using_IP Error 8.46 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Error 0.04 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Error 0.04 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Error 0.04 test_network.py
ContextSuite context=TestSharedNetworkWithConfigDrive>:setup Error 70.68 test_network.py
test_01_nic Error 42.36 test_nic.py
test_extendPhysicalNetworkVlan Error 0.05 test_non_contigiousvlan.py
ContextSuite context=TestNonStrictAffinityGroups>:setup Error 0.00 test_nonstrict_affinity_group.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setup Error 0.00 test_password_server.py
test_01_isolated_persistent_network Error 0.07 test_persistent_network.py
ContextSuite context=TestPortablePublicIPAcquire>:setup Error 0.00 test_portable_publicip.py
test_01_create_delete_portforwarding_fornonvpc Error 1.32 test_portforwardingrules.py
test_01_vpc_privategw_acl Failure 3.17 test_privategw_acl.py
test_02_vpc_privategw_static_routes Failure 3.10 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Failure 3.08 test_privategw_acl.py
test_04_rvpc_privategw_static_routes Failure 3.33 test_privategw_acl.py
test_dedicatePublicIpRange Error 0.04 test_public_ip_range.py
test_dedicate_public_ip_range_for_system_vms Error 0.03 test_public_ip_range.py
test_dedicate_public_ip_range_for_system_vms_01_ssvm Error 61.11 test_public_ip_range.py
test_dedicate_public_ip_range_for_system_vms_02_cpvm Error 0.18 test_public_ip_range.py
test_01_purge_expunged_api_vm_start_date Error 12.44 test_purge_expunged_vms.py
test_02_purge_expunged_api_vm_end_date Error 12.87 test_purge_expunged_vms.py
test_03_purge_expunged_api_vm_start_end_date Error 11.22 test_purge_expunged_vms.py
test_04_purge_expunged_api_vm_no_date Error 13.40 test_purge_expunged_vms.py
test_05_purge_expunged_vm_service_offering Error 3.63 test_purge_expunged_vms.py
test_06_purge_expunged_vm_background_task Error 388.66 test_purge_expunged_vms.py
test_create_pvlan_network Error 0.12 test_pvlan.py
test_another_user_can_allocate_ip_after_quarantined_has_ended_network Error 2.00 test_quarantined_ips.py
test_another_user_can_allocate_ip_after_quarantined_has_ended_vpc Error 2.81 test_quarantined_ips.py
test_only_owner_can_allocate_ip_in_quarantine_network Error 0.52 test_quarantined_ips.py
test_only_owner_can_allocate_ip_in_quarantine_vpc Error 1.90 test_quarantined_ips.py
test_CRUD_operations_userdata Error 16.29 test_register_userdata.py
test_deploy_vm_with_registered_userdata Error 0.94 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 0.94 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 0.94 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_deny Error 0.91 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 0.96 test_register_userdata.py
test_link_and_unlink_userdata_to_template Error 0.91 test_register_userdata.py
test_user_userdata_crud Error 0.93 test_register_userdata.py
ContextSuite context=TestRouterDHCPHosts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDns>:setup Error 0.00 test_router_dns.py
ContextSuite context=TestRouterDnsService>:setup Error 0.00 test_router_dnsservice.py
test_02_routervm_iptables_policies Failure 27.34 test_routers_iptables_default_policy.py
test_01_single_VPC_iptables_policies Error 2.40 test_routers_iptables_default_policy.py
test_01_isolate_network_FW_PF_default_routes_egress_true Error 0.18 test_routers_network_ops.py
test_02_isolate_network_FW_PF_default_routes_egress_false Error 0.17 test_routers_network_ops.py
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Error 0.19 test_routers_network_ops.py
test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Error 0.17 test_routers_network_ops.py
test_03_RVR_Network_check_router_state Error 0.18 test_routers_network_ops.py
test_01_router_internal_basic Failure 0.03 test_routers.py
test_02_router_internal_adv Failure 0.02 test_routers.py
test_03_restart_network_cleanup Failure 0.02 test_routers.py
test_04_restart_network_wo_cleanup Failure 2.22 test_routers.py
test_05_router_basic Failure 0.02 test_routers.py
test_06_router_advanced Failure 0.02 test_routers.py
test_07_stop_router Failure 0.02 test_routers.py
test_08_start_router Failure 0.02 test_routers.py
test_09_reboot_router Failure 0.02 test_routers.py
test_10_reboot_router_forced Failure 0.02 test_routers.py
test_01_service_offering_cpu_limit_use Error 811.22 test_service_offerings.py
test_04_change_offering_small Failure 907.56 test_service_offerings.py
test_advZoneVirtualRouter Error 0.03 test_vm_life_cycle.py
test_10_attachAndDetach_iso Failure 818.02 test_vm_life_cycle.py
ContextSuite context=TestSetSourceNatIp>:setup Error 0.00 test_set_sourcenat.py
ContextSuite context=TestSharedFSLifecycle>:setup Error 0.00 test_sharedfs_lifecycle.py
test_01_ssl_offloading_isolated_network Error 0.21 test_ssl_offloading.py
test_02_ssl_offloading_project_vpc Error 3.64 test_ssl_offloading.py
test_3_userdata_on_vr Error 0.30 test_systemvm_userdata.py
ContextSuite context=TestLBRuleUsage>:setup Error 13.93 test_usage.py
ContextSuite context=TestNatRuleUsage>:setup Error 22.52 test_usage.py
ContextSuite context=TestPublicIPUsage>:setup Error 36.02 test_usage.py
ContextSuite context=TestVpnUsage>:setup Error 223.97 test_usage.py
ContextSuite context=TestVmAutoScaling>:setup Error 0.00 test_vm_autoscaling.py
test_01_unmanage_vm_cycle_persistent_domain Error 2.11 test_vm_lifecycle_unmanage_kvm_import.py
test_02_unmanage_stopped_vm_cycle_persistent_domain Error 0.95 test_vm_lifecycle_unmanage_kvm_import.py
ContextSuite context=TestUnmanageKvmVM>:teardown Error 1.42 test_vm_lifecycle_unmanage_kvm_import.py
test_01_create_vm_snapshots Failure 810.58 test_vm_snapshots.py
test_02_revert_vm_snapshots Failure 810.63 test_vm_snapshots.py
test_03_delete_vm_snapshots Failure 0.02 test_vm_snapshots.py
test_04_deploy_vnf_appliance Error 141.38 test_vnf_templates.py
test_01_create_volume Failure 818.32 test_volumes.py
test_01_root_volume_encryption Failure 1000.15 test_volumes.py
test_02_data_volume_encryption Failure 990.33 test_volumes.py
test_03_root_and_data_volume_encryption Failure 1011.50 test_volumes.py
test_02_attach_volume Failure 1670.34 test_volumes.py
test_02_attach_volume Failure 1670.36 test_volumes.py
test_03_download_attached_volume Failure 858.42 test_volumes.py
test_04_delete_attached_volume Failure 857.53 test_volumes.py
test_05_detach_volume Failure 952.80 test_volumes.py
test_06_download_detached_volume Failure 1045.23 test_volumes.py
test_07_resize_fail Failure 854.48 test_volumes.py
test_08_resize_volume Failure 857.95 test_volumes.py
test_09_delete_detached_volume Failure 857.81 test_volumes.py
test_10_list_volumes Failure 856.43 test_volumes.py
test_11_attach_volume_with_unstarted_vm Failure 963.58 test_volumes.py
test_12_resize_volume_with_only_size_parameter Failure 863.89 test_volumes.py
test_13_migrate_volume_and_change_offering Failure 994.00 test_volumes.py
test_14_delete_volume_delete_protection Failure 857.66 test_volumes.py
ContextSuite context=TestIpv6Vpc>:setup Error 0.00 test_vpc_ipv6.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Error 3.08 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Error 3.16 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Error 3.00 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Error 3.03 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 4.12 test_vpc_redundant.py
test_01_VPC_nics_after_destroy Error 3.02 test_vpc_router_nics.py
test_02_VPC_default_routes Error 3.10 test_vpc_router_nics.py
test_01_redundant_vpc_site2site_vpn Failure 3.51 test_vpc_vpn.py
test_01_vpc_site2site_vpn_multiple_options Failure 3.51 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Failure 1.23 test_vpc_vpn.py
test_01_vpc_site2site_vpn Failure 3.50 test_vpc_vpn.py
test_02_cancel_host_maintenace_with_migration_jobs Error 3.75 test_host_maintenance.py
test_03_cancel_host_maintenace_with_migration_jobs_failure Error 4.91 test_host_maintenance.py
test_01_cancel_host_maintenance_ssh_enabled_agent_connected Failure 24.81 test_host_maintenance.py
test_03_cancel_host_maintenance_ssh_disabled_agent_connected Failure 19.86 test_host_maintenance.py
test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected Failure 33.80 test_host_maintenance.py
ContextSuite context=TestHostMaintenanceAgents>:teardown Error 34.97 test_host_maintenance.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

Bug: agent, vm cleanup - iptables/ipset chain existence not checked before deletion, causing misleading error logs

8 participants