Use --os-endpoint-type for Cinder CLI
The --endpoint-type option has been deprecated in Cinder for several years and was just recently removed. It was missed that the tempest lib CLI code was still using that to specify the public URL. This updates the Cinder CLI handling to use the more conventional --os-endpoint-type. Change-Id: Icb81710a6b905d80c2e75b29be449dc029e01bdd Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> Closes-bug: #1783885 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
5a501744d2
commit
2e354d7a03
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Cinder CLI calls have now been updated to use the ``--os-endpoint-type``
|
||||
option instead of ``--endpoint-type``. The latter had been deprecated in
|
||||
Cinder and has been removed in the Rocky release.
|
@ -269,7 +269,7 @@ class CLIClient(object):
|
||||
:param merge_stderr: if True the stderr buffer is merged into stdout
|
||||
:type merge_stderr: boolean
|
||||
"""
|
||||
flags += ' --endpoint-type %s' % endpoint_type
|
||||
flags += ' --os-endpoint-type %s' % endpoint_type
|
||||
return self.cmd_with_auth(
|
||||
'cinder', action, flags, params, fail_ok, merge_stderr)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user