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.
Bug 1465468 - subscription-manager register result to Task :ActiveRecord::RecordNotFound: Couldn't find User with 'id'=1 [WHERE (1=0)]
Summary: subscription-manager register result to Task :ActiveRecord::RecordNotFound: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.3.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-27 13:38 UTC by Djebran Lezzoum
Modified: 2019-04-01 20:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:51:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 19970 0 Normal Closed Error on registering a host 2020-07-05 23:26:45 UTC

Comment 2 Roman Plevka 2017-06-28 06:17:55 UTC
Workaround: run the subscription-manager register again.

Comment 3 Justin Sherrill 2017-07-03 16:48:45 UTC
Connecting redmine issue http://projects.theforeman.org/issues/19970 from this bug

Comment 4 Nikhil Kathole 2017-08-30 07:55:48 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 13

steps:

1. Created Organization 
2. Created a product with custom yum repo and synchronized
3. Created a content view 
4. Added the the yum repository to content view and publish, promote to lifecycle enviornment 
5. Created an activation key
6. Installed on host -> rpm -Uvh http://<satellite>/pub/katello-ca-consumer-latest.noarch.rpm
7. on host -> subscription-manager register --org="testing" --activationkey="testing_subscription"

Host successfully subscribed and shows repos through "yum repolist".

Comment 6 Bryan Kearney 2018-02-21 16:44:25 UTC
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-2018:0336

Comment 7 Satellite Program 2018-02-21 16:51:07 UTC
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-2018:0336


Note You need to log in before you can comment on or make changes to this bug.