<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Apache Ranger Admin UI Login Question in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402632#M251729</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79092"&gt;@drewski7&lt;/a&gt;&amp;nbsp;Yes,&amp;nbsp; UserSync is Required.&amp;nbsp; Please see docs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.3.1/security-ranger-user-management/topics/security-ranger-configure-adv-usersync-freeipa.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.3.1/security-ranger-user-management/topics/security-ranger-configure-adv-usersync-freeipa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can take the top arrow on the version to make sure its your correct version.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2025 14:00:08 GMT</pubDate>
    <dc:creator>steven-matison</dc:creator>
    <dc:date>2025-02-20T14:00:08Z</dc:date>
    <item>
      <title>Apache Ranger Admin UI Login Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/401925#M251353</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team and I have been running Apache Ranger Admin v2.4.0 in Docker. We recently started an effort to try and upgrade&amp;nbsp;Apache Ranger Admin v2.5.0. In v2.4.0, we set up the install.properties file to correctly point to our LDAP server for logging in to the Ranger Admin UI and everything was working well. One thing to note, is that in v2.4.0 we didn't have usersync running, and we were still able to login.&lt;BR /&gt;&lt;BR /&gt;After upgrading to&amp;nbsp;Apache Ranger Admin v2.5.0, we ran into an issue trying to login to the Ranger Admin UI. In the logs this is what it showed...&lt;/P&gt;&lt;P&gt;ranger-admin.log -&lt;/P&gt;&lt;PRE&gt;2025-02-12 20:14:42,853 [https-jsse-nio-6182-exec-8] INFO [SpringEventListener.java:76] Login Successful:drew.nicolette | Ip Address:xxxxxxxxx | sessionId=5F137022A5347056C441709DDC19A26F | Epoch=1739391282852&lt;BR /&gt;2025-02-12 20:14:42,890 [https-jsse-nio-6182-exec-8] ERROR [SessionMgr.java:486] Error getting user for loginId=drew.xxxxxx&lt;/PRE&gt;&lt;P&gt;catalina.out -&lt;/P&gt;&lt;PRE&gt;java.lang.RuntimeException: Failed to create user drew.xxxxxxx in x_portal_user table. retrying&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr$ExternalUserCreator.createExternalUser(XUserMgr.java:3314)&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr$ExternalUserCreator.run(XUserMgr.java:3288)&lt;BR /&gt;at org.apache.ranger.common.db.RangerTransactionSynchronizationAdapter.addRunnable(RangerTransactionSynchronizationAdapter.java:136)&lt;BR /&gt;at org.apache.ranger.common.db.RangerTransactionSynchronizationAdapter.executeOnTransactionCommit(RangerTransactionSynchronizationAdapter.java:82)&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr.createServiceConfigUser(XUserMgr.java:2601)&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr$$FastClassBySpringCGLIB$$57c6d473.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703)&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr$$EnhancerBySpringCGLIB$$c3461920.createServiceConfigUser(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.apache.ranger.security.web.authentication.RangerAuthSuccessHandler.onAuthenticationSuccess(RangerAuthSuccessHandler.java:96)&lt;BR /&gt;at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.successfulAuthentication(AbstractAuthenticationProcessingFilter.java:329)&lt;BR /&gt;at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:237)&lt;BR /&gt;at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:217)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)&lt;BR /&gt;at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)&lt;BR /&gt;at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:55)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112)&lt;BR /&gt;at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.session.ForceEagerSessionCreationFilter.doFilterInternal(ForceEagerSessionCreationFilter.java:45)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)&lt;BR /&gt;at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221)&lt;BR /&gt;at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)&lt;BR /&gt;at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)&lt;BR /&gt;at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)&lt;BR /&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)&lt;BR /&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)&lt;BR /&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)&lt;BR /&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)&lt;BR /&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)&lt;BR /&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)&lt;BR /&gt;at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:679)&lt;BR /&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)&lt;BR /&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)&lt;BR /&gt;at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617)&lt;BR /&gt;at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)&lt;BR /&gt;at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934)&lt;BR /&gt;at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1698)&lt;BR /&gt;at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)&lt;BR /&gt;at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)&lt;BR /&gt;at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)&lt;BR /&gt;at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:750)&lt;BR /&gt;Caused by: javax.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'persist' call&lt;BR /&gt;at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:300)&lt;BR /&gt;at com.sun.proxy.$Proxy33.persist(Unknown Source)&lt;BR /&gt;at org.apache.ranger.common.db.BaseDao.create(BaseDao.java:110)&lt;BR /&gt;at org.apache.ranger.biz.UserMgr.createUser(UserMgr.java:161)&lt;BR /&gt;at org.apache.ranger.biz.UserMgr$$FastClassBySpringCGLIB$$3bbcf0cf.invoke(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)&lt;BR /&gt;at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703)&lt;BR /&gt;at org.apache.ranger.biz.UserMgr$$EnhancerBySpringCGLIB$$a7bf07b4.createUser(&amp;lt;generated&amp;gt;)&lt;BR /&gt;at org.apache.ranger.biz.XUserMgr$ExternalUserCreator.createExternalUser(XUserMgr.java:3309)&lt;BR /&gt;... 57 more&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;However, once we added ranger usersync into the process. We were able to login successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is&amp;nbsp;Apache Ranger Admin v2.5.0 dependent on Usersync to run for login to the Admin UI or am I missing something obvious?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 20:35:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/401925#M251353</guid>
      <dc:creator>drewski7</dc:creator>
      <dc:date>2025-02-12T20:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ranger Admin UI Login Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402632#M251729</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/79092"&gt;@drewski7&lt;/a&gt;&amp;nbsp;Yes,&amp;nbsp; UserSync is Required.&amp;nbsp; Please see docs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.3.1/security-ranger-user-management/topics/security-ranger-configure-adv-usersync-freeipa.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.3.1/security-ranger-user-management/topics/security-ranger-configure-adv-usersync-freeipa.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can take the top arrow on the version to make sure its your correct version.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 14:00:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402632#M251729</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2025-02-20T14:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ranger Admin UI Login Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402633#M251730</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;- Sorry but where do you see that it is required?&lt;BR /&gt;&lt;BR /&gt;To me, setting the LDAP configurations for Ranger Admin would allow logging into the Ranger Admin UI via an LDAP source and Ranger Usersync was primarily for syncing Users/Groups to be used in policies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So why would Ranger Usersync be needed to login to the Ranger Admin UI?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 14:11:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402633#M251730</guid>
      <dc:creator>drewski7</dc:creator>
      <dc:date>2025-02-20T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Ranger Admin UI Login Question</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402634#M251731</link>
      <description>&lt;P&gt;I just know from many years of setting up ranger within ambari with usersync.&amp;nbsp; I doubt current CDP docs will strictly call it out.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 14:31:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Ranger-Admin-UI-Login-Question/m-p/402634#M251731</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2025-02-20T14:31:25Z</dc:date>
    </item>
  </channel>
</rss>

