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.

Bug 835161

Summary: Extend CRL API to regen crl on disk
Product: Red Hat Satellite Reporter: James Bowes <jbowes>
Component: Subscription ManagementAssignee: Chris Duryee <cduryee>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: bkearney, cduryee, cpelland, gkhachik, hhovsepy, lzap, mmccune, omaciel, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged, ZStream
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 828313 Environment:
Last Closed: 2012-10-24 14:22:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 821644, 828313    
Bug Blocks:    

Comment 1 James Bowes 2012-06-25 17:40:16 UTC
Should be easy to fix, just move the file writing code the pinsetter job uses to somewhere both the pinsetter job and the resource can get it.

Comment 2 James Bowes 2012-06-25 17:42:21 UTC
will need a 0.6 branch and build off of that.

Comment 3 Lukas Zapletal 2012-06-26 08:20:38 UTC
So are we going to change the /candlepin/crl url or you are going to implement this feature on this exact url?

Comment 4 Garik Khachikyan 2012-06-26 08:28:03 UTC
giving QE-ack here. serious issue to get fixed.

Comment 5 Chris Duryee 2012-06-27 20:23:38 UTC
Lukáš,

The URL will remain the same, I am going to just have it write to disk when called.

Comment 6 Chris Duryee 2012-06-28 16:50:47 UTC
this is fixed in 0.7

614354f15c138 master 0.7.4+

I still need to apply the patch to 0.6 branch

Comment 8 Lukas Zapletal 2012-08-03 09:00:36 UTC
QA: To test this feature, please see:

https://bugzilla.redhat.com/show_bug.cgi?id=821644

Comment 9 Hayk Hovsepyan 2012-09-05 07:53:07 UTC
Tested on revision:
katello-glue-candlepin-1.1.9-1.git.95.0ed1e6f.el6.noarch
katello-configure-1.1.7-1.el6.noarch
katello-repos-1.1.2-1.el6.noarch
qpid-cpp-client-0.14-16.el6.x86_64
qpid-cpp-server-ssl-0.14-16.el6.x86_64
pulp-common-1.1.12-1.el6.noarch 
katello-glue-pulp-1.1.9-1.git.95.0ed1e6f.el6.noarch
pulp-1.1.12-1.el6.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-agent-1.1.2-1.el6.noarch
qpid-cpp-server-0.14-16.el6.x86_64
qpid-cpp-client-ssl-0.14-16.el6.x86_64
python-oauth2-1.5.170-2.pulp.el6.noarch
katello-certs-tools-1.1.8-1.el6.noarch
candlepin-selinux-0.7.8.2-1.el6.noarch
katello-glue-foreman-1.1.9-1.git.95.0ed1e6f.el6.noarch
pulp-selinux-server-1.1.12-1.el6.noarch
katello-1.1.9-1.git.95.0ed1e6f.el6.noarch
candlepin-tomcat6-0.7.8.2-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-1.1.5-1.git.100.1b905cf.el6.noarch
python-qpid-0.14-8.el6.noarch
candlepin-0.7.8.2-1.el6.noarch
katello-common-1.1.9-1.git.95.0ed1e6f.el6.noarch
katello-selinux-1.1.1-1.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-common-1.1.5-1.git.100.1b905cf.el6.noarch
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.3-3.pulp.el6.x86_64


Now "admin crl_regen" regenerates "/var/lib/candlepin/candlepin-crl.crl" file and described problems are fixed.

Comment 10 Mike McCune 2012-10-24 14:22:03 UTC
closing, currentrelease since these seemingly got missed in the 1.0.1 errata

Comment 11 Hayk Hovsepyan 2012-12-04 15:17:29 UTC
Automated in method: "com.redhat.qe.katello.tests.e2e.CRLRegen.test_crl_regen()"

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