From 426232e28846a3c9a9a7c7d1aa6d2e736895356f Mon Sep 17 00:00:00 2001
From: licanwei
Date: Wed, 26 Apr 2017 15:55:01 +0800
Subject: [PATCH] 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
---
watcher/conf/nova_client.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 watcher/conf/nova_client.py
diff --git a/watcher/conf/nova_client.py b/watcher/conf/nova_client.py
old mode 100644
new mode 100755
index 519ed49e3..35d55fdb5
--- a/watcher/conf/nova_client.py
+++ b/watcher/conf/nova_client.py
@@ -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):