summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorFeilong Wang <flwang@catalyst.net.nz>2017-10-10 14:30:03 +1300
committerAkihiro Motoki <amotoki@gmail.com>2017-12-11 23:19:01 +0900
commita42f58de50c84235f649d957ac925780d365e3db (patch)
treec127bb6ff55ed6f67e848bc5520476c1fe2b5396 /releasenotes
parent82d5499ae537978109b99f4bfcb39d332427b56e (diff)
downloadhorizon-a42f58de50c84235f649d957ac925780d365e3db.tar.gz
Allow to skip API calls to Neutron in instance tables
Now instance panel is sending API calls to Neutron to get the addresses info about network. It take some time until Nova network info cache is synced when IP address operation like floating IP association is made in Neutron. The API calls to Neutron exist from this reason. However, it retrieves a full list of port, so it can potentially leads to performance issues in large deployments. This commit adds a setting flag to control whether API calls to Neutron is used or skipped in the project instance table. This commits drops a call of servers_update_addresses() in the admin instance table. In the admin instance table there is no need to retrieve IP addresses from neutron because the main purpose of the admin panel is to see all instances and IP addresses in nova network info cache will be synced soon. Closes-Bug: #1722417 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Ie16784eb6352f70ab644dc8b6ea03fc6a881d3f9
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/setting-retrieve-instance-ip-addresses-b9db6703d8b010c8.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/releasenotes/notes/setting-retrieve-instance-ip-addresses-b9db6703d8b010c8.yaml b/releasenotes/notes/setting-retrieve-instance-ip-addresses-b9db6703d8b010c8.yaml
new file mode 100644
index 000000000..4a9e768ba
--- /dev/null
+++ b/releasenotes/notes/setting-retrieve-instance-ip-addresses-b9db6703d8b010c8.yaml
@@ -0,0 +1,10 @@
+---
+fixes:
+ - |
+ A new setting ``OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES`` was introduced
+ to control whether IP addresses of servers are retrieved from neutron in
+ the project instance table. This setting was introduces to mitigate a
+ performance issue in large deployments and setting this to ``False``
+ skips the query to neutron. Deployments without floating IP support can
+ set this setting to ``False`` for better performance.
+ For more detail, see [:bug:`1722417`].