clusterctl move
not compatible with AWSMachinePools
#3624
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
needs-priority
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
/kind bug
What steps did you take and what happened:
AWSMachinePool
definedclusterctl move
so the target cluster is self-managing.What did you expect to happen:
All resources moved to the target cluster successfully.
Anything else you would like to add:
The
rootVolume.deviceName
is initially not provided when first creating the cluster resources in the bootstrap cluster. Once the AWS Launch Template has been created the details of the root volume are retrieved and thedeviceName
value is populated on theAWSMachinePool
resource(s). When it comes to moving to the new cluster, the property remains populated and is then blocked by the admission webhook, preventing the move completing.This value only seems to be used during the initial setup of the Launch Template and as far as I can see is never referenced by anything else after that. Manually removing the
deviceName
property from theAWSMachinePool
resources allows the move to be performed but the value is never re-populated again as it's only fetched when initially creating the Launch Template.Also discussed on Slack: https://kubernetes.slack.com/archives/CD6U2V71N/p1658902259480619
Environment:
v1.4.1
v1.1.5
v1.2.0
kubectl version
):v1.21.1
/etc/os-release
):Ubuntu
The text was updated successfully, but these errors were encountered: