yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66750
[Bug 1711486] [NEW] Admin dashboard instances index page generated duplicate Glance requests
Public bug reported:
Please see this thread:
http://lists.openstack.org/pipermail/openstack-
dev/2017-August/121097.html
The instances index page in Admin dashboard generates a request for
Glance every time Server.image_name() is called (the method is called a
lot when building the page). Project dashboard doesn't have this issue
because it retrieves all images objects first and sets each instance's
image attribute to corresponding image object.
>From what I searched in commit log, the support in Project dash board
was introduced in bd6bad5f. df194c8b (integrated early this year)
patched Admin dashboard's index page to retrieve image objects but
didn't set instances' image attribute to corresponding image object.
BTW, it's not clear in Glance API doc if user with admin role can get
all project images (including project private ones) when issuing "GET
/v2/images" reqeust, but my experiments verified it can.
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1711486
Title:
Admin dashboard instances index page generated duplicate Glance
requests
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Please see this thread:
http://lists.openstack.org/pipermail/openstack-
dev/2017-August/121097.html
The instances index page in Admin dashboard generates a request for
Glance every time Server.image_name() is called (the method is called
a lot when building the page). Project dashboard doesn't have this
issue because it retrieves all images objects first and sets each
instance's image attribute to corresponding image object.
From what I searched in commit log, the support in Project dash board
was introduced in bd6bad5f. df194c8b (integrated early this year)
patched Admin dashboard's index page to retrieve image objects but
didn't set instances' image attribute to corresponding image object.
BTW, it's not clear in Glance API doc if user with admin role can get
all project images (including project private ones) when issuing "GET
/v2/images" reqeust, but my experiments verified it can.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1711486/+subscriptions
Follow ups