Pushkar Gogte created RANGER-5711:
-------------------------------------
Summary: Key Manager shows "Data not found" error upon access by
keyadmin user
Key: RANGER-5711
URL: https://issues.apache.org/jira/browse/RANGER-5711
Project: Ranger
Issue Type: Improvement
Components: Ranger
Affects Versions: 3.0.0
Reporter: Pushkar Gogte
Assignee: Chinmay N Hegde
Upon logging into the Ranger Admin interface using the keyadmin user account
and navigating to the Key Manager section via the left-hand navigation bar, the
user interface fails to render the content and instead displays a "Data not
found for given page" error message.
h3. Steps to Reproduce
# Authenticate to the Ranger Admin UI using the keyadmin user credentials.
# Identify and select the Key Manager option located in the left sidebar.
# Observe the behavior of the page loading process and note the displayed
message.
h3. Expected Result
The Key Manager page should load correctly, presenting the relevant Key
Management Service (KMS) keys and configuration details associated with the
keyadmin user account.
h3. Actual Result
The page fails to render, and a "Data not found for given page" error message
is displayed on the interface.
Relevant Ranger KMS log entries are present in the Ranger Admin log file:
{quote}2026-07-29 13:03:26,910 [http-nio-6080-exec-3] ERROR
[ServiceUtil.java:1099] Requested Service not found. serviceName=dev_kms
2026-07-29 13:03:26,910 [http-nio-6080-exec-3] INFO [RESTErrorUtil.java:62]
Request failed. loginId=rangerkms, logMessage=Service:dev_kms not found
javax.ws.rs.WebApplicationException: HTTP 400 Bad Request at
org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:53)
at
org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:316)
at org.apache.ranger.common.ServiceUtil.isValidService(ServiceUtil.java:1101)
at
org.apache.ranger.rest.GdsREST.getSecureServiceGdsInfoIfUpdated(GdsREST.java:1793)
at
org.apache.ranger.rest.GdsREST$$FastClassBySpringCGLIB$$5397f2f3.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
at
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
at
org.apache.ranger.rest.GdsREST$$EnhancerBySpringCGLIB$$879fff66.getSecureServiceGdsInfoIfUpdated(<generated>)
at jdk.internal.reflect.GeneratedMethodAccessor252.invoke(Unknown Source) at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569) at
org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52){quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)