You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by li jerry <di...@hotmail.com> on 2018/11/17 11:32:15 UTC

4.10 The listHostsMetrics API returns the error cpuallocatedghz and cputotalghz

HI ALL

       In my cloudstack 4.10.0.0, requesting the listHostsMetrics API returns the error cpuallocatedghz and cputotalghz;

In the following API HOST, only one VM (4VCPU, 2.0Vhz per VCPU, 8.0Ghz per VCPU) is run.

There are two Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz CPUs on the HOST (hcicn01) below.
Total CPU=32 x 3.00 GHz obtained by CloudStack;

Please help me, thank you!

ACS
Version: 4.10.0.0
OS Version: CentOS 7.5

ACS Agent for KVM
AgentVersion: 4.10.0.0
OS Version: CentOS 7.5
Libvirt Version: 3.9.0
qemu-kvm Version: 1.5.3


<listhostsmetricsresponse cloud-stack-version="4.10.0.0">
<count>1</count>
<host>
<powerstate>Disabled</powerstate>
<instances>1 / 1</instances>
<cputotalghz>96.00 Ghz (x 1.0)</cputotalghz>
<cpuusedghz>1.27 Ghz</cpuusedghz>
<cpuallocatedghz>768000.00 Ghz</cpuallocatedghz>
<memorytotalgb>126.78 GB (x 1.0)</memorytotalgb>
<memoryusedgb>7.19 GB</memoryusedgb>
<memoryallocatedgb>4.00 GB</memoryallocatedgb>
<networkread>11.49 GB</networkread>
<networkwrite>11.35 GB</networkwrite>
<cputhreshold>false</cputhreshold>
<cpudisablethreshold>false</cpudisablethreshold>
<cpuallocatedthreshold>true</cpuallocatedthreshold>
<cpuallocateddisablethreshold>true</cpuallocateddisablethreshold>
<memorythreshold>false</memorythreshold>
<memorydisablethreshold>false</memorydisablethreshold>
<memoryallocatedthreshold>false</memoryallocatedthreshold>
<memoryallocateddisablethreshold>false</memoryallocateddisablethreshold>
<id>8a539e7d-18e8-4328-8f71-ae7e6573f524</id>
<name>hcicn01</name>
<state>Up</state>
<disconnected>2018-11-12T18:52:16+0800</disconnected>
<type>Routing</type>
<ipaddress>10.226.15.3</ipaddress>
<zoneid>2bc73a3d-4c92-49da-b323-1142a45dca8c</zoneid>
<zonename>zone1</zonename>
<podid>ba167713-e86b-4318-b10a-e53d50c040f5</podid>
<podname>POD1</podname>
<version>4.10.0.0</version>
<hypervisor>KVM</hypervisor>
<cpusockets>2</cpusockets>
<cpunumber>32</cpunumber>
<cpuspeed>3000</cpuspeed>
<cpuallocated>800000%</cpuallocated>
<cpuused>1.32%</cpuused>
<cpuwithoverprovisioning>96000.0</cpuwithoverprovisioning>
<networkkbsread>12046874</networkkbsread>
<networkkbswrite>11896879</networkkbswrite>
<memorytotal>136132759552</memorytotal>
<memoryallocated>4294967296</memoryallocated>
<memoryused>7718207488</memoryused>
<capabilities>hvm,snapshot</capabilities>
<lastpinged>1970-01-18T18:24:58+0800</lastpinged>
<managementserverid>82131192386309</managementserverid>
<clusterid>384552d2-2bb5-44e8-9cd0-9dfec971a773</clusterid>
<clustername>HCICL1</clustername>
<clustertype>CloudManaged</clustertype>
<islocalstorageactive>false</islocalstorageactive>
<created>2018-11-06T16:15:49+0800</created>
<events>
ManagementServerDown; ShutdownRequested; AgentConnected; StartAgentRebalance; PingTimeout; Remove; HostDown; Ping; AgentDisconnected
</events>
<resourcestate>Enabled</resourcestate>
<hahost>false</hahost>
</host>
</listhostsmetricsresponse>