Bug 758858 - Headpin certificates do not contain content sets
Summary: Headpin certificates do not contain content sets
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: API
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks: 703617 katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-11-30 20:31 UTC by Bryan Kearney
Modified: 2019-09-25 21:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-27 00:32:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Bryan Kearney 2011-11-30 20:31:46 UTC
Do the following:

1) Install headpin from the https://fedorahosted.org/candlepin/wiki/headpin/Install
2) Import a manifest (example stageSamTestSimple20Nov2011.zip)
3) Reguster a machine
4) Consume a subscription
5) Open up the ssl certificate. Note, there are no content sets.

running the following shows no data:

Report bugs to <pgsql-bugs>.
[root@unused ~]# psql -U candlepin
psql (9.0.5)
Type "help" for help.
                 ^
candlepin=> select * from cp_content;

 id | created | updated | contenturl | gpgurl | label | metadataexpire | name | requiredtags | type | vendor 
----+---------+---------+------------+--------+-------+----------------+------+--------------+------+--------
(0 rows)

Comment 1 Devan Goodwin 2011-11-30 20:45:47 UTC
The zip listed above imports ok in candlepin if you submit it directly. Something wonky between Katello/Headpin and Candlepin?

Comment 2 Bryan Kearney 2011-11-30 21:02:15 UTC
yes, i think this is on the katello side: Lines 168/169 of glue/product.rb

      queue.create(:name => "delete imported products not assigned to any owner #{zip_file_path}",   :priority => 6, :action => [self, :delete_not_assigned_products])
      queue.create(:name => "delete imported content that have no repos #{zip_file_path}",           :priority => 7, :action => [self, :delete_not_assigned_content])

Comment 6 Mike McCune 2013-08-16 18:18:44 UTC
getting rid of 6.0.0 version since that doesn't exist


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