Ensure MAC addresses characters are in the same case
Currently neutron can report ports to have MAC addresses
in upper case when they're created like that. In the meanwhile
libvirt configuration file always stores MAC in lower case
which leads to KeyError while trying to retrieve migrate_vif.
Closes-Bug: #1945646
Change-Id: Ie3129ee395427337e9abcef2f938012608f643e1
(cherry picked from commit 6a15169ed9f16672c2cde1d7f27178bb7868c41f)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /816882 /opendev. org/openstack/ nova/commit/ 63a6388f6a0265f 84232731aba8aec 1bff3c6d18
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 63a6388f6a0265f 84232731aba8aec 1bff3c6d18
Author: Dmitriy Rabotyagov <email address hidden>
Date: Thu Sep 30 14:08:38 2021 +0300
Ensure MAC addresses characters are in the same case
Currently neutron can report ports to have MAC addresses
in upper case when they're created like that. In the meanwhile
libvirt configuration file always stores MAC in lower case
which leads to KeyError while trying to retrieve migrate_vif.
Closes-Bug: #1945646 37e9abcef2f9380 12608f643e1 2c2cde1d7f27178 bb7868c41f)
Change-Id: Ie3129ee3954273
(cherry picked from commit 6a15169ed9f1667