Pedro Escaleira [Sat, 11 Jun 2022 20:17:26 +0000 (21:17 +0100)]
Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)
This fixes merged patch 10938: this previous patch was causing Helm-based EEs to fail their installation within the extract_prometheus_scrape_jobs method when the element was an NS or VNF
Change-Id: I1007cc7d2d75ef573d160e9420d173b14c1cff51
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
garciadeblas [Mon, 16 Jan 2023 16:08:04 +0000 (17:08 +0100)]
Revert "Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)"
This reverts commit
bd49c837f9d1714597710169ed99255b47251005.
Change-Id: I3306c56bc9851eb9d118d4047db8c115450e944e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Patricia Reinoso [Thu, 12 Jan 2023 09:40:53 +0000 (09:40 +0000)]
Bug 2210 NS instantiation fails in basic12
An exception is raised during NS instantation
when we try to access vnf_profile_id of
a NS charm (VCA) which is None
Change-Id: I7e3a26c6877f117b4ad5834d2b1a86767e7b7756
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Gulsum Atici [Tue, 10 Jan 2023 11:10:42 +0000 (14:10 +0300)]
Fix Bug 2208 KeyError while checking SDN assists requirement
VIM config is optional so code is fixed by checking the existence of VIM config.
Change-Id: I1aca37cf169a766219630c90968df9d729ffd621
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Gabriel Cuba [Fri, 6 Jan 2023 22:23:22 +0000 (17:23 -0500)]
Enables pylint in LCM and deletes unused methods
Change-Id: I09f92fbbcf6270dfda58d2016e2a9804b4e032f5
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Patricia Reinoso [Fri, 6 Jan 2023 22:28:44 +0000 (22:28 +0000)]
Bug 1234: OSM reports successful deployment when a charm relation fails
Fix : raise exception when a problem occurs during
charm relation addition.
NS is marked as broken if charm relations cannot
be added.
Change-Id: I4dbf4ddde374fcb46b5b1c20ec253fbb25c1f22c
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
cubag [Wed, 4 Jan 2023 21:45:58 +0000 (22:45 +0100)]
Revert "Bug 1234: OSM reports successful deployment when a charm relation fails" due to failures in cover.
This reverts commit
c09b842d41437f1c2bb4a931182afbe7088d696f.
Change-Id: I039d85138edd2814ed9454423dbf5224cc9db86b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Patricia Reinoso [Tue, 13 Dec 2022 11:23:37 +0000 (11:23 +0000)]
Bug 1234: OSM reports successful deployment when a charm relation fails
Fix : raise exception when a problem occurs during
charm relation addition.
NS is marked as broken if charm relations cannot
be added.
Change-Id: Ie14f0c0f840e810a945bb603cf6d9360662103fd
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Pedro Escaleira [Sat, 11 Jun 2022 20:17:26 +0000 (21:17 +0100)]
Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)
Change-Id: I227a6c8581d0b9e4f949b2ff46d13a5e900c978b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Gabriel Cuba [Tue, 20 Sep 2022 02:39:21 +0000 (21:39 -0500)]
Fix Bug 2087: Use projects_read when searching for VFND by non-unique id
Change-Id: Ifa8a7138249403718a4ad957b30f2faffab9b936
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Sat, 26 Nov 2022 23:55:15 +0000 (18:55 -0500)]
Fix loading of boolean values in configuration and set missing default values
Change-Id: I11e5e778e916fc84781bd73cce8a6d050b76ee5b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Luis Vega [Fri, 11 Nov 2022 20:10:49 +0000 (20:10 +0000)]
Feature 10929: LCM saga, Milestone 1.
Move configurations to ConfigMan class, using our own class (OsmConfigman).
Change-Id: Ia8f4e435d20ac88540aec071ca5cab9e70f112a6
Signed-off-by: Luis Vega <lvega@whitestack.com>
aticig [Fri, 9 Sep 2022 22:56:58 +0000 (01:56 +0300)]
Fix Bug 2199 Fixing ns update operation for KNF instances
This patch enables ns update operations on KNF instances which are deployed with Helm chart
and using .charm zipped files.
Change-Id: I6c598868ae81243ef598ae5b7df88e26a5b870c0
Signed-off-by: aticig <gulsum.atici@canonical.com>
Gabriel Cuba [Fri, 7 Oct 2022 16:38:23 +0000 (11:38 -0500)]
Feature 10947: Create certificates for helm EE:
- Add methods to create certificates
- Create and delete certs when NS is created and deleted.
- Add SSL context to gRPC channels
Change-Id: Ib1d86a61b5c5be098218d6892ba935e9b8bfdf9f
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Tue, 8 Nov 2022 00:28:14 +0000 (19:28 -0500)]
Heal: Await heal operation in RO before N2VC part to avoid errors
Change-Id: I1d201be817246fe025cfa4fc77bce5b54151e3a8
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
(cherry picked from commit
73d550fb553ef164b3c5512370bdf03175c9ca16)
garciadeblas [Fri, 18 Nov 2022 13:36:22 +0000 (14:36 +0100)]
Fix black issues and run tox properly in stage-test
Change-Id: Ie08f3029df03f97f1df1461a564c24ce024974fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Gabriel Cuba [Mon, 10 Oct 2022 16:34:51 +0000 (11:34 -0500)]
Feature 10956: Implement upgrade of helm based EEs
Change-Id: I24898c29664eab7043c0b6906277465fe45e0111
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
gifrerenom [Fri, 11 Nov 2022 14:44:57 +0000 (14:44 +0000)]
Feature 10954 to automatically select WIMs for inter-datacenter networks
Change-Id: I6c772705fd7bc854d1795a05ad1ac5bccd7bcc72
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
Pedro Escaleira [Sat, 23 Jul 2022 22:16:06 +0000 (23:16 +0100)]
Bug 2124 fixed: timeout defined when calling the N2VC scale method
Change-Id: I45b55c0a402b29bf3bc5d09a80eb4e5da850480c
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Pedro Escaleira [Sun, 11 Sep 2022 23:14:41 +0000 (00:14 +0100)]
Bug 2160 fixed: verifying if VDUR exists within the method update_ns_vld_target
Change-Id: I2f3ce8a8b32a2bc72e5e3022dd88c120300e2b29
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
limon [Fri, 28 Oct 2022 08:39:16 +0000 (10:39 +0200)]
Fix Bug 2187: Optional atomic flag in helm upgrades
Change-Id: I0552ebac311eff509ab601f0e8cdcd49b172c367
Signed-off-by: limon <alimonj@indra.es>
Gulsum Atici [Tue, 11 Oct 2022 13:39:00 +0000 (16:39 +0300)]
Update pip packages
Change-Id: Ic39d00c7a35d035d515fb8cae48a08fc919d489d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Gulsum Atici [Mon, 26 Sep 2022 17:57:26 +0000 (20:57 +0300)]
Updating requirements for libjuju 3.0.0 upgrade
Change-Id: I04f63474c96a6a73762331dbc876af6df0f2866d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
garciadeblas [Wed, 8 Jun 2022 11:13:13 +0000 (13:13 +0200)]
Update create_execution_environment to pass the chart_model
The function create_execution_environment has been updated
to allow the deployment from a file or from a reference
(repo/name:version).
This will call to the N2VC Helm connector to install the execution
environment in the local environment.
Change-Id: I03c8e95bf0f6a55d3f62bc7a55dabe3a9b348cde
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
preethika.p [Fri, 23 Sep 2022 07:36:28 +0000 (07:36 +0000)]
Fixing flake and black issues in code, enabling the same in tox
Change-Id: Id817198c20c039029c8b053e8eac0a8482d72a48
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
garciadeblas [Thu, 1 Sep 2022 11:09:47 +0000 (13:09 +0200)]
Fix bug 2098 to heal VDU when no VDU is specified in the heal operation
Change-Id: I1c6f618797f407da856400915d0825767069d6da
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
aticig [Sat, 20 Aug 2022 17:56:19 +0000 (20:56 +0300)]
Fixing Basic 12 Ns Primitives
NSD folder name can be different than the NSD package name.
Getting the exact NSD folder name while finding charm name.
Removing redefined the method async def upgrade_charm causing flake8 error.
Change-Id: I772c6a47104271de0a18c748d380ed71849194f0
Signed-off-by: aticig <gulsum.atici@canonical.com>
Mark Beierl [Fri, 19 Aug 2022 19:01:06 +0000 (15:01 -0400)]
Bug 1890: Improve Action Execution
Changes exception handling to put the content of the exception
into the ns action result so failures have meaningful output
Change-Id: I361c4ed6b03012cd4432ba72215c99f9aaf45b55
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
aticig [Wed, 27 Jul 2022 06:32:06 +0000 (09:32 +0300)]
Feature 10944 Change naming of charms
Adding find_charm_name method and
changing _deploy_n2vc and _heal_n2vc methods in LCM
Change-Id: I62fdf3e66493c26e07e80ba7874badbe7c74c95e
Signed-off-by: aticig <gulsum.atici@canonical.com>
garciadeblas [Tue, 2 Aug 2022 13:12:18 +0000 (15:12 +0200)]
Set autoescape to True in Jinja2 environment
Change-Id: Iae6b37db0fd0a3192a68b1db86a0d79704a93a69
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 2 Aug 2022 15:19:14 +0000 (17:19 +0200)]
Use of yaml.safe_load instead of yaml.load
Change-Id: Ic508f205abfd0b71362d3f124b0ec2c4d8f0a17c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
k4.rahul [Wed, 27 Jul 2022 10:37:26 +0000 (10:37 +0000)]
2126 BugFix: use both count-index & vdu_id for finding target vdu
Change-Id: I1c00273f8f98119b38913cbb9a11ae96171fe3f7
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
Luis [Fri, 1 Jul 2022 14:35:49 +0000 (14:35 +0000)]
Fixing LCM vulnerabilities
Change-Id: I0b0c5975ce6f3088df19e8facb28f946658378a5
Signed-off-by: Luis <lvega@whitestack.com>
aticig [Wed, 29 Jun 2022 07:43:05 +0000 (10:43 +0300)]
LCM Creates health check file according to configuration storage path
Health check file is created independent from user home directory
Change-Id: Ibb7454857d93b3b7396bd7bd0229533d1b090310
Signed-off-by: aticig <gulsum.atici@canonical.com>
Mark Beierl [Thu, 14 Jul 2022 13:38:27 +0000 (09:38 -0400)]
Jenkins refresh
Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup
Change-Id: Ida8ffa0f41c2467f0ac2a9f67cd326b4d9188ea3
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
k4.rahul [Thu, 7 Jul 2022 07:23:53 +0000 (07:23 +0000)]
2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation type for feature start_stop_rebuild
Change-Id: I13a8880426f4998ae610a7ac8db550711fe12084
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
govindarajul [Wed, 6 Jul 2022 10:47:00 +0000 (10:47 +0000)]
Bugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method
Change-Id: I3e25b40fe7957f8b7b30b530499ffe8843eb0de3
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
Guillermo Calvino [Wed, 1 Jun 2022 08:55:58 +0000 (10:55 +0200)]
Bug 2056 - _on_update_k8s_db and _on_update_n2vc_db take too much time on large models
Change-Id: Ifb8fff0b5a3f03821fea4863d6d8e6a51e0a3da0
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
beierlm [Sat, 25 Jun 2022 01:17:53 +0000 (21:17 -0400)]
Manual update of pip requirements
Change-Id: Iefd554bf703f44223b53f5395da163676e7ddef9
Signed-off-by: beierlm <mark.beierl@canonical.com>
govindarajul [Mon, 2 May 2022 14:32:41 +0000 (20:02 +0530)]
Feature 10911-Vertical scaling of VM instances from OSM
Added implementation code for Vertical Scaling of VDUs in OSM LCM
Review comments addressed
Change-Id: If36df196ecbadc6f1f348bd9d43f3b7cf0365602
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
aticig [Tue, 14 Jun 2022 00:01:36 +0000 (03:01 +0300)]
Fix Bug 2028 Multi-site VNF creation fails
This fix will provide to use the vim_network_name from instantiation parameters if it exists,
if not, network which is given in NSD will be used for the NS which is instantiated on multi-site VIMs.
Change-Id: Ie39e3444428474c8db01d59ef1a1995644ea6a81
Signed-off-by: aticig <gulsum.atici@canonical.com>
k4.rahul [Mon, 2 May 2022 16:35:02 +0000 (16:35 +0000)]
Feature 10922: Stop, start and rebuild
Added support for feature start stop rebuild of VNF instances
Added unit test case for feature start stop rebuild of VNF instances
Change-Id: I4a56fc116c998d0698be7e97118ce85207814b4b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
garciadeblas [Thu, 9 Jun 2022 07:42:58 +0000 (09:42 +0200)]
Feature 10909: Heal operation for VDU
Change-Id: I609dc47a2253fc40bc712479eafac18b7d653785
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: palaciosj <jmpalacios@indra.es>
elumalai [Fri, 10 Jun 2022 09:58:49 +0000 (15:28 +0530)]
Fix for test_remove_vnf failing in Heal VDU
Change-Id: I0283d3d2c1f709f991d07fac7276cba1244bbd6b
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
aticig [Thu, 19 May 2022 09:29:35 +0000 (12:29 +0300)]
Fix Bug 2012 use existing volumes as instantiation parameters
This fix parses the vdu instantiation parameters regarding with the persistent
volumes and than RO can process it.
Additionally corrected some Black and Flake8 errors.
Change-Id: If6fb41684555364914af52af334d70f794f133a2
Signed-off-by: aticig <gulsum.atici@canonical.com>
aticig [Mon, 30 May 2022 17:45:55 +0000 (20:45 +0300)]
Use revision number for updated vnfd
This patch fixes the Robot Basic 25 after NBI patch 12071.
Change-Id: Iec98a7b9b61f2c8f59fafaacaf586669b1eaa10d
Signed-off-by: aticig <gulsum.atici@canonical.com>
Pedro Escaleira [Mon, 30 May 2022 14:37:01 +0000 (15:37 +0100)]
Bug 2050 fixed: avoid trying to insert pk in a VM for a KNF VCA
Change-Id: I62bb34d29848c57fda2af6556d5e8fce6795f0c8
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Pedro Escaleira [Wed, 20 Apr 2022 17:00:17 +0000 (18:00 +0100)]
Bug 1999 fixed: DeployedK8sResource is now obtaining the model name from the namespace
Change-Id: Id7e08031097b3a1e66475c49af4fe1cfd233930e
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Pedro Escaleira [Thu, 21 Apr 2022 15:31:06 +0000 (16:31 +0100)]
Bug 2000 fixed: the namespace for the Juju Bundle is now updated within the KDU installation
Change-Id: If0d863ad8a9c53c12a9385e68bf3bf9d4cb06682
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Alexis Romero [Tue, 17 May 2022 16:18:02 +0000 (18:18 +0200)]
Fixes bug 2031: Increasing KDU instantiation timeout from 10 to 30 minutes.
Change-Id: I402cf3987db41220abdb4196ea42339e41ddd2c7
Signed-off-by: Alexis Romero <garomero@indra.es>
Gabriel Cuba [Tue, 22 Mar 2022 16:12:12 +0000 (11:12 -0500)]
Feature 10904: Make all deployment methods optional for K8s cluster
Change-Id: I0901d946096bb07d38efbba8b5bbd3c24f36cd2d
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
elumalai [Wed, 27 Apr 2022 04:28:38 +0000 (09:58 +0530)]
Feature 10912: NS Update Change VNF Package for SW Changes
Added support for feature Change VNF Package in NS Update
Change-Id: I03161ddca656b861d0cc10be0067fbfa7e32eb2f
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
elumalai [Tue, 12 Apr 2022 07:17:32 +0000 (12:47 +0530)]
Feature 10916 Remove VNF Instance from NS - NS Update
Added feature support to remove a VNF using NS Update
Added unit test cases
Change-Id: Ib8f8309544502fd8e580b8e62bcabb7dee64fddc
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
Pedro Escaleira [Thu, 21 Apr 2022 23:46:14 +0000 (00:46 +0100)]
added namespace argument to the N2VC's KDU uninstall function call
This is needed for the fix to the N2VC's bug 1995. This because when
uninstalling a KDU based on Helm Charts, we need to know thenamespace/model
associated to the Juju Bundle. However, if we try to obtain the
namespace from the database in the uninstall method on N2VC, most of the
times the nsrs associated data was already removed, which means that
N2VC will not be able to obtain it there (in the end, the
model/namespace is not removed). The most easy way is to pass the
namespace to the method, as done here.
Change-Id: I70bf67b301aa3036c9456f5c2c9c5d3176f7b58e
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
elumalai [Thu, 28 Apr 2022 12:35:01 +0000 (18:05 +0530)]
Feature 10910: Migration of Openstack based VM instances
Added feature support for Migration of Openstack based VM instances
from OSM
Change-Id: If0263ce05aff34ff008fef850f8861146b10c2dd
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
aticig [Tue, 12 Apr 2022 12:27:53 +0000 (15:27 +0300)]
Feature 10908: LCM process NS update request
This feature updates the running VNF instance in a network service.
Change-Id: I5531cdf1b977aff3508da5f105accff34d6817e0
Signed-off-by: aticig <gulsum.atici@canonical.com>
aticig [Mon, 2 May 2022 16:49:23 +0000 (19:49 +0300)]
Feature 10908: LCM process NS update request
This feature updates the running VNF instance in a network service.
It includes the method upgrade charms in VNFs.
Change-Id: I98867cd5db8053a66612ce130fbe4d053ffd6dcd
Signed-off-by: aticig <gulsum.atici@canonical.com>
David Garcia [Mon, 9 May 2022 14:18:27 +0000 (16:18 +0200)]
Add unit tests for osm_config
Change-Id: Ica9caf96191808dd27036dbd9b14ff0837d5393c
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Tue, 10 May 2022 12:07:12 +0000 (14:07 +0200)]
Fix bug 2025: Execute Helm Kdu actions in Proxy charms
Change-Id: Ief88be9a49b00d6f8ae96ea0dfd85c4665aca9b9
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Fri, 29 Apr 2022 03:50:46 +0000 (05:50 +0200)]
Add implicit osm-config configuration parameter to charm
- feature 10800: day-2 primitives for Helm Charts
- osm-config is only used for now in KDUs
Change-Id: I7c8c3f8d4c7d5281038b243de48d704f781b5d47
Signed-off-by: David Garcia <david.garcia@canonical.com>
Pedro Escaleira [Fri, 1 Apr 2022 00:49:22 +0000 (01:49 +0100)]
Bug 1957 fixed: added the functionality of obtaining the KDU status for KNFs based on both versions of Helm Charts
Change-Id: I4e94f96a3b65d5976ae5166f014b4e57a3bd7718
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Pedro Escaleira [Wed, 30 Mar 2022 23:08:05 +0000 (00:08 +0100)]
Bug 1949 fixed to update the deploy_params_kdu dict instead of overwriting it
Change-Id: I47ffa741679a6942bd3f4e46ec0a382e8a55422c
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
vegall [Tue, 22 Mar 2022 16:23:30 +0000 (16:23 +0000)]
Fix bug 1865: Manually scaling VDU from 0 to 1 instance fails
Now it's possible scale to 0 and then scale back to 1 again
Change-Id: I295f1ae34d15da0186ba470897a9d6834fe9168b
Signed-off-by: vegall <lvega@whitestack.com>
Alexis Romero [Fri, 11 Mar 2022 14:29:18 +0000 (15:29 +0100)]
Feature 10906: Support for Anti-Affinity groups
Change-Id: Ibea6072b6907815d8be80ccb532e17221503f71a
Signed-off-by: Alexis Romero <garomero@indra.es>
aticig [Mon, 24 Jan 2022 09:51:26 +0000 (12:51 +0300)]
Fix Bug 1425 NG-RO unable to pin VNF with vim_account config
If vnf vim-accounts has been changed during instantiation,
the binding between new vim-account information and
ns vld is provided through this fix.
Fixing some code format errors
Change-Id: I183c01d284047d5e49b7219eb88e6d85c0e2666c
Signed-off-by: aticig <gulsum.atici@canonical.com>
Guillermo Calvino [Wed, 2 Feb 2022 18:04:50 +0000 (19:04 +0100)]
Bug 1875 - Scale of KDUs fails when the KDU is instantiated with additional params
Change-Id: Id51434772bbcc4ccdc50d6bde6c559e835c640dc
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
aticig [Tue, 1 Feb 2022 12:51:29 +0000 (15:51 +0300)]
Bug 1841: LTS Support helm
Helm versions in LCM has been upgraded to 2.17.0 and 3.7.2.
Change-Id: I5f59fa180afa913d029ba6a7484e0f26cbbf6f86
Signed-off-by: aticig <gulsum.atici@canonical.com>
Guillermo Calvino [Tue, 1 Feb 2022 17:59:50 +0000 (18:59 +0100)]
Bug 1837 fix - Fix issue executing actions
Change-Id: Ia0bf89036b7601f1ba9f3fe9b724c6693f1ea79a
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
Guillermo Calvino [Wed, 26 Jan 2022 16:40:31 +0000 (17:40 +0100)]
Bug 1837 fix - Helm based KNF cannot be instantiated if values files contains a label with special characters '.'
Change-Id: I3c3e806fcc38d18cc4446bb4542dd84c6d0033f9
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
beierlm [Tue, 18 Jan 2022 13:52:27 +0000 (08:52 -0500)]
Bug 1863: LTS Support
Updates base to Ubuntu 20.04
Adds apt cache to stage 2 dockerfile
Updates python to 3.8
Updates pip dependencies to more recent versions
Fixes bug 1863
Change-Id: If82a6f3169f7e800c6284c7f3e7f232b7fc73ea5
Signed-off-by: beierlm <mark.beierl@canonical.com>
aktas [Mon, 29 Nov 2021 15:41:42 +0000 (18:41 +0300)]
Feature 10886 manual scaling for KNF (helm chart) deployment
Change-Id: Icacddc7681f1b5be73e09f186c1aed19fbfabcab
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
garciadeblas [Tue, 23 Nov 2021 09:04:12 +0000 (10:04 +0100)]
Add more logs to ns.py to know nsr and nsd retrieved from db
Change-Id: Id4a9dd111ccc26fd98e9fcce60f74d6d24af66d1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
bravof [Tue, 11 May 2021 11:38:47 +0000 (07:38 -0400)]
feat(prometheus): prometheus config no longer depends on LCM
Change-Id: I444ede724b50142244d2149fc276ae171a72a112
Signed-off-by: bravof <fbravo@whitestack.com>
David Garcia [Thu, 11 Nov 2021 15:35:26 +0000 (16:35 +0100)]
Fix bug 1761: support entities in relations for backwards compatibility
Change-Id: Ic257ca354c881b059c38283263049f8de52a79a1
Signed-off-by: David Garcia <david.garcia@canonical.com>
bravof [Wed, 13 Oct 2021 20:37:36 +0000 (17:37 -0300)]
bugfix(filesystem sync): sync vnf descriptor files before running a primitive. Bug 1690
Change-Id: I8ccad0836c8392d97be9417b61f438316fc2e6d4
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Mon, 8 Nov 2021 20:18:50 +0000 (17:18 -0300)]
feature: sol004 and sol007
Change-Id: Ic53b1b349f9306a0ce2ec01a61837b32cf0bcfb7
Signed-off-by: bravof <fbravo@whitestack.com>
David Garcia [Thu, 28 Oct 2021 00:00:43 +0000 (02:00 +0200)]
Feature 10887: Add cross-model relations support
Changes:
- Update the `osm_lcm.ns.NsLcm._add_vca_relations` function, and
decouple it into simpler and smaller functions.
- Get relation data for the descriptor taking into account the changes
introduced here: https://osm.etsi.org/gerrit/11212/
- Add `osm_lcm.data_utils.vca` module to take care of VCA related parts
in the IM
- Add a couple of functions into the `osm_lcm.data_utils` package:
- nsd: get_vnf_profile(), get_ns_configuration(),
get_ns_configuration_relation_list()
- nsr: get_nsd(), get_deployed_vca_list(), get_deployed_vca()
- vnfd: get_relation_list()
- Rename `osm_lcm.data_utils.vnfd.get_kdu_profile` to `osm_lcm.data_utils.vnfd.get_kdu_resource_profile`
Change-Id: I6da29e656d092e17c85b44f5b3960a6ca3aa3ad8
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 21 Oct 2021 15:03:48 +0000 (17:03 +0200)]
Fix 1716: get nsr vca id from vim account
Change-Id: I814e8c2e9f4ad4fb973958abe5c9453138f701fb
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Thu, 29 Jul 2021 14:42:49 +0000 (17:42 +0300)]
Bug 1609 fix
The fix requires merging this https://osm.etsi.org/gerrit/c/osm/N2VC/+/11086 commit.
Then it can pass the jenkins w/o failure
Change-Id: Icef9a467b8b037db33a0cf3c444247378ff6499b
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
aktas [Thu, 29 Jul 2021 04:56:27 +0000 (07:56 +0300)]
misspelling fix
Change-Id: Ief505adac777cf6269a34b01b20ef718e9d586f4
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
sousaedu [Mon, 26 Jul 2021 13:24:21 +0000 (15:24 +0200)]
Fix bug 1606 - Adding fs.sync() at startup
Change-Id: I9931b0c87923ade9cae36b59c8a2cab939c3bb93
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
endika [Mon, 21 Jun 2021 16:55:07 +0000 (18:55 +0200)]
Fix 1582 : deploy juju units = number-of-instances
Change-Id: I938715344294150ed99da719cae4efb0d1bf975a
Signed-off-by: endika <endika.aldecoa@ehu.eus>
Dat Le [Thu, 3 Jun 2021 02:50:21 +0000 (09:50 +0700)]
Fix Bug 1556 - redundant input param in calling _check_or_add_scale_suboperation
Change-Id: I19e58252df4ba2dd18aa372d6043713866cae17b
Signed-off-by: Dat Le <datle.it@gmail.com>
garciadeblas [Mon, 31 May 2021 13:39:04 +0000 (15:39 +0200)]
Update Dockerfile.local to work with cloned common and N2VC
Change-Id: I7bc5c2b551c52c2c0d3455deabe02412872ff162
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
romeromonser [Fri, 28 May 2021 10:00:08 +0000 (12:00 +0200)]
Bugfix 1550: Setting a custom release name for Helm based kdus
Change-Id: I38a04094d6b2327f0758451ed6d8619f8a121687
Signed-off-by: romeromonser <garomero@indra.es>
David Garcia [Fri, 28 May 2021 10:08:18 +0000 (12:08 +0200)]
Fix 1533 (nscharms): read juju from descriptor
In the VNFD, the juju section has been removed and included inside the
execution environment list. Since then basic_12 (nscharms) has not been
properly working because we are only looking for the
execution-environment-liist key inside the descriptor, but that does not
apply to the NSD.
Additionally, I fixed the deletion of the nscharm, that was failing due
to the member-vnf-index key not existing in the deployed VCA.
Change-Id: Icb3220f28e373cf8ac3f978c9a3a83b179540512
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Mon, 15 Mar 2021 08:26:10 +0000 (11:26 +0300)]
Feature 10509 manual scaling for native k8s charm
Also includes improvements for scale function
Change-Id: I23f51b8c1b219681841d0b1f7f4db3a0d9ed4c7b
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
garciadeblas [Wed, 24 Mar 2021 08:17:02 +0000 (09:17 +0100)]
Reformat LCM to standardized format
Change-Id: I2259f4fc330129ff2d6c805618c2e069aa74564c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
bravof [Thu, 11 Mar 2021 15:03:30 +0000 (12:03 -0300)]
fix(FS): sync problems fixed syncing only the particular NSD and VNFD that the instantiation needs
Change-Id: I7410f6f39aa58a57ab91410c45dc7d7042b0293d
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Thu, 25 Feb 2021 20:20:35 +0000 (17:20 -0300)]
fix/feat(relations): external connection point ref now works with multiple KDU
Change-Id: I01fac4167617450670999c87200bd3d8179f7293
Signed-off-by: bravof <fbravo@whitestack.com>
aktas [Tue, 4 May 2021 16:32:45 +0000 (19:32 +0300)]
Bug 1526 Fix
If vnfd:id and vnfd:df:lcm-operations-configuration:operate-vnf-op-config:day1-2:id
are not the same, it fails to add the relation defined in NSD.
Change-Id: I15e0a23c726fe4257c1b628faae2b2b50c0675e9
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
aktas [Fri, 26 Feb 2021 12:41:45 +0000 (15:41 +0300)]
Fix 1462
asyncio.sleep is not needed with the changes on https://osm.etsi.org/gerrit/c/osm/N2VC/+/10399.
Change-Id: Ie7179140011c0c13d4957b8b7824125ac0cac4dd
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
David Garcia [Tue, 4 May 2021 11:15:57 +0000 (13:15 +0200)]
Fix bug 1525
This patch adds **kwargs in the LCMHelmConn methods that are not used.
The feature 10239 added the vca_id parameter for the LCM and N2VC
communication for Juju related execution environments. The current patch
will avoid having to add extra parameters that are not needed nor used
in the LCMHelmmConn.
Change-Id: I673a36c7c13891a53de1d7dc547f13c81616d373
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 31 Mar 2021 17:12:02 +0000 (19:12 +0200)]
Feature 10239: Distributed VCA
- Handle VCATopic: https://osm.etsi.org/gerrit/#/c/osm/NBI/+/10574/
- Pass vca_id to calls in N2VC, so N2VC can know to which VCA it needs
to talk
Depends on the following patch: https://osm.etsi.org/gerrit/#/c/osm/N2VC/+/10616/
Change-Id: I080c1aab94f70de83f2d33def74ccd03450dbdd6
Signed-off-by: David Garcia <david.garcia@canonical.com>
beierlm [Thu, 22 Apr 2021 16:58:58 +0000 (12:58 -0400)]
Including upstream requirements
Now that internal OSM software does not specify python modules in
setup.py, we need to include the requirements.txt from the module
in the requirements-dev.in to generate the full list properly.
Change-Id: Ieebd667829444217d1d38e05261d6f50b9f0d180
Signed-off-by: beierlm <mark.beierl@canonical.com>
lloretgalleg [Mon, 19 Apr 2021 11:40:18 +0000 (11:40 +0000)]
Fixed bug 1476: VLD params (ip-profile) inside a NS not used
Change-Id: I3f330610659a1b627dd74bfd9e1dd4d722ebf7d2
Signed-off-by: lloretgalleg <illoret@indra.es>
beierlm [Mon, 19 Apr 2021 19:31:57 +0000 (15:31 -0400)]
Adding GitLab Scanner
Adds gitlab-ci yaml file to enable security scans in GitLab mirror
Change-Id: Ie660d19b4e9a834abe38589e5c32447531345d63
Signed-off-by: beierlm <mark.beierl@canonical.com>
beierlm [Wed, 17 Mar 2021 12:11:23 +0000 (08:11 -0400)]
Feature 10296 Pip Standardization
Creates standard template for tox.ini
Introduces 'safety' for listing upstream CVEs
Pins all versions of all upstream modules
Removes Makefile step and places all build logic into tox.ini
Change-Id: I15c8ec22ad911d5bfa67df5a85175642a59da971
Signed-off-by: beierlm <mark.beierl@canonical.com>
ksaikiranr [Mon, 15 Mar 2021 05:37:29 +0000 (11:07 +0530)]
Bug 1422 - NSR record contain stale vcaStatus after successful completion of day 2 fixed.
Addressed review comments
Change-Id: I2f5585ee48d4641136c6ac146bb10b3cf928b006
Signed-off-by: Priyadharshini G S <priyadharshini.g@tataelxsi.co.in>
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>
ksaikiranr [Wed, 17 Mar 2021 06:11:22 +0000 (11:41 +0530)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
Added unit tests for vca status refresh in lcm
Change-Id: Ic2009a321991526f284d88858fd6ee19a2eed960
Signed-off-by: gspri <priyadharshini.g@tataelxsi.co.in>
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>