Augment the e-r query for bug 1258682

Work done to retain logs has changed the signature of this bug, see
comments #26 + #27 on:
    https://bugs.launchpad.net/tempest/+bug/1258682

Change-Id: Ia0813e64465ee59f351f0ee212681ab2fd256797
Related-Bug: #1258682