=== modified file 'glance/common/client.py' --- glance/common/client.py 2012-04-24 16:55:13 +0000 +++ glance/common/client.py 2012-04-26 20:30:34 +0000 @@ -423,7 +423,7 @@ """ Create a URL object we can use to pass to _do_request(). """ - path = '/'.join([self.doc_root or '', action.lstrip('/')]) + path = '/'.join([self.doc_root.lstrip('/') or '', action.lstrip('/')]) scheme = "https" if self.use_ssl else "http" netloc = "%s:%d" % (self.host, self.port)