Installed via Homebrew. Trying to use in a development context.
“version” : {
“distribution” : “opensearch”,
“number” : “2.11.1”,
“build_type” : “tar”,
“build_hash” : “unknown”,
“build_date” : “2023-11-29T21:16:04Z”,
“build_snapshot” : false,
“lucene_version” : “9.7.0”,
“minimum_wire_compatibility_version” : “7.10.0”,
“minimum_index_compatibility_version” : “7.0.0”
},
The Issue
Single node. Installed with Homebrew. Using defaults.
I’m at my wits end. there are only 2 indexes in the system.
yellow open profiles_development BlwEDHxXT5WW-E9_M4pxpw 1 1 3 0 27.8kb 27.8kb
yellow open parents_development VVwCwZ6-R2KIVWJXoGiT7Q 1 1 1 0 16.1kb 16.1kb
Between the two of these, there’s not 50kb in the OS system.
When I attempt to run tests, which will create an index for tests, it won’t allow it and that blows up my tests.
Elasticsearch::Transport::Transport::Errors::Forbidden: [403] {“error”:{“root_cause”:[{“type”:“index_create_block_exception”,“reason”:“blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];”}],“type”:“index_create_block_exception”,“reason”:“blocked by: [FORBIDDEN/10/cluster create-index blocked (api)];”},“status”:403}
from /Users/williamflanagan/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/elasticsearch-transport-7.4.0/lib/elasticsearch/transport/transport/base.rb:205:in `__raise_transport_error’
[2] pry(main)>
I’ve issued a request to reset the cluster index, and disable watermarks.
To cluster settings:
“cluster.routing.allocation.disk.threshold_enabled”: false
“cluster.routing.allocation.disk.watermark.low”: “5gb”,
“cluster.routing.allocation.disk.watermark.high”: “3gb”,
“cluster.routing.allocation.disk.watermark.flood_stage”: “1gb”,
“cluster.info.update.interval”: “1m”,
“cluster.routing.allocation.disk.threshold_enabled”: false
to “all/settings”
“index.blocks.read_only_allow_delete”: null
I’ve stopped and started the server.
M2 Macbook Pro with 32G ram and a 1TB SSD with 500G available.
I’m not sure at this point what else to do. I’ve been blocked now an entire day (0 development) trying to make this work.
Help!
Configuration:
Relevant Logs or Screenshots: