tache "Initalize database" FAILED, normal ?
client-laposte/prod, install de cano 2.5.1
Est-ce normal si l'on a cette erreur ?
TASK [ansible-role-canopsis-provisionning : Initialize database] *************************************************************
fatal: [CEYI0159]: FAILED! => {"changed": false, "cmd": ". /opt/canopsis/bin/activate && canopsis-filldb --init && touch /opt/canopsis/opt/mongodb/.initialized", "delta": "0:00:01.782832", "end": "2017-11-23 11:39:26.989795", "failed": true, "msg": "non-zero return code", "rc": 1, "start": "2017-11-23 11:39:25.206963", "stderr": "Impossible to load module \"canopsis.migration.serie.SerieModule\": Wrong path canopsis.migration.serie.SerieModule at [u'canopsis', u'migration'], errors when importing module canopsis.migration.serie : No module named serie, 'module' object has no attribute 'serie'\nDrop collection: cache\nDrop collection: events\nDrop collection: events_log\nDrop collection: object\nDrop collection: userpreferences\nIndexing collection: ack\nIndexing collection: events_log\nIndexing collection: object\nIndexing collection: events\nDocument \"actionbutton_canuploadmibfile\" not updatable\nTraceback (most recent call last):\n File \"/opt/canopsis/bin/canopsis-filldb\", line 35, in <module>\n mgr.fill(init=args.init)\n File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/manager.py\", line 84, in fill\n tool.init()\n File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/jsonloader.py\", line 84, in init\n self.load_documents(data, col, docname)\n File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/jsonloader.py\", line 115, in load_documents\n storage.update(mfilter, doc, upsert=True)\n File \"/opt/canopsis/lib/python2.7/site-packages/pymongo/collection.py\", line 552, in update\n _check_write_command_response(results)\n File \"/opt/canopsis/lib/python2.7/site-packages/pymongo/helpers.py\", line 202, in _check_write_command_response\n raise DuplicateKeyError(error.get(\"errmsg\"), 11000, error)\npymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: canopsis.default_rights index: _id_ dup key: { : \"list_filters_create_custom\" }", "stderr_lines": ["Impossible to load module \"canopsis.migration.serie.SerieModule\": Wrong path canopsis.migration.serie.SerieModule at [u'canopsis', u'migration'], errors when importing module canopsis.migration.serie : No module named serie, 'module' object has no attribute 'serie'", "Drop collection: cache", "Drop collection: events", "Drop collection: events_log", "Drop collection: object", "Drop collection: userpreferences", "Indexing collection: ack", "Indexing collection: events_log", "Indexing collection: object", "Indexing collection: events", "Document \"actionbutton_canuploadmibfile\" not updatable", "Traceback (most recent call last):", " File \"/opt/canopsis/bin/canopsis-filldb\", line 35, in <module>", " mgr.fill(init=args.init)", " File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/manager.py\", line 84, in fill", " tool.init()", " File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/jsonloader.py\", line 84, in init", " self.load_documents(data, col, docname)", " File \"/opt/canopsis/lib/python2.7/site-packages/canopsis/migration/jsonloader.py\", line 115, in load_documents", " storage.update(mfilter, doc, upsert=True)", " File \"/opt/canopsis/lib/python2.7/site-packages/pymongo/collection.py\", line 552, in update", " _check_write_command_response(results)", " File \"/opt/canopsis/lib/python2.7/site-packages/pymongo/helpers.py\", line 202, in _check_write_command_response", " raise DuplicateKeyError(error.get(\"errmsg\"), 11000, error)", "pymongo.errors.DuplicateKeyError: E11000 duplicate key error collection: canopsis.default_rights index: _id_ dup key: { : \"list_filters_create_custom\" }"], "stdout": "", "stdout_lines": []}
ok: [CEYI0160]