Skip to main content
Druva Documentation

App aware backup completes successfully with the error VM credential is invalid

 

Problem description


App aware backup completes successfully with the error VM credential is invalid.

Cause

You receive this error when the credentials for the virtual machine in the credential store are invalid.

Traceback

  1. Follow the instructions in the Logs article, and download the job logs.
  2. Extract the logs and open the Phoenix<YYYY/MM/DD>-<timestamp>.log. Check if the log has the following excerpt:

    [2020-06-30 09:18:33,096] [ERROR] Credential is Invalid (vim.fault.InvalidGuestLogin) {

       dynamicType = <unset>,

       dynamicProperty = (vmodl.DynamicProperty) [],

       msg = 'Failed to authenticate with the guest operating system using the supplied credentials.',

       faultCause = <unset>,

       faultMessage = (vmodl.LocalizableMessage) []

    }

    [2020-06-30 09:18:33,097] [ERROR] Error <class 'pyVmomi.VmomiSupport.vim.fault.InvalidGuestLogin'>:(vim.fault.InvalidGuestLogin) {

       dynamicType = <unset>,

       dynamicProperty = (vmodl.DynamicProperty) [],

       msg = 'Failed to authenticate with the guest operating system using the supplied credentials.',

       faultCause = <unset>,

       faultMessage = (vmodl.LocalizableMessage) []

    }. Traceback -Traceback (most recent call last):

      File "agents/vmware/guest_os_utils.py", line 169, in is_credential_valid

      File "pyVmomi/VmomiSupport.py", line 575, in <lambda>

      File "pyVmomi/VmomiSupport.py", line 381, in _InvokeMethod

      File "pyVmomi/SoapAdapter.py", line 1370, in InvokeMethod

    vim.fault.InvalidGuestLogin: (vim.fault.InvalidGuestLogin) {

       dynamicType = <unset>,

       dynamicProperty = (vmodl.DynamicProperty) [],

       msg = 'Failed to authenticate with the guest operating system using the supplied credentials.',

       faultCause = <unset>,

       faultMessage = (vmodl.LocalizableMessage) []

    }

     

    [2020-06-30 09:18:33,098] [ERROR] SyncError: VM Credential is Invalid

    [2020-06-30 09:18:33,128] [WARNING] Error occurred while verifying VM credential 4295032855 VM Credential is Invalid: 10.22.5.193. Application aware backup would have just VM backup and would complete with Successful with errors

Resolution

Update the credential for the virtual machine in the credential store and ensure that it can be accessed using those credentials.

Verification

Retry the backup after updating the virtual machine credentials. The backup should be successful with valid credentials.