Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Inside An Ec2 Machine, Using The Trains-Server Ami, I'M Trying To Launch My Aws Auto-Scaler Service. When I Enqueue The Task To The

Inside an EC2 machine, using the trains-server AMI, I'm trying to launch my AWS Auto-Scaler service. When I enqueue the task to the services queue I get the following error:

Error 100 : General data error: err=('1 document(s) failed to index.', [{'index': {'_index': 'queue_metrics_d1bd92a3b039400cbafc60a7a5b1e52b_2020-12', '_type': '_doc', '_id': 'HrtpInYBhRKnwoXjfB0H', 'status': 403, 'error': {'type': 'cluster_block_exception', 'reason': 'index [queue_metrics_d1bd92a3b039400cbafc60a7a5b1e52b_2020-12] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];'}, 'data': {'timestamp': 1606895107078, 'queue': '2cf9c066daaa4184ab54271a212bdad7', 'average_waiting_time': 0, 'queue_length': 0}}}]), extra_info=index [queue_metrics_d1bd92a3b039400cbafc60a7a5b1e52b_2020-12] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
What's wrong?

  
  
Posted 4 years ago
Votes Newest

Answers 23


See the watermark settings under elasticsearcg

  
  
Posted 4 years ago

this?

  
  
Posted 4 years ago

The Elastic defaults are to go into this mode when less than 10 or 5% of the disk space is available. I assume logs? Perhaps we should change the instructions to use a large EBS disk size or change the default EBS size in the Trains AMI

  
  
Posted 4 years ago

Try ~

  
  
Posted 4 years ago

SuccessfulKoala55 here it is

  
  
Posted 4 years ago

Where is the docker-compose file? It's not at /opt (again, I didn't place it anywhere, I'm just using the ami)

  
  
Posted 4 years ago

The Trains Server Elastic instance has gone into read-only mode due to insufficient disk space

  
  
Posted 4 years ago

Change to lower than what you have http://free.in your disk 🙂

  
  
Posted 4 years ago

I've updated the default docker-compose to use 2gb in these watermarks

  
  
Posted 4 years ago

this is the df -h output

  
  
Posted 4 years ago

I assume it's in the home dir

  
  
Posted 4 years ago

And the docker-compose you currently use there?

  
  
Posted 4 years ago

you want to see its contents?

  
  
Posted 4 years ago

worked

  
  
Posted 4 years ago

cluster.routing.allocation.disk.watermark.low:

  
  
Posted 4 years ago

All three 🙂

  
  
Posted 4 years ago

Perhaps it's configured with absolute numbers... like 10GB free space?

  
  
Posted 4 years ago

SuccessfulKoala55

  
  
Posted 4 years ago

How did it come to this? I didn't configure anything, I'm using the trains AMI, with the suggested instance type

  
  
Posted 4 years ago

Or should I change all three of them?

  
  
Posted 4 years ago

Check the free disk space

  
  
Posted 4 years ago

I only have like 40 tasks including the example ones

  
  
Posted 4 years ago
1K Views
23 Answers
4 years ago
one year ago
Tags