Comment 3 for bug 2069143

Revision history for this message
Martin Kalcok (martin-kalcok) wrote :

As discussed further in the github issue[0], this behavior occurs due to the way LXD handles starting and stopping of guest instances (note that this does not affect rebooting guests, just stopping/starting via LXC cli). When the guest is stopped, LXD removes its ports from the OVN via Northbound API, therefore addresses previously assigned to these ports become freely available, and can be assigned to other guests. If new guest instances are brought up while existing instances are stopped, it can lead IP re-shuffle.

From the point of view of OVN/MicroOVN, everything works as expected.

[0] https://github.com/canonical/lxd/issues/11658