<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I spent a good two weeks trying to get ceilometer configured with gnocchi before giving up. Now I’m trying to get it working with mongod, but ceilometer meter-list is not showing all of my instance meters. It seems to only ever show 2 values. I don’t
know how the two resource Ids get there in the first place, or why the rest aren’t making it in. I’ve tried reinstalling mongod from scratch, but I run into the same problem. I followed the instructions in the
<a href="https://docs.openstack.org/mitaka/install-guide-rdo/ceilometer-install.html">
openstack mitaka rdo installation</a>.</div>
<div><br>
</div>
<div>Can somebody help me figure out what’s going on? I do see the appropriate meters in `ceilometer sample-list`.</div>
<div><br>
</div>
<div>Here’s my ceilometer.conf on my controllers:</div>
<div><br>
</div>
<div>
<div>
<div>[DEFAULT]</div>
<div>auth_strategy = keystone</div>
<div>rpc_backend = rabbit</div>
<div>[api]</div>
<div>[central]</div>
<div>[collector]</div>
<div>[compute]</div>
<div>[coordination]</div>
<div>[cors]</div>
<div>[cors.subdomain]</div>
<div>[database]</div>
<div>metering_time_to_live = 432000</div>
<div>connection = mongodb://ceilometer:SECRET@openstack01:27017,openstack02:27017,openstack03:27017/ceilometer</div>
<div>[dispatcher_file]</div>
<div>[dispatcher_gnocchi]</div>
<div>[event]</div>
<div>[exchange_control]</div>
<div>[hardware]</div>
<div>[ipmi]</div>
<div>[keystone_authtoken]</div>
<div>auth_uri = http://openstack:5000</div>
<div>auth_url = http://openstack:35357</div>
<div>memcached_servers = openstack01:11211,openstack02:11211,openstack03:11211</div>
<div>auth_type = password</div>
<div>project_domain_name = default</div>
<div>user_domain_name = default</div>
<div>project_name = service</div>
<div>username = ceilometer</div>
<div>password = SECRET</div>
<div>[matchmaker_redis]</div>
<div>[meter]</div>
<div>[notification]</div>
<div>[oslo_concurrency]</div>
<div>[oslo_messaging_amqp]</div>
<div>[oslo_messaging_notifications]</div>
<div>[oslo_messaging_rabbit]</div>
<div>rabbit_hosts = openstack01:5672,openstack02:5672,openstack03:5672</div>
<div>rabbit_userid=openstack</div>
<div>rabbit_password = SECRET</div>
<div>rabbit_retry_interval=1</div>
<div>rabbit_retry_backoff=2</div>
<div>rabbit_max_retries=0</div>
<div>rabbit_ha_queues=true</div>
<div>rabbit_durable_queues=true</div>
<div>[oslo_policy]</div>
<div>[polling]</div>
<div>[publisher]</div>
<div>[publisher_notifier]</div>
<div>[rgw_admin_credentials]</div>
<div>[service_credentials]</div>
<div>region_name = RegionOne</div>
<div>interface = internalURL</div>
<div>auth_type = password</div>
<div>auth_url = http://openstack:5000/v3</div>
<div>project_name = service</div>
<div>project_domain_name = default</div>
<div>username = ceilometer</div>
<div>user_domain_name = default</div>
<div>password = SECRET</div>
<div>[service_types]</div>
<div>[storage]</div>
<div>[vmware]</div>
<div>[xenapi]</div>
</div>
</div>
<div><br>
</div>
<div>Here’s the relevant portions for my pipeline.yaml:</div>
<div><br>
</div>
<div>
<div>---</div>
<div>sources:</div>
<div> - name: meter_source</div>
<div> interval: 600</div>
<div> meters:</div>
<div> - "*"</div>
<div> sinks:</div>
<div> - meter_sink</div>
<div> - name: cpu_source</div>
<div> interval: 60</div>
<div> meters:</div>
<div> - "cpu"</div>
<div> sinks:</div>
<div> - cpu_sink</div>
<div> - cpu_delta_sink</div>
<div> - name: disk_source</div>
<div> interval: 60</div>
<div> meters:</div>
<div> - "disk.read.bytes"</div>
<div> - "disk.read.requests"</div>
<div> - "disk.write.bytes"</div>
<div> - "disk.write.requests"</div>
<div> - "disk.device.read.bytes"</div>
<div> - "disk.device.read.requests"</div>
<div> - "disk.device.write.bytes"</div>
<div> - "disk.device.write.requests"</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>Here’s the relevant nova.conf on my compute nodes:</div>
<div><br>
</div>
<div>
<div>[DEFAULT]</div>
<div>my_ip=<%= @ipaddress_bond0_100 %></div>
<div>notify_on_state_change= vm_and_task_state</div>
<div>notification_driver = messagingv2</div>
<div>enabled_apis=osapi_compute,metadata</div>
<div>instance_usage_audit_period= hour</div>
<div>auth_strategy=keystone</div>
<div>instance_usage_audit= True</div>
<div>cpu_allocation_ratio=2.0</div>
<div>ram_allocation_ratio=1.0</div>
<div>allow_resize_to_same_host=True</div>
<div>scheduler_default_filters=DifferentHostFilter,AggregateCoreFilter,AggregateInstanceExtraSpecsFilter,CoreFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter</div>
<div>use_cow_images=False</div>
<div>firewall_driver=nova.virt.firewall.NoopFirewallDriver</div>
<div>use_neutron=True</div>
<div>rpc_backend=rabbit</div>
<div><br>
</div>
<div>[keystone_authtoken]</div>
<div>auth_uri= http://openstack:5000</div>
<div>auth_url = http://openstack:35357</div>
<div>memcached_servers = openstack01:11211,openstack02:11211,openstack03:11211</div>
<div>auth_type=password</div>
<div>project_domain_name = default</div>
<div>user_domain_name = default</div>
<div>project_name = service</div>
<div>username = nova</div>
<div>password = SECRET</div>
<div><br>
</div>
<div>[oslo_messaging_notifications]</div>
<div>[oslo_messaging_rabbit]</div>
<div>rabbit_hosts=openstack01:5672,openstack02:5672,openstack03:5672</div>
<div>rabbit_userid = openstack</div>
<div>rabbit_password=SECRET</div>
<div>rabbit_retry_interval=1</div>
<div>rabbit_retry_backoff=2</div>
<div>rabbit_max_retries=0</div>
<div>rabbit_durable_queues=true</div>
<div>rabbit_ha_queues=true</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>Here’s the only relevant information I’m seeing on the ceilometer-compute logs:</div>
<div><br>
</div>
<div>
<div>2017-03-16 13:09:17.951 129278 INFO ceilometer.agent.manager [req-0a4d3cac-b09c-469b-964e-a852cfa04238 admin - - - -] Polling pollster cpu_util in the context of meter_source</div>
<div>2017-03-16 13:09:17.951 129278 DEBUG ceilometer.compute.pollsters.cpu [req-0a4d3cac-b09c-469b-964e-a852cfa04238 admin - - - -] Checking CPU util for instance c1da0f61-7a6e-4754-9eb3-47c65493d11c get_samples /usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/cpu.py:70</div>
<div>2017-03-16 13:09:17.951 129278 DEBUG ceilometer.compute.pollsters.cpu [req-0a4d3cac-b09c-469b-964e-a852cfa04238 admin - - - -] Obtaining CPU Util is not implemented for LibvirtInspector get_samples /usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/cpu.py:90</div>
<div>2017-03-16 13:09:17.951 129278 DEBUG ceilometer.compute.pollsters.cpu [req-0a4d3cac-b09c-469b-964e-a852cfa04238 admin - - - -] Checking CPU util for instance a2d6a015-aa82-4540-b7af-0063a52b1727 get_samples /usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/cpu.py:70</div>
<div>2017-03-16 13:09:17.952 129278 DEBUG ceilometer.compute.pollsters.cpu [req-0a4d3cac-b09c-469b-964e-a852cfa04238 admin - - - -] Obtaining CPU Util is not implemented for LibvirtInspector get_samples /usr/lib/python2.7/site-packages/ceilometer/compute/pollsters/cpu.py:90</div>
</div>
<div><br>
</div>
<div>I’m using the following libvirt packages:</div>
<div><br>
</div>
<div>
<div>[root] # rpm -qa | grep libvirt</div>
<div>libvirt-daemon-driver-network-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-secret-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-qemu-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-kvm-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-python-2.0.0-2.el7.x86_64</div>
<div>libvirt-daemon-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-nwfilter-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-interface-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-storage-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-client-2.0.0-10.el7_3.4.x86_64</div>
<div>libvirt-daemon-driver-nodedev-2.0.0-10.el7_3.4.x86_64</div>
</div>
</body>
</html>