neutron/releasenotes/notes/sanitize-port-binding-profile-5b0cba2566f7f950.yaml
Przemyslaw Szczerbik d699a955cd Sanitize profile column of ml2_port_bindings table in the DB
With the introduction of port-resource-request-groups extension,
format of binding-profile.allocation has changed. Since the DB,
may contain port bindings that were created before the introduction
of the new format, it's necessary to perform upgrade check and
sanitize those rows that are still using an older format.

Partial-Bug: #1922237
See-Also: https://review.opendev.org/785236
Change-Id: I95e9e1bc553ac499d75c9280e45dfea61d135279
2021-10-21 15:17:24 +02:00

10 lines
439 B
YAML

---
features:
- |
Added a check to verify if all rows of ``ml2_port_bindings`` table in the
DB are using the new format for ``profile`` column. This check is part of
upgrade check, that can be executed with ``neutron-status upgrade check``
command. If some rows are using obsolete format, they can be sanitized
with a script that can be executed with
``neutron-sanitize-port-binding-profile-allocation`` command.