not getting measurement from ceilometer regarding cpu_util

asked 2014-06-13 13:50:47 -0500

pritam gravatar image

updated 2014-06-14 13:28:30 -0500

Problem: i am not getting measurement from ceilometer regarding cpu_util and those meters which uses poolster or polling agent. (cpu_util, memory usage).

Installation details:

I have installed openstack icehouse with nova network. i have 1 controller node and 2 compute node.

stack@controller:~/devstack$ ceilometer meter-list

disk.root.size, image, instance, instance:m1.medium, instance:m1.medium, memory, vcpus these are meters i am getting but i require measurements of cpu utilization (cpu_util) of VMs.

details about ceilometer.conf, nova.conf, local.conf are :

In lacal.conf for enabling ceilometer i have added folloing lines.

#enable ceilometer enable_service ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api

ceilometer.conf [DEFAULT]

os_tenant_name = service

os_password = password

os_username = ceilometer

policy_file = /etc/ceilometer/policy.json

debug = True

verbose = True

notification_topics = notifications

rabbit_password = password

rabbit_hosts = 192.168.6.203

rpc_backend = ceilometer.openstack.common.rpc.impl_kombu

[keystone_authtoken]

signing_dir = /var/cache/ceilometer

admin_tenant_name = service

admin_password = password

admin_user = ceilometer

auth_protocol = http

auth_port = 35357

auth_host = 192.168.6.203

auth_strategy = keystone

auth_uri = http://192.168.6.203:5000

[database]

connection = mysql://root:password@127.0.0.1/ceilometer?charset=utf8

[service_credentials]

os_tenant_name = service

os_password = password

os_username = ceilometer

os_auth_url = http://192.168.6.203:5000/v2.0

metering_secret=e53d7efc5bdfa34ce812

nova.conf

[DEFAULT]

flat_interface = eth0

flat_network_bridge = br100

vlan_interface = eth0

public_interface = br100

network_manager = nova.network.manager.FlatDHCPManager

firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver

compute_driver = libvirt.LibvirtDriver

default_ephemeral_format = ext4

use_usb_tablet = False

glance_api_servers = 192.168.6.203:9292

rabbit_password = password

rabbit_hosts = 192.168.6.203

rpc_backend = nova.openstack.common.rpc.impl_kombu

ec2_dmz_host = 192.168.6.203

vncserver_proxyclient_address = 127.0.0.1

vncserver_listen = 127.0.0.1

vnc_enabled = true

xvpvncproxy_base_url = http://192.168.6.203:6081/console

novncproxy_base_url = http://192.168.6.203:6080/vnc_auto.html

notification_driver = nova.openstack.common.notifier.rpc_notifier

notification_driver = ceilometer.compute.nova_notifier

notification_driver = messaging

notify_on_state_change = vm_and_task_state

instance_usage_audit_period = hour

instance_usage_audit = True

logging_context_format_string = %(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user_name)s %(project_name)s] %(instance)s%(message)s force_config_drive = always

use_syslog = True

send_arp_for_ha = True

multi_host = True

instances_path = /opt/stack/data/nova/instances

lock_path = /opt/stack/data/nova

state_path = /opt/stack/data/nova

enabled_apis = ec2,osapi_compute,metadata

instance_name_template = instance-%08x

sql_connection = mysql://root:password@127.0.0.1/nova?charset=utf8

metadata_workers = 4

ec2_workers = 4

osapi_compute_workers = 4

my_ip = 192.168.6.203

s3_port = 3333

s3_host = 192.168.6.203

default_floating_pool = public

fixed_range =

force_dhcp_release = True

dhcpbridge_flagfile = /etc/nova/nova.conf

scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler

rootwrap_config = /etc/nova/rootwrap.conf

api_paste_config = /etc/nova/api-paste.ini

allow_resize_to_same_host = True

auth_strategy = keystone

debug = True

verbose = True

[conductor]

workers = 4

[osapi_v3]

enabled = True

[keystone_authtoken]

signing_dir = /var/cache/nova

admin_password = password

admin_user = nova

cafile =

admin_tenant_name = service

auth_protocol = http

auth_port = 35357

auth_host = 192.168.6.203

[spice]

enabled = false

html5proxy_base_url = http://192.168.6.203:6082/spice_auto.html (http://192.168.6.203:6082/spice_auto....)

[libvirt]

inject_partition = -2

cpu_mode = none

virt_type = kvm

[keymgr]

fixed_key = C89D7B25454F9F5FE62A987D6D7876D5B043BCE8D55D5C2174BE8D09E90ECB6C

compute_monitors = ComputeDriverCPUMonitor

edit retag flag offensive close merge delete