• Bug#1109288: python-openstackclient: openstack quota show --default fai

    From Svein-Erik Skjelbred@21:1/5 to All on Mon Jul 14 20:20:02 2025
    This is a multi-part MIME message sent by reportbug.


    Source: python-openstackclient
    Version: 6.0.0-4
    Severity: important
    Tags: patch upstream
    X-Debbugs-Cc: [email protected]

    Dear Maintainer,

    All 6.x.y seems OK
    Problem is in 7.1.4 caracal
    Problem is in 7.4.0 epoxy
    Problem is in 7.5.0 epoxy next
    The attached patch is against 7.4.0-3

    # git diff debian/7.4.0-3 debian/epoxy-ses

    -- System Information:
    Debian Release: 12.11
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-37-amd64 (SMP w/8 CPU threads; PREEMPT)
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    diff --git a/debian/changelog b/debian/changelog
    index 14432083..e5ba0587 100644
    --- a/debian/changelog
    +++ b/debian/changelog
    @@ -1,3 +1,10 @@
    +python-openstackclient (7.4.0-3.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Added patch
    +
    + -- Svein-Erik Skjelbred <[email protected]> Fri, 11 Jul 2025 18:16:05 +0200
    +
    python-openstackclient (7.4.0-3) unstable; urgency=medium

    * Re-upload.
    diff --git a/debian/patches/quota.patch b/debian/patches/quota.patch
    new file mode 100644
    index 00000000..9543e1c4
    --- /dev/null
    +++ b/debian/patches/quota.patch
    @@ -0,0 +1,22 @@
    +--- a/openstackclient/common/quota.py
    ++++ b/openstackclient/common/quota.py
    +@@ -741,12 +741,13 @@ and ``server-group-members`` output for
    + default=parsed_args.default,
    + )
    + if parsed_args.service in {'all', 'volume'}:
    +- volume_quota_info = get_volume_quotas(
    +- self.app,
    +- project,
    +- detail=parsed_args.usage,
    +- default=parsed_args.default,
    +- )
    +
  • From Svein-Erik Skjelbred@21:1/5 to All on Mon Jul 14 22:20:01 2025
     # openstack quota show --default admin
    public endpoint for block-storage service in regionOne region not found

    No cinder installed. If cinder is installed the above command works

    # dpkg -l |grep cinder
    ii  python3-cinderclient 1:9.7.0-2                          
    all          Python bindings to the OpenStack Volume API - Python 3.x #

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)