X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=models%2Fopenmano%2Fpython%2Frift%2Fopenmano%2Fopenmano_client.py;h=834eea519176dd5f7ac383845a9e487437815e3c;hb=5a660df2c93308dc82a1bd31b8eb000558910ee9;hp=09fb43dbe0f8f054fb6375275e3a8bf731dba4a1;hpb=fe8b07516ed51d0298f2defca8b7fb25366d912d;p=osm%2FSO.git diff --git a/models/openmano/python/rift/openmano/openmano_client.py b/models/openmano/python/rift/openmano/openmano_client.py index 09fb43db..834eea51 100755 --- a/models/openmano/python/rift/openmano/openmano_client.py +++ b/models/openmano/python/rift/openmano/openmano_client.py @@ -96,7 +96,7 @@ class OpenmanoHttpAPI(object): class OpenmanoCliAPI(object): """ This class implements the necessary funtionality to interact with """ - CMD_TIMEOUT = 30 + CMD_TIMEOUT = 120 def __init__(self, log, host, port, tenant): self._log = log @@ -143,8 +143,8 @@ class OpenmanoCliAPI(object): if proc.returncode != 0: self._log.error( - "Openmano command failed (rc=%s) with stdout: %s", - proc.returncode, stdout + "Openmano command %s failed (rc=%s) with stdout: %s", + cmd_args[1], proc.returncode, stdout ) raise OpenmanoCommandFailed(stdout)