0

I use Kolla to deploy OpenStack, but they are now None. Metric

Metric

Akshay
  • 2,506
  • 4
  • 34
  • 55
王宇霄
  • 31
  • 4

1 Answers1

-1

This is not an issue in Kolla and an issue in Ceilometer.

The OpenStack compute service must be configured to use Telemetry. Then, Ceilometer can extract CPU, memory and disk usage from the VMs. Add the following in /etc/nova/nova.conf on all the compute nodes:

[DEFAULT]
...
instance_usage_audit = True
instance_usage_audit_period = hour
notify_on_state_change = vm_and_task_state
compute_monitors= cpu.virt_driver

[oslo_messaging_notifications]
...
driver = messagingv2

https://docs.openstack.org/ceilometer/latest/install/install-compute-rdo.html#configure-compute-to-use-telemetry

I suggest using the latest Ceilometer release (10.0.0 or Queens):

https://releases.openstack.org/teams/telemetry.html https://docs.openstack.org/releasenotes/ceilometer/queens.html

Vikram Hosakote
  • 3,528
  • 12
  • 23
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/18779727) – Edric Feb 10 '18 at 05:52
  • 1
    Thanks for the info @Edric . I've updated my answer with the required info. – Vikram Hosakote Feb 10 '18 at 06:11
  • @Edric, I've updated my answer with the required info. Could you remove the down vote if the answer looks fine? – Vikram Hosakote Feb 10 '18 at 10:18