Friday, 2025-07-04

oschwarthey folks o/ I am trying to migrate producer (Designate component) to use the threading backend and my log file is getting flooded by these:09:36
oschwartJul 04 09:33:06 ubuntu-debug designate-producer[881191]: DEBUG oslo.service.backend.threading.loopingcall [None req-f31071fd-6770-41f5-ad95-c170c79c4f26 None None] Fixed interval looping call 'designate.producer.tasks.PeriodicGenerateDelayedNotifyTask' sleeping for 4.50 seconds {{(pid=881191) _run_loop /opt/stack/data/venv/lib/python3.10/site-packages/oslo_service/backend/threading/loopingcall.py:165}}09:36
oschwartJul 04 09:33:06 ubuntu-debug designate-producer[881191]: DEBUG oslo.service.backend.threading.loopingcall [None req-73629c83-648d-46d8-9761-97f5f41eabb6 None None] Fixed interval looping call 'designate.producer.tasks.PeriodicIncrementSerialTask' sleeping for 4.50 seconds {{(pid=881191) _run_loop /opt/stack/data/venv/lib/python3.10/site-packages/oslo_service/backend/threading/loopingcall.py:165}}09:36
oschwartis that expected?09:36
hberaud[m]damani: FYI ^09:37
hberaud[m]Apparently yes https://opendev.org/openstack/oslo.service/src/branch/master/oslo_service/backend/threading/loopingcall.py#L16509:41
hberaud[m]But that's a debug level log, it should disappear in production env when logs level is adjusted09:42
oschwartyeah well I have set the debugging level to debug, so I can't complain09:42
oschwartexactly09:42
hberaud[m]in all the case there is no specific statement or condition around this log, maybe we should reduce is impact by checking patterns around the idle variable09:44
oschwartthe patch that I have pushed to the u/s CI fails, I see in the logs that I am getting some timeouts when the producer tries to make some RPC calls to central09:44
oschwarthttps://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_015/openstack/015a3e2ce8784958bb304e56672419d3/controller/logs/screen-designate-producer.txt09:44
oschwartthe weird thing is that it doesn't happen to me on my devstack instance09:45
hberaud[m]I mean, I'm not convinced that it is useful to log it all the time, I'd rather suggest to log it if it overcome some threshold09:45
oschwartyeah or maybe reduce the frequency09:46
hberaud[m]indeed, that's weird, either your devstack instance fall into the break part, or is caught by one of the exceptions09:47
hberaud[m]that may indicate that the env with the log go further in the loop or that the call take longer (both are quite similar)09:49

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