Trying to create user in elastic but getting error

Error saving user: [cluster_block_exception] index [.security-7] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];

seems there is a block on one of the index (system related) not sure how to lift . tried following and restarted the service . but not helping !

PUT _cluster/settings
{
"transient": {
"cluster.routing.allocation.disk.watermark.low": "100gb",
"cluster.routing.allocation.disk.watermark.high": "50gb",
"cluster.routing.allocation.disk.watermark.flood_stage": "10gb",
"cluster.info.update.interval": "1m"
}
}

it is solved .security-7 is the inex which created the problem , it got locked. once the log was removed ,

PUT /.security-7/_settings
{
"index.blocks.read_only_allow_delete": null
}

the above code did the trick , thanks to elastic IRC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.