Bug #57851
pybind/mgr/snap_schedule: use temp_store for db
Status:
Pending Backport
Priority:
Urgent
Assignee:
Category:
-
Target version:
% Done:
0%
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.
Related issues
History
#1 Updated by Patrick Donnelly 4 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 48449
#2 Updated by Venky Shankar about 2 months ago
- Status changed from Fix Under Review to Pending Backport
#3 Updated by Backport Bot about 2 months ago
- Copied to Backport #58261: quincy: pybind/mgr/snap_schedule: use temp_store for db added
#4 Updated by Backport Bot about 2 months ago
- Tags set to backport_processed