Add missing options for 'server group list'

Bug #1980801 reported by Seyeong Kim
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Invalid
Undecided
Unassigned
Train
Won't Fix
Undecided
Unassigned
Ussuri
Fix Committed
Undecided
Unassigned
Victoria
Won't Fix
Undecided
Unassigned
python-openstackclient (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
Undecided
Seyeong Kim
Impish
Invalid
Undecided
Seyeong Kim
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Under Wallaby, openstack server group list doesn't support --offset --limit

[Test Case]
1. install openstackclient
2. openstack server group list --help doesn't show --offset and --limit

[Where problems could occur]
openstack server group list command could not be working fine.

[Others]

related opendev gerrit link

https://review.opendev.org/q/I186adc8cdf28e9c540ad22bca6684d9dd892976a

Seyeong Kim (seyeongkim)
tags: added: sts
Seyeong Kim (seyeongkim)
description: updated
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
Changed in python-openstackclient (Ubuntu Focal):
assignee: nobody → Seyeong Kim (seyeongkim)
Seyeong Kim (seyeongkim)
no longer affects: python-openstackclient (Ubuntu Impish)
Changed in python-openstackclient (Ubuntu Focal):
status: New → In Progress
tags: added: sts-sponsor-dgadomski
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1980801_focal_ussuri.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Changed in python-openstackclient (Ubuntu Impish):
assignee: nobody → Seyeong Kim (seyeongkim)
Revision history for this message
Seyeong Kim (seyeongkim) wrote :
Changed in python-openstackclient (Ubuntu Impish):
status: New → Invalid
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Backport info:

$ git branch -a --contains 5ec4d4c71
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/stable/wallaby
  remotes/origin/stable/xena
  remotes/origin/stable/yoga

So this sru is targeted at t/u/v (since that is what is attached).

One question; do we really need to do this? Can't you just use a newer version of openstackclient since they are always backwards compatible?

Felipe Reyes (freyes)
Changed in cloud-archive:
status: New → Invalid
Revision history for this message
Robie Basak (racb) wrote :

What's the status of this bug in Kinetic please? Is the bug status correct?

Changed in python-openstackclient (Ubuntu Focal):
status: In Progress → Incomplete
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

The bug only mentions 'wallaby', and that's 20.04 specific. I'll accept it under this assumption, but please modify the bug accordingly after confirming.

Changed in python-openstackclient (Ubuntu Focal):
status: Incomplete → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Seyeong, or anyone else affected,

Accepted python-openstackclient into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-openstackclient/5.2.0-0ubuntu1.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Seyeong Kim (seyeongkim)
Changed in python-openstackclient (Ubuntu Jammy):
status: New → Fix Released
Changed in python-openstackclient (Ubuntu Kinetic):
status: New → Fix Released
description: updated
Revision history for this message
Seyeong Kim (seyeongkim) wrote :

@dosaboy, yes using later version can be doable.

@racb It is already in from Wallaby, I added Jammy, Kinetic and changed it to released.

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

Hello

I've verified python3-openstackclient with test openstack env like below.

1. deploy openstack env
2. openstack server group create t1 to t2
3. openstack server group list shows me t1 and t2
4. openstack server group list --limit 1 shows me t1
5. openstack server group list --limit 1 --offset 1 shows me t2

dpkg info is below.
ii python3-openstackclient 5.2.0-0ubuntu1.20.04.1 all OpenStack Command-line Client - Python 3.x

Thanks.

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-openstackclient - 5.2.0-0ubuntu1.20.04.1

---------------
python-openstackclient (5.2.0-0ubuntu1.20.04.1) focal; urgency=medium

  * compute: Add missing options for 'server group list' (LP: #1980801)
  * d/p/compute-Add-missing-options-for-server-group-list.patch

 -- Seyeong Kim <email address hidden> Wed, 06 Jul 2022 14:36:00 +0900

Changed in python-openstackclient (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for python-openstackclient has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote : Please test proposed package

Hello Seyeong, or anyone else affected,

Accepted python-openstackclient into ussuri-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:ussuri-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-ussuri-needed to verification-ussuri-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-ussuri-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-ussuri-needed
Revision history for this message
Seyeong Kim (seyeongkim) wrote :

I did the same test as #11

xtrusia@xtrusia:~$ dpkg -l | grep openstackclient
ii python3-openstackclient 5.2.0-0ubuntu1.20.04.1~cloud0 all OpenStack Command-line Client - Python 3.x

tags: added: verification-ussuri-done
removed: verification-ussuri-needed
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.