bhouse-nexthop commented on PR #14598: URL: https://github.com/apache/cloudstack/pull/14598#issuecomment-7296605069
Tested the `deploy-csi-driver` change (head 63c2ae5) on a nested KVM lab running a 24.0 (main) build with this commit picked, against a build with the previous head of this PR (783680f). Not run on 4.22; the script is identical on both branches. Clusters: 1 control + 1 worker, Kubernetes v1.33.1 binaries ISO (CSI driver v3.0.0 manifests), `enablecsi=true`. To make the first apply fail partway, a wrapper around `/opt/bin/kubectl` on the control node, installed during the create, applies the manifest without its CSIDriver document once and exits 1. The second scenario deletes the ISO's `/opt/csi` manifests so the script takes the download path. | Scenario | Previous head | This head | |---|---|---| | First apply fails partway (CSIDriver missing) | first run exit 1, retry exits 0 at the controller-pod check; cluster Running **without the CSIDriver**; running the script again by hand applies nothing | first run exit 1, retry applies the manifest again (2 applies); cluster Running **with the CSIDriver**; running it again after deleting the CSIDriver brings it back | | No CSI manifests on the node (download) | downloads v3.0.0, manifest still glued (`rbac.authorization.k8s.io---`), first run fails, retry passes; **no CSIDriver, no snapshotter ClusterRoleBinding** | downloads, checksum OK, manifest split; first run passes (no retry); **CSIDriver and binding present** | | Normal create | - | CSIDriver and binding present, no retry; controller and node pods Running; a PVC on the CSI StorageClass binds, a pod mounts it, and a VolumeSnapshot of it becomes readyToUse | Checks per run: 12 of 12 and 13 of 13 with the previous head (the bug reproduced as expected), 12 of 12, 13 of 13 and 13 of 13 with this head. Clusters were deleted after each run. -- 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]
