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

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