failed to create mappings with freezer-manage db sync

Bug #1632236 reported by Shangzhong Zhu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

1. install freezer-api
2. install elasticsearch 1.7 and start
3. create mappings with freezer-manage db sync

failed to create mappings, log info:
2016-10-11 15:33:27.074 17968 INFO elasticsearch [-] HEAD http://192.168.56.223:9200/ [status:200 request:0.006s]
2016-10-11 15:33:27.082 17968 WARNING elasticsearch [-] POST /freezer/_cache/clear [status:404 request:0.003s]
2016-10-11 15:33:27.084 17968 ERROR freezer_api.cmd.manage [-] string indices must be integers

After the "self.elk.indices.clear_cache(index=self.index)" was removed from the ElasticManager.__init__(in the file freezer_api.cmd.manage.py), install the freezer-api and run "freezer-manage db sync" again, it works well.

Again, add the "self.elk.indices.clear_cache(index=self.index)" to the ElasticManager.__init__, install the freezer-api and run "freezer-manage db sync" again, it works well. Likewise, run "freezer-manage db show" is OK also.

Shangzhong Zhu (zhusz)
description: updated
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.