Error "Transfer failed due to an error. Please try again." when attempting a Log Data Transfer
search cancel

Error "Transfer failed due to an error. Please try again." when attempting a Log Data Transfer

book

Article ID: 418678

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Immediately after clicking TRANSFER LOGS in the Log Data Transfer window, an error Transfer failed due to an error. Please try again. is seen in the UI. The VALIDATE CONNECTION is successful.

Environment

  • VCF Operations 9.0.x
  • VCF Operations for Logs 9.0.x

Cause

Corruption in the VCF Operations for Logs internal Cassandra database

Review the /storage/core/loginsight/var/runtime.log on the VCF Operations for Logs 9.0 primary node and look for the error

["data-migration-task-0"/#.#.#.# ERROR] [com.vmware.loginsight.ingestion.DataMigrationTaskDaemon] [DataMigrationTaskDaemon error: Failed to decrypt password]
...
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

Resolution

Remove the data_migration_task table from VCF Operations for Logs

  1. Create snapshots of all VCF Operations for Logs 9.0 nodes
  2. Log in to the VCF Operations for Logs primary node as root via SSH
  3. Log in to the Cassandra database
    cqlsh-no-pass
  4. Truncate the data_migration_task table
    TRUNCATE logdb.data_migration_task;
  5. Exit the Cassandra database
    exit;
  6. Log in to the VCF Operations UI and attempt the Log Data Transfer again.