Bug 2038388
Summary: | Activation key issue with custom products on RHEL 6 | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jessica Richards <jrichards2> | |
Component: | Candlepin | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.10.0 | CC: | ahumbe, bshahu, iballou, jalviso, jbhatia, jsenkyri, lstejska, lufu, msunil, ngalvin, nmoumoul, obockows, redakkan, satellite6-bugs | |
Target Milestone: | 6.11.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-4.0.17-1, candlepin-4.1.12-1, candlepin-4.2.1-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2061787 2061788 (view as bug list) | Environment: | ||
Last Closed: | 2022-07-05 14:31:52 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1972059, 2061787, 2061788 | |||
Bug Blocks: |
Description
Jessica Richards
2022-01-07 19:07:14 UTC
A few more notes regarding this; Added an example of a customer hitting this issue in rhel 7.6 and older (including rhel 6 els). They could not reproduce on systems with newer sub-man versions. For this customer, the activation key also had custom and RH product attached. Also for this customer, removing all settings of a SLA, both at the org level and activation key level, also removed this error. We could easily reproduce by adding a SLA (service level) back to the key. However, so far unable to reproduce myself in-house. Logs for the error at the time seen here: ~~~ 2022-05-04 01:16:53,032 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] INFO org.candlepin.common.filter.LoggingFilter - Request: verb=POST, uri=/candlepin/environments/30-16/consumers/?activation_keys=f0d4e0fa-23e6-4b43-b586-f0aea94c4a82 2022-05-04 01:16:56,149 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] INFO org.candlepin.service.impl.DefaultEntitlementCertServiceAdapter - Generating entitlement cert for pool: Pool [id: 8aeb034a70635f2a017175c592030301, type: NORMAL, product: 974454914143, productName: Custom, quantity: -1] quantity: 1 entitlement id: 9ba9144b250143b58d21648bb7bb603c 2022-05-04 01:16:56,149 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] INFO org.candlepin.service.impl.DefaultEntitlementCertServiceAdapter - Creating X509 cert for product: Product [uuid: 8aeb034a808a8f9501808a9aaf360017, id: 974454914143, name: Custom] 2022-05-04 01:16:56,173 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] ERROR org.candlepin.resource.ConsumerResource - Problem creating unit: java.lang.NullPointerException: null at java.base/java.lang.String$CaseInsensitiveComparator.compare(String.java:1224) at java.base/java.lang.String$CaseInsensitiveComparator.compare(String.java:1218) ... at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) 2022-05-04 01:16:56,175 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] WARN org.candlepin.audit.EventSinkImpl - Rolling back ActiveMQ transaction. 2022-05-04 01:16:56,176 [thread=http-bio-127.0.0.1-23443-exec-5] [req=02f04ee1-0782-4599-9cde-cb213f98c28b, org=, csid=6d01de11-0440-49a3-af33-6702f559db78] INFO org.candlepin.common.filter.LoggingFilter - Response: status=400, content-type="application/json", time=3144 ~~~ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5498 HOTFIX INSTRUCTIONS FOR SATELLITE 6.10 If you need this hotfix, please content Red Hat support for guidance on obtaining and installing it. |