ceilometer pollster for vmware maxsample can not match the type int
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Medium
|
sh.huang | ||
Icehouse |
Fix Released
|
Medium
|
Alan Pevec |
Bug Description
The maxSample type :
<Complex:0xc64aa90 name="PerfQuery
<ComplexCont
<
</Extension>
</ComplexCon
</Complex>
The values:
(Content){
tag = "querySpec"
value =
(
entity =
}
startTime = None
endTime = None
maxSample = 2.985542
metricId[] =
},
intervalId = 20
format = None
}
The error:
<soapenv:
Cannot parse "2.
Changed in ceilometer: | |
importance: | Undecided → Medium |
Changed in ceilometer: | |
milestone: | none → juno-2 |
Changed in ceilometer: | |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | juno-2 → 2014.2 |
tags: | added: icehouse-backport-potential |
tags: | removed: icehouse-backport-potential |
my solution
ceilometer/ compute/ virt/vmware/ vsphere_ operations. py TIME_SAMPLING_ INTERVAL if duration else 1) TIME_SAMPLING_ INTERVAL if duration
else 1)
line 207
samples_cnt = (duration / VC_REAL_
->
samples_cnt = int(duration / VC_REAL_