Bug 601848
Summary: | extra copies of entitlement cert created by rhsm daemon | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | wes hayutin <whayutin> |
Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED ERRATA | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | bkearney, ckannan, jsefler, shaines |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:37:10 UTC | Type: | --- |
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: | |||
Bug Blocks: | 568421 |
Description
wes hayutin
2010-06-08 18:35:37 UTC
we will try to recreate I just recreated this on jsefler's test box.. need to add doc [root@localhost src]# ./subscription-manager-cli unregister [root@localhost src]# ./subscription-manager-cli register --username=xeops Error: username and password are required to register, try register --help. commit abe3337c15579b95c013d956890e6b85e70997f0 [root@localhost src]# --pass=redhat --type=candlepin --force^C [root@localhost src]# ./subscription-manager-cli register --username=xeops --pass=redhat --type=candlepin 0185848b-79c5-474f-a2a6-f829f6cae429 xeops [root@localhost src]# ./subscription-manager-cli list --available 0185848b-79c5-474f-a2a6-f829f6cae429 +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) w/ 24 x 7 Phone/Web Support ProductId: SYS0373 PoolId: 608 Quantity: 11 Expires: 2011-08-01 ProductName: Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets) ProductId: SYS0372 PoolId: 609 Quantity: 1 Expires: 2010-12-31 ProductName: JBoss jBPM Framework (for up to 4 CPUs), Premium (w/ 24 x 7 Phone/Web Support) ProductId: SYS0415 PoolId: 610 Quantity: 1 Expires: 2012-02-05 ProductName: Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets) ProductId: SYS0372 PoolId: 611 Quantity: 0 Expires: 2010-12-31 ProductName: RHN Provisioning + Management ProductId: SYS0081 PoolId: 612 Quantity: 0 Expires: 2010-12-31 ProductName: Red Hat Desktop Extension Pack ProductId: MCT0475 PoolId: 613 Quantity: 50 Expires: 2011-07-13 [root@localhost src]# ./subscription-manager-cli subscribe --pool=608 [root@localhost src]# ./subscription-manager-cli subscribe --pool=609 --pool=610 [root@localhost src]# ls /etc/pki/entitlement/product/ 1643(1).pem 1643.pem 1644.pem 1645.pem **************** LOG 2010-08-10 08:44:19,958 [INFO] _request() @connection.py:64 - work in insecure mode ?:True 2010-08-10 08:44:26,649 [INFO] _request() @connection.py:80 - response:[{"serial":1643}] 2010-08-10 08:44:26,650 [INFO] _request() @connection.py:81 - status code: 200 2010-08-10 08:44:26,652 [INFO] _request() @connection.py:62 - loading ca_file located at: /etc/pki/CA/candlepin.pem 2010-08-10 08:44:26,653 [INFO] _request() @connection.py:64 - work in insecure mode ?:True 2010-08-10 08:44:34,877 [INFO] _request() @connection.py:80 - response:[{"serial":{"id":1643,"expiration":"2011-08-01T04:00:00.000+0000","serial":1643,"revoked":false,"collected":false,"updated":"2010-08-10T16:44:15.915+0000","created":"2010-08- Expected (UEP) serial# [1643] Added (new) [sn:1643 (Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) (Legacy SVC0373),) @ /etc/pki/entitlement/product/1643.pem] Deleted (rogue): <NONE> Expired (not deleted): [sn:1643 (Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) (Legacy SVC0373),) @ /etc/pki/entitlement/product/1643.pem] Expired (deleted): <NONE> [sn:1644 (Red Hat Enterprise Linux Advanced Platform,) @ /etc/pki/entitlement/product/164 4.pem] [sn:1645 (JBoss jBPM Framework (for up to 4 CPUs), Premium,) @ /etc/pki/entitlement/produ ct/1645.pem] Deleted (rogue): <NONE> Expired (not deleted): [sn:1643 (Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) (Legacy SVC0373),) @ /etc/pki/entitlement/product/1643(1).pem] [sn:1645 (JBoss jBPM Framework (for up to 4 CPUs), Premium,) @ /etc/pki/entitlement/produ ct/1645.pem] [sn:1643 (Red Hat Enterprise Linux Advanced Platform, Premium (Unlimited Sockets) (Legacy SVC0373),) @ /etc/pki/entitlement/product/1643.pem] [sn:1644 (Red Hat Enterprise Linux Advanced Platform,) @ /etc/pki/entitlement/product/1644.pem] Expired (deleted): <NONE> subscription manager gets confused when certificates were in grace period. so it tries to write them again. fix in sha: 3c72819429d6a7fa3043179d7cd77c982e514b1e [root@jsefler-rhel6-client01 ~]# rpm -q subscription-manager subscription-manager-0.75-1.git.29.c3b1d88.fc12.i386 [root@jsefler-rhel6-client01 ~]# subscription-manager-cli unregister This system is currently not registered. [root@jsefler-rhel6-client01 ~]# subscription-manager-cli register --username=admin --pass=admin 8cd31b4d-6d0d-4869-8368-51d258b923b4 admin [root@jsefler-rhel6-client01 ~]# ls /etc/pki/product/ [root@jsefler-rhel6-client01 ~]# subscription-manager-cli list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: RHEL for Physical Servers ProductId: MKT-rhel-server PoolId: 1 Quantity: 10 Expires: 2011-09-06 ProductName: Basic RHEL Server ProductId: MKT-simple-rhel-server-mkt PoolId: 2 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL Workstation ProductId: MKT-rhel-workstation-mkt PoolId: 3 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Physical Servers ,2 Sockets, Standard Support with High Availability,Load Balancing,Shared Storage,Large File Support,Smart Management, Flexible Hypervisor(Unlimited) ProductId: MKT-rhel-physical-2-socket PoolId: 5 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Physical Servers ,2 Sockets, L1-L3, Premium Support ProductId: MKT-rhel-physical-servers-only PoolId: 6 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Physical Servers ,4 Sockets, L1-L3, Premium Support ProductId: MKT-rhel-physical-2-sockets-premium PoolId: 7 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Physical Servers ,2 Sockets, L1-L3, Basic Support ProductId: MKT-rhel-physical-2-sockets-basic PoolId: 8 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Premium Architectures ProductId: MKT-rhel-premium PoolId: 10 Quantity: 10 Expires: 2011-09-06 ProductName: RHEL for Premium Architectures, 16 socket, L1-L3, Standard support ProductId: MKT-rhel-prem-arch-16-socket-standard PoolId: 11 Quantity: 10 Expires: 2011-09-06 [root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe --pool=11 [root@jsefler-rhel6-client01 ~]# ls /etc/pki/product/ [root@jsefler-rhel6-client01 ~]# ls /etc/pki/entitlement/product/ 3.pem [root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe --pool=11 This consumer is already subscribed to the product matching pool with id '11' [root@jsefler-rhel6-client01 ~]# ls /etc/pki/entitlement/product/ 3.pem [root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe --pool=11 --pool=10 This consumer is already subscribed to the product matching pool with id '11' [root@jsefler-rhel6-client01 ~]# ls /etc/pki/entitlement/product/ 3.pem 4.pem [root@jsefler-rhel6-client01 ~]# subscription-manager-cli subscribe --pool=11 --pool=10 This consumer is already subscribed to the product matching pool with id '11' This consumer is already subscribed to the product matching pool with id '10' extra copies of entitlement cert are no longer being created Moving to VERIFIED An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |