Description of problem: Guest can't auto attach the existed bonus pool which generated by hypervisor, it will auto-attach another bonus pool(the second bonus pool). it make hypervisor auto-attach another physical pool. Version-Release number of selected component (if applicable): virt-who-0.19-2.el7sat.noarch subscription-manager-1.17.15-1.el7.x86_64 python-rhsm-1.17.9-1.el7.x86_64 satellite-snapshot6.2.9-sp4 How reproducible: Always Steps to Reproduce: 1. Register a rhel system and a vm to satellite6.2.9-sp4 2. Configure the rhel system run at rhevm mode, then restart virt-who service, make sure virt-who send host/guest mapping info to satellite. [root@hp-z220-04 ~]# cat /etc/sysconfig/virt-who | grep -v ^# | grep -v ^$ VIRTWHO_DEBUG=1 VIRTWHO_INTERVAL=5 VIRTWHO_RHEVM=1 VIRTWHO_RHEVM_OWNER=Default_Organization VIRTWHO_RHEVM_ENV=Default_Organization VIRTWHO_RHEVM_SERVER=https://ent-02-vm-03.lab.eng.nay.redhat.com:443 VIRTWHO_RHEVM_USERNAME=admin@internal VIRTWHO_RHEVM_PASSWORD=redhat [root@hp-z220-04 ~]# systemctl restart virt-who 3.In satellite webUI, go to Hosts-->Content hosts-->rhevm hypervisor page, subscribe this pool"Red Hat Enterprise Linux for Virtual Datacenters, Standard" 4.In guest machine ,check the bonus pool "Red Hat Enterprise Linux for Virtual Datacenters, Standard" has been generated. [root@test1 ~]# subscription-manager list --available ......... Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Standard (DERIVED SKU) Provides: Red Hat Beta Red Hat Software Collections (for RHEL Server) Red Hat Enterprise Linux Atomic Host Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server dotNET on RHEL (for RHEL Server) Red Hat Enterprise Linux Atomic Host Red Hat Software Collections Beta (for RHEL Server) Red Hat Developer Toolset (for RHEL Server) SKU: RH00050 Contract: 11261867 Pool ID: 8ac9035a5b884cc6015ba2b079e47ae5 Provides Management: Yes Available: Unlimited Suggested: 0 Service Level: Standard Service Type: L1-L3 Subscription Type: Stackable Ends: 02/25/2018 System Type: Virtual 5.In guest machien, auto subscribe the datacenter bonus pool: [root@test1 ~]# subscription-manager subscribe --auto [root@test1 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server for PRIMEQUEST, Premium (2 sockets) (L3 Only) Provides: Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Server - Extended Update Support Red Hat Enterprise Linux Server Red Hat Enterprise Linux Atomic Host Red Hat EUCJP Support (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support dotNET on RHEL Beta (for RHEL Server) Red Hat Beta Red Hat Software Collections (for RHEL Server) dotNET on RHEL (for RHEL Server) Red Hat Enterprise Linux Atomic Host Beta Red Hat Developer Toolset (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support Red Hat Software Collections Beta (for RHEL Server) Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support Red Hat Container Images Red Hat Container Images Beta Red Hat S-JIS Support (for RHEL Server) - Extended Update Support SKU: RH00204 Contract: 11261862 Account: 5758125 Serial: 5127153978980112457 Pool ID: 8ac9035a5b884cc6015ba2a7b33b79e5 Provides Management: No Active: True Quantity Used: 1 Service Level: Premium Service Type: L3 Status Details: Subscription is current Subscription Type: Standard Starts: 02/26/2017 Ends: 02/25/2018 System Type: Virtual Actual results: Guest hasn't auto subcribe the existed bonus pool "Red Hat Enterprise Linux for Virtual Datacenters, Standard (DERIVED SKU)". it will auto attach another bonus pool which generated by hypervisor auto subscribe another physical pool. Expected results: Guest shouldn't auto attach another pool, it should auto attach the existed bonus pool "Red Hat Enterprise Linux for Virtual Datacenters, Standard (DERIVED SKU)" since this bonus pool also covered the product "Red Hat Enterprise Linux Server". Additional info:
What product are installed on the guest? What is the service level? (Please provide output of rhsm-debug system)
After research, guest has auto-attached the "non-datacenter virtual pool" before hypervisor subscribed datacenter physical pool. it is caused by run "subscription-manager auto-attach --disable" on guest's terminal, it's the same problem as bug 1444259. BTW: 1 Product: RHEL6.8 [root@6 tmp]# ll /etc/pki/product-default/ total 4 -rw-r--r--. 1 root root 2159 Apr 14 2016 69.pem 2 Server-level: Not set 3 rhsm-debug info is in attachment rhsm-debug.log
Closing as duplicate per comment 3 *** This bug has been marked as a duplicate of bug 1444259 ***