-
Notifications
You must be signed in to change notification settings - Fork 278
Description
/kind bug
What steps did you take and what happened:
CAPO users rely on ORC to handle image uploads and reference the ORC Image resource inside OpenStackMachine via spec.image.imageRef.
When a cluster using this OpenStackMachine is moved using clusterctl move
, the Image resource is not moved because the Image CRD itself lacks the required clusterctl.cluster.x-k8s.io
label.
Although the Image CR instance is labeled with clusterctl.cluster.x-k8s.io/move
, the absence of this label on the CRD means clusterctl does not consider it during the move operation.
This breaks the smooth movement of the cluster state, resulting in OpenStack server resources becoming not ready.
See Cluster API docs for move:
https://cluster-api.sigs.k8s.io/developer/providers/contracts/clusterctl.html?highlight=clusterctl.cluster.x-k8s.io%2Fmove-hierarchy#move
What did you expect to happen:
clusterctl move
moves the ORC Image resource referenced in the OpenStackMachine
Anything else you would like to add:
I'm not sure whether this issue belongs to CAPO or ORC, but let's start the discussion here, as it is related to CAPI/CAPO.
Environment:
- Cluster API Provider OpenStack version (Or
git rev-parse HEAD
if manually built): v0.12.3 - Cluster-API version: v1.10.2
- OpenStack version:
- Minikube/KIND version: kind v0.29.0
- Kubernetes version (use
kubectl version
): 1.32.5 - OS (e.g. from
/etc/os-release
): Ubuntu 24.04.2 LTS
Metadata
Metadata
Assignees
Labels
Type
Projects
Status