Project

General

Profile

Actions

Bug #57851

closed

pybind/mgr/snap_schedule: use temp_store for db

Added by Patrick Donnelly over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Urgent
Category:
-
Target version:
% Done:

100%

Source:
Q/A
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

Copied to mgr - Backport #58261: quincy: pybind/mgr/snap_schedule: use temp_store for dbResolvedPatrick DonnellyActions
Actions #1

Updated by Patrick Donnelly over 1 year ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 48449
Actions #2

Updated by Venky Shankar over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot over 1 year ago

  • Copied to Backport #58261: quincy: pybind/mgr/snap_schedule: use temp_store for db added
Actions #4

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #5

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF