Tim Burke ac4b80bc0a authv1: Modernize returned service catalog
Keystone has only been returning v3 catalogs for a while now, so many
client libraries have dropped support for the old v2 catalogs. We should
switch to the new format so we stop causing KeyErrors like

    File ".../cliff/formatters/table.py", line 109, in add_rows
      table.add_row(_format_row(first_row))
                    ^^^^^^^^^^^^^^^^^^^^^^
    File ".../cliff/formatters/table.py", line 38, in _format_row
      r = r.human_readable()
          ^^^^^^^^^^^^^^^^^^
    File ".../openstackclient/identity/v3/catalog.py", line 37, in human_readable
      ret += "  {}: {}\n".format(ep['interface'], ep['url'])
                                 ~~^^^^^^^^^^^^^
  KeyError: 'interface'

(Previously seen while trying to run `openstack catalog show` with latest
python-openstackclient/osc-lib/openstacksdk -- but this used to work!)

Change-Id: Ie8726b97e1dde7d7bfd8e4215af6af52e1fd870e
Signed-off-by: Tim Burke <tim.burke@gmail.com>
2026-02-23 09:36:11 -08:00
2014-03-25 11:36:39 +00:00
2023-03-21 13:07:04 -07:00
2022-01-12 10:19:50 +01:00
2025-11-11 11:17:41 -08:00
2018-07-13 11:24:24 -07:00
2018-11-05 09:52:03 +07:00
2019-04-19 19:32:30 +00:00
2024-02-27 09:14:44 -08:00
2025-11-11 11:17:41 -08:00
2025-11-11 11:17:41 -08:00
2012-05-08 16:30:13 +01:00
2013-05-01 12:23:12 -04:00
2025-04-25 15:51:12 -07:00
2022-03-21 18:31:10 +00:00
2022-03-16 15:06:19 -07:00
2025-05-13 14:56:38 -07:00
2022-03-16 15:06:19 -07:00

Python bindings to the OpenStack Object Storage API

Latest Version

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.

This code is based on the original client previously included with OpenStack's Swift. The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents:

Description
OpenStack Storage (Swift) Client
Readme 15 MiB
Languages
Python 99.9%
Shell 0.1%