Skip to content

Service software update R20260720 deleted all indices and FGAC internal users on a single-node OpenSearch 2.19 domain

0

Domain shape: OpenSearch 2.19, single t3.small.search data node, no replicas, no dedicated masters, gp3 10 GiB EBS, VPC-only access, fine-grained access control with an internal master user. Region us-east-1.

On 2026-08-28 the domain's Notifications panel showed "Successfully updated to service software version OpenSearch_2_19_R20260720". Immediately after the update:

  1. Every request with the FGAC master user returned 401 Unauthorized, and all internal users (created via the _plugins/_security API) were also rejected.
  2. All application indices were gone. _cat/indices showed only system indices (.opendistro_security, .kibana_1, .plugins-ml-config, .opensearch-observability).

We recovered by resetting the master user password from the console, recreating the internal users and roles via the security API, and rebuilding indices from our source-of-truth database.

Questions:

  1. Is data/credential loss during a service software update a known risk for single-node t3 domains with no replicas? My understanding was these updates are blue/green with no data loss.
  2. Is there any way to see whether the blue/green deployment failed and the domain was recreated empty?
  3. Are the hourly automated snapshots (cs-automated repository) from before the update still restorable after such an event, and is GET _snapshot/cs-automated/_all the right way to list them?
  4. What configuration changes make service software updates safe for this domain — is multi-node with replicas sufficient, or should we also schedule updates via the off-peak window and take manual snapshots first?

asked 2 months ago110 views

2 Answers
0

Yes, data and credential loss during service software updates is a known risk for single‑node OpenSearch Service domains without replicas. Blue/green deployments can fail or roll back security indices, especially on small t3 nodes. Automated snapshots remain restorable, but you must configure multi‑node domains with replicas and schedule updates during off‑peak windows to ensure safety.

https://repost.aws/questions/QUlDZQFcEJRBm2SOkO0e7tcw/opensearch-domain-silently-loses-all-fgac-security-state-master-user-included

https://repost.aws/knowledge-center/opensearch-software-update-issues

https://docs.aws.amazon.com/opensearch-service/latest/developerguide/release-notes.html

EXPERT

answered 2 months ago

0

Glad you got back online. Your recovery path was correct and complete.

The root cause here is a structural constraint worth understanding before the next update cycle. On a single-node cluster, OpenSearch physically cannot place a replica shard on the same node as its primary. So with one node, replica_count is always effectively 0 regardless of what you configure. That means every service software update's blue/green migration runs with zero data redundancy during the transition window. AWS documents this explicitly: if the node crashes or the migration hits an anomaly, there is data loss. The .opendistro_security index going with it is the same mechanism, which is why all your FGAC internal users disappeared at the same time.

Three things worth doing before the next required update:

Register a customer-owned S3 bucket as a manual snapshot repository and set up a Snapshot Management policy. The cs-automated snapshots are your recovery floor but you cannot independently verify or trigger them. A customer-controlled repo lets you take an explicit snapshot before any update and confirm it restored cleanly in a test domain.

Add at least one more data node and set replica_count=1 on your application indices. Even two nodes lets OpenSearch distribute primary and replica shards, which is the actual gap that made this incident total rather than partial.

Configure an off-peak update window via the domain's "Auto-Tune" and update settings so future required updates don't land mid-day. You can't stop required updates but you can control when they run.

The t3.small instance type is also worth revisiting for production. AWS's own fault-tolerance guidance calls it out as not suitable for high-availability deployments.

I do AWS architecture and Well-Architected advisory work, so if a more structured resilience review with a full remediation plan would be useful, happy to help.

answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.