add glance deadlock query

Change-Id: I154e5a9cbc6dc7bfb981b97fd7dfe59f8c839cdf
Related-Bug: #1339735
Merge "add glance deadlock query"