spacewalk-splice-checkin is failing with "TypeError: ungrant_full_admin() takes exactly 3 non-keyword arguments (2 given)" on SAM 1.3 when configured for Enhanced Entitlements Reporting with Red Hat Satellite 5.6

Solution Verified - Updated -

Issue

  • spacewalk-splice-checkin is failing with "TypeError: ungrant_full_admin() takes exactly 3 non-keyword arguments (2 given)" on SAM 1.3 when configured for Enhanced Entitlements Reporting with Red Hat Satellite 5.6
  • Spacewalk-splice-checkin' is failing with below mentioned error message:
[root@SAM ~]# su - splice -s /bin/bash
-bash-4.1$ spacewalk-splice-checkin
Traceback (most recent call last):
  File "/usr/bin/spacewalk-splice-checkin", line 100, in <module>
    checkin.main(opts)
  File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 225, in main
    spacewalk_sync(options)
  File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/checkin.py", line 160, in spacewalk_sync
    kps.update_roles(sw_user_list)
  File "/usr/lib/python2.6/site-packages/spacewalk_splice_tool/katello_sync.py", line 184, in update_roles
    self.katello_client.ungrant_full_admin(kt_user=kt_users[kt_username])
TypeError: ungrant_full_admin() takes exactly 3 non-keyword arguments (2 given)

Environment

  • Subscription Asset Manager 1.3 (configured for Enhanced Entitlements Reporting)
  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.