The resources 'xMachineTemplate-cp' are not pivoted because the ownerReference is not set #500
Labels
kind/bug
Something isn't working
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened:
The
metal3machinetemplate-cp
(oropenstackmachinetemplate-cp
) resource has noownerReferences
.As a consequence, the
metal3machinetemplate-cp
resource is not pivoted between the bootstrap and management clusters viaclusterctl move
.What did you expect to happen:
The
metal3machinetemplate-cp
should have anownerReferences
, and as a consequence, the resource should be pivoted correctly thanks toclusterctl move
.How to reproduce it:
- Create a cluster with capm3 or capo infra_provider and with machinetemplate-cp + machinetemplate-md definitions
- After the cluster creation inspect the
machinetemplate-cp
resource, noownerReference
is defined (unlikemachinetemplate- md
)- After a
clusterctl move
all resources seems correctly pivoted expectmachinetemplate-cp
Anything else you would like to add:
The bug has been reproduced with capm3 and capo as infrastructure providers. The
metal3machinetemplate-md
is not impacted by the bug. Withkubeadm
, themetal3machinetemplate-cp
correctly has anownerReferences
:Environment:
Sylva context
Metal3 or Capo as infra_provider
/etc/os-release
): opensuse and ubuntuBug on sylva-side : https://gitlab.com/sylva-projects/sylva-core/-/issues/1839
The text was updated successfully, but these errors were encountered: