Source: python-openstackclient Version: 6.0.0-4 Severity: important Tags: patch upstream X-Debbugs-Cc: svein-e...@skjelbred.com
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 <svein-e...@skjelbred.com> 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, +- ) ++ if self.app.client_manager.is_volume_endpoint_enabled(volume_client=None): ++ volume_quota_info = get_volume_quotas( ++ self.app, ++ project, ++ detail=parsed_args.usage, ++ default=parsed_args.default, ++ ) + if parsed_args.service in {'all', 'network'}: + network_quota_info = get_network_quotas( + self.app, diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..8f09384d --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +quota.patch