[stable/2024.1] Bump MCAPI to 0.24.2 (#2306)

This is an automated cherry-pick of #2301
/assign mnaser
diff --git a/images/magnum/Dockerfile b/images/magnum/Dockerfile
index e077999..4eded29 100644
--- a/images/magnum/Dockerfile
+++ b/images/magnum/Dockerfile
@@ -22,7 +22,7 @@
 pip3 install \
     --constraint /upper-constraints.txt \
         /src/magnum \
-        magnum-cluster-api==0.24.1
+        magnum-cluster-api==0.24.2
 EOF
 
 FROM harbor.atmosphere.dev/library/openstack-python-runtime:${RELEASE}