-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerswontfixThis will not be worked onThis will not be worked on
Description
Bug Report
Description
I have installed xo-ccm and it is able to look up information about the given nodes, however, it is failing to find the ID of the VMs in XO because the systemUUID it is using to look up the node is not the same UUID as the vm in XO.
I am unsure how to rectify this to get the ccm to correctly identify the node.
(In general, it would be nice for the documentation to list what the expectations are for getting the CCM to connect everything, and a general "how this works". I had to dig into the code to determine what the potential problem was, and why the UUID getting used (the systemUUID) was not the VM uuid)
Logs
I0705 04:11:12.986523 1 instances.go:117] "instances.InstanceMetadata() called" node="k31-w-ad076d"
I0705 04:11:12.986563 1 instances.go:127] "instances.InstanceMetadata() empty providerID, trying find node" node="k31-w-ad076d" uuid="6a87cb0f-ca4c-ffa5-3ca2-fc398fb25eac"
E0705 04:11:12.990870 1 node_controller.go:285] Error getting instance metadata for node addresses: instances.InstanceMetadata() - failed to find instance by uuid k31-w-ad076d: API error: 404 Not Found - {
"error": "no such VM 6a87cb0f-ca4c-ffa5-3ca2-fc398fb25eac"
}, skipped
(This VM's uuid for context is 0fcb876a-4cca-a5ff-3ca2-fc398fb25eac)
Environment
- Plugin version:
- Kubernetes version: [
kubectl version --short]
Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.31.1
- Node describe: [
kubectl describe node <node>]
Name: k31-w-ad076d
Roles: <none>
Labels: beta.kubernetes.io/arch=amd64
beta.kubernetes.io/os=linux
kubernetes.io/arch=amd64
kubernetes.io/hostname=k31-w-ad076d
kubernetes.io/os=linux
Annotations: csi.volume.kubernetes.io/nodeid: {"org.democratic-csi.truenas-nfs":"k31-w-ad076d"}
flannel.alpha.coreos.com/backend-data: {"VNI":1,"VtepMAC":"2e:60:de:75:f0:55"}
flannel.alpha.coreos.com/backend-type: vxlan
flannel.alpha.coreos.com/kube-subnet-manager: true
flannel.alpha.coreos.com/public-ip: 192.168.35.155
kubeadm.alpha.kubernetes.io/cri-socket: unix:///var/run/cri-dockerd.sock
node.alpha.kubernetes.io/ttl: 0
volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp: Fri, 15 Nov 2024 21:03:37 -0600
Taints: <none>
Unschedulable: false
Lease:
HolderIdentity: k31-w-ad076d
AcquireTime: <unset>
RenewTime: Fri, 04 Jul 2025 23:23:14 -0500
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
NetworkUnavailable False Thu, 19 Jun 2025 23:15:45 -0500 Thu, 19 Jun 2025 23:15:45 -0500 FlannelIsUp Flannel is running on this node
MemoryPressure False Fri, 04 Jul 2025 23:20:37 -0500 Thu, 16 Jan 2025 03:33:39 -0600 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Fri, 04 Jul 2025 23:20:37 -0500 Fri, 30 May 2025 18:56:02 -0500 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Fri, 04 Jul 2025 23:20:37 -0500 Thu, 16 Jan 2025 03:33:39 -0600 KubeletHasSufficientPID kubelet has sufficient PID available
Ready True Fri, 04 Jul 2025 23:20:37 -0500 Thu, 16 Jan 2025 03:33:39 -0600 KubeletReady kubelet is posting ready status
Addresses:
InternalIP: 192.168.35.155
Hostname: k31-w-ad076d
Capacity:
cpu: 6
ephemeral-storage: 74942236Ki
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 24600764Ki
pods: 110
Allocatable:
cpu: 6
ephemeral-storage: 69066764584
hugepages-1Gi: 0
hugepages-2Mi: 0
memory: 24498364Ki
pods: 110
System Info:
Machine ID: 9bae21fe1e10d9da92da72599fd7b4a3
System UUID: 6a87cb0f-ca4c-ffa5-3ca2-fc398fb25eac
Boot ID: f03bfe3a-59a3-47af-9022-13c37e348fbf
Kernel Version: 6.8.0-60-generic
OS Image: Ubuntu 24.04.1 LTS
Operating System: linux
Architecture: amd64
Container Runtime Version: docker://27.4.1
Kubelet Version: v1.31.2
Kube-Proxy Version: v1.31.2
PodCIDR: 10.244.31.0/24
PodCIDRs: 10.244.31.0/24
Non-terminated Pods: (30 in total)
Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits Age
--------- ---- ------------ ---------- --------------- ------------- ---
...removed...
Allocated resources:
(Total limits may be over 100 percent, i.e., overcommitted.)
Resource Requests Limits
-------- -------- ------
cpu 4521m (75%) 7675m (127%)
memory 5811Mi (24%) 24970Mi (104%)
ephemeral-storage 50Mi (0%) 2Gi (3%)
hugepages-1Gi 0 (0%) 0 (0%)
hugepages-2Mi 0 (0%) 0 (0%)
Events: <none>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomerswontfixThis will not be worked onThis will not be worked on