Bug 640681 - system.listFlexGuests(key) returns channel, which doesn't have flex entitlement
Summary: system.listFlexGuests(key) returns channel, which doesn't have flex entitlement
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Virtualization
Version: 540
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Jiri Kastner
URL:
Whiteboard:
Depends On:
Blocks: sat541-triage
TreeView+ depends on / blocked
 
Reported: 2010-10-06 15:35 UTC by Jiri Kastner
Modified: 2012-04-02 12:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-30 11:45:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jiri Kastner 2010-10-06 15:35:15 UTC
Description of problem:
when logged 

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

How reproducible:


Steps to Reproduce:
1. prepare satellite
2. activate satellite with some flex entitlement certificate
3. register virtual guest to flex entitled channel
4. using snippet in comment call system.listFlexGuests
5. check results
  
Actual results:
returned two channels of same host, where rhn-tools channel has no flex entitlements

Expected results:
returned corresp. channels, where are some flex entitlements.

Additional info:

Comment 3 Milan Zázrivec 2011-05-30 11:45:34 UTC
satellite-schema-5.4.0.13-1 / spacewalk-java-1.2.39-81

I tried the scenario described in the initial comment and the results
I got were completely sane.

system.listFlexGuests() returns list of channel families and list of system
ids consuming flex entitlement from respective channel family pool.

system.listEligibleFlexGuests() returns list of channel families and list of
system ids eligible to consume flex entitlement from respective channel family
pool.

I'm closing this w/ worksforme.


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