X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=n2vc%2Fn2vc_juju_conn.py;h=c01c436924fa23538910858400c049090684faaa;hb=05bccf7db9202bf50f7c9c7513c36082e73005e1;hp=2c943282a61b846d93d81821e3bd05592ec650f3;hpb=3061bef8813d539f903d00bdccc023c6683222b4;p=osm%2FN2VC.git diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index 2c94328..c01c436 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -369,7 +369,7 @@ class N2VCJujuConnector(N2VCConnector): # In case of native_charm is being deployed, if JujuApplicationExists error happens # it will try to add_unit - @retry(attempts=3, delay=5, retry_exceptions=(N2VCApplicationExists,)) + @retry(attempts=3, delay=5, retry_exceptions=(N2VCApplicationExists,), timeout=None) async def install_configuration_sw( self, ee_id: str, @@ -453,7 +453,7 @@ class N2VCJujuConnector(N2VCConnector): artifact_path = artifact_path.replace("//", "/") # check charm path - if not self.fs.file_exists(artifact_path, mode="dir"): + if not self.fs.file_exists(artifact_path): msg = "artifact path does not exist: {}".format(artifact_path) raise N2VCBadArgumentsException(message=msg, bad_args=["artifact_path"]) @@ -550,7 +550,7 @@ class N2VCJujuConnector(N2VCConnector): artifact_path = artifact_path.replace("//", "/") # check charm path - if not self.fs.file_exists(artifact_path, mode="dir"): + if not self.fs.file_exists(artifact_path): msg = "artifact path does not exist: {}".format(artifact_path) raise N2VCBadArgumentsException(message=msg, bad_args=["artifact_path"]) @@ -886,7 +886,6 @@ class N2VCJujuConnector(N2VCConnector): application_name=application_name, model_name=model_name, machine_id=machine_id, - db_dict=db_dict, total_timeout=total_timeout, ) else: