LDAP user is unable to open and configure Home dashboard in Aria Operations for Networks GUI
search cancel

LDAP user is unable to open and configure Home dashboard in Aria Operations for Networks GUI

book

Article ID: 378348

calendar_today

Updated On:

Products

VMware Aria Operations for Networks

Issue/Introduction

LDAP user is unable to open and configure Home dashboard in Aria Operations for Networks  GUI


This issue is seen for  for a specific LDAP account.

Symptoms:

  1. Error message seen in GUI is There was a problem with the request.
    GUI Error message screenshot as below:




  2. restapilayer logs at location /var/log/arkin/restapilayer  show below error and exceptions:

    2024-09-19T12:31:14.017Z ERROR common.utils.CommonUtils dw-58691 - POST /auth/login logException:2580 login threw exception:: userName=###_#####@####.local
    org.apache.shiro.authc.IncorrectCredentialsException: Submitted credentials for token [com.vnera.restapilayer.DomainSpecificAuthenticationToken - ###_#####@####.local, rememberMe=false] did not match the expected credentials.
            at org.apache.shiro.realm.AuthenticatingRealm.assertCredentialsMatch(AuthenticatingRealm.java:603) _[shiro-core-1.12.0.jar:1.12.0]
            at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:581) _[shiro-core-1.12.0.jar:1.12.0]
            at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) _[shiro-core-1.12.0.jar:1.12.0]
            at com.vnera.restapilayer.MultiRealmAuthenticator.doAuthenticate(MultiRealmAuthenticator.java:32) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) _[shiro-core-1.12.0.jar:1.12.0]
            at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) _[shiro-core-1.12.0.jar:1.12.0]
            at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:275) _[shiro-core-1.12.0.jar:1.12.0]
            at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:260) _[shiro-core-1.12.0.jar:1.12.0]
            at com.vnera.restapilayer.AuthResource.login(AuthResource.java:1874) _[restapilayer-0.001-SNAPSHOT.jar:_]
    2024-09-19T12:31:24.210Z INFO vnera.restapilayer.ManagementResource LeasedTimer-MgmtResourceHealthChecker getNodes:3054 get Nodes
    2024-09-19T12:31:24.238Z INFO vnera.restapilayer.ManagementResource LeasedTimer-MgmtResourceHealthChecker getNodes:3054 get Nodes
    2024-09-19T12:31:24.259Z INFO vnera.restapilayer.ManagementResource LeasedTimer-MgmtResourceHealthChecker getUpgradeInfoInternal:4796 Computed installed version number: "1717138317"
    name: "6.13.0"
    createdTs: 1717138317000
    


  3.  Log file reset_preferences.log at location /var/log/arkin/restapilayer  show below error and exceptions:

    2024-09-20T09:31:18.387Z ERROR vnera.restapilayer.SearchResource dw-66080 - GET /search/query_searchString=home_timestamp=1726824650270_timeRangeString=_20at_20Now_20_includeObjects=false_includeFacets=true_includeMetrics=false_includeEvents=false_startIndex=0_maxItemCount=10_date
    TimeZone=_2B02_3A00_sourceString=UI_INTERNAL_includeModelKeyOnly=false_fetchQueryTelemetry=true_appDistributionEnabled=false_appletDistributionEnabled=false_pinParentDashboardQuery=_fetchFriendlyQuery=true getReplacementQuery:1889 Exception while fetching default query
    java.lang.NullPointerException: null
            at com.vnera.restapilayer.customdashboard.OotbDashboardProvider.getOotbQuery(OotbDashboardProvider.java:92) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at com.vnera.restapilayer.customdashboard.DashboardSelectionProvider.getDefaultQuery(DashboardSelectionProvider.java:80) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at com.vnera.restapilayer.SearchResource.getReplacementQuery(SearchResource.java:1887) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at com.vnera.restapilayer.SearchResource.search(SearchResource.java:1830) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at jdk.internal.reflect.GeneratedMethodAccessor1551.invoke(Unknown Source) _[_:_]
            at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) _[_:_]
            at java.lang.reflect.Method.invoke(Method.java:566) _[_:_]
            at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda_static_0(ResourceMethodInvocationHandlerFactory.java:52) _[jersey-server-2.30.1.jar:_]
            at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher_1.run(AbstractJavaResourceMethodDispatcher.java:124) _[jersey-server-2.30.1.jar:_]
            at org.eclipse.jetty.io.ChannelEndPoint_1.run(ChannelEndPoint.java:104) [jetty-io-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.ReservedThreadExecutor_ReservedThread.run(ReservedThreadExecutor.java:409) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at org.eclipse.jetty.util.thread.QueuedThreadPool_Runner.run(QueuedThreadPool.java:1034) [jetty-util-9.4.48.v20220622.jar:9.4.48.v20220622]
            at java.lang.Thread.run(Thread.java:829) [_:_]
    2024-09-20T09:31:18.389Z ERROR jersey.errors.LoggingExceptionMapper dw-66080 - GET /search/query_searchString=home_timestamp=1726824650270_timeRangeString=_20at_20Now_20_includeObjects=false_includeFacets=true_includeMetrics=false_includeEvents=false_startIndex=0_maxItemCount=10_d
    ateTimeZone=_2B02_3A00_sourceString=UI_INTERNAL_includeModelKeyOnly=false_fetchQueryTelemetry=true_appDistributionEnabled=false_appletDistributionEnabled=false_pinParentDashboardQuery=_fetchFriendlyQuery=true logException:77 Error handling a request: cc64cf4268950192
    java.lang.RuntimeException: Exception while fetching default query
            at com.vnera.restapilayer.SearchResource.getReplacementQuery(SearchResource.java:1890) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at com.vnera.restapilayer.SearchResource.search(SearchResource.java:1830) _[restapilayer-0.001-SNAPSHOT.jar:_]
            at jdk.internal.reflect.GeneratedMethodAccessor1551.invoke(Unknown Source) _[_:_]
            at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) _[_:_]
            at java.lang.reflect.Method.invoke(Method.java:566) _[_:_]
            at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda_static_0(ResourceMethodInvocationHandlerFactory.java:52) _[jersey-server-2.30.1.jar:_]
            at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher_1.run(AbstractJavaResourceMethodDispatcher.java:124) _[jersey-server-2.30.1.jar:_]
            at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167) _[jersey-server-2.30.1.jar:_]
            at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider_TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219) _[jersey-server-2.30.1.jar:_]
    

Environment

Aria Operations for Networks 6.11.0
Aria Operations for Networks 6.12.0
Aria Operations for Networks 6.12.1
Aria Operations for Networks 6.13.0

Cause

When moving from 6.8 to 6.9, we migrated from pinboards to custom dashboards which required the preferences to be reset. The reset of preference was added on load of home page. In 6.11, the code to reset was no more required and hence removed.

In this case, LDAP users never logged in before 6.11 when moving from 6.8 to 6.12 so the homepage was never loaded and preferences were never set. 

Resolution

A manual reset of preferences is required from Aria Operations for Networks database and this change must be performed by Broadcom Support.

Contact Broadcom Support by opening support case to obtain assistance with this. 

See Creating and managing Broadcom support cases.

Additional Information

The issue should not impact any newly added users in LDAP.