SDDC Manager Precheck fails with error - ESXi Temporary Directory Exist
search cancel

SDDC Manager Precheck fails with error - ESXi Temporary Directory Exist

book

Article ID: 330344

calendar_today

Updated On:

Products

VMware Cloud Foundation VMware SDDC Manager

Issue/Introduction

  • SDDC Manager Precheck fails with error - ESXi Temporary Directory Exist
  • Error in SDDC Manager UI
    Directory / locker on host does not support the upgrade for resource, Please check

    Sample screenshot


    Note: Above mentioned error in screenshot is a "generic error" and we need to investigate the exact issue by looking into the lcm-debug.log

  • Error in /var/log/vmware/vcf/lcm/lcm-debug.log
    2022-10-28T09:53:12.305+0000 DEBUG [vcf_lcm,83e5aec3a23f43f8,cce1] [c.v.e.s.l.a.i.i.CredentialProviderEvo,http-nio-127.0.0.1-7400-exec-7] credential - get credential http://localhost/v1/system/credentials?entityType=DEPOT_USER
    2022-10-28T09:53:12.822+0000 ERROR [vcf_lcm,c208338e8167433e,7212,precheckId=52094443-deef-4afb-a8e5-bf0417bc23cb,resourceType=ESX,resourceId=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxx7258a] [c.v.e.s.l.p.impl.esx.EsxUtils,Precheck-55] Failed to enable SSH and run the command EsxCommands.DF_LOCKERDIR(command=df /locker)
    com.vmware.vim.binding.vim.fault.InvalidLogin: Cannot complete login due to an incorrect user name or password.
    ..
    2022-10-28T09:53:12.822+0000 ERROR [vcf_lcm,c208338e8167433e,7212,precheckId=52094443-deef-4afb-a8e5-bf0417bc23cb,resourceType=ESX,resourceId=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxx7258a] [c.v.e.s.l.p.impl.esx.EsxUtils,Precheck-55] Error occurred fetching the available disk space for the directory: /locker
    com.vmware.evo.sddc.lcm.model.error.LcmException: svc-vcf-ac-xxxxxxxx

Environment

VMware Cloud Foundation

Cause

If the host has been rebuilt/reconfigured and then re-added to the vCenter without going through the decommission / commission process from the SDDC Manager, we may be missing the service account on the ESXi host.

Resolution

  1. In ESXi UI, navigate to Host > Manage > Security & users > Users > Add user
    Provide the username and the password as seen in SDDC manager (Else, a new password can be input and then use Remediate in SDDC to update)
  2. Provide Permissions:
    1. Right click on Host and click Permissions
    2. Click Add user.
    3. Click the arrow next to the Select a user text box and select the user that you want to assign a role to (ssvc-vcf-ac-xxxxxxxx)
    4. Click the arrow next to the Select a role text box and select the Administrator role from the list.
    5. Select Propagate to all children
    6. Click Add and click Close.
  3. Re-try the failed Pre-check in SDDC Manager

 

Additional Information

Impact/Risks:
Unable to proceed further with the VCF migration until the pre-checks in SDDC UI are clean