bhouse-nexthop commented on PR #14773: URL: https://github.com/apache/cloudstack/pull/14773#issuecomment-7259618843
Tested on a KVM lab running a main (24.0) build that includes this change. The node is a worker of a CKS cluster on Kubernetes 1.34.7 (Ubuntu-based CKS node). The PR targets 4.22; `validate-cks-node` is the same on both branches apart from this change and #14756. I ran the 4.22 script and the script from this build on the same node, as the `cloud` user, the way the add-node path runs it. Result: 14 of 14 checks passed (gates included). | Case | 4.22 script | This build | |---|---|---| | Node as it is (`ip_forward=1`, packages present) | | prints `0`, exit 0 | | `net.ipv4.ip_forward` set to 0 (read back as 0 during the run) | prints `0 0`, exit 0: the node passes | `net.ipv4.ip_forward is not set to 1 on the node; set it in /etc/sysctl.d/ so it survives the reboot that follows`, exit 1 | `ip_forward` was set back to 1 at the end of the same SSH session. Not tested: the full `addNodesToKubernetesCluster` flow with a VM that has `ip_forward=0` (only the script's verdict was checked), and an RPM-based node. -- 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]
