trove/trove/instance
Andrew Bogott 86a870cc50 Establish consistency on db_info.addresses between taskmanager and instance
We had two different workflows here using the same variable but expecting
it to have a totally different format. The taskmanager dns code
was populating that variable with nova api output; the database
list code populated it manually with a custom-format structure.

This seems to have survived a long time because these are both edge
cases: the dns workflow was only traversed with dns integration
is switched on (unusual) and the database list only relied on IP
addresses when hostnames weren't present.

This patch picks a winner (the custom structure used by the database
listing code) and modifies the dns workflow to live with that same format.

This is spackle over a whole lot of bitrot, but should get
both use cases working properly.

Story: #2010077
Task: #45568
Change-Id: I5832733dd312db24d2d8047658fdd1af9f4e700a
2024-03-20 08:24:38 +00:00
..
__init__.py Remove copyright from empty files 2014-01-16 13:13:23 +04:00
models.py Establish consistency on db_info.addresses between taskmanager and instance 2024-03-20 08:24:38 +00:00
service_status.py Do not override RESTART_REQUIRED service status 2021-02-10 15:51:54 +13:00
service.py Add network isolation for trove 2023-08-03 11:35:04 +00:00
tasks.py Support to update instance access 2020-08-11 09:35:14 +12:00
views.py Support instance operating_status 2020-12-09 14:17:16 +13:00