<br>My compute nodes are confused about how many resource they have free. I suspect this is largely due to RPC timeouts I was experiencing due to a misconfiguration compounded by high load and a scheduler bug, but not so much interested in how it got this way as to how to clean it up.<br>
<br>for example on node nova-1 the are actually 7 single CPU instances running as shown by virsh on the system and in the instances table and 24 available vCPUs. However it reports -102 VCPUs available: <br><br>root@nova-1:~# grep AUDIT /var/log/nova/nova-compute.log|tail -4<br>
2012-11-06 15:49:20 AUDIT nova.compute.resource_tracker [-] Free VCPUS: -102<br>
2012-11-06 15:50:50 AUDIT nova.compute.resource_tracker [-] Free ram (MB): -205145<br>
2012-11-06 15:50:50 AUDIT nova.compute.resource_tracker [-] Free disk (GB): -2175<br>
2012-11-06 15:50:50 AUDIT nova.compute.resource_tracker [-] Free VCPUS: -102<br><br>nova-manage service describe_resource nova-1<br>HOST PROJECT cpu mem(mb) hdd<br>nova-1 (total) 24 48295 605<br>
nova-1 (used_now) 126 253440 2780<br>nova-1 (used_max) 7 14336 210<br>nova-1 3008a142e9524f7295b06ea811908f93 7 14336 210<br>
<br>Both of these match what I see in the compute_nodes table which also tells tells me there are 88 running_vms (not 7).<br><br>Where is the resource_tracker on nova-1 getting this information and how do I correct it? (It's clearly pushing this bad info back to the database as I first tried to correct it there)<br>
<br>-Jon<br><br>