oschwart | hey 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 |
---|---|---|
oschwart | Jul 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 |
oschwart | Jul 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 |
oschwart | is 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#L165 | 09:41 |
hberaud[m] | But that's a debug level log, it should disappear in production env when logs level is adjusted | 09:42 |
oschwart | yeah well I have set the debugging level to debug, so I can't complain | 09:42 |
oschwart | exactly | 09: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 variable | 09:44 |
oschwart | the 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 central | 09:44 |
oschwart | https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_015/openstack/015a3e2ce8784958bb304e56672419d3/controller/logs/screen-designate-producer.txt | 09:44 |
oschwart | the weird thing is that it doesn't happen to me on my devstack instance | 09: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 threshold | 09:45 |
oschwart | yeah or maybe reduce the frequency | 09:46 |
hberaud[m] | indeed, that's weird, either your devstack instance fall into the break part, or is caught by one of the exceptions | 09: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/!