Bug 840532

Summary: Generating client-side entitlements fails
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: mkovacik
Component: RHUAAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: kbidarka, sghai, tsanders, whayutin
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: 2012-07-16 15:45:57 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:
Description Flags
Screen log none

Description mkovacik 2012-07-16 14:47:08 UTC
Created attachment 598466 [details]
Screen log

Description of problem:
Generating client-side entitlements fails with an unexpected error. .rhui/rhui.log shows a stack dump:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 86, in safe_listen
    self.listen(clear=first_run)
  File "/usr/lib/python2.6/site-packages/rhui/tools/shell.py", line 112, in listen
    Shell.listen(self)
  File "/usr/lib/python2.6/site-packages/rhui/common/shell.py", line 186, in listen
    item.func(*args, **item.kwargs)
  File "/usr/lib/python2.6/site-packages/rhui/tools/screens/client.py", line 88, in generate
    if repo['repo_id'] not in cluster['repo_ids']:
KeyError: 'repo_id'


Version-Release number of selected component (if applicable):
RHEL-6.3-RHUI-2.1-20120705.0-Server-x86_64-DVD1.iso

How reproducible:
1of1

Steps to Reproduce:
1. create CDS cluster
2. add and sync RHEL contents to the cluster 
3. create custom protected repository and upload contents
4. generate entitlement for client
5. stack dupmed

  
Actual results:
Unable to generate client entitlement

Expected results:
Client entitlement generated

Additional info:
see the attached screen log

Comment 1 wes hayutin 2012-07-16 15:45:57 UTC

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