| Summary: | Remove the rest of the flex expiry code | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | James Bowes <jbowes> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | CC: | bkearney |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-29 19:04:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 715031 | ||
|
Description
James Bowes
2011-11-16 13:06:11 UTC
*** This bug has been marked as a duplicate of bug 754425 *** This one's for the server side changes. the other is for client. fixed in b2c4f25b01ca07592 Verifying Version... [root@jsefler-f14-5candlepin candlepin]# git branch 0.2 0.3 0.4 * master [root@jsefler-f14-5candlepin candlepin]# git show-ref | grep master a772fdaa900260a49ddce9fb43a413c10345739d refs/heads/master a772fdaa900260a49ddce9fb43a413c10345739d refs/remotes/origin/master [root@jsefler-onprem-5server ~]# rpm -q subscription-manager subscription-manager-0.98.9-1.git.0.ca56fd1.el5_7 Reference: https://docspace.corp.redhat.com/docs/DOC-30244 Once upon a time the OID structure of a content namespace was the following: 1.3.6.1.4.1.2312.9.2.<content_hash>.1 (Yum repo type)) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.1 (Name) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.2 (Label) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.3 (Physical Entitlements) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.4 (Flex Guest Entitlements) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.5 (Vendor ID) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.6 (Download URL) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.7 (GPG Key URL) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.8 (Enabled) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.9 (Metadata Expire Seconds) 1.3.6.1.4.1.2312.9.2.<content_hash>.1.10 (Required Tags) ^^^ Notice the *.1.4 (Flex Guest Entitlements) OID. For verification, I have subscribed to a pool and have been granted an entitlement. Let's use openssl to see the contents of the entitlement and verify the Flex Guest Entitlements OID has been removed... [root@jsefler-onprem-5server ~]# openssl x509 -text -in /etc/pki/entitlement/2964798287279585223.pem | grep -A1 1.3.6.1.4.1.2312.9.2 1.3.6.1.4.1.2312.9.2.0.1: ..yum 1.3.6.1.4.1.2312.9.2.0.1.1: ..never-enabled-content 1.3.6.1.4.1.2312.9.2.0.1.2: ..never-enabled-content 1.3.6.1.4.1.2312.9.2.0.1.5: ..test-vendor 1.3.6.1.4.1.2312.9.2.0.1.6: ../foo/path/never 1.3.6.1.4.1.2312.9.2.0.1.7: ../foo/path/never/gpg 1.3.6.1.4.1.2312.9.2.0.1.8: ..0 1.3.6.1.4.1.2312.9.2.0.1.9: ..600 1.3.6.1.4.1.2312.9.2.1.1: ..yum 1.3.6.1.4.1.2312.9.2.1.1.1: ..always-enabled-content 1.3.6.1.4.1.2312.9.2.1.1.2: ..always-enabled-content 1.3.6.1.4.1.2312.9.2.1.1.5: ..test-vendor 1.3.6.1.4.1.2312.9.2.1.1.6: ../foo/path/always 1.3.6.1.4.1.2312.9.2.1.1.7: ../foo/path/always/gpg 1.3.6.1.4.1.2312.9.2.1.1.8: ..1 1.3.6.1.4.1.2312.9.2.1.1.9: ..200 1.3.6.1.4.1.2312.9.2.2.1: ..yum 1.3.6.1.4.1.2312.9.2.2.1.1: ..tagged-content 1.3.6.1.4.1.2312.9.2.2.1.2: ..tagged-content 1.3.6.1.4.1.2312.9.2.2.1.5: ..test-vendor 1.3.6.1.4.1.2312.9.2.2.1.6: ../foo/path/always 1.3.6.1.4.1.2312.9.2.2.1.7: ../foo/path/always/gpg 1.3.6.1.4.1.2312.9.2.2.1.8: ..1 1.3.6.1.4.1.2312.9.2.2.1.10: ..TAG1,TAG2 1.3.6.1.4.1.2312.9.2.1111.1: ..yum 1.3.6.1.4.1.2312.9.2.1111.1.1: ..content 1.3.6.1.4.1.2312.9.2.1111.1.2: content-label . 1.3.6.1.4.1.2312.9.2.1111.1.5: ..test-vendor 1.3.6.1.4.1.2312.9.2.1111.1.6: ../foo/path 1.3.6.1.4.1.2312.9.2.1111.1.7: ../foo/path/gpg/ 1.3.6.1.4.1.2312.9.2.1111.1.8: ..1 1.3.6.1.4.1.2312.9.2.1111.1.9: ..0 [root@jsefler-onprem-5server ~]# ^^^ VERIFIED. The 1.4 (Flex Guest Entitlements) OID is not present in any of these content namespaces. |