Ask Your Question
0

Docker compute driver - auditing resources it only shows 1 VCPU

asked 2014-10-20 09:00:51 -0500

Hi all!

My infrastructure is based on a RDO allinone host, with another CentOS host acting as additional compute node for Docker images. I configured the latter as the guide indicates. All services seems to communicate with each others (although docker instances do not correctly work).

A strange thing noted in compute.log is:

2014-10-09 14:19:17.520 31722 AUDIT nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Auditing locally available compute resources
2014-10-09 14:19:17.521 31722 DEBUG nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Hypervisor: free ram (MB): 15264 _report_hypervisor_resource_view /usr/lib/python2.6/site-packages/nova/compute/resource_tracker.py:409
2014-10-09 14:19:17.521 31722 DEBUG nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Hypervisor: free disk (GB): 43 _report_hypervisor_resource_view /usr/lib/python2.6/site-packages/nova/compute/resource_tracker.py:410
2014-10-09 14:19:17.522 31722 DEBUG nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Hypervisor: free VCPUs: 1 _report_hypervisor_resource_view /usr/lib/python2.6/site-packages/nova/compute/resource_tracker.py:415
2014-10-09 14:19:17.522 31722 DEBUG nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Hypervisor: no assignable PCI devices _report_hypervisor_resource_view /usr/lib/python2.6/site-packages/nova/compute/resource_tracker.py:424
2014-10-09 14:19:17.790 31722 AUDIT nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Free ram (MB): 15351
2014-10-09 14:19:17.790 31722 AUDIT nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Free disk (GB): 49
2014-10-09 14:19:17.790 31722 AUDIT nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Free VCPUS: 1
2014-10-09 14:19:17.892 31722 INFO nova.compute.resource_tracker [req-205da8b6-4288-463e-9bdd-c3074a8add1b None None] Compute_service record updated for kvm-manager:kvm-manager

even if the host has got 8 CPUs:

[root@kvm-manager openstack(keystone_demo)]# egrep -c '(vmx|svm)' /proc/cpuinfo
8

Do you have any clue on this? Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-05 12:30:55 -0500

larsks gravatar image

Versions of the nova-docker prior to this commit did not report the number of VCPUs on the host; they hardcoded in the value 1.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-20 09:00:51 -0500

Seen: 294 times

Last updated: Mar 05 '15