port 'binding:profile' can't be removed when VM is deleted
Bug #1524643 reported by
Yan Songming
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Moshe Levi |
Bug Description
reproduce this problem:
1. create a sriov port
2. use this port to boot a VM
3. delete this VM
4. we can see port still exist, but the 'binding:profile' can't be removed.
tags: | added: sriov-pci-pt |
Changed in neutron: | |
assignee: | nobody → Moshe Levi (moshele) |
Changed in neutron: | |
status: | Incomplete → Confirmed |
status: | Confirmed → In Progress |
status: | In Progress → Fix Committed |
Changed in neutron: | |
status: | Fix Committed → In Progress |
affects: | neutron → nova |
Changed in nova: | |
importance: | Undecided → Low |
importance: | Low → Undecided |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: networking neutron |
To post a comment you must log in.
so looking on the code only administrator can update this filed see https:/ /github. com/openstack/ neutron/ blob/master/ etc/policy. json#L83 /github. com/openstack/ nova/blob/ master/ nova/network/ neutronv2/ api.py# L763-L779 pastebin. com/TSKEK0zh
and nova update the binding:profile see
https:/
I also tested it myself via the rest api and the update is working see
http://
so I think you are using the neutron client and it is not implemented see /github. com/openstack/ python- neutronclient/ blob/13b95c83ed ab2d9966e7eee49 bb2eefabb8c3c62 /neutronclient/ neutron/ v2_0/port. py#L310- L313 /github. com/openstack/ python- neutronclient/ blob/13b95c83ed ab2d9966e7eee49 bb2eefabb8c3c62 /neutronclient/ neutron/ v2_0/port. py#L249- L251
https:/
It is implemented only for create https:/
why do you need to update this filed? basically it is intend for nova to pass the pci information.