Description of problem: Observed that auto-heal process kept attaching subscriptions to guest machine Version-Release number of selected component (if applicable): # subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.45-1 subscription management rules: 5.14 subscription-manager: 1.14.1-1.el6 python-rhsm: 1.14.1-1.el6 How reproducible: always Steps to Reproduce: 1.Set auto-attach interval to say 3mins 2.Wait for the auto-attach process to complete 3.installed list after auto-heal # subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Awesome OS Server Bits Product ID: 37060 Version: 6.1 Arch: ALL Status: Partially Subscribed Status Details: Guest has not been reported on any host and is using a temporary unmapped guest subscription. Starts: 03/03/2015 Ends: 03/02/2016 4. consumed list # subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS with unlimited virtual guests Provides: Awesome OS Server Bits SKU: awesomeos-virt-unlimited Contract: 3 Account: 12331131231 Serial: 7286602866793602638 Pool ID: ff8080814bde4380014bde4421d41a47 Provides Management: No Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Subscription is current Subscription Type: Standard Starts: 03/03/2015 Ends: 03/05/2015 System Type: Virtual 5. Wait for another 3mins , observed that another pool attached # subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS with unlimited virtual guests Provides: Awesome OS Server Bits SKU: awesomeos-virt-unlimited Contract: 3 Account: 12331131231 Serial: 7286602866793602638 Pool ID: ff8080814bde4380014bde4421d41a47 Provides Management: No Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Subscription is current Subscription Type: Standard Starts: 03/03/2015 Ends: 03/05/2015 System Type: Virtual Subscription Name: Awesome OS Virtual Datacenter Provides: Awesome OS Server Bits SKU: awesomeos-virt-datacenter Contract: 2 Account: 12331131231 Serial: 3200472637811871333 Pool ID: ff8080814bde4380014bde4421201a07 Provides Management: No Active: True Quantity Used: 1 Service Level: Service Type: Status Details: Subscription is current Subscription Type: Standard Starts: 03/03/2015 Ends: 03/05/2015 System Type: Virtual # subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Insufficient Awesome OS Server Bits: - Guest has not been reported on any host and is using a temporary unmapped guest subscription. Actual results: Observed that after every auto-heal check , subscriptions were attached to system Expected results: auto-heal should attach correct subscriptions to make the system compliant Additional info:
Observed that it happens even auto-attach , [root@dhcp35-188 ~]# subscription-manager register --force The system with UUID 3df63d78-2c12-49bd-96b2-ae485227581f has been unregistered Username: admin Password: Organization: admin The system has been registered with ID: b9ab72bc-c73f-4c33-a3ec-d13da8978641 [root@dhcp35-188 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Awesome OS Instance Server Bits Status: Partially Subscribed [root@dhcp35-188 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based one socket Provides: Awesome OS Instance Server Bits SKU: awesomeos-onesocketib Contract: 0 Account: 12331131231 Serial: 7954350025814026147 Pool ID: 8ac681e44bf828b6014bf82997e7072d Provides Management: No Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Instance Based Starts: 03/08/2015 Ends: 03/10/2015 System Type: Virtual [root@dhcp35-188 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Awesome OS Instance Server Bits Status: Partially Subscribed [root@dhcp35-188 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Awesome OS Instance Based one socket Provides: Awesome OS Instance Server Bits SKU: awesomeos-onesocketib Contract: 0 Account: 12331131231 Serial: 7954350025814026147 Pool ID: 8ac681e44bf828b6014bf82997e7072d Provides Management: No Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Instance Based Starts: 03/08/2015 Ends: 03/10/2015 System Type: Virtual Subscription Name: Awesome OS Instance Based one socket Provides: Awesome OS Instance Server Bits SKU: awesomeos-onesocketib Contract: 0 Account: 12331131231 Serial: 6791541804323653201 Pool ID: 8ac681e44bf828b6014bf82997e7072d Provides Management: No Active: True Quantity Used: 1 Service Level: Standard Service Type: L1-L3 Status Details: Subscription is current Subscription Type: Instance Based Starts: 03/08/2015 Ends: 03/10/2015 System Type: Virtual
master commit 3491c81457bb1e615d795696ff144b58574f9702
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.