Freezer api error with elasticsearch 2.2

Bug #1562103 reported by Jonas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

I'm using elasticsearch 2.2.

When trying to start or stop a job I get the following error message in the freezer-api logs:

    2016-03-25 16:08:53,535 root ERROR index operation failed TransportError(400, u'illegal_argument_exception')

A bit of debugging showed that the problem is caused by line 96 in freezer_api.storage.elastic. It causes the following exception:

RequestError(400, u'illegal_argument_exception', {u'status': 400, u'error': {u'root_cause': [{u'reason': u'[Photon][169.254.169.254:9300][indices:data/write/index[p]]', u'type': u'remote_transport_exception'}], u'type': u'illegal_argument_exception', u'reason': u'Field [_version] is defined twice in [jobs]'}})

With elasticsearch 1.7 everything works fine.

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.