Inventory sync of Operations for Logs fails with 401 error in Fleet Management
search cancel

Inventory sync of Operations for Logs fails with 401 error in Fleet Management

book

Article ID: 437272

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

When you perform an inventory sync for Operations for Logs within Fleet Management, the task fails. The user interface or logs display the following error:

Error: Server returned HTTP response code: 401 for URL

Environment

VCF Operations 9.x

Cause

This issue occurs when the admin password has been modified locally on the Operations for Logs appliance, causing a mismatch with the credentials stored in Fleet Management. Because Fleet Management uses the stored credentials to authenticate the sync request, the appliance returns a 401 Unauthorized response.

Resolution

To resolve this issue, you must update the stored credentials in Fleet Management to match the current appliance password and retry the sync task.
 1. SSH into the Fleet Management (FM) appliance as the root user.
 2. Enable the FM UI access by running the following command:

     touch /var/lib/vrlcm/UI_ENABLED

 3. Log in to the FM UI using the admin@local account.
 4. Navigate to Locker > Passwords.
 5. Click ADD to define a new password entry that reflects the current local admin password of the Operations for Logs appliance.
 6. Navigate to the Failed Inventory Sync Task and select Retry.
 7. In the Retry configuration window, select the newly created password alias.

Proceed with the retry and confirm the inventory sync completes successfully.