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