Horizon resource usage showing just glance meters
This document (7022318) is provided subject to the disclaimer at the end of this document.
Environment
Situation
In Resource Usage tab in Horizon only Image (glance service) meters are retrieved. CPU, RAM, network and disk usage details are not displayed.
Resolution
Manually increase the "default_api_return_limit" ceilometer configuration option value by creating a custom /etc/ceilometer/ceilometer.conf.d/101-ceilometer-api.conf configuration file on each controller node with the following contents:
[api]
default_api_return_limit = 1000
Cause
The ceilometer admin dashboard in Horizon doesn't specify a limit for the number of entries returned by ceilometer API calls. Default_api_return_limit configuration option is used to limit the number of returned entries, which on certain systems may be too low.
Ceilometer CLI doesn't suffer from this limitation. Following command takes precedence over default_api_return_limit and can be used to verify whether ceilometer has the data available :
ceilometer meter-list -l 5000
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022318
- Creation Date: 14-Nov-2017
- Modified Date:03-Mar-2020
-
- SUSE Open Stack Cloud
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com