Fix the bug that can not create a loadbalancer policy with
exists loadbalancer Failed to create a loadbalancer policy with the error message "AttributeError: 'NeutronClient' object has no attribute 'loadbalancer_get'". And then I found it's an error call in policies/base.py, it should call octavia() rather than network(). Closes-Bug: #1744437 Change-Id: I7aabfd0c339339ca5fdc6ff679700ca28b56bc4e
This commit is contained in:
parent
3327efce7d
commit
35cd42c287
|
@ -295,7 +295,7 @@ class Policy(object):
|
|||
return self._octaviaclient
|
||||
|
||||
params = self._build_conn_params(user, project)
|
||||
self._octaviaclient = driver.SenlinDriver().network(params)
|
||||
self._octaviaclient = driver.SenlinDriver().octavia(params)
|
||||
|
||||
return self._octaviaclient
|
||||
|
||||
|
|
Loading…
Reference in New Issue