Scheduled automatic backups fail in NSX with "API result did not pass validationField level validation errors"
search cancel

Scheduled automatic backups fail in NSX with "API result did not pass validationField level validation errors"

book

Article ID: 434404

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Scheduled automated backups in NSX fail to trigger or do not complete.

  • Manual backups triggered via the NSX UI or API complete successfully.

  • The following error pattern is observed continuously in the /var/log/syslog or /var/log/proton/nsxapi.log on the NSX Manager appliance (specifically the active API leader node):

    [nsx@... comp="nsx-manager" level="WARNING" reqId="..." subcomp="manager" username="nsx-opsagent"] API result did not pass validationField level validation errors: {value none of property operation_type is not one of the allowed values [NONE, BACKUP]}

 

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware NSX 4.x

Resolution

This is a condition that may occur in a VMware NSX environment.

 

To resolve this issue, you must clear the invalid metadata state by restarting the management plane service (Proton) on the active API leader node.

  1. Log in to the NSX Manager CLI as the admin user.

  2. Identify the current API leader by running the following command:
    get cluster status verbose
  3. Open an SSH session to the specific NSX Manager node identified as the API Leader.

  4. Execute the following command to restart the manager service:
    restart service manager
  5. Verify that the scheduled backups resume successfully at the next configured interval.

 

Note: Restarting the manager service is non-disruptive to data plane traffic (workload routing/switching). However, the NSX Manager UI and API will be temporarily unavailable for a few minutes while the service initializes.