alexus
December 30, 2018, 3:43pm
1
it looks like I ran out of space. I free up some space by deleted bunch of unneeded indices and docs.
... yet still keep getting following error:
logstash | [2018-12-30T15:38:10,978][INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({"type"=>"cluster_block_exception", "reason"=>"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"})
I even tried running following query as well
PUT /_settings
{
"index": {
"blocks": {
"read_only_allow_delete": "true"
}
}
}
Please advise.
1 Like
How much disk space did you free up? How much is currently used?
alexus
December 30, 2018, 9:51pm
3
~75GB (total), ~54GB (used), ~20GB (free) / 73%
I just checked, not all data got deleted and now whenever I run same query I now get following message:
"reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
Did you reset the read-only index block after you freed up space?
4 Likes
alexus
December 31, 2018, 2:25pm
5
I reset read-only for entire cluster:
PUT /_settings
{
"index.blocks.read_only_allow_delete": null
}
12 Likes
system
(system)
Closed
January 28, 2019, 2:26pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.