neutronclient uses the wrong key when listing port bindings

Bug #2130459 reported by Zhan Zhang
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Status tracked in Flamingo
Antelope
Won't Fix
Undecided
Unassigned
Bobcat
Won't Fix
Undecided
Unassigned
Caracal
Fix Released
Undecided
Satya Jhaveri
Dalmatian
Fix Released
Undecided
Satya Jhaveri
Epoxy
Fix Released
Undecided
Satya Jhaveri
Flamingo
Fix Released
Undecided
Satya Jhaveri
Gazpacho
Fix Released
Undecided
Unassigned
Ussuri
Won't Fix
Undecided
Unassigned
Yoga
Fix Released
Undecided
Satya Jhaveri
Zed
Won't Fix
Undecided
Unassigned
python-neutronclient
Fix Released
Medium
Unassigned
python-neutronclient (Ubuntu)
Status tracked in Resolute
Bionic
Won't Fix
Undecided
Unassigned
Focal
Won't Fix
Undecided
Satya Jhaveri
Jammy
Fix Released
Undecided
Satya Jhaveri
Noble
Fix Released
Undecided
Satya Jhaveri
Plucky
Won't Fix
Undecided
Unassigned
Questing
Fix Released
Undecided
Satya Jhaveri
Resolute
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

A bug in python-neutronclient causes a KeyError when attempting to list
port bindings via the client. Specifically, calling the list_port_bindings
method triggers a KeyError: 'port_bindings'. This occurs because the client
expects the Neutron API response to contain the "port_bindings" key.

This affects any service or tool that calls this method, and as such can
cause functional failures in Openstack deployments. Upstream has fixed this
by adjusting the parsing of the API response to use the correct key "bindings"
instead of "port_bindings". The attached debdiffs apply this same fix to
affected Ubuntu and Ubuntu Cloud Archive series.

[ Test Plan ]

Deploy an OpenStack environment on the target series.

1. Ensure you have administrative access to the deployed cloud and source
credentials.

2. Create a test network and a port to run the query against.

```sh
openstack network create test-net

openstack subnet create --network test-net --subnet-range 10.10.99.0/24 test-subnet

PORT_ID=$(openstack port create --network test-net test-port -c id -f value)
```

3. Verify the failure exists using the following python script. It attempts
to call the problematic API method.

Create a file named reproduce.py with the following contents:

```py
import os
import sys
from keystoneauth1 import identity, session
from neutronclient.v2_0 import client

# Authenticate using environment variables
auth = identity.v3.Password(
    auth_url=os.environ['OS_AUTH_URL'],
    username=os.environ['OS_USERNAME'],
    password=os.environ['OS_PASSWORD'],
    project_name=os.environ['OS_PROJECT_NAME'],
    user_domain_name=os.environ.get('OS_USER_DOMAIN_NAME', 'Default'),
    project_domain_name=os.environ.get('OS_PROJECT_DOMAIN_NAME', 'Default')
)
sess = session.Session(auth=auth)
neutron = client.Client(session=sess)

# Get the port ID
port_id = sys.argv[1]

print(f"Attempting list_port_bindings for {port_id}...")
try:
    bindings = neutron.list_port_bindings(port_id)
    print("SUCCESS: Bindings retrieved:", bindings)
except Exception as e:
    print(f"FAILURE: error: {e}")
    sys.exit(1)
```

Run this script with the newly created port:

```sh
python3 reproduce.py $PORT_ID
```

The expected result before applying the fix is that the script will
fail with FAILURE: error: KeyError: 'port_bindings'.

The expected result after applying the fix is that the script will
run successfully.

[ Where problems could occur ]

API response mismatch: The patch changes the key lookup from "port_bindings"
to "bindings". If there are non-standard Neutron API implementations that
only "port_bindings" and not the expected structure, this fix could theoretically
prevent usage of this method that was previously working.

[ Other Info ]

This backports the merged upstream fix which corrects the JSON key. The description / message from the original commit message is provided below:

v2_0: Use 'bindings' when listing port bindings
This commit fixes a bug in v2_0 client's "list_port_bindings"
function, where it uses "port_bindings" to access Neutron's
response, instead of "bindings" [0].

[0]: https://docs.openstack.org/api-ref/network/v2/index.html#show-port-binding-of-a-port

Closes-Bug: #2130459
Change-Id: I32ef753ec212b55f698e3844e043f68b22992ead
Signed-off-by: Zhan Zhang <email address hidden>

Revision history for this message
Brian Haley (brian-haley) wrote :

Looks like this was added in [0] but without a test.

Can you propose a patch to fix this?

Thanks

[0] https://review.opendev.org/c/openstack/python-neutronclient/+/706227

Changed in python-neutronclient:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Zhan Zhang (zhanz1) wrote (last edit ):

Sure, I'll work on that.

Update: Need to wait for approvals from my organization. I'll submit a patch once approved.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)
Changed in python-neutronclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.opendev.org/c/openstack/python-neutronclient/+/966756
Committed: https://opendev.org/openstack/python-neutronclient/commit/8f72d77812f9eb9aa1b3e28c09d378608908caa0
Submitter: "Zuul (22348)"
Branch: master

commit 8f72d77812f9eb9aa1b3e28c09d378608908caa0
Author: Zhan Zhang <email address hidden>
Date: Tue Nov 11 13:58:21 2025 -0500

    v2_0: Use 'bindings' when listing port bindings

    This commit fixes a bug in v2_0 client's "list_port_bindings"
    function, where it uses "port_bindings" to access Neutron's
    response, instead of "bindings" [0].

    [0]: https://docs.openstack.org/api-ref/network/v2/index.html#show-port-binding-of-a-port

    Closes-Bug: #2130459
    Change-Id: I32ef753ec212b55f698e3844e043f68b22992ead
    Signed-off-by: Zhan Zhang <email address hidden>

Changed in python-neutronclient:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/c/openstack/python-neutronclient/+/971388
Committed: https://opendev.org/openstack/python-neutronclient/commit/67a48c4a7d0da267e420bcc4082ab9ba441f9026
Submitter: "Zuul (22348)"
Branch: stable/2025.2

commit 67a48c4a7d0da267e420bcc4082ab9ba441f9026
Author: Zhan Zhang <email address hidden>
Date: Tue Nov 11 13:58:21 2025 -0500

    v2_0: Use 'bindings' when listing port bindings

    This commit fixes a bug in v2_0 client's "list_port_bindings"
    function, where it uses "port_bindings" to access Neutron's
    response, instead of "bindings" [0].

    [0]: https://docs.openstack.org/api-ref/network/v2/index.html#show-port-binding-of-a-port

    (cherry picked from commit 8f72d77812f9eb9aa1b3e28c09d378608908caa0)

    Closes-Bug: #2130459
    Change-Id: I32ef753ec212b55f698e3844e043f68b22992ead
    Signed-off-by: Zhan Zhang <email address hidden>
    Signed-off-by: Nicolas Bock <email address hidden>

Reviewed: https://review.opendev.org/c/openstack/python-neutronclient/+/971455
Committed: https://opendev.org/openstack/python-neutronclient/commit/77e4e015b170752ed202959bcfa70c6fed3ae969
Submitter: "Zuul (22348)"
Branch: stable/2025.1

commit 77e4e015b170752ed202959bcfa70c6fed3ae969
Author: Rajashekar Reddy Uppala <email address hidden>
Date: Thu Dec 18 12:09:14 2025 -0500

    v2_0: Use 'bindings' when listing port bindings

    This commit fixes a bug in v2_0 client's "list_port_bindings"
    function, where it uses "port_bindings" to access Neutron's
    response, instead of "bindings" [0].

    [0]: https://docs.openstack.org/api-ref/network/v2/index.html#show-port-binding-of-a-port

    Closes-Bug: #2130459
    Change-Id: I32ef753ec212b55f698e3844e043f68b22992ead
    Signed-off-by: Zhan Zhang <email address hidden>
    (cherry picked from commit 8f72d77812f9eb9aa1b3e28c09d378608908caa0)
    Signed-off-by: Rajashekar Reddy Uppala <email address hidden>

This issue was fixed in the openstack/python-neutronclient 11.7.0 Gazpacho release.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Ubuntu 25.04 (Plucky Puffin) has reached end of life, so this bug will not be fixed for that specific release.

Changed in python-neutronclient (Ubuntu Plucky):
status: New → Won't Fix
Satya Jhaveri (sjhaveri)
Changed in python-neutronclient (Ubuntu Resolute):
status: New → Fix Released
Changed in python-neutronclient (Ubuntu Bionic):
status: New → Won't Fix
Satya Jhaveri (sjhaveri)
Changed in python-neutronclient (Ubuntu Focal):
assignee: nobody → Satya Jhaveri (sjhaveri)
status: New → In Progress
Changed in python-neutronclient (Ubuntu Jammy):
assignee: nobody → Satya Jhaveri (sjhaveri)
status: New → In Progress
Changed in python-neutronclient (Ubuntu Noble):
assignee: nobody → Satya Jhaveri (sjhaveri)
status: New → In Progress
Changed in python-neutronclient (Ubuntu Questing):
assignee: nobody → Satya Jhaveri (sjhaveri)
status: New → In Progress
Satya Jhaveri (sjhaveri)
description: updated
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :
Revision history for this message
Matthew Ruffell (mruffell) wrote :

Uploaded to questing, thanks.

Uploading python-neutronclient_11.6.0-0ubuntu1.1.dsc
Uploading python-neutronclient_11.6.0-0ubuntu1.1.debian.tar.xz
Uploading python-neutronclient_11.6.0-0ubuntu1.1_source.buildinfo
Uploading python-neutronclient_11.6.0-0ubuntu1.1_source.changes

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Uploaded to noble, thanks.

Uploading python-neutronclient_11.2.0-0ubuntu1.1.dsc
Uploading python-neutronclient_11.2.0-0ubuntu1.1.debian.tar.xz
Uploading python-neutronclient_11.2.0-0ubuntu1.1_source.buildinfo
Uploading python-neutronclient_11.2.0-0ubuntu1.1_source.changes

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Uploaded to jammy, thanks.

Uploading python-neutronclient_7.8.0-0ubuntu1.1.dsc
Uploading python-neutronclient_7.8.0-0ubuntu1.1.debian.tar.xz
Uploading python-neutronclient_7.8.0-0ubuntu1.1_source.buildinfo
Uploading python-neutronclient_7.8.0-0ubuntu1.1_source.changes

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Uploaded to epoxy, thanks.

Uploading python-neutronclient_11.4.0-0ubuntu1~cloud1.dsc
Uploading python-neutronclient_11.4.0.orig.tar.gz
Uploading python-neutronclient_11.4.0-0ubuntu1~cloud1.debian.tar.xz
Uploading python-neutronclient_11.4.0-0ubuntu1~cloud1_source.buildinfo
Uploading python-neutronclient_11.4.0-0ubuntu1~cloud1_source.changes

Revision history for this message
Matthew Ruffell (mruffell) wrote :

Uploaded to dalmatian, thanks.

Uploading python-neutronclient_11.3.1-0ubuntu1~cloud1.dsc
Uploading python-neutronclient_11.3.1.orig.tar.gz
Uploading python-neutronclient_11.3.1-0ubuntu1~cloud1.debian.tar.xz
Uploading python-neutronclient_11.3.1-0ubuntu1~cloud1_source.buildinfo
Uploading python-neutronclient_11.3.1-0ubuntu1~cloud1_source.changes

Changed in python-neutronclient (Ubuntu Focal):
status: In Progress → Won't Fix
tags: added: sts
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into questing-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-neutronclient/1:11.6.0-0ubuntu1.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-questing to verification-done-questing. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-questing. 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.

Changed in python-neutronclient (Ubuntu Questing):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-questing
Changed in python-neutronclient (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-neutronclient/1:11.2.0-0ubuntu1.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-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. 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.

Changed in python-neutronclient (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-neutronclient/1:7.8.0-0ubuntu1.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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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.

All autopkgtests for the newly accepted python-neutronclient (1:11.6.0-0ubuntu1.1) for questing have finished running.
The following regressions have been reported in tests triggered by the package:

ceilometer/unknown (ppc64el)
heat/unknown (ppc64el)
octavia/unknown (ppc64el)
watcher/unknown (ppc64el)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/questing/update_excuses.html#python-neutronclient

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

All autopkgtests for the newly accepted python-neutronclient (1:7.8.0-0ubuntu1.1) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

ceilometer/2:18.1.0-0ubuntu1 (armhf)
nova/unknown (ppc64el)
watcher/2:8.0.0-0ubuntu1.2 (armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#python-neutronclient

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

All autopkgtests for the newly accepted python-neutronclient (1:11.2.0-0ubuntu1.1) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

designate/unknown (ppc64el)
manila/unknown (armhf)
mistral/18.0.1-0ubuntu1 (ppc64el)
murano/unknown (ppc64el)
nova/unknown (ppc64el)
watcher/2:12.0.0-0ubuntu1.1 (s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/noble/update_excuses.html#python-neutronclient

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Edward Hope-Morley (hopem) wrote : Please test proposed package

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into epoxy-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:epoxy-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-epoxy-needed to verification-epoxy-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-epoxy-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-epoxy-needed
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into dalmatian-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:dalmatian-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-dalmatian-needed to verification-dalmatian-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-dalmatian-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!

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into caracal-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:caracal-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-caracal-needed to verification-caracal-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-caracal-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-caracal-needed
Revision history for this message
Edward Hope-Morley (hopem) wrote :

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into flamingo-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:flamingo-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-flamingo-needed to verification-flamingo-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-flamingo-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-flamingo-needed
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

I have verified it for Jammy. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ python3 reproduce.py 83acfc68-df20-4993-835a-ca3cdf5c37ab
Attempting list_port_bindings for 83acfc68-df20-4993-835a-ca3cdf5c37ab...
FAILURE: error: 'port_bindings'
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:7.8.0-0ubuntu1
  Candidate: 1:7.8.0-0ubuntu1
  Version table:
 *** 1:7.8.0-0ubuntu1 500
        500 http://availability-zone-1.clouds.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main restricted universe multiverse" 2>&1 >/dev/null
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ sudo apt update 2>&1 >/dev/null
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ sudo apt upgrade -y python3-neutronclient 2>&1 >/dev/null
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ python3 reproduce.py 83acfc68-df20-4993-835a-ca3cdf5c37ab
Attempting list_port_bindings for 83acfc68-df20-4993-835a-ca3cdf5c37ab...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-e7df6d-test-jammy-yoga-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2'}}]}
ubuntu@juju-e7df6d-test-jammy-yoga-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:7.8.0-0ubuntu1.1
  Candidate: 1:7.8.0-0ubuntu1.1
  Version table:
 *** 1:7.8.0-0ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.8.0-0ubuntu1 500
        500 http://availability-zone-1.clouds.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Caracal. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ python3 reproduce.py 29a47fca-cc07-4eff-806d-229c88150222
Attempting list_port_bindings for 29a47fca-cc07-4eff-806d-229c88150222...
FAILURE: error: 'port_bindings'
ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.2.0-0ubuntu1~cloud0
  Candidate: 1:11.2.0-0ubuntu1~cloud0
  Version table:
 *** 1:11.2.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.8.0-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ sudo add-apt-repository cloud-archive:caracal-proposed 2>&1 >/dev/null
ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ sudo apt update && sudo apt upgrade python3-neutronclient 2>&1 >/dev/null
ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ python3 reproduce.py 29a47fca-cc07-4eff-806d-229c88150222
Attempting list_port_bindings for 29a47fca-cc07-4eff-806d-229c88150222...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-5e9b4c-test-jammy-caracal-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2', 'bridge_name': 'br-int', 'datapath_type': 'system'}}]}
ubuntu@juju-5e9b4c-test-jammy-caracal-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.2.0-0ubuntu1.1~cloud0
  Candidate: 1:11.2.0-0ubuntu1.1~cloud0
  Version table:
 *** 1:11.2.0-0ubuntu1.1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-proposed/caracal/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.2.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/caracal/main amd64 Packages
     1:7.8.0-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Noble. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-e4290a-test-noble-caracal-7:~$ python3 reproduce.py 1c160764-5904-444c-b88f-7c9bd424a4ca
Attempting list_port_bindings for 1c160764-5904-444c-b88f-7c9bd424a4ca...
FAILURE: error: 'port_bindings'
ubuntu@juju-e4290a-test-noble-caracal-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.2.0-0ubuntu1
  Candidate: 1:11.2.0-0ubuntu1
  Version table:
 *** 1:11.2.0-0ubuntu1 500
        500 http://availability-zone-1.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        100 /var/lib/dpkg/status
ubuntu@juju-e4290a-test-noble-caracal-7:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ noble-proposed main restricted universe multiverse" 2>&1 >/dev/null
ubuntu@juju-e4290a-test-noble-caracal-7:~$ sudo apt-get update 2>&1 >/dev/null
ubuntu@juju-e4290a-test-noble-caracal-7:~$ sudo apt install -y python3-neutronclient=1:11.2.0-0ubuntu1.1 2>&1 >/dev/null
ubuntu@juju-e4290a-test-noble-caracal-7:~$ python3 reproduce.py 1c160764-5904-444c-b88f-7c9bd424a4ca
Attempting list_port_bindings for 1c160764-5904-444c-b88f-7c9bd424a4ca...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-e4290a-test-noble-caracal-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2', 'bridge_name': 'br-int', 'datapath_type': 'system'}}]}
ubuntu@juju-e4290a-test-noble-caracal-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.2.0-0ubuntu1.1
  Candidate: 1:11.2.0-0ubuntu1.1
  Version table:
 *** 1:11.2.0-0ubuntu1.1 1001
        100 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-1.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Dalmatian. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ python3 reproduce.py 9225a27c-46ab-4983-bbee-39c09a43a792
Attempting list_port_bindings for 9225a27c-46ab-4983-bbee-39c09a43a792...
FAILURE: error: 'port_bindings'
ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.3.1-0ubuntu1~cloud0
  Candidate: 1:11.3.1-0ubuntu1~cloud0
  Version table:
 *** 1:11.3.1-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/dalmatian/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages
ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ sudo add-apt-repository cloud-archive:dalmatian-proposed 2>&1 >/dev/null
ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ sudo apt update && sudo apt upgrade python3-neutronclient 2>&1 >/dev/null
ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ python3 reproduce.py 9225a27c-46ab-4983-bbee-39c09a43a792
Attempting list_port_bindings for 9225a27c-46ab-4983-bbee-39c09a43a792...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-550c9b-test-noble-dalmatian-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2', 'bridge_name': 'br-int', 'datapath_type': 'system'}}]}
ubuntu@juju-550c9b-test-noble-dalmatian-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.3.1-0ubuntu1~cloud1
  Candidate: 1:11.3.1-0ubuntu1~cloud1
  Version table:
 *** 1:11.3.1-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-proposed/dalmatian/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.3.1-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/dalmatian/main amd64 Packages
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Epoxy. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-7fff07-test-noble-epoxy-7:~$ python3 reproduce.py 1d666736-2dc3-4f36-a9a8-1d5de306e89a
Attempting list_port_bindings for 1d666736-2dc3-4f36-a9a8-1d5de306e89a...
FAILURE: error: 'port_bindings'
ubuntu@juju-7fff07-test-noble-epoxy-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.4.0-0ubuntu1~cloud0
  Candidate: 1:11.4.0-0ubuntu1~cloud0
  Version table:
 *** 1:11.4.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/epoxy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages
ubuntu@juju-7fff07-test-noble-epoxy-7:~$ sudo add-apt-repository cloud-archive:epoxy-proposed 2>&1 >/dev/null
ubuntu@juju-7fff07-test-noble-epoxy-7:~$ sudo apt update && sudo apt upgrade python3-neutronclient 2>&1 >/dev/null
ubuntu@juju-7fff07-test-noble-epoxy-7:~$ python3 reproduce.py 1d666736-2dc3-4f36-a9a8-1d5de306e89a
Attempting list_port_bindings for 1d666736-2dc3-4f36-a9a8-1d5de306e89a...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-7fff07-test-noble-epoxy-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2', 'bridge_name': 'br-int', 'datapath_type': 'system'}}]}
ubuntu@juju-7fff07-test-noble-epoxy-7:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.4.0-0ubuntu1~cloud1
  Candidate: 1:11.4.0-0ubuntu1~cloud1
  Version table:
 *** 1:11.4.0-0ubuntu1~cloud1 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-proposed/epoxy/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.4.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/epoxy/main amd64 Packages
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Flamingo. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@test-noble-flamingo:~$ python3 /home/ubuntu/reproduce.py 3702e4f0-9aa4-411b-b863-6d09fbdaa539
Attempting list_port_bindings for 3702e4f0-9aa4-411b-b863-6d09fbdaa539...
FAILURE: error: KeyError: 'port_bindings'
ubuntu@test-noble-flamingo:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.6.0-0ubuntu1~cloud0
  Candidate: 1:11.6.0-0ubuntu1~cloud0
  Version table:
 *** 1:11.6.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/flamingo/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages
ubuntu@test-noble-flamingo:~$ sudo add-apt-repository cloud-archive:flamingo-proposed 2>&1 >/dev/null
ubuntu@test-noble-flamingo:~$ sudo apt update && sudo apt upgrade python3-neutronclient 2>&1 >/dev/null
ubuntu@test-noble-flamingo:~$ python3 /home/ubuntu/reproduce.py 3702e4f0-9aa4-411b-b863-6d09fbdaa539
Attempting list_port_bindings for 3702e4f0-9aa4-411b-b863-6d09fbdaa539...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'noble-openstack', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'connectivity': 'l2', 'port_filter': True, 'ovs_hybrid_plug': False, 'datapath_type': 'system', 'bridge_name': 'br-int'}}]}
ubuntu@test-noble-flamingo:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.6.0-0ubuntu1~cloud1
  Candidate: 1:11.6.0-0ubuntu1~cloud1
  Version table:
 *** 1:11.6.0-0ubuntu1.1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-proposed/flamingo/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.6.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/flamingo/main amd64 Packages
     1:11.2.0-0ubuntu1 500
        500 http://availability-zone-3.clouds.archive.ubuntu.com/ubuntu noble/main amd64 Packages

Thanks

Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Also verified for Questing. Below shows running the test case in the bug description before and after enabling proposed:

root@test-questing:/home/ubuntu# source /root/admin-openrc
root@test-questing:/home/ubuntu# python3 reproduce.py fcb57ea-657e-4dad-8108-818e6036ef82
Attempting list_port_bindings for fcb57ea-657e-4dad-8108-818e6036ef82...
FAILURE: error: KeyError: 'port_bindings'
root@test-questing:/home/ubuntu# apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.6.0-0ubuntu1
  Candidate: 1:11.6.0-0ubuntu1
  Version table:
 *** 1:11.6.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages
        100 /var/lib/dpkg/status
root@test-questing:/home/ubuntu# exit

ubuntu@test-questing:~$ sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ questing-proposed main restricted universe multiverse" 2>&1 >/dev/null
ubuntu@test-questing:~$ sudo apt install -y python3-neutronclient=1:11.6.0-0ubuntu1.1 2>&1 >/dev/null
ubuntu@test-questing:~$ sudo -s
root@test-questing:/home/ubuntu# source /root/admin-openrc
root@test-questing:/home/ubuntu# python3 reproduce.py fcb57ea-657e-4dad-8108-818e6036ef82
Attempting list_port_bindings for fcb57ea-657e-4dad-8108-818e6036ef82...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'questing-openstack', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'connectivity': 'l2', 'port_filter': True, 'ovs_hybrid_plug': False, 'datapath_type': 'system', 'bridge_name': 'br-int'}}]}
root@test-questing:/home/ubuntu# apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:11.6.0-0ubuntu1.1
  Candidate: 1:11.6.0-0ubuntu1.1
  Version table:
 *** 1:11.6.0-0ubuntu1.1 100
        100 http://archive.ubuntu.com/ubuntu questing-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     1:11.6.0-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu questing/main amd64 Packages

Thanks

Satya Jhaveri (sjhaveri)
tags: added: verification-caracal-done verification-done verification-done-jammy verification-done-noble verification-done-questing verification-epoxy-done verification-flamingo-done
removed: verification-caracal-needed verification-epoxy-needed verification-flamingo-needed verification-needed verification-needed-jammy verification-needed-noble verification-needed-questing
tags: added: verification-dalmatian-done
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for python-neutronclient 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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-neutronclient - 1:11.6.0-0ubuntu1.1

---------------
python-neutronclient (1:11.6.0-0ubuntu1.1) questing; urgency=medium

  [ Myles Penner ]
  * d/gbp.conf: Create stable/2025.2 branch.
  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
    flamingo.

  [ Satya Jhaveri ]
  * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
    - d/p/lp2130459_fix_port_bindings_key.patch

 -- Satya Jhaveri <email address hidden> Wed, 28 Jan 2026 09:32:36 +1100

Changed in python-neutronclient (Ubuntu Questing):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-neutronclient - 1:11.2.0-0ubuntu1.1

---------------
python-neutronclient (1:11.2.0-0ubuntu1.1) noble; urgency=medium

  [ James Page ]
  * d/gbp.conf: Create stable/2024.1 branch.
  * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
    caracal.

  [ Satya Jhaveri ]
  * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
    - d/p/lp2130459_fix_port_bindings_key.patch

 -- Satya Jhaveri <email address hidden> Wed, 28 Jan 2026 09:32:36 +1100

Changed in python-neutronclient (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-neutronclient - 1:7.8.0-0ubuntu1.1

---------------
python-neutronclient (1:7.8.0-0ubuntu1.1) jammy; urgency=medium

  [ Corey Bryant ]
  * d/gbp.conf: Create stable/yoga branch.

  [ Satya Jhaveri ]
  * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
    - d/p/lp2130459_fix_port_bindings_key.patch

 -- Satya Jhaveri <email address hidden> Wed, 28 Jan 2026 09:32:36 +1100

Changed in python-neutronclient (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Edward Hope-Morley (hopem) wrote :

The verification of the Stable Release Update for python-neutronclient has completed successfully and the package has now been released to -updates. 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
Edward Hope-Morley (hopem) wrote :

This bug was fixed in the package python-neutronclient - 1:11.6.0-0ubuntu1.1~cloud0
---------------

 python-neutronclient (1:11.6.0-0ubuntu1.1~cloud0) noble-flamingo; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 python-neutronclient (1:11.6.0-0ubuntu1.1) questing; urgency=medium
 .
   [ Myles Penner ]
   * d/gbp.conf: Create stable/2025.2 branch.
   * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
     flamingo.
 .
   [ Satya Jhaveri ]
   * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
     - d/p/lp2130459_fix_port_bindings_key.patch

Revision history for this message
Edward Hope-Morley (hopem) wrote :

The verification of the Stable Release Update for python-neutronclient has completed successfully and the package has now been released to -updates. 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
Edward Hope-Morley (hopem) wrote :

This bug was fixed in the package python-neutronclient - 1:11.4.0-0ubuntu1~cloud1
---------------

 python-neutronclient (1:11.4.0-0ubuntu1~cloud1) noble-epoxy; urgency=medium
 .
   [ Guillaume Boutry ]
   * d/gbp.conf: Create stable/2025.1 branch.
   * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
     epoxy.
 .
   [ Satya Jhaveri ]
   * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
     - d/p/lp2130459_fix_port_bindings_key.patch

Revision history for this message
Edward Hope-Morley (hopem) wrote :

The verification of the Stable Release Update for python-neutronclient has completed successfully and the package has now been released to -updates. 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
Edward Hope-Morley (hopem) wrote :

This bug was fixed in the package python-neutronclient - 1:11.3.1-0ubuntu1~cloud1
---------------

 python-neutronclient (1:11.3.1-0ubuntu1~cloud1) noble-dalmatian; urgency=medium
 .
   [ James Page ]
   * d/gbp.conf: Create stable/2024.2 branch.
   * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
     dalmatian.
 .
   [ Satya Jhaveri ]
   * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
     - d/p/lp2130459_fix_port_bindings_key.patch

Revision history for this message
Edward Hope-Morley (hopem) wrote :

The verification of the Stable Release Update for python-neutronclient has completed successfully and the package has now been released to -updates. 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
Edward Hope-Morley (hopem) wrote :

This bug was fixed in the package python-neutronclient - 1:11.2.0-0ubuntu1.1~cloud0
---------------

 python-neutronclient (1:11.2.0-0ubuntu1.1~cloud0) jammy-caracal; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 python-neutronclient (1:11.2.0-0ubuntu1.1) noble; urgency=medium
 .
   [ James Page ]
   * d/gbp.conf: Create stable/2024.1 branch.
   * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
     caracal.
 .
   [ Satya Jhaveri ]
   * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
     - d/p/lp2130459_fix_port_bindings_key.patch

Revision history for this message
Edward Hope-Morley (hopem) wrote : Please test proposed package

Hello Zhan, or anyone else affected,

Accepted python-neutronclient into yoga-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:yoga-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-yoga-needed to verification-yoga-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-yoga-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-yoga-needed
Revision history for this message
Satya Jhaveri (sjhaveri) wrote :

Verified for Yoga. Below shows running the test case in the bug description before and after enabling proposed:

ubuntu@juju-4b602a-test-focal-yoga-8:~$ python3 reproduce.py ac4c7268-3795-4354-b997-ddca71a9cbfe
Attempting list_port_bindings for ac4c7268-3795-4354-b997-ddca71a9cbfe...
FAILURE: error: 'port_bindings'
ubuntu@juju-4b602a-test-focal-yoga-8:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:7.8.0-0ubuntu1~cloud0
  Candidate: 1:7.8.0-0ubuntu1~cloud0
  Version table:
 *** 1:7.8.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.1.1-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
ubuntu@juju-4b602a-test-focal-yoga-8:~$ sudo add-apt-repository cloud-archive:yoga-proposed 2>&1 >/dev/null
ubuntu@juju-4b602a-test-focal-yoga-8:~$ sudo apt-get update 2>&1 >/dev/null
ubuntu@juju-4b602a-test-focal-yoga-8:~$ sudo apt upgrade python3-neutronclient 2>&1 >/dev/null
ubuntu@juju-4b602a-test-focal-yoga-8:~$ python3 reproduce.py ac4c7268-3795-4354-b997-ddca71a9cbfe
Attempting list_port_bindings for ac4c7268-3795-4354-b997-ddca71a9cbfe...
SUCCESS: Bindings retrieved: {'bindings': [{'host': 'juju-4b602a-test-focal-yoga-8', 'vif_type': 'ovs', 'vnic_type': 'normal', 'status': 'ACTIVE', 'profile': {}, 'vif_details': {'port_filter': True, 'connectivity': 'l2'}}]}
ubuntu@juju-4b602a-test-focal-yoga-8:~$ apt-cache policy python3-neutronclient
python3-neutronclient:
  Installed: 1:7.8.0-0ubuntu1.1~cloud0
  Candidate: 1:7.8.0-0ubuntu1.1~cloud0
  Version table:
 *** 1:7.8.0-0ubuntu1.1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-proposed/yoga/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.8.0-0ubuntu1~cloud0 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga/main amd64 Packages
     1:7.1.1-0ubuntu1 500
        500 http://availability-zone-2.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages

Thanks

Satya Jhaveri (sjhaveri)
tags: added: verification-yoga-done
removed: verification-yoga-needed
Revision history for this message
Edward Hope-Morley (hopem) wrote : Update Released

The verification of the Stable Release Update for python-neutronclient has completed successfully and the package has now been released to -updates. 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
Edward Hope-Morley (hopem) wrote :

This bug was fixed in the package python-neutronclient - 1:7.8.0-0ubuntu1.1~cloud0
---------------

 python-neutronclient (1:7.8.0-0ubuntu1.1~cloud0) focal-yoga; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 python-neutronclient (1:7.8.0-0ubuntu1.1) jammy; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf: Create stable/yoga branch.
 .
   [ Satya Jhaveri ]
   * Fix incorrect usage of bindings in the v2 API (LP: #2130459).
     - d/p/lp2130459_fix_port_bindings_key.patch

To post a comment you must log in.