Red Hat Bugzilla – Bug 966229
register() api binding needs installed_products param
Last modified: 2013-10-01 07:10:50 EDT
Description of problem:
the katello python api bindings do not support the "installed_products" parameter, which is needed by spacewalk-splice-tool.
Can the following commit be cherry-picked into katello-cli?
Version-Release number of selected component (if applicable):
How reproducible: every time
Steps to Reproduce:
1. run spacewalk-splice-tool --spacewalk-sync
Traceback (most recent call last):
File "/usr/bin/spacewalk-splice-checkin", line 72, in <module>
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 562, in main
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 518, in spacewalk_sync
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 429, in upload_to_katello
File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_connect.py", line 130, in createConsumer
facts=facts, activation_keys=None, cp_type='system', installed_products=installed_products)
TypeError: register() got an unexpected keyword argument 'installed_products'
Expected results: successful run
Moving to ON_QA for drop 2.
@Chris: not sure how you produced the bug as for me all the tries to install the spacewalk-splice-tool ends up on requiring splice-common which IS in brew but never built.
So please: i need more details (and rpms built with all deps there pls) thanks in advance.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.