Bug 734867
Summary: | subscription-manager subscribe --auto fails against stage on a rhel-6-server system | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | John Sefler <jsefler> |
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.5 | CC: | bkearney, khong, mkhusid, skallesh, spandey |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Solaris | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-30 13:14:16 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: | 682238 |
Description
John Sefler
2011-08-31 17:05:14 UTC
fixed in candlepin master, 65a89acd At least i suspect it is. If so, we'll move it off subscription-manager Changing component to Entitlement/candlepin where this bug belongs. To verify against stage, we need a tagged build newer than 0.4.17 deployed in stage. Verifying this bug... With the deployment of candlepin 0.4.25 to the stage environment, this bug is fixed as demonstrated below.... [root@intel-s3ea2-04 ~]# rpm -q subscription-manager subscription-manager-0.96.17-1.el6.x86_64 [root@intel-s3ea2-04 ~]# grep hostname /etc/rhsm/rhsm.conf # Server hostname: hostname=subscription.rhn.stage.redhat.com proxy_hostname= [root@intel-s3ea2-04 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ ProductName: Red Hat Enterprise Linux 6 Server Version: 6.1 Arch: x86_64 Status: Not Subscribed Starts: Expires: [root@intel-s3ea2-04 ~]# subscription-manager register --username stage_test_12 --password redhat --autosubscribe The system has been registered with id: 11f57578-0840-459e-be37-fe6453305b1e Installed Product Current Status: ProductName: Red Hat Enterprise Linux 6 Server Status: Subscribed [root@intel-s3ea2-04 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Product Subscriptions +-------------------------------------------+ ProductName: Red Hat Enterprise Linux Server ContractNumber: 2635037 AccountNumber: 1508113 SerialNumber: 9101562701666144569 Active: True QuantityUsed: 1 Begins: 10/19/2011 Expires: 10/18/2012 [root@intel-s3ea2-04 ~]# subscription-manager facts --list | grep valid system.entitlements_valid: True [root@intel-s3ea2-04 ~]# subscription-manager unsubscribe --all [root@intel-s3ea2-04 ~]# subscription-manager facts --list | grep valid system.entitlements_valid: False [root@intel-s3ea2-04 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ ProductName: Red Hat Enterprise Linux 6 Server Version: 6.1 Arch: x86_64 Status: Not Subscribed Starts: Expires: [root@intel-s3ea2-04 ~]# subscription-manager subscribe --auto Installed Product Current Status: ProductName: Red Hat Enterprise Linux 6 Server Status: Subscribed [root@intel-s3ea2-04 ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ ProductName: Red Hat Enterprise Linux 6 Server Version: 6.1 Arch: x86_64 Status: Subscribed Starts: 10/19/2011 Expires: 10/18/2012 [root@intel-s3ea2-04 ~]# subscription-manager facts --list | grep valid system.entitlements_valid: True [root@intel-s3ea2-04 ~]# ^^^^ Both autosubscribe during the registration and during a subscribe call are now passing with candlepin 0.4.25 deployed to stage test environment. Moving to VERIFIED |