ElasticSearch functional tests fail

Bug #1596988 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panko
Triaged
Critical
Nadya Privalova

Bug Description

Functional tests for ElasticSearch are failling with ES 2.2.3 at least:

{1} ceilometer.tests.functional.api.v2.test_event_scenarios.TestEventAPI.test_get_events_filter_trait_empty_type [1.716037s] ... FAILED

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "ceilometer/tests/base.py", line 89, in skip_if_not_implemented
        return func(*args, **kwargs)
      File "ceilometer/tests/functional/api/v2/test_event_scenarios.py", line 37, in setUp
        self._generate_models()
      File "ceilometer/tests/functional/api/v2/test_event_scenarios.py", line 69, in _generate_models
        self.event_conn.record_events(event_models)
      File "ceilometer/event/storage/impl_elasticsearch.py", line 103, in record_events
        self.conn, _build_bulk_index(events)):
      File "/Users/jd/Source/ceilometer/.tox/py-elastic/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 160, in streaming_bulk
        for result in _process_bulk_chunk(client, bulk_actions, raise_on_exception, raise_on_error, **kwargs):
      File "/Users/jd/Source/ceilometer/.tox/py-elastic/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 132, in _process_bulk_chunk
        raise BulkIndexError('%i document(s) failed to index.' % len(errors), errors)
    elasticsearch.helpers.BulkIndexError: (u'3 document(s) failed to index.', [{u'index': {u'_index': u'events_452edb1ecf8c4a2cb43faa1ec1971b2c_2013-12-31', u'error': {u'caused_by': {u'type': u'mapper_parsing_exception', u'reason': u'Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'type': u'mapper_parsing_exception', u'reason': u'Failed to parse mapping [_default_]: Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'status': 400, u'_type': u'Foo', u'_id': u'0'}}, {u'index': {u'_index': u'events_452edb1ecf8c4a2cb43faa1ec1971b2c_2014-01-01', u'error': {u'caused_by': {u'type': u'mapper_parsing_exception', u'reason': u'Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'type': u'mapper_parsing_exception', u'reason': u'Failed to parse mapping [_default_]: Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'status': 400, u'_type': u'Bar', u'_id': u'100'}}, {u'index': {u'_index': u'events_452edb1ecf8c4a2cb43faa1ec1971b2c_2014-01-02', u'error': {u'caused_by': {u'type': u'mapper_parsing_exception', u'reason': u'Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'type': u'mapper_parsing_exception', u'reason': u'Failed to parse mapping [_default_]: Mapping definition for [_timestamp] has unsupported parameters: [store : true]'}, u'status': 400, u'_type': u'Zoo', u'_id': u'200'}}])

Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Critical
Changed in ceilometer:
assignee: nobody → Nadya Privalova (nprivalova)
gordon chung (chungg)
affects: ceilometer → panko
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/panko 2.0.0

This issue was fixed in the openstack/panko 2.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.