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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content