Remove EE Charms when VNF has only day-1 operations Add paramter in EE deletion method to allow deletion of a single application instead of the whole model Change-Id: I4d1ebdd0c44c21a01c4d1e0e1f10b63ac983d787 Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Wrapping Retry for Py3.10 The retrying_async library is not Python 3.10 ready, so we are providing a 3.10 compatible callback for it to use instead of the default one Change-Id: I15e9b64c70d4d294c9ff0c6c7048cd257f6e1b61 Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Python3.10/Ubuntu 22.04 part 2 Removal of loop from all methods Change-Id: I05bfe90f82b8c8acba3172de89c7d8e0ee08402b Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Ubuntu 22.04 and Python 3.10 preparation Change-Id: I57a4ee39c101bdab610a6964de58eaa2653d37a3 Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com> Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Reformat files according to new black validation Change-Id: Ifebf4e97ae22b0131d0e84c58a18468b454ee6a7 Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Fix cross-model relation condition Provider and requirer are in different controllers. Change-Id: Icd6d82571d62c562517292d368241244cbe06f3e Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Fixing Bug 2181 Application name creation for Helm chart Change-Id: Id0a83e2b5fee1dbb4c4109f7974b073fc7c3abd7 Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Fix Bug 2181 VDU level charm application name creation problem has been fixed. Change-Id: Ie9e039ae2a3b8734dc6bf0b6dfc14b3455941b84 Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Bug 1890: Use output from action Pass the output from the action command back to the caller, regardless of the status of action completion. This allows for failure messages to be passed through to the LCM for storage in the action record. Change-Id: I268c43225b71a80e54712743e61586d57952553e Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Fixing charm application name creation if DU is Helm Chart/KDU If deployment unit is a Helm chart/KDU, vdu_profile_id and vdu_count will be empty string. Change-Id: Ifb6aed0f08f2d7687d0cd6a31506268926ac7f63 Signed-off-by: aticig <gulsum.atici@canonical.com>
Feature 10944 Change naming of charms Modifying n2vc_conn.py/N2VCConnector _get_application_name method to generate new application naming for charms Change-Id: I1908bdbe4ce1a959a8a407f77913a414ec23fbb4 Signed-off-by: aticig <gulsum.atici@canonical.com>
Add logs Change-Id: If831d758b463ce0a2592cd651277c5ec7dabc26a Signed-off-by: David Garcia <david.garcia@canonical.com>
Feature 10908 pass over upgrade request to Libjuju Change-Id: I7a4ea434f22b939a80f58941a892ed92dae62ee6 Signed-off-by: aticig <gulsum.atici@canonical.com>
Add deleting lock to K8sJujuConnector - Minor fix in delete_lock - bug 2016 Change-Id: Ic2f66eeee7967f0d7789428abb4b288c7bb90f36 Signed-off-by: David Garcia <david.garcia@canonical.com>
Add lock deleting namespaces - Fix bug 2016 Change-Id: Ifd4572937376cdeec79e3dfd808174d3f14325b9 Signed-off-by: David Garcia <david.garcia@canonical.com>
Bug 1939 fixed: : added a random suffix to the end of the Juju app name, in order to allow multiple Juju charms per VDU I followed the second option of the bug's description. Now, Juju applications have a random suffix with size=5 (the random suffix size used by K8s), in order to avoid collisions between applications' names; Also fixed unit-test on test_n2vc_juju_conn.py Change-Id: I5d3eb8282889e58361f7c21214b11071a7530d26 Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Feature 10887: Add cross-model relations support Changes: - Extend `add_relation` method in N2VCJujuConn to include the CMR case - Add `add_relation` method to K8sJujuConn - Add n2vc/definitions.py file that includes definition ofjects for Offer and RelationEndpoint. - Change `n2vc.libjuju.Libjuju.list_offers` method to be private, and accept a filter `offer_name` parameter. - Update `n2vc.libjuju.Libjuju.consume` method arguments. - Add `n2vc.libjuju.Libjuju.offer` method to create an offer. Unit tests associated to the code changes have been either created or updated accordingly Change-Id: Ibf8d574528dee0fa898e0e97578dd3a6aa68316a Signed-off-by: David Garcia <david.garcia@canonical.com>
Fix bug 1722: add support for deploying .charm files Change-Id: Id43c3d0714cf341dcb4d5581a32d6a1102a3e7ac Signed-off-by: David Garcia <david.garcia@canonical.com>
Bug 1643 fix Change-Id: Id3eaeb2f3c2fac33cc2faf0c45d51f07a2392a7e Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
Fix bug 1636: remove the default 30s timeout in retry Change-Id: Ie6094ebb91d32c1dcb63dc718f4dbeaf2e07adda Signed-off-by: David Garcia <david.garcia@canonical.com>