Bug 1196999
| Summary: | Guest can list virtual subscriptions although host hasn't attach physical one | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Liushihui <shihliu> | ||||
| Component: | Candlepin | Assignee: | William Poteat <wpoteat> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1.0 | CC: | bbuckingham, bkearney, cwelton, gxing, liliu, sgao, shihliu, tomckay, wpoteat | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-03-11 04:13:47 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: | |||||||
| Attachments: |
|
||||||
Created attachment 995963 [details]
manifest
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. We need to confirm that the host/guest relationship is available. Just the run of virt-who is not confirmation. I have taken this data and imported it into my local machine. I get the output above before the relationship is established, and the virtual pools do not show after the relationship is established. Please retest [the original test data appears to be gone from the beaker machine] and leave the data available for review for at least a week. Use the latest Satellite-6.1.0-RHEL-7-20150303.0 to do the same test as bug description. this bug still exit. Test env: All satellite related components have installed on the same machine. 1. Satellite server: phenom-01.ml3.eng.bos.redhat.com(beaker machine), login to the webUI with admin/admin, ssh login it with root/xxoo2014; this machine has been kept for 99 hours. 2. Host: system: rhel7.1 server; IP:10.66.100.108; ssh login it with root/redhat Guest: 3. system: rhel6.5(KVM guest) server; IP: 10.66.100.231; ssh login it with root/redhat [NOTE]: please see my manifest in attachment. Test Step: The same as this bug's description. Test result: The bug still exist. The same as this bug's description. Please retest this scenario in a build that contains the fix for BZ1196996. There was a problem causing virt-who being unable to update facts on the libvirt system. If the fix to the other BZ works, please close this as duplicate (due to same root cause). https://bugzilla.redhat.com/show_bug.cgi?id=1196996 Do the same test as bug's description on the latest Satellite-6.1.0-RHEL-7-20150310.0, guest only show physical subscriptions when host hasn't attach any subscriptions.Therefore, close it as duplicate (as Tom's request, see comment 6) *** This bug has been marked as a duplicate of bug 1196996 *** |
Description of problem: Although host hasn't attach any physical subscription which can generate virtual subscriptions, it still can list virtual subscriptions on the guest. it hasn't this problem on Satellite-6.0.4-RHEL-7-20150216.0 Version-Release number of selected component (if applicable): candlepin-0.9.43-1.el7.noarch.rpm foreman-1.7.2.6-1.el7sat.noarch.rpm katello-2.2.0.5-1.el7sat.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Register rhel7.1 host and guest to satellite server [root@hp-z220-05 ~]# subscription-manager register --username=admin --password=admin The system has been registered with ID: b8fe5576-6b97-48fc-ad85-753f3bcc614d 2. Restart virt-who service # systemctl restart virt-who 3. Make sure virt-who has send host/guest associate to satellite server 2015-02-27 17:26:42,720 [INFO] @libvirtd.py:186 - Using libvirt url: "" 2015-02-27 17:26:42,729 [DEBUG] @libvirtd.py:215 - Virtual machine found: 7.0_Server_x86_64: 0830b3b4-2e45-4c2e-8420-818c00d7e743 2015-02-27 17:26:42,730 [DEBUG] @libvirtd.py:221 - Virtual machine found: 6.5_Client_i386: 148d8fc0-6637-4cdc-a470-0ced83aa0307 2015-02-27 17:26:42,730 [DEBUG] @libvirtd.py:221 - Virtual machine found: 6.4_Server_x86_64: 6f04a680-1691-4362-8987-c1c2cee58afa 2015-02-27 17:26:42,731 [DEBUG] @libvirtd.py:221 - Virtual machine found: 5.10_Server_x86_64: 04f5d08b-7a07-455e-9da4-54715a4c6815 2015-02-27 17:26:42,931 [INFO] @subscriptionmanager.py:110 - Sending list of uuids: ['04f5d08b-7a07-455e-9da4-54715a4c6815', '0830b3b4-2e45-4c2e-8420-818c00d7e743', '148d8fc0-6637-4cdc-a470-0ced83aa0307', '6f04a680-1691-4362-8987-c1c2cee58afa'] 4. On the guest: Check the available subscriptions [root@localhost ~]# subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: RH0103708 Contract: 10697961 Pool ID: 8a90c2fe4bc99281014bc9ced5a902df Available: 40 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Enterprise Linux Server for HPC Compute Node, Self-support (8 sockets) (Up to 1 guest) Provides: Red Hat Beta Oracle Java (for RHEL Compute Node) Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node) Oracle Java (for RHEL Server) Red Hat Enterprise Linux for Scientific Computing SKU: RH0604852 Contract: 10697965 Pool ID: 8a90c2fe4bc99281014bc9cee19104d5 Available: 10 Suggested: 1 Service Level: SELF-SUPPORT Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: Smart Management Provides: SKU: RH00031 Contract: 10697967 Pool ID: 8a90c2fe4bc99281014bc9cee90905e3 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Resilient Storage (8 sockets) Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH1316844 Contract: 10697971 Pool ID: 8a90c2fe4bc99281014bc9cee07004a6 Available: Unlimited Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: CloudForms (10-pack) Provides: Red Hat Beta Red Hat Software Collections (for RHEL Server) Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) Red Hat CloudForms SKU: MCT2358 Contract: 10697962 Pool ID: 8a90c2fe4bc99281014bc9cee81705cc Available: 10 Suggested: 1 Service Level: Premium Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux for SAP applications, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux for SAP SKU: RH0274447 Contract: 10697951 Pool ID: 8a90c2fe4bc99281014bc9cee6ea059a Available: 10 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server for HPC Compute Node, Self-support (8 sockets) (Up to 1 guest) Provides: Red Hat Beta Oracle Java (for RHEL Compute Node) Red Hat Enterprise Linux High Performance Networking (for RHEL Compute Node) Oracle Java (for RHEL Server) Red Hat Enterprise Linux for Scientific Computing SKU: RH0604852 Contract: 10697965 Pool ID: 8a90c2fe4bc99281014bc9cee15904bf Available: 10 Suggested: 1 Service Level: SELF-SUPPORT Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: High Availability for Unlimited Guests Provides: Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH00059 Contract: 10697970 Pool ID: 8a90c2fe4bc99281014bc9cee3e5053a Available: Unlimited Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Enterprise Linux Server Beta Provides: Red Hat Container Images Beta Red Hat Enterprise Linux Atomic Host Beta SKU: RH00069 Contract: 10697959 Pool ID: 8a90c2fe4bc99281014bc9cede620454 Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux for SAP applications, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux for SAP SKU: RH0274447 Contract: 10697951 Pool ID: 8a90c2fe4bc99281014bc9cee72305b0 Available: 40 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Enterprise Linux High Touch Beta Provides: Red Hat Enterprise Linux 7 for IBM System z High Touch Beta Red Hat Enterprise Linux 7 Desktop High Touch Beta Red Hat Enterprise Linux 7 High Availability High Touch Beta Red Hat Enterprise Linux 7 for HPC Compute Node High Touch Beta Red Hat Enterprise Linux 7 for IBM POWER High Touch Beta Red Hat Enterprise Linux 7 Server High Touch Beta Red Hat Enterprise Linux 7 Workstation High Touch Beta Red Hat Enterprise Linux 7 Load Balancer High Touch Beta Red Hat Enterprise Linux 7 Resilient Storage High Touch Beta Red Hat Container Images HTB Red Hat Enterprise Linux Atomic Host HTB SKU: RH00076 Contract: 10697968 Pool ID: 8a90c2fe4bc99281014bc9ceda4703bb Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Scalable File System (8 sockets) Provides: Red Hat Enterprise Linux Scalable File System (for RHEL Server) SKU: RH1416373 Contract: 10697969 Pool ID: 8a90c2fe4bc99281014bc9cee5c40570 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Resilient Storage Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH00026 Contract: 10697955 Pool ID: 8a90c2fe4bc99281014bc9cedb3503e0 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Scalable File System (8 sockets) Provides: Red Hat Enterprise Linux Scalable File System (for RHEL Server) SKU: RH1416373 Contract: 10697969 Pool ID: 8a90c2fe4bc99281014bc9cee5fb0582 Available: Unlimited Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Employee Subscription Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux High Availability (for RHEL Server) Red Hat Enterprise Linux Workstation Red Hat Enterprise Linux Load Balancer (for RHEL Server) SKU: SYS0395 Contract: None Pool ID: 8a90c2fe4bc99281014bc9ced947039b Available: Unlimited Suggested: 1 Service Level: None Service Type: Self-Support Multi-Entitlement: No Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) Provides: Red Hat Enterprise Linux Server SKU: MCT3019 Contract: 10697960 Pool ID: 8a90c2fe4bc99281014bc9cee28204f1 Available: 10 Suggested: 1 Service Level: Premium Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) Provides: Red Hat Enterprise Linux Server SKU: MCT3019 Contract: 10697960 Pool ID: 8a90c2fe4bc99281014bc9cee2bc0508 Available: 40 Suggested: 1 Service Level: Premium Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Resilient Storage for Unlimited Guests Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH00060 Contract: 10697958 Pool ID: 8a90c2fe4bc99281014bc9cedd770438 Available: Unlimited Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat JBoss SOA Platform, 16 Core Premium Provides: JBoss Enterprise Application Platform Red Hat Enterprise MRG Messaging 2 JBoss Enterprise Web Server MRG Management SKU: MW0432545 Contract: 10697957 Pool ID: 8a90c2fe4bc99281014bc9ced3a402a4 Available: 10 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server, Premium (Physical or Virtual Nodes) Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) - Extended Update Support Red Hat Software Collections (for RHEL Server) Red Hat Enterprise Linux Atomic Host Beta Red Hat Enterprise Linux High Availability (for RHEL Server) - Extended Update Support Red Hat EUCJP Support (for RHEL Server) - Extended Update Support Red Hat Container Images Beta Red Hat Enterprise Linux Server - Extended Update Support Red Hat Beta Oracle Java (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux High Performance Networking (for RHEL Server) - Extended Update Support Red Hat Enterprise Linux Scalable File System (for RHEL Server) - Extended Update Support Oracle Java (for RHEL Server) Red Hat Enterprise Linux Load Balancer (for RHEL Server) - Extended Update Support Red Hat Container Images Red Hat Enterprise Linux Server Red Hat Enterprise Linux Atomic Host Red Hat Software Collections Beta (for RHEL Server) Red Hat S-JIS Support (for RHEL Server) - Extended Update Support Red Hat Developer Toolset (for RHEL Server) SKU: RH00003 Contract: 10697952 Pool ID: 8a90c2fe4bc99281014bc9cedf49046a Available: 10 Suggested: 1 Service Level: Premium Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Workstation Beta Provides: SKU: RH00074 Contract: 10697964 Pool ID: 8a90c2fe4bc99281014bc9ced23f0278 Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server Beta for HPC Compute Node Provides: SKU: RH00072 Contract: 10697956 Pool ID: 8a90c2fe4bc99281014bc9ced68e02fb Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server, Premium (8 sockets) (Up to 4 guests) Provides: Red Hat Beta Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: RH0103708 Contract: 10697961 Pool ID: 8a90c2fe4bc99281014bc9ced57002c9 Available: 10 Suggested: 1 Service Level: PREMIUM Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Resilient Storage (8 sockets) Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH1316844 Contract: 10697971 Pool ID: 8a90c2fe4bc99281014bc9cee03a0493 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Standard Provides: SKU: RH00050 Contract: 10697953 Pool ID: 8a90c2fe4bc99281014bc9ced81d0354 Available: Unlimited Suggested: 1 Service Level: Standard Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: SKU: RH00073 Contract: 10697966 Pool ID: 8a90c2fe4bc99281014bc9cedc1b03f6 Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux for Virtual Datacenters, Standard Provides: SKU: RH00002 Contract: 10697953 Pool ID: 8a90c2fe4bc99281014bc9ced7d30327 Available: 10 Suggested: 1 Service Level: Standard Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Desktop Beta Provides: SKU: RH00073 Contract: 10697966 Pool ID: 8a90c2fe4bc99281014bc9cedc500409 Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Resilient Storage for Unlimited Guests Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH00060 Contract: 10697958 Pool ID: 8a90c2fe4bc99281014bc9cedd3f0422 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: High Availability for Unlimited Guests Provides: Red Hat Enterprise Linux High Availability (for RHEL Server) SKU: RH00059 Contract: 10697970 Pool ID: 8a90c2fe4bc99281014bc9cee3ac0525 Available: 10 Suggested: 1 Service Level: Layered Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: All Add-On Beta Provides: SKU: RH00075 Contract: 10697954 Pool ID: 8a90c2fe4bc99281014bc9ced49002b7 Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Workstation Beta Provides: SKU: RH00074 Contract: 10697964 Pool ID: 8a90c2fe4bc99281014bc9ced2a7028b Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: Red Hat Employee Subscription Provides: Red Hat Enterprise Linux Resilient Storage (for RHEL Server) Oracle Java (for RHEL Server) Red Hat Enterprise Linux Server Red Hat Enterprise Linux High Availability (for RHEL Server) Red Hat Enterprise Linux Workstation Red Hat Enterprise Linux Load Balancer (for RHEL Server) SKU: SYS0395 Contract: None Pool ID: 8a90c2fe4bc99281014bc9ced90d0381 Available: 10 Suggested: 1 Service Level: None Service Type: Self-Support Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Subscription Name: Red Hat Enterprise Linux Server Beta for HPC Compute Node Provides: SKU: RH00072 Contract: 10697956 Pool ID: 8a90c2fe4bc99281014bc9ced6c4030e Available: 10 Suggested: 1 Service Level: Self-Support Service Type: L1-L3 Multi-Entitlement: Yes Ends: 12/30/2015 System Type: Virtual Subscription Name: OpenShift Enterprise Standard, 4 Core, 32 GB Provides: Red Hat Beta Red Hat OpenShift Enterprise Application Node Red Hat Software Collections (for RHEL Server) JBoss Enterprise Web Server Oracle Java (for RHEL Server) Red Hat OpenShift Enterprise Client Tools Red Hat Enterprise Linux Server Red Hat Software Collections Beta (for RHEL Server) SKU: MCT2738 Contract: 10697963 Pool ID: 8a90c2fe4bc99281014bc9cee4d40555 Available: 10 Suggested: 1 Service Level: Standard Service Type: L1-L3 Multi-Entitlement: No Ends: 12/30/2015 System Type: Physical Actual results: It can list virtual subscriptions on the guest Expected results: It shouldn't show the virtual subscriptions on the guest if host hasn't attach any subscriptions which can generate virtual one. Additional info: Please see the manifest in the attachment.