Bug 1476452
| Summary: | Host metrics are not being generated by gnocchi | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Nilesh <nchandek> |
| Component: | openstack-ceilometer | Assignee: | Mehdi ABAAKOUK <mabaakou> |
| Status: | CLOSED ERRATA | QA Contact: | Sasha Smolyak <ssmolyak> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 10.0 (Newton) | CC: | apevec, ddomingo, dhill, eglynn, jjoyce, jruzicka, jschluet, lhh, mabaakou, pablo.iranzo, pkilambi, srevivo |
| Target Milestone: | z5 | Keywords: | OtherQA, Triaged, ZStream |
| Target Release: | 10.0 (Newton) | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-ceilometer-7.1.0-3 | Doc Type: | Bug Fix |
| Doc Text: |
This update fixes a bug that prevented hosts from providing total memory through SNMP, which in turn prevented gnocchi from generating correct host metrics.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-09-28 16:34:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Nilesh
2017-07-29 07:05:03 UTC
The issue comes from this backtrace: 2017-07-28 12:05:27.329 134327 ERROR ceilometer.hardware.pollsters.generic value = int(cache[self._CACHE_KEY_OID][_memory_total_oid]) - value 2017-07-28 12:05:27.329 134327 ERROR ceilometer.hardware.pollsters.generic File "/usr/lib/python2.7/site-packages/pyasn1/type/univ.py", line 476, in __int__ 2017-07-28 12:05:27.329 134327 ERROR ceilometer.hardware.pollsters.generic def __int__(self): return int(self._value) 2017-07-28 12:05:27.329 134327 ERROR ceilometer.hardware.pollsters.generic ValueError: invalid literal for int() with base 10: '' It shows an issue when a host doesn't provide the total memory via snmp. I have proposed a fix upstream two days agao, it's currently under review. Change have been merged upstream, I will backport it downstream and build a package. The hotfix was supplied to the customer, waiting for customer to verify the fix. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2822 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |