replace nova endpoint

The default is publicURL in novaclient.
This also caused the failure of
gate-watcher-dsvm-multinode-ubuntu-xenial-nv.

Change-Id: I485dd62fb7199ffeca29a9b573a624bf144484d1
Closes-Bug: #1686298
Closes-Bug: #1686281
This commit is contained in:
licanwei
2017-04-26 15:55:01 +08:00
parent 778d4c6fe4
commit 426232e288

4
watcher/conf/nova_client.py Normal file → Executable file
View File

@@ -26,10 +26,10 @@ NOVA_CLIENT_OPTS = [
default='2',
help='Version of Nova API to use in novaclient.'),
cfg.StrOpt('endpoint_type',
default='internalURL',
default='publicURL',
help='Type of endpoint to use in novaclient.'
'Supported values: internalURL, publicURL, adminURL'
'The default is internalURL.')]
'The default is publicURL.')]
def register_opts(conf):