How do I know which datastore indexes are in error

0 votes

I cann't run update_indexes on google datastore. I get an error message telling me to determine which indexes are in error by looking at GUI and then to delete these indexes. Out of the 200 indexes, 51 have error.

Good devops practice says this task should be done automatically. How can I determine which index is problematic.

Cannot build indexes that are in state ERROR.To vacuum and rebuild your indexes:
1. Create a backup of your index.yaml specification.
2. Determine the indexes in state ERROR from your admin console:
3. Remove the definitions of the indexes in ERROR from your index.yaml file.
4. Run " vacuum_indexes your_app_dir/"
5. Wait until the ERROR indexes no longer appear in your admin console.
6. Replace the modified version of your index.yaml file with the original.
7. Run " update_indexes your_app_dir/"
Jul 27, 2018 in Docker by DragonLord999
• 8,450 points

1 answer to this question.

0 votes

There was no public API for managing indexes in cloud datastore. The functionality has since been added to the Google cloud datastore. Refer to the docs here.

answered Jul 27, 2018 by ajs3033
• 7,280 points

Related Questions In Docker

0 votes
1 answer
0 votes
2 answers

How do I fix the “no space left on device” error in docker?

Try cleaning up: $ docker volume rm $(docker ...READ MORE

answered Aug 14, 2019 in Docker by Sirajul
• 59,110 points
0 votes
1 answer

How do I scale in Docker Swarm Mode W/Terraform Digital Ocean Load Balancing

The solution you could build for Digital ...READ MORE

answered Jun 19, 2018 in Docker by shubham
• 7,320 points
0 votes
1 answer

How do I install phantomjs with node in docker

Here is what you can try. Link for existing ...READ MORE

answered Aug 1, 2018 in Docker by Damon Salvatore
• 5,980 points
+5 votes
7 answers

Docker swarm vs kubernetes

Swarm is easy handling while kn8 is ...READ MORE

answered Aug 27, 2018 in Docker by Mahesh Ajmeria
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
0 votes
1 answer
0 votes
1 answer

Unable to switch filesystem to overlay in Docker in Ubuntu.

From the official docs: To configure Docker ...READ MORE

answered Jul 18, 2018 in Docker by ajs3033
• 7,280 points