Use Centralized database for caching
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
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add required database API(s) for cache
Addressed by: https:/
Introduce centralized database driver for image cache
Addressed by: https:/
Read global config file for cache utilities
Addressed by: https:/
Move sqlite code in common module
Addressed by: https:/
Migrate from SQLite to Centralized db
Addressed by: https:/
Use centralized_db cache driver in tempest jobs
Addressed by: https:/
New grenade job to upgrding cache driver
Gerrit topic: https:/
Addressed by: https:/
Deprecate sqlite cache driver
Addressed by: https:/
Add new tables for cache operations
Addressed by: https:/
Add required database API(s) for cache
Gerrit topic: https:/
Addressed by: https:/
Make `centralized_db` cache driver default
Addressed by: https:/
[docs] Configure centralized_db cache driver
Gerrit topic: https:/
Addressed by: https:/
Fix flaky test related to cache migration