ironic-staging-drivers/releasenotes/notes/ovirt-close-conn-2f87f0312be044a5.yaml
Steve Baker 343a57570e oVirt driver: Close connection after each API call
Currently a new connection is created for every API call which is
never closed. This results in open connections accumulating over time
due to periodic calls like power state polling, which is further
compounded by the number of ovirt nodes deployed.

This change converts _getvm into a generator based context manager so
that the connection can be closed after every call.

Change-Id: I30f9695c591f72dae21467b0b31f6f67fad7cc8a
2020-05-15 10:01:11 +12:00

10 lines
344 B
YAML

---
fixes:
- |
oVirt driver: Close connection after each API call
A new connection was being created for every API call which was
never closed. This resulted in open connections accumulating over time
due to periodic calls like power state polling, which was further
compounded by the number of ovirt nodes deployed.