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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130459

Title:
  neutronclient uses the wrong key when listing port bindings

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2130459/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to