"Error" when adding storage policies in VMware Cloud Director
search cancel

"Error" when adding storage policies in VMware Cloud Director

book

Article ID: 449874

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When attempting to add storage policies in VMware Cloud Director (VCD), the request fails in the UI.

Error message:

  • Inspecting browser Developer Tools shows a 504 Gateway Timeout error on API calls fetching storage policies.
  • The /opt/vmware/vcloud-director/logs/vcloud-container-info.log file reports the following log entries:

ERROR   | pool-jetty-450510         | JDBCExceptionReporter          | ERROR: canceling statement due to statement timeout | requestId=######-####-####-####-###########,request=GET https://######/cloudapi/1.0.0/pvdcStoragePolicies,requestTime=1785148362425,remoteAddress=##.###.##.##:26026,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/json;version 40.0.0-alpha
ERROR   | pool-jetty-450510         | AuthorizationMethodInterceptor | Error in authorization. | requestId=######-####-####-####-############,request=GET https://######/cloudapi/1.0.0/pvdcStoragePolicies,requestTime=1785148362425,remoteAddress=##.###.##.##:26026,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/json;version 40.0.0-alpha
org.hibernate.exception.GenericJDBCException: could not execute query
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)

Environment

VMware Cloud Director

Cause

Stale inventory state and SSL handshake communication failures between VMware Cloud Director and vCenter Server prevent API requests for storage policy retrieval from completing successfully.

Resolution

To resolve this issue, contact Broadcom Support and note this Article ID (449874) in the problem description.

For more information, see Creating and managing Broadcom support cases.