Hi I have installed gnocchi on my devtstack (stable v1) and trying to check the flow , auto scaling with heat etc.. I have encountered an issue with measures fetching, its look like the ceilometer compute agent does send measures to gnocchi , I can see the rest calls in the logs all ending with 202 statuses For example: 35.248.18.191 - - [29/Jun/2015:10:47:11 +0000] "POST /v1/resource/instance/819267ea-6fcb-418b-a197-ff8b65e94234/metric/cpu/measures HTTP/1.1" 202 208 "-" "python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-45-generic" Or 135.248.18.191 - - [29/Jun/2015:10:47:12 +0000] "POST /v1/resource/instance/819267ea-6fcb-418b-a197-ff8b65e94234/metric/cpu_util/measures HTTP/1.1" 202 207 "-" "python-requests/2.7.0 CPython/2.7.6 Linux/3.13.0-45-generic"
When I fetch the measures I always get an empty list as a response curl -X GET -H "X-Auth-Token: 7a20206f3820412488edc7c9a0db7b29" http://135.248.18.191:8041/v1/resource/instance/819267ea-6fcb-418b-a197-ff8b65e94234/metric/cpu_util/measures | python -mjson.tool [] I have tried with swift and with file storage getting the same result Also I have seen the measures files was created in the fs stack@tshtilma-gnocchi-devstack:/opt/stack/data/gnocchi$ ls 11788bea-c270-4078-8536-d028b10e5d33 4737b486-658b-43c4-a1c5-66f5ee4ff06c 98336517-5aeb-4230-9294-d3dd12fe2756 b752676e-306e-44a3-b422-8dd675956ad5 ff343aa2-8ac1-42d8-965c-b1997ab435ad 3c590d88-4a4b-4b59-82ff-1ea7cf330f42 4abc98d8-70f1-4efe-8716-2cf51a9d7783 9c04b04d-8aa9-4bf9-9162-8b16c6651f73 cb3ecc08-89aa-4c6f-8ff0-2c89ed0e1eb0 locks 3ea375e0-e91d-4842-a4c2-261c1eeaf85e 7719230a-63e0-47aa-9fa6-a8a610e2bafc a0de628e-eac2-4fdd-8c07-fa72a787e101 d4984544-b892-407e-acc9-7b5534b4a41b measure 43fd3650-d60e-40eb-a183-35f315373bd1 88d7564e-e4a4-4438-8602-0d8f4c9103a1 b4341cde-532e-4715-8367-fd1ce0c927f3 f13c033b-606b-4e68-b1bb-58bee540d3e8 stack@tshtilma-gnocchi-devstack:/opt/stack/data/gnocchi$ cd measure/ stack@tshtilma-gnocchi-devstack:/opt/stack/data/gnocchi/measure$ ks ks: command not found stack@tshtilma-gnocchi-devstack:/opt/stack/data/gnocchi/measure$ ls 4abc98d8-70f1-4efe-8716-2cf51a9d7783 cb3ecc08-89aa-4c6f-8ff0-2c89ed0e1eb0 ff343aa2-8ac1-42d8-965c-b1997ab435ad All other calls works as expected For example: stack@tshtilma-gnocchi-devstack:~/devstack$ curl -X GET -H "X-Auth-Token: 7a20206f3820412488edc7c9a0db7b29" http://135.248.18.191:8041/v1/resource/instance/819267ea-6fcb-418b-a197-ff8b65e94234/metric/cpu_util/ | python -mjson.tool { "archive_policy": { "aggregation_methods": [ "std", "count", "95pct", "min", "max", "sum", "median", "mean" ], "back_window": 0, "definition": [ { "granularity": "0:05:00", "points": 12, "timespan": "1:00:00" }, { "granularity": "1:00:00", "points": 24, "timespan": "1 day, 0:00:00" }, { "granularity": "1 day, 0:00:00", "points": 30, "timespan": "30 days, 0:00:00" } ], "name": "low" }, "created_by_project_id": "5394701c-e992-4cc3-aa65-e59fee108295", "created_by_user_id": "a4e65de3-51ec-4530-a8e9-67416001f3b0", "id": "ff343aa2-8ac1-42d8-965c-b1997ab435ad", "name": "cpu_util", "resource": { "created_by_project_id": "5394701c-e992-4cc3-aa65-e59fee108295", "created_by_user_id": "a4e65de3-51ec-4530-a8e9-67416001f3b0", "ended_at": null, "id": "819267ea-6fcb-418b-a197-ff8b65e94234", "project_id": "023099a6-81d5-43cb-aa0a-6f0a75d60628", "revision_end": null, "revision_start": "2015-06-29T10:50:22.143077+00:00", "started_at": "2015-06-29T10:28:12.664034+00:00", "type": "instance", "user_id": "02772acb-bd6e-4307-b4ce-9b906be716f2" } } Any help with be greatly appreciated Tomer local.conf [[local|localrc]] ADMIN_PASSWORD=password MYSQL_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password SERVICE_TOKEN=tokentoken enable_plugin gnocchi https://github.com/openstack/gnocchi stable/v1.0 enable_service q-lbaas enable_service ceilometer-api,ceilometer-collector enable_service ceilometer-acompute enable_service ceilometer-alarm-notifier,ceilometer-alarm-evaluator disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta #enable_service heat,h-api,h-eng,h-api-cfn enable_service gnocchi-api #IMAGE_URLS="http://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/21/Cloud/Images/x86_64/Fedora-Cloud-Base-20141203-21.x86_64.qcow2" #GNOCCHI_COORDINATOR_URL=redis://localhost:6379?timeout=5 #Enable an eager processing of the ceilometer pipeline (every 10sec): CEILOMETER_PIPELINE_INTERVAL=10
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev