Project

General

Profile

Actions

Bug #9234

closed

lock-many request includes 'ubuntu@'; lookup fails

Added by Dan Mick over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

I don't know whether it's the lockserver not accepting the string or the client changes sending the user erroneously, so I added a brute-force fix:

--- a/teuthology/lockstatus.py
+++ b/teuthology/lockstatus.py
@@ -4,6 +4,8 @@ from .config import config

 def get_status(name):
+    # strip off any 'user@' for the query
+    name = name[name.find('@')+1:]
     uri = os.path.join(config.lock_server, 'nodes', name, '')
     response = requests.get(uri)
     success = response.ok

Actions #1

Updated by Dan Mick over 9 years ago

  • Assignee set to Zack Cerza
  • Priority changed from Normal to High
  • Source changed from other to Development
Actions #3

Updated by Dan Mick over 9 years ago

Yep. Thanks. Swore I updated. Grr.

Actions

Also available in: Atom PDF