Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1524528 - [RFE] Restrict a system to only auto-attach either host-provided subscriptions or temporary guest subscriptions
Summary: [RFE] Restrict a system to only auto-attach either host-provided subscription...
Keywords:
Status: CLOSED DUPLICATE of bug 1549253
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Subscriptions - virt-who
Version: 6.2.12
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks: 1650573
TreeView+ depends on / blocked
 
Reported: 2017-12-11 16:18 UTC by Rajan Gupta
Modified: 2023-10-06 17:41 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-10 14:17:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1401106 0 medium CLOSED [RFE] Subscription-Intent: Allow a user to express the intent of how a subscription should be used, using a rules based ... 2023-10-06 17:34:56 UTC

Internal Links: 1401106

Description Rajan Gupta 2017-12-11 16:18:24 UTC
Description of problem:
Auto-attach on the host running under hypervisor is assigning other subscriptions than VDC.

Auto-attach on the client is not assigning VDC subscriptions from its hypervisor and is taking any other available subscriptions.

Same is happening in case of VMotion of the hosts. A blank activation used to serve the purpose but now that is too failing to work.

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.2.12

Steps to Reproduce:
1. Configure virt-who and map all the hypervisor.
2. Add more subscriptions (physical/virtual) into the satellite.
3. Register a machine using auto attach and it assigns other subscriptions than VDC.

Actual results:
- VMs are assigning themselves a physical or any other subscriptions than VDC.

Expected results:
- VM should be able to inherit the VDC subscriptions when registering a machine.

Additional info:
Most of the issues are seen in 6.2.12.

Comment 2 Kevin Howell 2017-12-14 15:53:57 UTC
Rajan, if you can provide:
 - What are the installed products on the guest?
 - What are the attachments on the hypervisor at the time of the guest auto-attach?
 - What are the available subscriptions in the org?

(some of this is contained in the sosreport)

that would help us troubleshoot/diagnose.

Comment 3 Rajan Gupta 2017-12-14 16:18:22 UTC
Kevin,

Please find the answer to your query.

- What are the installed products on the guest?
A. 69.pem (RHEL)

 - What are the attachments on the hypervisor at the time of the guest auto-attach?
A. "Virtual Data center" (VDC) subscription was attached to the hypervisors

 - What are the available subscriptions in the org?
A. SAP HANA, Red Hat CloudForms, Premium or othe RHEL physical subscriptions.

Regards,
Rajan

Comment 4 Rajan Gupta 2017-12-21 19:11:29 UTC
Hello,

May I request for an update please?

Regards,
Rajan

Comment 5 vritant 2017-12-26 15:12:30 UTC
Rajan,
Apologies for the delayed response. Would appreciate some more information to help troubleshoot this issue.
1. the sos report requested in comment 2 , and
2. Please turn on debug logging on candlepin as per [1], run auto attach from a guest and share the candlepin logs, which should provide us with a lot more details as to what is happening during the autobind.






[1] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.1/html/user_guide/sect-red_hat_satellite-user_guide-maintaining_a_red_hat_satellite_server-enabling_debug_logging

Comment 6 Rajan Gupta 2017-12-26 16:30:27 UTC
Hello Vritant,

Thank you for replying back. I have asked the requested details from Cu and will share as soon as we get those.

Regards,
Rajan

Comment 12 Hayley Hudgeons 2019-04-10 14:17:47 UTC

*** This bug has been marked as a duplicate of bug 1549253 ***


Note You need to log in before you can comment on or make changes to this bug.