projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ns.py to append osm to metric_name to be BWC
[osm/LCM.git]
/
osm_lcm
/
lcm_helm_conn.py
diff --git
a/osm_lcm/lcm_helm_conn.py
b/osm_lcm/lcm_helm_conn.py
index
b8817a5
..
d1ad4c5
100644
(file)
--- a/
osm_lcm/lcm_helm_conn.py
+++ b/
osm_lcm/lcm_helm_conn.py
@@
-47,7
+47,7
@@
from osm_lcm.lcm_utils import deep_get
def retryer(max_wait_time_var="_initial_retry_time", delay_time_var="_retry_delay"):
def wrapper(func):
def retryer(max_wait_time_var="_initial_retry_time", delay_time_var="_retry_delay"):
def wrapper(func):
- retry_exceptions =
ConnectionRefusedError
+ retry_exceptions =
(ConnectionRefusedError, TimeoutError)
@functools.wraps(func)
async def wrapped(*args, **kwargs):
@functools.wraps(func)
async def wrapped(*args, **kwargs):
@@
-674,7
+674,6
@@
class LCMHelmConn(N2VCConnector, LcmBase):
)
try:
)
try:
-
# Obtain cluster_uuid
system_cluster_uuid = await self._get_system_cluster_id()
# Obtain cluster_uuid
system_cluster_uuid = await self._get_system_cluster_id()
@@
-799,7
+798,6
@@
class LCMHelmConn(N2VCConnector, LcmBase):
channel.close()
def _write_op_detailed_status(self, db_dict, status, detailed_message):
channel.close()
def _write_op_detailed_status(self, db_dict, status, detailed_message):
-
# write ee_id to database: _admin.deployed.VCA.x
try:
the_table = db_dict["collection"]
# write ee_id to database: _admin.deployed.VCA.x
try:
the_table = db_dict["collection"]