fedkerb plugin has wrong number of arguments

Bug #1622079 reported by Adam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystoneauth
Fix Released
High
Adam Young

Bug Description

Running OSC with v3fedkerb specified as the auth plugin filas with the following stack trace

Traceback (most recent call last):
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/cliff/app.py", line 268, in run
    result = self.run_subcommand(remainder)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/cliff/app.py", line 381, in run_subcommand
    self.prepare_to_run_command(cmd)
  File "/opt/stack/python-openstackclient/openstackclient/shell.py", line 196, in prepare_to_run_command
    return super(OpenStackShell, self).prepare_to_run_command(cmd)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/osc_lib/shell.py", line 429, in prepare_to_run_command
    self.client_manager.setup_auth()
  File "/opt/stack/python-openstackclient/openstackclient/common/clientmanager.py", line 78, in setup_auth
    self._cli_options.config,
  File "/opt/stack/python-openstackclient/openstackclient/common/client_config.py", line 191, in load_auth_plugin
    auth_plugin = loader.load_from_options(**config['auth'])
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/keystoneauth1/loading/identity.py", line 100, in load_from_options
    return super(BaseV3Loader, self).load_from_options(**kwargs)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 164, in load_from_options
    return self.create_plugin(**kwargs)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 125, in create_plugin
    return self.plugin_class(**kwargs)
  File "/opt/stack/python-openstackclient/.tox/py27/lib/python2.7/site-packages/keystoneauth1/extras/kerberos/__init__.py", line 80, in __init__
    super(MappedKerberos, self).__init__(*args, **kwargs)
TypeError: __init__() takes exactly 4 arguments (2 given)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystoneauth (master)

Fix proposed to branch: master
Review: https://review.openstack.org/368288

Changed in keystoneauth:
assignee: nobody → Adam Young (ayoung)
status: New → In Progress
Changed in keystoneauth:
assignee: Adam Young (ayoung) → Steve Martinelli (stevemar)
Changed in keystoneauth:
assignee: Steve Martinelli (stevemar) → Adam Young (ayoung)
importance: Undecided → High
Changed in keystoneauth:
assignee: Adam Young (ayoung) → Steve Martinelli (stevemar)
Changed in keystoneauth:
assignee: Steve Martinelli (stevemar) → Adam Young (ayoung)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystoneauth (master)

Reviewed: https://review.openstack.org/368288
Committed: https://git.openstack.org/cgit/openstack/keystoneauth/commit/?id=1306c8b0e1d9b1413bfcb03e398ac6b31509d942
Submitter: Jenkins
Branch: master

commit 1306c8b0e1d9b1413bfcb03e398ac6b31509d942
Author: Adam Young <email address hidden>
Date: Fri Sep 9 23:27:26 2016 -0400

    Fix parameters for Kerberos Auth Plugin

    The auth plugin was not loading when called from the CLI due to the
    mismatch of variable argument parameter calling convention. This was
    due in part to not specfying the parameters properly in the plugin, and
    also due to extending from the wrong base class.

    Closes-Bug: #1622079

    Change-Id: I37a8320b61e7468c173f81348b0a7dd0ee1ad966

Changed in keystoneauth:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystoneauth 2.13.0

This issue was fixed in the openstack/keystoneauth 2.13.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.