Bug 1367421 - Cannot assign subscription due to corrupt subscription list
Summary: Cannot assign subscription due to corrupt subscription list
Keywords:
Status: CLOSED DUPLICATE of bug 1362194
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-16 11:36 UTC by Sebastian Hetze
Modified: 2016-08-17 01:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-17 01:01:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot showing the corrupt subscription list (102.19 KB, image/png)
2016-08-16 11:36 UTC, Sebastian Hetze
no flags Details
Setup script for Sat6.2 installation to reproduce the error. (70.14 KB, application/x-shellscript)
2016-08-16 11:38 UTC, Sebastian Hetze
no flags Details

Description Sebastian Hetze 2016-08-16 11:36:56 UTC
Created attachment 1191222 [details]
Screenshot showing the corrupt subscription list

Description of problem:
It is not possible to assign subscriptions for some custom products to an activation key.

The list of subcriptions is corrupted.

Some products are missing in the list of assignable subscriptions. Instead, some subsciptions appear named "null".
See attached screenshot.


Version-Release number of selected component (if applicable):
yum info foreman
Version     : 1.11.0.49
Release     : 1.el7sat

How reproducible:
Reproducible with attached sat62-setup script.

Steps to Reproduce:
1. Install RHEL-7, prepare external IPA instance
2. customize sat62-setup script for your environment
3. run the script

Actual results:
Script fails with error:
Could not add subscription to activation key:
  Couldn't find Katello::Pool with 'id'=

Expected results:
creation of activation keys must succeed for all created custom products.

Additional info:
A 'foreman-rake katello:reindex' seems to fix the problem.

Comment 1 Sebastian Hetze 2016-08-16 11:38:36 UTC
Created attachment 1191223 [details]
Setup script for Sat6.2 installation to reproduce the error.

Comment 2 Brad Buckingham 2016-08-17 01:01:01 UTC

*** This bug has been marked as a duplicate of bug 1362194 ***


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