Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Stéphane Albert
Hi Julien, You'll find attached to this mail two dump files. gnocchi_resource.txt is an example of resource requests and responses from gnocchi. gnocchi_measure.txt an example of a timeframe request. Metric (vcpus) measure == Data stored by ceilometer with default

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Julien Danjou
On Thu, Nov 26 2015, Stéphane Albert wrote: Here a first reply about resource handling. > Resource data > = > Duplicated resource informations from ceilometer, only revision timestamps > changing. So I guess that's a bug in Gnocchi, we should not create new revision if there is 0

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Julien Danjou
On Thu, Nov 26 2015, Stéphane Albert wrote: Now about measures. > We don't get any data, but there is data with a bigger granularity. We don't > have a way to know that but request the archive policy and parse it. Oh I see. I think we can consider that as being a bug in the API, that should be

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Stéphane Albert
On Thu, Nov 26, 2015 at 05:04:02PM +0100, Julien Danjou wrote: > On Thu, Nov 26 2015, Stéphane Albert wrote: > > Here a first reply about resource handling. > > > Resource data > > = > > Duplicated resource informations from ceilometer, only revision timestamps > > changing. > > So

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Julien Danjou
On Thu, Nov 26 2015, Stéphane Albert wrote: > I'll open a bug with a full history dump, sometime it's due to the host > changing (flapping) from name to hash, this might be due to > ceilometer. This would be a Ceilometer (or above) bug indeed. I think I saw something recently. It's possible the

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-26 Thread Stéphane Albert
On Thu, Nov 26, 2015 at 05:31:38PM +0100, Julien Danjou wrote: > On Thu, Nov 26 2015, Stéphane Albert wrote: > > > I'll open a bug with a full history dump, sometime it's due to the host > > changing (flapping) from name to hash, this might be due to > > ceilometer. > > This would be a

Re: [openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-25 Thread Julien Danjou
On Wed, Nov 25 2015, Stéphane Albert wrote: Hi Stéphane, > We can't directly query gnocchi resource indexer for a specific resource > revision. Let me explain it, if you want to search for every instances > active for a specific timeframe you'll get a result but the revision > will be the

[openstack-dev] [gnocchi][rating] Issues regarding gnocchi support in CloudKitty

2015-11-25 Thread Stéphane Albert
Hi, We've started implementing gnocchi support in CloudKitty. But we're facing some issues. Some problems where client sided and are now fixed, but for some others it might doing wrong requests or not using gnocchi's full potential. Here are some problems we're actually facing: We can't