Tuesday, 2023-11-14

QGHello ! 16:25
QGDo you know if we have the same full set of options for the  Persistence database as the ones for the database section ?16:25
QGLike the connection_recycle_time or the max_pool_size and max_overflow ?16:25
QGi don't see any https://github.com/openstack/octavia/blob/master/octavia/common/config.py#L55116:25
tkajinamafaik octavia imports subset of database options for persistent database but it does not provide "full" set of options16:45
tkajinamhttps://github.com/openstack/octavia/blob/master/octavia/controller/worker/v2/taskflow_jobboard_driver.py#L40-L4316:45
tkajinamthe list of options there comes from the options supported by taskflow library (taskflow library should pass options to underlying sqlalchemy). if you need additional tunables then you may have to update taskflow then octavia16:47
tkajinamnow the equivalent option in sqlalchemy is hard-coded to 3600. it seems taskflow allows overriding it so we can probably use that interface in octavia, I guess16:49
opendevreviewTakashi Kajinami proposed openstack/octavia master: Honor connection_recycle_timeout in MysqlPersistenceDriver  https://review.opendev.org/c/openstack/octavia/+/90092516:55
gthiemon1ewow that was fast! thanks for the patch tkajinam ;-)16:58
QGWow Thanks for the infos tkajinam and also for the patch16:59
tkajinamgthiemon1e, QG ;-)17:00
tkajinamoslo.db has some retry options but afaik there are implemented in oslo.db itself and does not work for persistence database which is directly connected using sqlalchemy17:01
tkajinamthere are a few other options but I don't see anything else I can add easily. Probably slave_connection is an interesting one though it may require some amount of changes in taskflow I guess17:03
tkajinamif you find anything else useful then it might worth creating a bug (assuming octavia no longer uses storyboard ?). note that configuring the options for persistence database selarately from oslo.db database is not supported now.17:07
* tkajinam runs away17:07

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!