Ceilometer meters not present for nova instances
Issue
- When attempting to get some Ceilometer data for instances on our OpenStack environment, there are no meters present of CPU, Mem, etc.
- Errors observed in Ceilometer central.log:
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base Traceback (most recent call last):
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/agent/base.py", line 177, in poll_and_publish
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base resources=polling_resources
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 168, in get_samples
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base cache, tenants):
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 82, in _iter_accounts
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base ksclient, tenants))
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 94, in _get_account_info
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base ksclient.auth_token))
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 509, in get_account
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base http_response_content=body)
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base ClientException: Account GET failed: http://<ip>:8080/v1/AUTH_<uuid>?format=json 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resourc
central.log:2016-02-28 03:34:03.606 9115 TRACE ceilometer.agent.base
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base Traceback (most recent call last):
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/agent/base.py", line 177, in poll_and_publish
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base resources=polling_resources
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 127, in get_samples
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base cache, tenants):
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 82, in _iter_accounts
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base ksclient, tenants))
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/ceilometer/objectstore/swift.py", line 94, in _get_account_info
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base ksclient.auth_token))
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base File "/usr/lib/python2.7/site-packages/swiftclient/client.py", line 541, in head_account
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base http_response_content=body)
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base ClientException: Account HEAD failed: http://<ip>:8080/v1/AUTH_<uuid> 403 Forbidden
central.log:2016-02-28 03:34:03.766 9115 TRACE ceilometer.agent.base
Environment
- Red Hat OpenStack Platform 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.