projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
:Updated endpoint for gnocchi and aodh plugins.
[osm/MON.git]
/
osm_mon
/
plugins
/
OpenStack
/
common.py
diff --git
a/osm_mon/plugins/OpenStack/common.py
b/osm_mon/plugins/OpenStack/common.py
index
8769312
..
447d89d
100644
(file)
--- a/
osm_mon/plugins/OpenStack/common.py
+++ b/
osm_mon/plugins/OpenStack/common.py
@@
-26,7
+26,7
@@
import logging
from keystoneclient.v3 import client
from keystoneclient.v3 import client
-from plugins.OpenStack.settings import Config
+from
osm_mon.
plugins.OpenStack.settings import Config
import requests
import requests
@@
-97,7
+97,7
@@
class Common(object):
try:
return self._ks.service_catalog.url_for(
service_type=service_type,
try:
return self._ks.service_catalog.url_for(
service_type=service_type,
- endpoint_type='
internal
URL',
+ endpoint_type='
public
URL',
region_name='RegionOne')
except Exception as exc:
log.warning("Failed to retreive endpoint for service due to: %s",
region_name='RegionOne')
except Exception as exc:
log.warning("Failed to retreive endpoint for service due to: %s",
@@
-134,6
+134,6
@@
class Common(object):
except Exception:
# Log out the result of the request for debugging purpose
log.debug(
except Exception:
# Log out the result of the request for debugging purpose
log.debug(
- 'Result: %s, %
d
',
+ 'Result: %s, %
s
',
response.status_code, response.text)
return response
response.status_code, response.text)
return response