Ceilometer doesn't return any metering data and times out
This document (7022319) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Ceilometer API calls end up with "Request returned failure status: 504"
Resolution
This can be achieved by installing a fixed package or editing path in the cronjob.
Cause
Ceilometer collects the metering information, that grows over time and clean up process is required to remove the old data. This is the task of ceilometer-expirer. However the cronjob is not working due to wrong path to the configuration directory.
Following can be seen in the logs:
2017-10-17T16:06:07.295754+02:00 d00-22-19-0e-2e-8d run-crons[30889]: openstack-ceilometer-expirer.cron returned 1
Therefore ceilometer API calls are timing out as the amount of information is so large that it cannot be processed within defined 60 seconds timeout period.
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:7022319
- 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