ES error with aliases on reindex locally

RESOLVED WORKSFORME

Status

P5
normal
RESOLVED WORKSFORME
5 years ago
3 years ago

People

(Reporter: kngo, Assigned: kngo)

Tracking

Details

(Assignee)

Description

5 years ago
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)

Updated

5 years ago
Assignee: nobody → ngoke
Priority: -- → P5
(Assignee)

Comment 1

5 years ago
My aliases after the first run:

{"addons_stats":{"aliases":{}},"addons_stats-20130710145001":{"aliases":{}},"apps-20130710145001":{"aliases":{}},"addons-20130710145001":{"aliases":{}}}
(Assignee)

Comment 2

5 years ago
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
Last Resolved: 5 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.