ES Mappings removal is broken

Bug #1602244 reported by Pierre-Arthur MATHIEU
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Triaged
High
Pierre-Arthur MATHIEU
Liberty
Triaged
High
Pierre-Arthur MATHIEU
Mitaka
Triaged
High
Pierre-Arthur MATHIEU

Bug Description

ES mappings removal is broken because of a badly formated url.

2016-07-12 12:04:30.287 | stdout: using config file: /opt/stack/service/freezer-api-20160712T101702Z/etc/freezer-api.conf
2016-07-12 12:04:30.287 | db url: http://127.0.0.1:9200
2016-07-12 12:04:30.287 | db index: freezer
2016-07-12 12:04:30.287 | Getting mappings: http GET http://127.0.0.1:9200/freezer/_mapping/backups
2016-07-12 12:04:30.288 | response: <Response [200]>
2016-07-12 12:04:30.288 | Trying to upload mappings ...
2016-07-12 12:04:30.288 | PUT http://127.0.0.1:9200/freezer/_mapping/backups
2016-07-12 12:04:30.288 | response: <Response [200]>
2016-07-12 12:04:30.288 | Type http://127.0.0.1:9200/freezer/_mapping/backups mapping created
2016-07-12 12:04:30.288 | Mappings updated
2016-07-12 12:04:30.288 | Getting mappings: http GET http://127.0.0.1:9200/freezer/_mapping/clients
2016-07-12 12:04:30.288 | response: <Response [200]>
2016-07-12 12:04:30.288 | Trying to upload mappings ...
2016-07-12 12:04:30.289 | PUT http://127.0.0.1:9200/freezer/_mapping/clients
2016-07-12 12:04:30.289 | response: <Response [200]>
2016-07-12 12:04:30.289 | Type http://127.0.0.1:9200/freezer/_mapping/clients mapping created
2016-07-12 12:04:30.289 | Mappings updated
2016-07-12 12:04:30.289 | Getting mappings: http GET http://127.0.0.1:9200/freezer/_mapping/jobs
2016-07-12 12:04:30.289 | response: <Response [200]>
2016-07-12 12:04:30.289 | Trying to upload mappings ...
2016-07-12 12:04:30.289 | PUT http://127.0.0.1:9200/freezer/_mapping/jobs
2016-07-12 12:04:30.289 | response: <Response [400]>
2016-07-12 12:04:30.289 | Unable to merge mappings.
2016-07-12 12:04:30.290 | Deleting type jobs
2016-07-12 12:04:30.290 | DELETE http://127.0.0.1:9200/freezer/jobs
2016-07-12 12:04:30.290 | response: <Response [400]>
2016-07-12 12:04:30.290 | ERROR Type removal error 400: No handler found for uri [/freezer/jobs] and method [DELETE]
2016-07-12 12:04:30.290 | msg: Task failed as maximum retries was encountered

Revision history for this message
Pierre-Arthur MATHIEU (pi3rra) wrote :

Does not affect master.

Changed in freezer:
assignee: nobody → Pierre-Arthur MATHIEU (pi3rra)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer-api (master)

Fix proposed to branch: master
Review: https://review.openstack.org/340931

Revision history for this message
Pierre-Arthur MATHIEU (pi3rra) wrote :

This is something else. The problem comes from ES 2.0 that does not support mappings removal.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on freezer-api (master)

Change abandoned by Saad Zaher (<email address hidden>) on branch: master
Review: https://review.openstack.org/340931
Reason: very old change, not valid any more

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.