Bug 856185

Summary: cross-org. guest registration requires flexguest entitlement, even though it is not consumed
Product: Red Hat Satellite 5 Reporter: Matej Kollar <mkollar>
Component: ServerAssignee: Jan Pazdziora <jpazdziora>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 550CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 20:10:24 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: 462714    

Description Matej Kollar 2012-09-11 12:14:50 UTC
Description of problem:

  Registering virtual guest to OrgB that running on OrgA requires OrgB to
  have appropriate Flex/Regular entitlement even when host have Virtualization
  Platform entitlement and guest does not consume any.

Version-Release number of selected component (if applicable):


How reproducible: always/deterministic


Steps to Reproduce:

  0.5 Prepare Sat55
  1.  Register host (virtualization capable), add Virtualization platform
  2.  Create OrgB
  3.  Create virtual guest, try to register to OrgB
  
Actual results:

  Registration fails with message about not having enough subscription
  permissions... rhnreg_ks goes like:

  > Error Class Code: 71
  > Error Class Info: 
  >      You do not have subscription permission to the designated channel.
  >      Please refer to your organization's channel or organization
  >      administrators for further details.
  > Explanation: 
  >      An error has occurred while processing your request. If this problem
  >      persists please enter a bug report at bugzilla.redhat.com.
  >      If you choose to submit the bug report, please be sure to include
  >      details of what you were trying to do when this error occurred and
  >      details on how to reproduce this problem.

  Adding either Regular or Flex Software Channel Entitlement for
  "Red Hat Enterprise Linux Server (v. 6)" (in my case, as I was
  using RHEL 6 for experimenting) made it work, (no entitlement
  was shown as consumed though).

Expected results:

  If the guest is for free, why having free entitlement is required?
  I expect registration to work even without having >0 entitlements.

Additional info:

  Might be connected with Bug 634263.