Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Registering a capsule with the activation key causes an error.
Version-Release number of selected component (if applicable):
6.5.0 snap 21
Steps to Reproduce:
1. Provision a capsule server
2. Host -> Content Hosts -> Register Content Host
3. Run the install for the pre-built bootstrap RPM from Register Content Host instruction on capsule
4. Content -> Activation Key -> Create Activation Key
5. Fill out info and submit
6. Run activation key commands on capsule
Actual results:
PG::DatatypeMismatch: ERROR: argument of AND must be type boolean, not type integer
LINE 1: ...s.eng.bos.redhat.com' OR (fact_values.fact_name_id = 448,592
^
: SELECT 1 AS one FROM "hosts" LEFT OUTER JOIN "fact_values" ON "fact_values"."host_id" = "hosts"."id" WHERE "hosts"."type" IN ('Host::Managed') AND (hosts.name = 'dell-per720xd-01.rhts.eng.bos.redhat.com' OR (fact_values.fact_name_id = 448,592
AND fact_values.value = '4C4C4544-0034-4D10-8047-C7C04F483032')) LIMIT $1
Expected results:
Successfully register content host
Additional info:
This may be caused by custom puppet fact of 'dmi::system::uuid'
Description from upstream issue (26480):
Steps to reproduce:
1. create a puppet fact with the name of 'dmi::system::uuid'
2. PuppetFactName.create(:name => 'dmi::system::uuid' )
3. try to register a system with sub-man
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, 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-2019:1222
Description of problem: Registering a capsule with the activation key causes an error. Version-Release number of selected component (if applicable): 6.5.0 snap 21 Steps to Reproduce: 1. Provision a capsule server 2. Host -> Content Hosts -> Register Content Host 3. Run the install for the pre-built bootstrap RPM from Register Content Host instruction on capsule 4. Content -> Activation Key -> Create Activation Key 5. Fill out info and submit 6. Run activation key commands on capsule Actual results: PG::DatatypeMismatch: ERROR: argument of AND must be type boolean, not type integer LINE 1: ...s.eng.bos.redhat.com' OR (fact_values.fact_name_id = 448,592 ^ : SELECT 1 AS one FROM "hosts" LEFT OUTER JOIN "fact_values" ON "fact_values"."host_id" = "hosts"."id" WHERE "hosts"."type" IN ('Host::Managed') AND (hosts.name = 'dell-per720xd-01.rhts.eng.bos.redhat.com' OR (fact_values.fact_name_id = 448,592 AND fact_values.value = '4C4C4544-0034-4D10-8047-C7C04F483032')) LIMIT $1 Expected results: Successfully register content host Additional info: This may be caused by custom puppet fact of 'dmi::system::uuid'