no memory.usage metric on resource usage report
i have installed openstack juno ubuntu 14.04 on all nodes. when i click at "Resource Usage" to generate report on dash board, i dont get the memory.usage metric. i have searched and tried alot but couldnt reach the results.
here is what i have done :
on compute node :
os@compute:~$ virsh version
Compiled against library: libvirt 1.2.2
Using library: libvirt 1.2.2
Using API: QEMU 1.2.2
Running hypervisor: QEMU 2.0.0
os@compute:~$ virsh list --all
Id Name State
----------------------------------------------------
3 instance-0000001b running
os@compute:~$ virsh dominfo 3
Id: 3
Name: instance-0000001b
UUID: e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c
OS Type: hvm
State: running
CPU(s): 1
CPU time: 8.7s
Max memory: 260096 KiB
Used memory: 260096 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model: apparmor
Security DOI: 0
Security label: libvirt-e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c (enforcing)
os@compute:~$ virsh dumpxml 3
<domain type='qemu' id='3'>
<name>instance-0000001b</name>
<uuid>e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c</uuid>
<metadata>
<nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0">
<nova:package version="2014.2.1"/>
<nova:name>test</nova:name>
<nova:creationTime>2015-03-12 19:26:15</nova:creationTime>
<nova:flavor name="salar">
<nova:memory>254</nova:memory>
<nova:disk>10</nova:disk>
<nova:swap>254</nova:swap>
<nova:ephemeral>1</nova:ephemeral>
<nova:vcpus>1</nova:vcpus>
</nova:flavor>
<nova:owner>
<nova:user uuid="e8bd7a73445d4a0c80119f0c84fda6ef">admin</nova:user>
<nova:project uuid="eb81354a74324334b106c200edab9f15">admin</nova:project>
</nova:owner>
<nova:root type="image" uuid="eaadbcd8-c19c-41ea-b51f-b45fff201724"/>
</nova:instance>
</metadata>
<memory unit='KiB'>260096</memory>
<currentMemory unit='KiB'>260096</currentMemory>
<vcpu placement='static' cpuset='0-2'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<sysinfo type='smbios'>
<system>
<entry name='manufacturer'>OpenStack Foundation</entry>
<entry name='product'>OpenStack Nova</entry>
<entry name='version'>2014.2.1</entry>
<entry name='serial'>4c981778-18b2-4700-a63d-684454f933be</entry>
<entry name='uuid'>e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c</entry>
</system>
</sysinfo>
<os>
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
<boot dev='hd'/>
<smbios mode='sysinfo'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-model'>
<model fallback='allow'/>
<topology sockets='1' cores='1' threads='1'/>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/var/lib/nova/instances/e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c/disk'/>
<target dev='vda' bus='virtio'/>
<alias name='virtio-disk0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/var/lib/nova/instances/e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c/disk.local'/>
<target dev='vdb' bus='virtio'/>
<alias name='virtio-disk1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source file='/var/lib/nova/instances/e00dd2b4-e8ba-4bf6-a93b-81fdbf9aee3c/disk.swap'/>
<target dev='vdc' bus='virtio'/>
<alias name='virtio-disk2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model ...