SUSE Support

Here When You Need Us

Subscription Matching fails to open

This document (000019585) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 4

SUSE Manager 3.2


Situation

Following screen can be seen when opening Subscription Matching after subscription matcher patching:

 

In /var/log/rhn/rhn_web_ui.log you can see below message:

 

ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
java.lang.NullPointerException
    at com.suse.manager.webui.services.subscriptionmatching.SubscriptionMatchProcessor.subscriptions(SubscriptionMatchProcessor.java:148)
    at com.suse.manager.webui.services.subscriptionmatching.SubscriptionMatchProcessor.getData(SubscriptionMatchProcessor.java:65)
    at com.suse.manager.webui.controllers.SubscriptionMatchingController.data(SubscriptionMatchingController.java:72)
    at com.suse.manager.webui.utils.SparkApplicationHelper.lambda$withRole$7(SparkApplicationHelper.java:258)
    at spark.RouteImpl$1.handle(RouteImpl.java:72)
    at spark.http.matching.Routes.execute(Routes.java:61)
    at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:130)

...


 

Resolution

1. log in as SUMA admin on webUI
2. go to Admin -> Task Schedules
3. select the 'gatherer-matcher-default'
4. go to 'gatherer-matcher-bunch'
5. click 'Single Run Schedule'
6. wait until the gatherer-matcher bunch finishes (you can watch that under 'Admin -> Task Engine Status'). It can take few minutes to finish.

Cause

The format of the subscription matcher output changed after fix, matcher needs to be rerun. This is done automatically usually at midnight, when gatherer-matcher runs. In case you need to use subscription matching right after patching, follow above mentioned steps.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019585
  • Creation Date: 10-Mar-2020
  • Modified Date:02-Apr-2020
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.