Mateen N Mansoori created RANGER-3598:
-----------------------------------------

             Summary: KMS : Unable to create service.
                 Key: RANGER-3598
                 URL: https://issues.apache.org/jira/browse/RANGER-3598
             Project: Ranger
          Issue Type: Bug
          Components: kms
            Reporter: Mateen N Mansoori


KMS service creation is failing with the below error : 
{code:java}
2022-01-24 10:03:44,779 [http-nio-6080-exec-7] INFO [RESTErrorUtil.java:85] 
Request failed. loginId=keyadmin, logMessage=Operation denied. User name: hive 
specified in policy does not exist in ranger admin.
javax.ws.rs.WebApplicationException: null
    at 
org.apache.ranger.common.RESTErrorUtil.generateRESTException(RESTErrorUtil.java:78)
    at 
org.apache.ranger.biz.PolicyRefUpdater.createNewPolMappingForRefTable(PolicyRefUpdater.java:223)
    at 
org.apache.ranger.biz.ServiceDBStore.createPolicy(ServiceDBStore.java:2045)
    at 
org.apache.ranger.biz.ServiceDBStore.createDefaultPolicies(ServiceDBStore.java:3266)
    at 
org.apache.ranger.biz.ServiceDBStore.createService(ServiceDBStore.java:1576)
    at org.apache.ranger.rest.ServiceREST.createService(ServiceREST.java:771)
    at 
org.apache.ranger.rest.ServiceREST$$FastClassBySpringCGLIB$$92dab672.invoke(<generated>)
    at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
    at 
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
    at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753)
    ...
    ...{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to