Add instance IP to to /instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Suthan Venkataramanaiah |
Bug Description
We've noticed some slowness during Trove instance list in Horizon. From my research, it appears that Horizon performs the following calls when rendering the list with the number before the colon being the count of the number of calls.
1:/v1.0/
1:/v1.0/
N:/v1.0/
That last "call per Trove instance" is the cause of the slowness. The only reason it needs to make that call per Trove instance is to get the instance IP. This call per row contrasts with Nova servers listing in Horizon which uses only "batch" calls (i.e. constant number of calls per page).
From SlickNik:
----------
Seeing as to how we're already talking to nova during a list command, perhaps the simplest and most convenient thing to do here is to add the IP addresses to the view, so that horizon is able to display that information without an additional click.
Hopefully the IP address information does come back as part of the nova list servers command (IIRC it does, but wouldn't hurt to verify). If that's the case, I'm totally fine with a adding this information to the trove list view response.
----------
Nova servers are already being fetched here:
Changed in trove: | |
importance: | Undecided → Medium |
milestone: | none → juno-2 |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/105632
Review: https:/