Actions
Bug #57851
closedpybind/mgr/snap_schedule: use temp_store for db
% Done:
100%
Source:
Q/A
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Description
2022-10-11T17:26:57.296+0000 7f6027539640 -1 cephsqlite: Open: (client.35235) cannot open temporary database 2022-10-11T17:26:57.296+0000 7f6027539640 -1 mgr load Failed to construct class in 'snap_schedule' 2022-10-11T17:26:57.296+0000 7f6027539640 -1 mgr load Traceback (most recent call last): File "/usr/share/ceph/mgr/snap_schedule/module.py", line 38, in __init__ self.client = SnapSchedClient(self) File "/usr/share/ceph/mgr/snap_schedule/fs/schedule_client.py", line 158, in __init__ with self.get_schedule_db(fs_name) as conn_mgr: File "/usr/share/ceph/mgr/snap_schedule/fs/schedule_client.py", line 194, in get_schedule_db db.executescript(dump) sqlite3.OperationalError:
It appears some situations require sqlite3 to open a temporary database to execute the old database dump.
Updated by Patrick Donnelly over 1 year ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 48449
Updated by Venky Shankar over 1 year ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot over 1 year ago
- Copied to Backport #58261: quincy: pybind/mgr/snap_schedule: use temp_store for db added
Updated by Konstantin Shalygin about 1 year ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
Actions