yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83208
[Bug 1886374] [NEW] Improve lazy loading mechanism for multiple stores
Public bug reported:
Glance has a facility lazy loading for legacy images which will be
called on get/list api calls to add store information in image's
location metadata based on location URL of image. Even if admin decides
to change the store names in glance-api.conf same will also be updated
in location metadata for all images related to that particular store.
Current implementation of legacy image performs this operation on each
get/list call as location metadata is not getting updated in database or
it doesn't handle to perform store name check in glance-api.conf
Proposed fix for improvements:
1. Save updated location metadata information in database permanently
2. Add logic to perform lazy loading only if store information is not present in location metadata or store present in location metadata is not defined in glance's enbaled_backends configuration option.
** Affects: glance
Importance: High
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Affects: glance/train
Importance: Undecided
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Affects: glance/ussuri
Importance: Undecided
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Changed in: glance
Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)
** Changed in: glance
Importance: Undecided => High
** Also affects: glance/train
Importance: Undecided
Status: New
** Also affects: glance/victoria
Importance: High
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Also affects: glance/ussuri
Importance: Undecided
Status: New
** No longer affects: glance/victoria
** Changed in: glance/ussuri
Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)
** Changed in: glance/train
Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1886374
Title:
Improve lazy loading mechanism for multiple stores
Status in Glance:
New
Status in Glance train series:
New
Status in Glance ussuri series:
New
Bug description:
Glance has a facility lazy loading for legacy images which will be
called on get/list api calls to add store information in image's
location metadata based on location URL of image. Even if admin
decides to change the store names in glance-api.conf same will also be
updated in location metadata for all images related to that particular
store. Current implementation of legacy image performs this operation
on each get/list call as location metadata is not getting updated in
database or it doesn't handle to perform store name check in glance-
api.conf
Proposed fix for improvements:
1. Save updated location metadata information in database permanently
2. Add logic to perform lazy loading only if store information is not present in location metadata or store present in location metadata is not defined in glance's enbaled_backends configuration option.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1886374/+subscriptions
Follow ups