Bug 1136744
| Summary: | When a instance based subscription is healed on host, sub-pool is not created on guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Shwetha Kallesh <skallesh> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED WORKSFORME | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | dgoodwin, skallesh |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-08 11:29:28 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: | |||
| Bug Blocks: | 1125249 | ||
Additional info: On host: [root@shwetha-ws ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 3 Account: 12331131231 Serial: 599936545445175157 Pool ID: ff8080814839c7e6014839c87f3a15c9 Active: True Quantity Used: 10 Service Level: Standard Service Type: L1-L3 Status Details: Subscription Type: Instance Based Starts: 09/03/2014 Ends: 09/03/2015 System Type: Physical [root@shwetha-ws ~]# curl -k -u admin:admin https://10.70.35.80:8443/candlepin/pools/ff8080814839c7e6014839c87f3a15c9 | python -mjson.tool | grep virt_limit -A3 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 101 4657 0 4657 0 0 20987 0 --:--:-- --:--:-- --:--:-- 239k "name": "virt_limit", "productId": "awesomeos-instancebased", "updated": "2014-09-03T04:31:54.170+0000", "value": "1" Moving bugs to 6.7 Moving bugs to 6.7 Moving bugs to 6.7 Hi Shwetha, could we get a re-test of this? We suspect it's working now. It working fine now.
[root@dhcp35-236 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.47-1
subscription management rules: 5.14
subscription-manager: 1.14.1-1.el6
python-rhsm: 1.14.1-1.el6
On the host :
[root@dhcp35-236 ~]# subscription-manager remove --all
1 subscription removed at the server.
1 local certificate has been deleted.
[root@dhcp35-236 ~]# service rhsmcertd restart
Stopping rhsmcertd... [FAILED]
Starting rhsmcertd... [ OK ]
[root@dhcp35-236 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Awesome OS Instance Based (Standard Support)
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-instancebased
Contract: 0
Account: 12331131231
Serial: 9128782146548725445
Pool ID: 8ac681e44c69cf7c014c69d0cf441b43
Provides Management: No
Active: True
Quantity Used: 6
Service Level: Standard
Service Type: L1-L3
Status Details: Subscription is current
Subscription Type: Instance Based
Starts: 03/30/2015
Ends: 03/29/2016
System Type: Physical
On the guest:
[root@dhcp35-135 ~]# subscription-manager list --avail --match-installed
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
Subscription Name: Awesome OS Instance Based one socket
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-onesocketib
Contract: 0
Pool ID: 8ac681e44c69cf7c014c69d0ce731b03
Provides Management: No
Available: 10
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 03/29/2016
System Type: Physical
Subscription Name: Awesome OS Instance Based one socket
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-onesocketib
Contract: 1
Pool ID: 8ac681e44c69cf7c014c69d0cb2219ce
Provides Management: No
Available: 20
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 03/29/2016
System Type: Physical
Subscription Name: Awesome OS Instance Based (Standard Support)
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-instancebased
Contract: 1
Pool ID: 8ac681e44c69cf7c014c69d0cce91a8e
Provides Management: No
Available: 20
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 03/29/2016
System Type: Physical
Subscription Name: Awesome OS Instance Based (Standard Support)
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-instancebased
Contract: 0
Pool ID: 8ac681e44c69cf7c014c98c1a3be6f83
Provides Management: No
Available: 1
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 03/29/2016
System Type: Virtual ------> virtual pool is now available
Subscription Name: Awesome OS Instance Based (Standard Support)
Provides: Awesome OS Instance Server Bits
SKU: awesomeos-instancebased
Contract: 0
Pool ID: 8ac681e44c69cf7c014c69d0cf441b43
Provides Management: No
Available: 4
Suggested: 1
Service Level: Standard
Service Type: L1-L3
Subscription Type: Instance Based
Ends: 03/29/2016
System Type: Physical
|
Description of problem: When a instance based subscription is healed on host, sub-pool is not created on guest but when auto-attached a sub-pool is created on guest Version-Release number of selected component (if applicable): On Guest: [root@localhost ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.26-1 subscription management rules: 5.11 subscription-manager: 1.12.13-1.el6 python-rhsm: 1.12.5-1.el6 On Host: [root@shwetha-ws ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.26-1 subscription management rules: 5.11 subscription-manager: 1.12.13-1.git.3.58ef205.el6 python-rhsm: 1.12.5-1.git.0.744254e.el6 How reproducible: Steps to Reproduce: Auto-attach on host [root@shwetha-ws ~]# subscription-manager register --org admin --force The system with UUID d371aa7d-3b8c-4257-8808-ef9a934880dd has been unregistered Username: admin Password: The system has been registered with ID: 5123d427-64a3-4a42-a206-b50b758d2fa3 [root@shwetha-ws ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Awesome OS Instance Server Bits Status: Subscribed List sub-pool on guest [root@localhost ~]# subscription-manager register --org admin --force The system with UUID b79976bc-4899-4435-bcf2-279e57d842da has been unregistered Username: admin Password: The system has been registered with ID: b55c025e-08ce-44ec-9a22-48cf9ec81e81 [root@localhost ~]# subscription-manager list --avail --match | grep Virtual -B11 Subscription Name: Awesome OS Instance Based (Standard Support) Provides: Awesome OS Instance Server Bits SKU: awesomeos-instancebased Contract: 3 Pool ID: ff8080814839c7e601483a9c11e21fd8 Available: 1 Suggested: 1 Service Level: Standard Service Type: L1-L3 Subscription Type: Instance Based Ends: 09/02/2015 System Type: Virtual healing on host [root@shwetha-ws ~]# subscription-manager register --org admin --force The system with UUID 5123d427-64a3-4a42-a206-b50b758d2fa3 has been unregistered Username: admin Password: The system has been registered with ID: af5d9813-82f7-4b3d-9903-303916760780 [root@shwetha-ws ~]# service rhsmcertd restart Stopping rhsmcertd... [ OK ] Starting rhsmcertd... [ OK ] [root@shwetha-ws ~]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Awesome OS Instance Server Bits Product ID: 32060 Version: 6.1 Arch: ALL Status: Subscribed Status Details: Starts: 09/03/2014 Ends: 09/03/2015 Now list subscriptions on guest [root@localhost ~]# subscription-manager register --org admin --force The system with UUID b55c025e-08ce-44ec-9a22-48cf9ec81e81 has been unregistered Username: admin Password: The system has been registered with ID: 0758d47a-635a-4cbb-af4b-56364b470e63 [root@localhost ~]# subscription-manager list --avail --match | grep Virtual -B11 Actual results: Expected results: Additional info: