ironic/ironic/db
Julia Kreger ae3a14e65c Make reservation checks caseless
If a conductor hostname is changed while reservations are
issued to a conductor with one hostname, such as 'hostName'
and then the process is restarted with 'hostname', then the
queries would not match the node and effectively the nodes
would become inaccessible until the reservation is cleared.

This patch changes the queries to use a case insenitive
like search, better known as ilike.

Special thanks to the nova team for finding a bug in the hash
ring calculation in the ironic virt driver where a customer
changed their nova-compute hostname, which inspired this
patch.

Change-Id: Ib7da925ba5ca6a82ba542e0f4ae4cf7f0d070835
2020-03-06 12:29:19 -08:00
..
sqlalchemy Make reservation checks caseless 2020-03-06 12:29:19 -08:00
__init__.py Remove copyright from empty files 2014-01-07 21:05:01 +08:00
api.py Support node retirement 2020-01-28 11:01:32 +01:00
migration.py Remove downgrade support from migrations 2016-02-08 15:31:15 +00:00