Fix share endpoint discovery
Share's endpoints are versioned so we have to call no_port_cut_url method for properly parsing the endpoint. Change-Id: I54855f44e87a46a72da704413b1b78857858c9a7
This commit is contained in:
parent
84e406d530
commit
bd97ede0a5
@ -23,6 +23,12 @@ from tempest.lib import exceptions
|
||||
|
||||
class ShareService(VersionedService):
|
||||
|
||||
def set_versions(self):
|
||||
url, top_level = self.no_port_cut_url()
|
||||
body = self.do_get(url, top_level=top_level)
|
||||
self.versions_body = json.loads(body)
|
||||
self.versions = self.deserialize_versions(self.versions_body)
|
||||
|
||||
def get_share_pools(self, detail=False):
|
||||
url = self.service_url + '/scheduler-stats/pools'
|
||||
if detail:
|
||||
|
Loading…
Reference in New Issue
Block a user