fix: webhook panic when management cluster has nil topology (#1372) #4482
GitHub Actions / e2e test report
failed
Nov 3, 2025 in 0s
18 tests run, 6 passed, 10 skipped, 2 failed.
Annotations
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[It] Self-hosted Docker Cilium ClusterResourceSet topology-cilium-crs Should pivot the bootstrap cluster to a self-hosted cluster [Serial, provider:Docker, cni:Cilium, addonStrategy:ClusterResourceSet]
failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc002d0b7e8>:
deployment "helm-repository" is not ready after 5m0s: failed to connect to the management cluster: action failed after 0 attempts: context deadline exceeded
{
error: <*errors.withMessage | 0xc000b418e0>{
cause: <*errors.withStack | 0xc002d0b7b8>{
error: <*errors.withMessage | 0xc000b418c0>{
cause: <*errors.withStack | 0xc002d0b788>{
error: <*errors.withMessage | 0xc000b41820>{
cause: <context.deadlineExceededError>{},
msg: "action failed after 0 attempts",
},
stack: [0x23172a5, 0x2339116, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "failed to connect to the management cluster",
},
stack: [0x233912c, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "deployment \"helm-repository\" is not ready after 5m0s",
},
stack: [0x231d050, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
}
occurred
Raw output
[FAILED] failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc002d0b7e8>:
deployment "helm-repository" is not ready after 5m0s: failed to connect to the management cluster: action failed after 0 attempts: context deadline exceeded
{
error: <*errors.withMessage | 0xc000b418e0>{
cause: <*errors.withStack | 0xc002d0b7b8>{
error: <*errors.withMessage | 0xc000b418c0>{
cause: <*errors.withStack | 0xc002d0b788>{
error: <*errors.withMessage | 0xc000b41820>{
cause: <context.deadlineExceededError>{},
msg: "action failed after 0 attempts",
},
stack: [0x23172a5, 0x2339116, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "failed to connect to the management cluster",
},
stack: [0x233912c, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "deployment \"helm-repository\" is not ready after 5m0s",
},
stack: [0x231d050, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
}
occurred
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/clusterctl/client.go:90 @ 11/03/25 18:56:52.244
Check failure on line 1 in caren-e2e
github-actions / e2e test report
caren-e2e.[It] Self-hosted Docker Cilium HelmAddon topology-cilium-helm-addon Should pivot the bootstrap cluster to a self-hosted cluster [Serial, provider:Docker, cni:Cilium, addonStrategy:HelmAddon]
failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc0030b7b30>:
deployment "helm-repository" is not ready after 5m0s: failed to connect to the management cluster: action failed after 0 attempts: context deadline exceeded
{
error: <*errors.withMessage | 0xc004294200>{
cause: <*errors.withStack | 0xc0030b7aa0>{
error: <*errors.withMessage | 0xc0042941e0>{
cause: <*errors.withStack | 0xc0030b7a70>{
error: <*errors.withMessage | 0xc0042941c0>{
cause: <context.deadlineExceededError>{},
msg: "action failed after 0 attempts",
},
stack: [0x23172a5, 0x2339116, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "failed to connect to the management cluster",
},
stack: [0x233912c, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "deployment \"helm-repository\" is not ready after 5m0s",
},
stack: [0x231d050, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
}
occurred
Raw output
[FAILED] failed to run clusterctl init
Unexpected error:
<*errors.withStack | 0xc0030b7b30>:
deployment "helm-repository" is not ready after 5m0s: failed to connect to the management cluster: action failed after 0 attempts: context deadline exceeded
{
error: <*errors.withMessage | 0xc004294200>{
cause: <*errors.withStack | 0xc0030b7aa0>{
error: <*errors.withMessage | 0xc0042941e0>{
cause: <*errors.withStack | 0xc0030b7a70>{
error: <*errors.withMessage | 0xc0042941c0>{
cause: <context.deadlineExceededError>{},
msg: "action failed after 0 attempts",
},
stack: [0x23172a5, 0x2339116, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "failed to connect to the management cluster",
},
stack: [0x233912c, 0x231d110, 0x10ae8b2, 0x10ae6f7, 0x10aebc5, 0x231cf5e, 0x231cef0, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
},
msg: "deployment \"helm-repository\" is not ready after 5m0s",
},
stack: [0x231d050, 0x231cd87, 0x231c4b4, 0x23611ee, 0x245cbca, 0x245fb4b, 0x24fa0b1, 0xfed893, 0x1003653, 0x48c921],
}
occurred
In [It] at: /home/runner/go/pkg/mod/sigs.k8s.io/cluster-api/[email protected]/framework/clusterctl/client.go:90 @ 11/03/25 19:04:17.5
Loading