Support standard ceilometer compute metrics with nova baremetal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
Zhai, Edwin | ||
Ironic |
Fix Released
|
Medium
|
Unassigned | ||
OpenStack Compute (nova) |
Won't Fix
|
Medium
|
Unassigned | ||
tripleo |
Invalid
|
Medium
|
Unassigned |
Bug Description
I guess this is a subset of bug #1004468 and https:/
However, it's a bit different for nova-baremetal. There is no hypervisor we can query for CPU, disk and network statistics so we can't just add another plugin for ceilometer's compute agent.
Instead, we will need an agent which runs inside each baremetal instance and posts samples to ceilometer's public /meters/ API
At a first glance, these look like the counters which require a guest agent:
cpu CPU time used
cpu_util CPU utilisation
disk.read.request Number of read requests
disk.write.request Number of write requests
disk.read.bytes Volume of read in B
disk.write.bytes Volume of write in B
network.
network.
network.
network.
For the other compute counters, we can add baremetal support to the ceilometer compute agent - e.g. these counters:
instance Duration of instance
instance:<type> Duration of instance <type> (openstack types)
memory Volume of RAM in MB
cpus Number of VCPUs
disk.root.size Size of root disk in GB
disk.ephemeral
One thing to consider is access control to these counters - we probably don't usually allow tenants to update these counters in, but in this case the tenant will require that ability.
It's unclear whether this guest agent would live in ceilometer, nova baremetal or ironic. It's interfacing with (what should be) a very stable ceilometer API, so there's no particular need for it to live in ceilometer.
I'm also adding a tripleo task, since I expect tripleo will want these metrics available for things like auto-scaling or simply resource monitoring. We'd need at least a diskimage-builder element which includes the guest agent.
description: | updated |
description: | updated |
Changed in ceilometer: | |
status: | New → Triaged |
Changed in ceilometer: | |
importance: | Undecided → Medium |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
status: | Triaged → Won't Fix |
Changed in ironic: | |
milestone: | juno-3 → 2014.2 |
Changed in tripleo: | |
status: | Incomplete → Invalid |
Mark, could you check how this can be tackled with the work being done on https:/ /blueprints. launchpad. net/openstack/ ?searchtext= monitoring- physical- devices ?