commit a42f58de50c84235f649d957ac925780d365e3db
Author: Feilong Wang <email address hidden>
Date: Tue Oct 10 14:30:03 2017 +1300
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.
Reviewed: https:/ /review. openstack. org/510718 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a42f58de50c 84235f649d957ac 925780d365e3db
Committed: https:/
Submitter: Zuul
Branch: master
commit a42f58de50c8423 5f649d957ac9257 80d365e3db
Author: Feilong Wang <email address hidden>
Date: Tue Oct 10 14:30:03 2017 +1300
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 0ab644dc8b6ea03 fc6a881d3f9
Co-Authored-By: Akihiro Motoki <email address hidden>
Change-Id: Ie16784eb6352f7