lock.py: Log failing os-version if it doesn't validate

Fixes: #9597
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Merge pull request #337 from ceph/wip-9597

lock.py: Log failing os-version if it doesn't validate