{"action":"created","issue":{"url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/258","labels_url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/258/comments","events_url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/258/events","html_url":"https://github.com/lmenezes/elasticsearch-kopf/issues/258","id":68907351,"number":258,"title":"\"Error refreshing cluster state\" when an index is in read-only mod","user":{"login":"pauledouard","id":11977734,"avatar_url":"https://avatars.githubusercontent.com/u/11977734?v=3","gravatar_id":"","url":"https://api.github.com/users/pauledouard","html_url":"https://github.com/pauledouard","followers_url":"https://api.github.com/users/pauledouard/followers","following_url":"https://api.github.com/users/pauledouard/following{/other_user}","gists_url":"https://api.github.com/users/pauledouard/gists{/gist_id}","starred_url":"https://api.github.com/users/pauledouard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauledouard/subscriptions","organizations_url":"https://api.github.com/users/pauledouard/orgs","repos_url":"https://api.github.com/users/pauledouard/repos","events_url":"https://api.github.com/users/pauledouard/events{/privacy}","received_events_url":"https://api.github.com/users/pauledouard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T11:50:18Z","updated_at":"2015-04-16T13:56:38Z","closed_at":"2015-04-16T13:56:38Z","body":"Hello,\r\n\r\nI'm trying to set an index a read only during a reindexing script, and it causes kopf to crash during the operation. As soon as the index is set back to read&write mode, kopf 'revives'.\r\nI've checked my cluster with another monitoring plugin (head), and it worked properly.\r\n\r\nThe python command I use that set the index in read only mod is the following:\r\nes.indices.put_settings({\"index\" : {\"blocks\": {\"read_only\": True} } }, index=index)\r\n\r\nThanks.\r\n\r\nEDIT: I'm using version 1.4.7 of kopf"},"comment":{"url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/comments/93740453","html_url":"https://github.com/lmenezes/elasticsearch-kopf/issues/258#issuecomment-93740453","issue_url":"https://api.github.com/repos/lmenezes/elasticsearch-kopf/issues/258","id":93740453,"user":{"login":"lmenezes","id":750074,"avatar_url":"https://avatars.githubusercontent.com/u/750074?v=3","gravatar_id":"","url":"https://api.github.com/users/lmenezes","html_url":"https://github.com/lmenezes","followers_url":"https://api.github.com/users/lmenezes/followers","following_url":"https://api.github.com/users/lmenezes/following{/other_user}","gists_url":"https://api.github.com/users/lmenezes/gists{/gist_id}","starred_url":"https://api.github.com/users/lmenezes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmenezes/subscriptions","organizations_url":"https://api.github.com/users/lmenezes/orgs","repos_url":"https://api.github.com/users/lmenezes/repos","events_url":"https://api.github.com/users/lmenezes/events{/privacy}","received_events_url":"https://api.github.com/users/lmenezes/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T13:56:38Z","updated_at":"2015-04-16T13:56:38Z","body":"yep, now I see what this is about. There is an old ticket https://github.com/elastic/elasticsearch/issues/2833 talking about this issue. It's actually an elasticsearch bug... And this affects actually both _status and _aliases calls.\r\n\r\nI checked this issue with head, and it actually doesnt seem to work as well(if you open it after applying this settings to the index). If its already open, it wont report a problem, but also wont update the information there(try creating an index, for example).\r\n\r\nSo, not really much I can do :(\r\n\r\n\r\n\r\n"}}