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

-- 
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