I believe there is no flooding, as the RESTAPI will send the warning to the log only once per failed operation. What happens here, if I understand correctly, is that the caller is sending the same request multiple times, once every 5 seconds, thus the warning in the log is repeated. Unless I'm missing something this should be closed as NOTABUG.
The warning messages generated for failed requests come directly from RESTEasy, not from our own code. If we want to avoid them then we need to reduce the level of the "org.jboss.resteasy.core.SynchronousDispatcher" category (or some of its parents). This can be done editing the /usr/share/ovirt-engine/service/ovirt-engine/ovirt-engine.xml.in file and adding the following (after the configuration for category "sun.rmi", line 102):
Then restart the engine (service ovirt-engine restart).
Note that this file (ovirt-engine.xml.in) isn't a configuration file, so any change there will be lost when the owning package (rhevm-backend) is updated.
We could consider doing this by default, as these log messages in particular aren't really very useful, but in my opinion it is valuable to have the warnings by default, even if they consume some log space, as there may be other useful warnings associated to the same category.
As there is workaround I'm re-targeting to 3.6, for later re-consideration.
Verified in oVirt 3.6.0-1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.