Re: 17.2.5 snap_schedule module error (cephsqlite: cannot open temporary database)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-11-17 14:19, Milind Changire wrote:
On Thu, Nov 17, 2022 at 6:02 PM phandaal <phandaal@xxxxxxxxxxxx> wrote:
On 2022-11-17 12:58, Milind Changire wrote:
The error arrives when trying to restart old schedules
(schedule_client.py line 169) and trying to find the old store, which
does not exist, the schedules have been created in Pacific. Can I just
wipe them out to recreate the schedules from scratch ?


The error does show up when trying to restart old schedules, but the
ioctx.stat()
at line schedule_client.py:201 should've thrown a rados.ObjectNotFound
exception
and got caught at line 205. Which doesn't seem to be the case. Which
implies that
the backing rados object for the DB dump was found, but there was a
libcephsqlite
error as per your original email:
2022-11-17T09:50:25.769+0100 7f7be20db6c0 -1 cephsqlite:
Open: (client.444215)  cannot open temporary database

Hence the error at line 203:
                    db.executescript(dump)

The problem seems to be due to these missing bits:
pybind/mgr: use memory temp_store #48449
<https://github.com/ceph/ceph/pull/48449>

Thanks for pointing to this patch, I just added the two lines, restarted the mgr and everything went back to normal. All the schedules are back and working.

Regards,
Christian.

--
Christian Vilhelm : phandaal@xxxxxxxxxxxx
Reality is for people who lack imagination
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux