You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened: The CAPZ project publishes reference images to a community gallery. But as mentioned at the top of this document, they are the default. You don't need to specify a custom image section in your template to use the reference images.
When I tried, You don't need to specify a custom image section in your template I get the error message below
E1223 19:34:23.246198 1 controller.go:324] "Reconciler error" err="failed to init machine scope cache: failed to get default image: no VM image found for publisher \"cncf-upstream\" offer \"capi\" sku \"ubuntu-2204-gen1\" with Kubernetes version \"v1.31.4\"" controller="azuremachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="AzureMachine" AzureMachine="default/capz-etcd-control-plane-76mlv" namespace="default" name="capz-etcd-control-plane-76mlv" reconcileID="1dacf88e-0b0c-48b9-86c1-2d6ed22adb62"
When I do try to use the Community Gallery. I get GalleryImageNotFound . In the error it clearly saying not found in northcentralus region..but I do see it as available (see screenshot) and yaml below
E1223 19:12:04.367109 1 controller.go:324] "Reconciler error" err=<
failed to reconcile AzureMachine: failed to reconcile AzureMachine service virtualmachine: failed to create or update resource thi-poc-capz-etcd/capz-etcd-control-plane-2g5dd (service: virtualmachine): PUT https://management.azure.com/subscriptions/123/resourceGroups/abc/providers/Microsoft.Compute/virtualMachines/capz-etcd-control-plane-2g5dd
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: GalleryImageNotFound
--------------------------------------------------------------------------------
{
"error": {
"code": "GalleryImageNotFound",
"message": "\"The gallery image /CommunityGalleries/capi-ubun2-2404/Images/ClusterAPI-f72ceb4f-5159-4c26-a0fe-2ea738f0d019/Versions/1.31.4 is not available in northcentralus region. Please contact image owner to replicate to this region, or change your requested region.\"",
"target": "imageReference"
}
}
--------------------------------------------------------------------------------
wait.... isn't the gallery supposed to be ClusterAPI-f72ceb4f-5159-4c26-a0fe-2ea738f0d019 ? I copied and pasted from the doc and didn't double check just now.
/kind bug
What steps did you take and what happened:
The CAPZ project publishes reference images to a community gallery. But as mentioned at the top of this document, they are the default. You don't need to specify a custom image section in your template to use the reference images.
You don't need to specify a custom image section in your template
I get the error message belowGalleryImageNotFound
. In the error it clearly saying not found innorthcentralus
region..but Ido
see it as available (see screenshot) andyaml
belowWhat did you expect to happen:
The CAPZ project publishes reference images to a community gallery. But as mentioned at the top of this document, they are the default. You don't need to specify a custom image section in your template to use the reference images.
Environment:
kubectl version
):v1.30.6
/etc/os-release
):20.04.6 LTS (Focal Fossa)
clusterctl
:v1.9.3
The text was updated successfully, but these errors were encountered: