Re: [openstack-dev] [ceilometer][gnocchi] getting extra keys not allowed @ data[flavor name']

2017-02-25 Thread Julien Danjou
On Sat, Feb 25 2017, Pradeep Singh wrote:

> Hello,
>
> I installed latest devstack, and ceilometer dispatcher is not able to
> dispatch the instance data in gnocchi, in logs i am seeing:
>
> 'extra keys not allowed @ data[flavor_name']'
>
> When i deleted line 'flavor_name: resource_metadata.(instance_type|(
> flavor.name))'
>  from gnocchi_resources.yaml, it started working.
>
> Is this a bug or am i missing something?

Did you call ceilometer-upgrade to feed Gnocchi with the new resource
types?
It looks like your definition of the resource types are outdated.

-- 
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info


signature.asc
Description: PGP signature
__
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


[openstack-dev] [ceilometer][gnocchi] getting extra keys not allowed @ data[flavor name']

2017-02-25 Thread Pradeep Singh
Hello,

I installed latest devstack, and ceilometer dispatcher is not able to
dispatch the instance data in gnocchi, in logs i am seeing:

'extra keys not allowed @ data[flavor_name']'

When i deleted line 'flavor_name: resource_metadata.(instance_type|(
flavor.name))'
 from gnocchi_resources.yaml, it started working.

Is this a bug or am i missing something?

I have below lines in my localrc file:

#enable plugin gnocchi
enable_plugin gnocchi https://github.com/openstack/gnocchi master
enable_service gnocchi-grafana

#enable plugin ceilometer
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer.git

Thanks,
Pradeep Singh
__
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