ceilometer can's collect the instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Thank you for viewing my post. I hope you can help me.
I deployed the ceilometer service on Ocata and use gnocchi as it is database backend. I need to monitor some indexs of OpenStack such as cpu, memory etc. And I had launch an instances, but the ceilometer-
# openstack server list
+------
| ID | Name | Status | Networks | Image Name |
+------
| ac0f56a0-
+------
When i list the gnocchi resource :
# gnocchi resource list
Its output only one resource and that type is `generic` and `image`:
# gnocchi resource list
+------
| id | type | project_id | user_id | original_
+------
| 83746b69-87e8-4e | generic | None | None | 83746b69-87e8-4ee2 | 2017-08-17T11:39 | None | 2017-08-17T11:39 | N |
| e2-b9af- | | | | -b9af-39769cc32b75 | :46.861664+00:00 | | :46.861693+00:00 | |
| 39769cc32b75 | | | | | | | | |
| 078094a0-d02d- | image | c9e5e8bd3e0f4303 | None | 078094a0-d02d-4e55 | 2017-08-17T12:05 | None | 2017-08-17T12:05 | Ncd |
| 4e55-a8be- | | 93163890a81cbeca | | -a8be-4cd897b64a2b | :53.440542+00:00 | | :53.440708+00:00 | d0 |
| 4cd897b64a2b | | | | | | | | b8 |
| | | | | | | | | |
+------
There are some logs and configurations:
> gnocchi-api -p 8041 &>> /var/log/
192.168.32.134 - - [18/Aug/2017 09:43:38] "PATCH /v1/resource/
192.168.32.134 - - [18/Aug/2017 09:43:38] "PATCH /v1/resource/
192.168.32.134 - - [18/Aug/2017 09:43:38] "POST /v1/batch/
192.168.32.134 - - [18/Aug/2017 09:43:38] "PATCH /v1/resource/
192.168.32.134 - - [18/Aug/2017 09:43:38] "PATCH /v1/resource/
> ceilometer/
2017-08-18 09:43:38.459 5478 ERROR ceilometer.
2017-08-18 09:43:38.498 5478 ERROR ceilometer.
2017-08-18 09:43:38.502 5478 DEBUG ceilometer.
2017-08-18 09:43:38.569 5478 ERROR ceilometer.
2017-08-18 09:43:38.597 5478 ERROR ceilometer.
2017-08-18 09:43:39.343 5478 ERROR ceilometer.
> ceilometer.conf:
[DEFAULT]
meter_
event_
transport_url = rabbit:
[api]
gnocchi_
[dispatcher
filter_
archive_policy = low
filter_
[service_
auth_type = password
auth_url = http://
project_
user_
project_name = service
username = ceilometer
password = pass123456
interface = internalURL
region_name = RegionOne
> gnocchi.conf
[DEFAULT]
debug = true
verbose = true
log_dir = /var/log/gnocchi
[api]
workers = 4
auth_mode = keystone
middlewares = oslo_middleware
[indexer]
url = mysql+pymysql:
[keystone_
auth_type = password
auth_url = http://
auth_uri = http://
memcached_
project_
user_
project_name = service
username = gnocchi
password = pass123456
interface = internalURL
region_name = RegionOne
[statsd]
host = controller3
resource_id = 83746b69-
archive_
description: | updated |
description: | updated |
Changed in ceilometer: | |
status: | New → Incomplete |
did you run gnocchi-upgrade?
did you run ceilometer-upgrade --skip- metering- database?