{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/3330","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/3330/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/3330/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/3330/events","html_url":"https://github.com/mozilla/addons-server/pull/3330","id":172833238,"number":3330,"title":"wip, do not merge","user":{"login":"andymckay","id":74699,"avatar_url":"https://avatars.githubusercontent.com/u/74699?v=3","gravatar_id":"","url":"https://api.github.com/users/andymckay","html_url":"https://github.com/andymckay","followers_url":"https://api.github.com/users/andymckay/followers","following_url":"https://api.github.com/users/andymckay/following{/other_user}","gists_url":"https://api.github.com/users/andymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/andymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymckay/subscriptions","organizations_url":"https://api.github.com/users/andymckay/orgs","repos_url":"https://api.github.com/users/andymckay/repos","events_url":"https://api.github.com/users/andymckay/events{/privacy}","received_events_url":"https://api.github.com/users/andymckay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/addons-server/labels/not%20ready%20for%20merge","name":"not ready for merge","color":"b60205"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-23T23:44:08Z","updated_at":"2016-08-24T00:18:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/addons-server/pulls/3330","html_url":"https://github.com/mozilla/addons-server/pull/3330","diff_url":"https://github.com/mozilla/addons-server/pull/3330.diff","patch_url":"https://github.com/mozilla/addons-server/pull/3330.patch"},"body":"* currently getting tripped up by:\r\n\r\n```\r\n23:35:05 z.es:ERROR Elasticsearch error: TransportError(404, u'IndexMissingException[[addons_stats] missing]') :/code/src/olympia/search/middleware.py:15\r\n```\r\n\r\n\r\n* although:\r\n\r\n```\r\n[root@7834839246cb code]# curl elasticsearch:9200/_cat/indices?v\r\nhealth status index                       pri rep docs.count docs.deleted store.size pri.store.size \r\ngreen  open   addons-20160823233704         5   0        110            0    177.6kb        177.6kb \r\ngreen  open   addons-20160823233633         5   0        110            0    177.6kb        177.6kb \r\ngreen  open   addons_stats-20160823233633   5   0          0            0       720b           720b \r\ngreen  open   addons-20160823231400         5   0        110            0    190.4kb        190.4kb \r\ngreen  open   addons_stats-20160823231400   5   0          0            0       720b           720b \r\n````\r\n\r\n* might just fix #3329"},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/241922206","html_url":"https://github.com/mozilla/addons-server/pull/3330#issuecomment-241922206","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/3330","id":241922206,"user":{"login":"diox","id":187006,"avatar_url":"https://avatars.githubusercontent.com/u/187006?v=3","gravatar_id":"","url":"https://api.github.com/users/diox","html_url":"https://github.com/diox","followers_url":"https://api.github.com/users/diox/followers","following_url":"https://api.github.com/users/diox/following{/other_user}","gists_url":"https://api.github.com/users/diox/gists{/gist_id}","starred_url":"https://api.github.com/users/diox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diox/subscriptions","organizations_url":"https://api.github.com/users/diox/orgs","repos_url":"https://api.github.com/users/diox/repos","events_url":"https://api.github.com/users/diox/events{/privacy}","received_events_url":"https://api.github.com/users/diox/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T00:18:11Z","updated_at":"2016-08-24T00:18:11Z","body":"That's bad: `addons_stats` should not be in there, it should be an alias, not an index. That's probably why you've got the failure below, the indexes weren't set properly, it was just auto-created when you ran the `index_stats` or `index_downloads_counts` manually.\r\n\r\nIf `reindex` is failing it must be fixed, it's the only proper command to create the indices and aliases (and if you already have an indice instead of an alias, you must use `--wipe` to get rid of it, or manually delete it - otherwise it will lead to more reindexing failures)"}}
{"actor":{"display_login":"diox"}}