Closed Bug 892143 Opened 12 years ago Closed 12 years ago

ES error with aliases on reindex locally

Categories

(addons.mozilla.org Graveyard :: Maintenance Scripts, defect, P5)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: kngo, Assigned: kngo)

Details

Running AMO's reindex on a clean ES index: (zamboni)ngoke@torrent:~/Code/zamboni$ p manage.py reindex --settings=slml --force /Users/ngoke/.virtualenvs/zamboni/lib/python2.6/site-packages/django/conf/__init__.py:72: DeprecationWarning: If set, STATIC_URL must end with a slash DeprecationWarning) Starting the reindexation Unflagging the database Building the task tree Running all indexation tasks Flagging the database to start the reindexation Create the mapping for index 'addons-20130710144411', alias: 'addons' Running all indexes for 'addons-20130710144411' Indexing 'reindex_addons' /Users/ngoke/Code/zamboni/apps/addons/models.py:332: DeprecationWarning: object.__new__() takes no parameters return super(Addon, cls).__new__(cls, *args, **kw) Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd01d10>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9ae90>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd01e90>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9ae90>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd01d10>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9ae50>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9a490>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9ae50>> ignored Indexing 'reindex_apps' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd084d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb5d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd084d0>> ignored Indexing 'reindex_collections' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bda6d50>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9a810>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bda6750>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb590>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd1b190>> ignored Indexing 'reindex_users' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Indexing 'compatibility_report' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd10150>> ignored Flagging the database to start the reindexation Create the mapping for index 'apps-20130710144411', alias: 'apps' Running all indexes for 'apps-20130710144411' Indexing 'reindex_addons' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd53550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd4df10>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e6d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd283d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcf1650>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd01890>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd015d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd01890>> ignored Indexing 'reindex_apps' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd1b150>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcfb550>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd1b9d0>> ignored Indexing 'reindex_collections' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcf17d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcf1610>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bcf16d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd1b9d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd1b6d0>> ignored Indexing 'reindex_users' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd102d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd102d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd102d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd2e2d0>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd21090>> ignored Indexing 'compatibility_report' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bd9a710>> ignored Flagging the database to start the reindexation Create the mapping for index 'addons_stats-20130710144411', alias: 'addons_stats' Running all indexes for 'addons_stats-20130710144411' Indexing 'index_stats' Exception pyes.exceptions.IndexMissingException: IndexMissingException(u'[addons] missing',) in <bound method ES.__del__ of <pyes.es.ES object at 0x10bde2f90>> ignored Indexing 'index_mkt_stats' Rebuilding aliases Removing index u'addons' Trying again to rebuild the aliases Error: Call on '/_aliases' failed. {"error":"InvalidAliasNameException[[addons_stats-20130710144411] Invalid alias name [addons_stats], an index exists with the same name as the alias]","status":400}
Assignee: nobody → ngoke
Priority: -- → P5
My aliases after the first run: {"addons_stats":{"aliases":{}},"addons_stats-20130710145001":{"aliases":{}},"apps-20130710145001":{"aliases":{}},"addons-20130710145001":{"aliases":{}}}
Works for me now...running after deleting the whole index: Indexing 'index_mkt_stats' Rebuilding aliases Removing index u'addons_stats' Trying again to rebuild the aliases Unflagging the database *** Reindexation done *** Reindexed 3 indexes. Current Aliases configuration: { "addons-20130724160719": { "aliases": { "addons": {} } }, "addons_stats-20130724160719": { "aliases": { "addons_stats": {} } }, "apps-20130724160719": { "aliases": { "apps": {} } } }
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.