Bug 789034 - Candlepin needs to replace $env during cert generation
Summary: Candlepin needs to replace $env during cert generation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscription Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Devan Goodwin
QA Contact: Og Maciel
URL:
Whiteboard:
Depends On: 790417
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-02-09 16:14 UTC by Og Maciel
Modified: 2019-09-26 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 20:55:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Og Maciel 2012-02-09 16:14:51 UTC
Description of problem:

Candlepin should be replacing $env with the consumer's environment id during cert generation

Version-Release number of selected component (if applicable):

* katello-0.1.222-2.el6.noarch
* candlepin-0.5.16-1.el6.noarch
* pulp-0.0.265-1.el6.noarch

How reproducible:


Steps to Reproduce:
1. Register a RHEL 6.1 client
2.
3.
  
Actual results:

# yum repolist
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
https://qetello02.usersys.redhat.com/pulp/repos/NYDataCenter/%24env/custom/Katello/Testing/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"

Expected results:


Additional info:

Comment 1 Devan Goodwin 2012-02-09 18:12:38 UTC
Fixed in candlepin.git master: 60ebe2b7c08dad0729bac5e031c619f47bec9fb4

Appearing in candlepin-0.5.17-1.

$env (set by Katello as the org content prefix) will be expanded to the consumer's env ID if the consumer has an environment. The certificates sent to the client will have the hard coded value, and no longer need to replace $env in the resulting redhat.repo.

Comment 2 Og Maciel 2012-02-14 22:18:03 UTC
Still seeing this with candlepin-0.5.18-1.el6.noarch using both RHEL 6.1 and 6.2 clients.


* katello-cli-common-0.1.54-3.el6.noarch
* katello-common-0.1.235-2.el6.noarch
* katello-selinux-0.1.3-1.el6.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-glue-foreman-0.1.235-2.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-glue-candlepin-0.1.235-2.el6.noarch
* katello-all-0.1.235-2.el6.noarch
* katello-cli-0.1.54-3.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-glue-pulp-0.1.235-2.el6.noarch
* katello-0.1.235-2.el6.noarch
* katello-configure-0.1.64-3.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* candlepin-tomcat6-0.5.18-1.el6.noarch
* katello-glue-candlepin-0.1.235-2.el6.noarch
* candlepin-0.5.18-1.el6.noarch
* pulp-common-0.0.265-1.el6.noarch
* pulp-0.0.265-1.el6.noarch
* katello-glue-pulp-0.1.235-2.el6.noarch

Comment 3 Devan Goodwin 2012-02-15 14:36:37 UTC
Adding another bug dependency, fix will not be fully functioning until candlepin-0.5.19-1

Comment 4 Og Maciel 2012-02-23 18:23:55 UTC
Verified on:
* candlepin-0.5.22-1.el6.noarch
* candlepin-tomcat6-0.5.22-1.el6.noarch
* katello-0.1.300-1.el6.noarch
* katello-all-0.1.300-1.el6.noarch
* katello-certs-tools-1.0.2-2.el6.noarch
* katello-cli-0.1.100-2.el6.noarch
* katello-cli-common-0.1.100-2.el6.noarch
* katello-common-0.1.300-1.el6.noarch
* katello-configure-0.1.100-7.el6.noarch
* katello-glue-candlepin-0.1.300-1.el6.noarch
* katello-glue-foreman-0.1.300-1.el6.noarch
* katello-glue-pulp-0.1.300-1.el6.noarch
* katello-httpd-ssl-key-pair-1.0-1.noarch
* katello-qpid-broker-key-pair-1.0-1.noarch
* katello-repos-0.1.5-1.el6.noarch
* katello-selinux-0.1.7-1.el6.noarch
* katello-trusted-ssl-cert-1.0-1.noarch
* pulp-0.0.267-2.el6.noarch
* pulp-admin-0.0.267-2.el6.noarch
* pulp-client-lib-0.0.267-2.el6.noarch
* pulp-common-0.0.267-2.el6.noarch
* pulp-selinux-server-0.0.267-2.el6.noarch

Comment 5 Mike McCune 2013-08-16 18:14:10 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.