bhouse-nexthop commented on PR #14775:
URL: https://github.com/apache/cloudstack/pull/14775#issuecomment-7108289560

   Tested on a nested KVM lab running **4.22.1.1-nexthop** (a 4.22.1.1-based 
build that carries this change along with the other open CKS fixes): 3 KVM 
hosts, Ceph RBD primary storage, isolated network. CKS cluster on Kubernetes 
v1.32.3 (Calico). The cluster had 1 control node and 1 worker (SSH ports 
2222-2223), plus an added node on 2224.
   
   | # | Scenario | Result | Evidence |
   |---|---|---|---|
   | 1 | Add-node of a VM that fails `validate-cks-node` (ip_forward off; 
conntrack, apt-transport-https, gnupg-agent and containerd.io missing) | Pass | 
Add-node created PF 2225->22 and a tcp 2225 firewall rule, then removed only 
those two ("Removing firewall rule", then "Removing port forwarding rule"). The 
ids of every rule on 2222-2224 were identical before and after. The 
`validate-cks-node` output listed every missing item. No vm_map row was left 
behind |
   | 2 | Add-node that fails at SSH (the VM did not trust the management server 
key) | Pass | Same as row 1: only that attempt's new firewall and PF rules were 
removed |
   | 3 | Leftover cleanup: a PF 2230->22 plus a tcp 2230 0.0.0.0/0 firewall 
rule planted for the VM being added | Pass | Logged "Removing network rules 
[..] left over from an earlier failed add-node", and both rules were gone. The 
node joined on 2224, and the other added node's rules (2225) kept their ids |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to