Inventory sync fails internally in VCF Operations with error: password for backup account is not set on SDDC UI
search cancel

Inventory sync fails internally in VCF Operations with error: password for backup account is not set on SDDC UI

book

Article ID: 441635

calendar_today

Updated On:

Products

VCF Operations VMware Cloud Foundation

Issue/Introduction

  • The sync inventory task fails with an internal error in the VCF Operations UI.
  • Error observed in the fails task 
    import operation for sync with id #####-###-###-###-###### failed internally. Command was
    python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py sync -- domain-name ##### .. skip.ssh-thumbprint.validation .. internal.vcf.auth .- output.dir /var/log/vmware/vcf/domainmanager/brownfield/ #####-###-###-###-###### / -- non-interactive.
    Please check the log files located in /var/log/vmware/vcf/domainmanager/brownfield/ #####-###-###-###-###### / on the SDDC Manager appliance
    
    Message: Import operation for sync with id  #####-###-###-###-######  failed internally. Command was python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py sync-domain-name ##### -- skip-ssh-thumbprint-validation -- internal-vcf-auth -- output-dir /var/log/vmware/vcf/domainmanager/brownfield/1 #####-###-###-###-###### / -- non-interactive. Please check the log files
    located in /var/log/vmware/vcf/domainmanager/brownfield/ #####-###-###-###-###### / on the SDDC Manager appliance
    Remediation Message:
    Reference Token: SF####
    Cause:
  •  Brownfield logs located on the SDDC Manager appliance at /var/log/vmware/vcf/domainmanager/domainmanager.log contain the following observation:
    ERROR [vcf_dm,########-####-####-####-###########,f5b#] [c.v.v.v.s.b.r.BrownfieldRunnerService,dm-exec-4]  Brownfield process failed with exit value 1 for operation sync with id ########-####-####-####-###########
    DEBUG [vcf_dm,########-####-####-####-###########,f5b#] [c.v.v.v.s.b.u.BrownfieldImportProgressReportService,dm-exec-4]  Deserialized progress report of the task with id ########-####-####-####-###########: {"process_id":"########-####-####-####-###########","status":"completed with error","progress":{},"total_steps":#,"errors":[{"error_code":"OPERATION_ISSUE","message":"Result status code from set datasource: 400","severity":"ERROR"},{"error_code":"OPERATION_ISSUE","message":"Backup password has not been provided as either a command-line argument or interactively. You need to specify it later on in SDDC Manager UI -> Backup configuration section","severity":"*****"

Environment

VMware Cloud Foundation 9.x

Cause

The inventory sync process utilizing the 'vcf_brownfield.py' automation script requires valid authentication for the internal 'backup' service account. This failure occurs because the password for the 'backup' entity is either missing, has never been configured, or is in a 'Disconnected' state within the SDDC Manager credential store. Without this synchronized credential, the automation script cannot authenticate management components to complete the sync.

Resolution

To resolve this issue, you must configure or remediate the backup account password through the SDDC Manager UI to synchronize the internal platform database.

1.  Log in to the SDDC Manager UI with administrative privileges.
2.  In the navigation pane, select Security> Password Management
3.  Locate the Backup account in the account list.
4.  Check the status. If it is 'Disconnected' or empty, click the vertical ellipses and select Remediate Password or Update Password
5.  Enter the required password and click Update
6.  Verify the status of the account has changed to Active
7.  Return to the VCF Operations interface and retry the Inventory Sync task.

Additional Information

Reference Document for SDDC Manager Backup Service Account Status Disconnected