Event ID 41679 - Failed to update the index snapshot repository

book

Article ID: 100074076

calendar_today

Updated On:

Description

Error Message

Log Name:      Veritas Enterprise Vault
Source:        Enterprise Vault 
Event ID:      41679
Task Category: Index Admin Service 
Level:         Error
Description:
Failed to update the index snapshot repository '[repository GUID]' with path '' in Elasticsearch due to the error

'Elasticsearch 'CreateRepository' API failed due to error 'The remote server returned an error: (500) Internal Server Error. Call: Status code 500 from: PUT /_snapshot/[repository GUID]. ServerError: Type: repository_exception Reason: "[repository GUID] failed to create repository" CausedBy: "Type: repository_exception Reason: "[repository GUID] missing location""'.'. 

Dtrace shows the following trace leading up to the error:

{IndexAdminImpl} Enter CreateIndexSnapshotRepository. Creating index snapshot repository for Enterprise Vault server entry id '[EVServer EntryID]'
[...]
{IndexAdminImpl.GetActiveIndexSnapshotLocationsFromDatabase} Active index snapshot location '[Snapshot Location, example S:\Snapshots]' is configured for the Enterprise Vault index server '[server name]'.
{IndexAdminImpl.CreateIndexSnapshotRepositoryInternal} Active index location '[Snapshot Location, example S:\Snapshots]' found for Enterprise Vault index server '[server name]'.
{IndexAdminImpl.GetElasticSearchMajorVersionForDB} Elasticsearch major version configured on Enterprise Vault index server '[server name]' is '7'.
{IndexAdminImpl.GetIndexSnapshotRepositoriesFromDatabase} Retrieving index snapshot respository for index snapshot location identity '2' with version '7.x' for the Enterprise Vault index server '[EVServer EntryID]'.
[...]
{ESNestClient.GetSnapshotRepositoryDetailsFromElasticIfExists} Elasticsearch 'GetRepository' API call completed in (15.6257 ms)
{ESNestClient} Name = [repository GUID], Location = , ReadOnly = False, ChunkSize = 64mb, RestoreBytesPerSecondMaximum = 40mb, SnapshotBytesPerSecondMaximum = 40mb.
{ESNestClient.CreateUpdateSnapshotRepositoryInternal} Elasticsearch 'CreateRepository' API call completed in (484.5803 ms)
|Event ID: 41679 Failed to update the index snapshot repository '[repository GUID]' with path '' in Elasticsearch due to the error|'Elasticsearch 'CreateRepository' API failed due to error 'The remote server returned an error: (500) Internal Server Error. Call: Status code 500 from: PUT /_snapshot/[repository GUID]. ServerError: Type: repository_exception Reason: "[[repository GUID]] failed to create repository" CausedBy: "Type: repository_exception Reason: "[[repository GUID]] missing location""'.'.

UMI Codes

V-437-41679
 

Cause

This issue can occur in Enterprise Vault versions 14.2 - 14.5, if EV tries to update the snapshot repository in Elasticsearch due to it becoming out of sync with the directory database.  Notice that, in the event, the path to the repository is blank:

Failed to update the index snapshot repository '[repository GUID]' with path ''

 

Resolution

Upgrade to 15.0 or later, or contact Support to obtain a remediation script.

 

Issue/Introduction

Event 41679 is seen upon startup of the indexing service, and no Elasticsearch index snapshots can be taken or restored.