Symptoms
- Unable to add App Volumes Manager (AVM) to Horizon Admin UI.- When an admin tries to add App Volumes Manager under App Vol Managers tab, after submitting the server address and credentials, a UI popup error is thrown which reads as "An internal server occurred, please refresh the browser page and try again."
- KB: Unable to Add App Volumes Manager to Horizon 2212 or newer (93834) has already been followed.- Upon enabling TRACE level logging on the Connection Server(s) and attempting to add AVM, we see entries similar to below-
2023-12-15T12:09:58.400+03:00 TRACE (1700-05E0) <ajp-nio-127.0.0.1-8009-exec-7> [AppVolumesManagerClient] GET https://AVM_FQDN:443/app_volumes/version?api_version=4090
"
2023-12-15T12:09:58.422+03:00 TRACE (1700-188C) <wstomcat-PulseTimer> [PulseTimer] wstomcat-PulseTimer pulse 1846422, wallclock delay 1, elapsed delay 0, difference 1
"
2023-12-15T12:09:58.424+03:00 TRACE (1700-05E0) <ajp-nio-127.0.0.1-8009-exec-7> [AppVolumesManagerClient] doGetWithRetry: InboundJaxrsResponse{context=ClientResponse{method=GET, uri=https://AVM_FQDN:443/app_volumes/version?api_version=4090, status=200, reason=OK}}
"
2023-12-15T12:09:58.426+03:00 ERROR (1700-05E0) <ajp-nio-127.0.0.1-8009-exec-7> [ErrorPageFilter] Forwarding to error page from request [/config/v1/app-volumes-manager] due to exception [Error reading entity from input stream.] org.springframework.boot.web.servlet.support.ErrorPageFilter.forwardToErrorPage(ErrorPageFilter.java:184)
"
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "deployment_platform"
Purpose
This article is to provide information for an issue where an administrator is unable to add App Vol Manager in the Admin UI.
Cause
When an App Vol Manager is added to Horizon from Admin UI , the API /app_volumes/version?api_version=4090 is called. Response from this API may not successfully map to the Java POJO class: AppVolumesManagerVersion.In most scenarios some unknown property in JSON response is received from API and that field is deployment_platform. Current Java code does not support this feature.
Impact / Risks
Inability to add App Volumes Manager to Horizon Admin UI, thus cannot deploy Apps-On-Demand feature.
Resolution
This is a known issue. Please upgrade to Horizon version 2309 GA or later.