sidero
sidero copied to clipboard
NodeRef is missing from machines
I'm running into an issue with clusterctl move
where it thinks the nodes are not provisioned. This is not the case as I am the Kubernetes cluster is running and healthy.
❯ clusterctl move --kubeconfig-context=admin@unwind-bootstrap --to-kubeconfig=$HOME/.kube/config --to-kubeconfig-context=admin@unwind -v10
No default config file available
Performing move...
Discovering Cluster API objects
MetalMachineTemplate Count=2
TalosControlPlane Count=1
Secret Count=15
MachineDeployment Count=1
MetalCluster Count=1
TalosConfigTemplate Count=1
ServerBinding Count=5
Machine Count=5
MetalMachine Count=5
Cluster Count=1
Environment Count=1
ConfigMap Count=1
ServerClass Count=1
Server Count=5
TalosConfig Count=5
MachineSet Count=1
Total objects Count=51
Excluding secret from move (not linked with any Cluster) name="siderolink"
Error: failed to get object graph: failed to check for provisioned infrastructure: [cannot start the move operation while the control plane for "/, Kind=" default/unwind is not yet initialized, cannot start the move operation while "/, Kind=" default/unwind-cp-dbnpd is still provisioning the node, cannot start the move operation while "/, Kind=" default/unwind-cp-89sgs is still provisioning the node, cannot start the move operation while "/, Kind=" default/unwind-cp-wrc8j is still provisioning the node, cannot start the move operation while "/, Kind=" default/unwind-cp-49wdk is still provisioning the node, cannot start the move operation while "/, Kind=" default/unwind-cp-mmg97 is still provisioning the node]
sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster.(*objectMover).Move
sigs.k8s.io/cluster-api/cmd/clusterctl/client/cluster/mover.go:96
sigs.k8s.io/cluster-api/cmd/clusterctl/client.(*clusterctlClient).move
sigs.k8s.io/cluster-api/cmd/clusterctl/client/move.go:125
sigs.k8s.io/cluster-api/cmd/clusterctl/client.(*clusterctlClient).Move
sigs.k8s.io/cluster-api/cmd/clusterctl/client/move.go:97
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.runMove
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd/move.go:101
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.glob..func16
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd/move.go:59
github.com/spf13/cobra.(*Command).execute
github.com/spf13/[email protected]/command.go:916
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/[email protected]/command.go:1044
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/[email protected]/command.go:968
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd.Execute
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd/root.go:99
main.main
sigs.k8s.io/cluster-api/cmd/clusterctl/main.go:27
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1594
This error message leads to here which suggests the machines are missing a NodeRef
? Why? What information can I give you to help understand this? The logs don't show anything interesting from what I can see.
Originally raised here.