Allow the deployment of privileged KDUs
[osm/N2VC.git] / n2vc / libjuju.py
index 7a29a16..b897bc6 100644 (file)
@@ -558,7 +558,7 @@ class Libjuju:
         controller = await self.get_controller()
         model = await self.get_model(controller, model_name)
         try:
-            await model.deploy(uri)
+            await model.deploy(uri, trust=True)
             if wait:
                 await JujuModelWatcher.wait_for_model(model, timeout=timeout)
                 self.log.debug("All units active in model {}".format(model_name))
@@ -642,7 +642,6 @@ class Libjuju:
         :param: application_name:   Application name
         :param: model_name:         Model name
         :param: machine_id          Machine id
-        :param: db_dict:            Dictionary with data of the DB to write the updates
         :param: total_timeout:      Timeout for the entity to be active
 
         :return: None