client returning error: Invalid client version 1; must be one of: v1

Bug #1705322 reported by Thiago da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-barbicanclient
Fix Released
Undecided
Thiago da Silva

Bug Description

recent refactor seems to have caused a regression
with the client default version, using openstack
client causes this error:

Invalid client version 1; must be one of: v1

Traceback from openstack client:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 113, in run
    column_names, data = self.take_action(parsed_args)
  File "/opt/stack/python-barbicanclient/barbicanclient/barbican_cli/v1/secrets.py", line 120, in take_action
    obj_list = self.app.client_manager.key_manager.secrets.list(
  File "/usr/local/lib/python2.7/dist-packages/osc_lib/clientmanager.py", line 47, in __get__
    self._handle = self.factory(instance)
  File "/opt/stack/python-barbicanclient/barbicanclient/osc_plugin.py", line 30, in make_client
    region_name=instance._region_name)
  File "/opt/stack/python-barbicanclient/barbicanclient/client.py", line 178, in Client
    raise exceptions.UnsupportedVersion(msg)
UnsupportedVersion: Invalid client version 1; must be one of: v1

Changed in python-barbicanclient:
assignee: nobody → Thiago da Silva (thiagodasilva)
Changed in python-barbicanclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-barbicanclient (master)

Reviewed: https://review.openstack.org/484926
Committed: https://git.openstack.org/cgit/openstack/python-barbicanclient/commit/?id=c4971898c48f0010d6b96b9ffa28aa2bf8739268
Submitter: Jenkins
Branch: master

commit c4971898c48f0010d6b96b9ffa28aa2bf8739268
Author: Thiago da Silva <email address hidden>
Date: Tue Jul 18 15:45:17 2017 -0400

    fix default version

    recent refactor seems to have caused a regression
    with the client default version, using openstack
    client causes this error:

    Invalid client version 1; must be one of: v1

    Closes-Bug: 1705322
    Change-Id: Ib3d8efce41c00ab8573461ea30357d1a611529e5
    Signed-off-by: Thiago da Silva <email address hidden>

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

This issue was fixed in the openstack/python-barbicanclient 4.5.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.