Description of problem:
A refactor patch  introduced an error in the logic of the `execute_ops` of `PeriodicTask`  (L100) where it no longer tests for a `False` condition but instead for a `True`.
Version-Release number of selected component (if applicable): n/a
How reproducible: 100%
Steps to Reproduce:
1. Run neutron
2. Look at the logs
The periodic task is locked but at the same time it's logged that the task is locked and no operations are run. Next iteration operations will be run and then unlocked.
The periodic task is locked, operations are executed and then unlocked.
Fix merged in master and stable/pike
I checked it on Itzik's deployment, this is fine now as the maintenance task is executing normally as it should by it's defined interval.
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.