Project

General

Profile

Actions

Bug #24641

open

subscription-manager register fails

Added by Martin Angermeier about 6 years ago. Updated about 6 years ago.

Status:
Needs design
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hi everybody,

we use Foreman 1.17 with Katello 3.6.0.

As you can see in the screenshot, we got RHEL 7.4 as installed product and RHEL 7.3 as os. If we try to unregister and re-register with subscription-manager unregister && subscription-manager remove --all && subscription-manager clean and subscription-manager register --org="ORG" --activationkey="KEY", we got the following error:

"Required lock is already taken by other running tasks.
Please inspect their state, fix their errors and resume them.

Required lock: update
Conflicts with tasks:
- https://FOREMAN_HOST/foreman_tasks/tasks/236fcfd3-2642-4201-bf82-83172ab52757"

Inspecting the task it has the state "stopped" and result "warning" including the following message:

Runtime Error com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.candlepin.model.Consumer["installedProducts"]->java.util.HashSet[1]) at org.candlepin.model.ConsumerInstalledProduct.equals:200

Maybe there is a connection between the os version and the product?

Regards,
Martin Angermeier


Files

host_os_vs_product.PNG View host_os_vs_product.PNG 12 KB Martin Angermeier, 08/17/2018 07:29 AM
Capture.PNG View Capture.PNG 18.6 KB Martin Angermeier, 08/22/2018 08:29 AM
Actions

Also available in: Atom PDF