Use Centralized database for caching

Registered by Abhishek Kekane

We use two different database(s) for glance. One is centralized database managed by oslo.db (default is MySql) for storing information related to regular operations and sqlite for storing information about caching related operations. Even though sqlite database is only created if we enable cache middleware we still need to maintain it along with centralized database. Also glance caches are local to each controller node (glance api service), so in case of multiple glance services running we have multiple sqlite database(s) operational.

Blueprint information

Status:
Not started
Approver:
Pranali Deore
Priority:
Undefined
Drafter:
Abhishek Kekane
Direction:
Needs approval
Assignee:
Abhishek Kekane
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:centralized-cache-db

Addressed by: https://review.opendev.org/c/openstack/glance/+/899870
    Add required database API(s) for cache

Addressed by: https://review.opendev.org/c/openstack/glance/+/899871
    Introduce centralized database driver for image cache

Addressed by: https://review.opendev.org/c/openstack/glance/+/899872
    Read global config file for cache utilities

Addressed by: https://review.opendev.org/c/openstack/glance/+/900418
    Move sqlite code in common module

Addressed by: https://review.opendev.org/c/openstack/glance/+/900419
    Migrate from SQLite to Centralized db

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.