Mathieu, Gordon thank you both !
I'm using Mitaka release. It looks like that ceilometer-collector is pooling
data to gnocchi, but I don't understand a
few things.
I'm receiving log messages to my terminal input from gnocchi-api, however in
gnocchi.conf logging is set to write to a
file and debug is set to false.
10.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_disk/2940f8ed-02e7-5cc3-ae3f-3fed97ec3953 HTTP/1.1"
200 146010.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_network_interface/02c83036-7618-526c-b7d3-
577035789e50 HTTP/1.1" 200 119110.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_network_interface/02c83036-7618-526c-b7d3-577035789e50
HTTP/1.1" 200 119110.10.10.33 - -
[30/May/2017 14:21:54] "PATCH
/v1/resource/instance_network_interface/02c83036-7618-526c-b7d3-577035789e50
HTTP/1.1" 200
119110.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_network_interface/02c83036-7618-526c-b7d3-
577035789e50 HTTP/1.1" 200 119110.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance/67896cdf-4f8e-4f33-
aef3-26456ed3f4dc HTTP/1.1" 200 201610.10.10.33 - - [30/May/2017 14:21:54]
"POST /v1/resource/generic/2940f8ed-02e7-
5cc3-ae3f-3fed97ec3953/metric/disk.device.allocation/measures HTTP/1.1" 202
010.10.10.33 - - [30/May/2017 14:21:54]
"POST
/v1/resource/generic/2940f8ed-02e7-5cc3-ae3f-3fed97ec3953/metric/disk.device.write.requests/measures
HTTP/1.1" 202
010.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_disk/2940f8ed-02e7-5cc3-ae3f-3fed97ec3953 HTTP/1.1"
200 146010.10.10.33 - - [30/May/2017 14:21:54] "PATCH
/v1/resource/instance_disk/2940f8ed-02e7-5cc3-ae3f-3fed97ec3953
HTTP/1.1" 200 146
Second thing, that I don't understand is how to get access to stored data. For
instance, with ceilometer I can execute
ceilometer sample-list -m memory.usage -q resource_id=<id number> and receive
memory usage for some instance. Now, If i
execute previous command I get '('Connection aborted.',
BadStatusLine("''",))', so if I understand right I should use
gnocchiclient.I've been playing with it for a few hours already, but still no
luck. Could you point me in right
direction ?
-- Best regards,Mate200
On Fri, 2017-05-26 at 14:00 +0000, gordon chung wrote:
> On 26/05/17 09:31 AM, Mathieu Gagné wrote:
> > With Mitaka, I found that you need to run this command to get resource
> > types created in Gnocchi:
> >
> > gnocchi-upgrade --create-legacy-resource-types
> >
> > With latest version, Ceilometer handles that part.
>
> this ^... thanks Mathieu!
>
> if you are using newton or later, run:
>
> ceilometer-upgrade --skip-metering-database
>
> https://docs.openstack.org/project-install-guide/telemetry/ocata/install-base-rdo.html
>
> --
> gord
> _______________________________________________
> OpenStack-operators mailing list
> [email protected]
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators