Unbind port when offloading a shelved instance

When offloading a shelved instance, the compute needs to remove the
binding so the port will appear as "unbound" in neutron.

Closes-Bug: 1983471

Change-Id: Ia49271b126870c7936c84527a4c39ab96b6c5ea7
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
Arnaud Morin
2022-08-18 17:52:58 +02:00
parent b1958b7cfa
commit 4eef0fe635
6 changed files with 74 additions and 27 deletions
@@ -0,0 +1,6 @@
---
fixes:
- |
[`bug 1983471 <https://bugs.launchpad.net/nova/+bug/1983471>`_]
When offloading a shelved instance, the compute will now remove the
binding so instance ports will appear as "unbound" in neutron.