garciadeblas [Wed, 13 Nov 2024 11:36:13 +0000 (12:36 +0100)]
Shorten workflow name for upgrade cluster operation
Change-Id: I371c2fd0d0b6faf94d75a68dac882732b5e355fd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
rshri [Tue, 12 Nov 2024 18:12:38 +0000 (18:12 +0000)]
age_privkey and age_pubkey encrypted in the DB
Change-Id: Ifd02b566002c277884d2dd9c2cc8640d26f20b11
Signed-off-by: rshri <shrinithi.r@tataelxsi.co.in>
garciadeblas [Fri, 8 Nov 2024 13:22:49 +0000 (14:22 +0100)]
Reduce log verbosity in readiness_loop function
Change-Id: Ib53d726f9910e5afed29f0d97656eeed367b9fb9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 8 Nov 2024 09:41:38 +0000 (10:41 +0100)]
Update progress in DB for resources checked in cluster creation
Change-Id: Ia9731b7b65013164137a9a8eca58341491f2c3f3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 8 Nov 2024 00:11:46 +0000 (01:11 +0100)]
Manage situations where ODU workflows fail before it is launched (empty workflow_name)
Change-Id: I63a2113eee3626b6bc018519ca324b95ada1dc73
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 7 Nov 2024 11:41:54 +0000 (12:41 +0100)]
Refactor check resource functions from odu_workflows to k8s
Change-Id: Ie5c13ad84dfeab47476b92e4ce64f772dd7af7ca
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 6 Nov 2024 16:20:42 +0000 (17:20 +0100)]
Remove unnecessary params in workflow for cluster registration
Change-Id: I5d560efc69ee2d923eff59fa1abf0c46a41db8ad
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 12:04:36 +0000 (14:04 +0200)]
Update log level in all ODU methods
Change-Id: I1c0e22baf62ef513a89b1ee6895d42cbea358f51
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 6 Nov 2024 11:56:33 +0000 (12:56 +0100)]
Enable bootstrap flag in cluster creation
Change-Id: Ia0a6bbe84104384adaea27adc96cb4995413956f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
shahithya [Thu, 7 Nov 2024 09:39:07 +0000 (09:39 +0000)]
Updating result and operationState in operationHistory
Change-Id: I38c3ec750c3cfe2a99e0c7ca6f180b9518885ac6
Signed-off-by: shahithya <shahithya.y@tataelxsi.co.in>
yshah [Thu, 17 Oct 2024 06:11:12 +0000 (06:11 +0000)]
Adding operationHistory for get_creds
Change-Id: Ibd8a19ec34e4cbbcf0cd3912ae5cba7b3141fbbc
Signed-off-by: shahithya <shahithya.y@tataelxsi.co.in>
garciadeblas [Wed, 6 Nov 2024 09:45:22 +0000 (10:45 +0100)]
Fix cluster update workflow to read properly params and use unique workflow_name
Change-Id: I848f29db66fc4a5795cda80fa6c56ac8d0209807
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 24 Oct 2024 10:52:11 +0000 (12:52 +0200)]
Update list of checks for AWS and GCP cluster creation
Change-Id: I7ae53a6098b10cea1deeb93979dfee165fbb2d84
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 11:59:45 +0000 (13:59 +0200)]
Reduce log level to debug in update_operation_history
Change-Id: I835e7d0a0171fef78cea44b4c4e6d88fcc5180a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 10:54:22 +0000 (12:54 +0200)]
Refactor cluster checks to use common_check_list and readiness_loop
Change-Id: I3a1b28b7139c863805b5d66a461dc4a3a6baded8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 18 Oct 2024 09:36:15 +0000 (11:36 +0200)]
Check of kustomizations and managed resources for cluster creation
Change-Id: I06776018a787bb704fec688bbf3a9be238f0a8a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 10:47:05 +0000 (12:47 +0200)]
Log iteration count in readiness_loop
Change-Id: Ia39598d7a889fbfc07ad27f6c1f50b1140aab651
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 10:39:32 +0000 (12:39 +0200)]
Reduce logging level during cluster delete in k8s.py
Change-Id: Iddac985f3357a1d694775deaf158bf2c8287a0f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 09:56:37 +0000 (11:56 +0200)]
Refactor check_workflow_status to use readiness_loop
Change-Id: Iffa340aa6dcff27870b2a213e06878c02b9392ac
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 22 Oct 2024 09:35:17 +0000 (11:35 +0200)]
Update common workflows functions, add readiness loop
The function check_workflow_status was updated to use retries rather
than time. In addition, a new generic function was created to evaluate
the readiness of Kubernetes objects in a loop.
Change-Id: I7e7268ecb0809ebe8895720fbfbd1c39138fd87f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 17 Oct 2024 13:30:30 +0000 (15:30 +0200)]
Clean-up of resources created in ODU workflows for KSU
Change-Id: Iff76df1feb6b60ffa0e6f90381ca37dbda0c715b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 16 Oct 2024 09:43:36 +0000 (11:43 +0200)]
Fix parsing of OKA params in KSU creation and update workflows
Change-Id: If12563f80f23df6305249a09df27fa1e8cd23b04
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 15 Oct 2024 11:14:39 +0000 (13:14 +0200)]
Fix return values in clean_items_cluster_register to progress on registration workflow
Change-Id: Ibf6e5c5a2fab91abb3d38f1e19d02fdba43efa90
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 1 Oct 2024 15:45:56 +0000 (17:45 +0200)]
Decrypt fields from DB for specific vim and cluster mgmt operations
Change-Id: I76853740ecd53a8d36c6ae0e30e97ae4a9a524e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 25 Sep 2024 10:15:40 +0000 (12:15 +0200)]
Fix values parsing in KSU workflows
Change-Id: I074f7e9e4e37d664f70aa3771316756314df95a7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 24 Sep 2024 12:48:12 +0000 (14:48 +0200)]
Fix copy of OKA package to PVC for OKA creation
Change-Id: Ibf02828d969fe51749248a090dfbaab47a0d30e5
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 24 Sep 2024 10:38:04 +0000 (12:38 +0200)]
Update workflow name for cluster update operation
Change-Id: I6ab626286f95584aa7e33d1d9a36a9f1507c8e3c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 23 Sep 2024 10:40:13 +0000 (12:40 +0200)]
Update VIM operational state after successful ODU workflow
Change-Id: If29bf096c2a82b937f38d20c749a1f439d5faa5b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 23 Sep 2024 08:12:22 +0000 (10:12 +0200)]
Update verbosity in logs from kafka_read_callback
Change-Id: I5258383dfbeb7f3efca5dbffadc10792a9aa3b2e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 17 Sep 2024 11:25:06 +0000 (13:25 +0200)]
Modify cluster (de)registration workflows to use new Jinja workflows
Change-Id: I1ab2f7b4a356d2cdd0939fa037743127cc56d33b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 17 Sep 2024 11:25:47 +0000 (13:25 +0200)]
Remove unused Jinja Workflow for AKS cluster creation
Change-Id: I409b24a6009fda806c6a3e8ab2896d599348b837
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 16 Sep 2024 10:53:07 +0000 (12:53 +0200)]
Clean-up of resources created in ODU workflows
Change-Id: Ib2051d5844841d6469a4dc3e854ff2ef88a36a87
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Tue, 17 Sep 2024 09:38:51 +0000 (11:38 +0200)]
Decrease verbosity in LCM logs associated to kafka_read
Change-Id: I8f4124adfd8aaf9be936b00234dfb2a89b517ead
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 16 Sep 2024 07:37:20 +0000 (09:37 +0200)]
Support base64 encoded credentials for VIM creation
Change-Id: Iba58c3d71f2337af955b239fe43f5b96e9f8ca0e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 12 Sep 2024 10:53:09 +0000 (12:53 +0200)]
Decrypt credentials obtained from DB during vim/cloud account creation
Change-Id: I26b6f2532e89e5c6fb83b7f3c3491cfd70cd4360
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 11 Sep 2024 12:30:26 +0000 (14:30 +0200)]
Load Gitops configuration properly in OduWorkflow class
Change-Id: Id061c4e4da1b8f5bb665d6bfb1d9bb33d192a520
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Wed, 11 Sep 2024 12:28:38 +0000 (14:28 +0200)]
Use common logger for all new gitops operations
Change-Id: I48bb7b2bc74432a8a5ae2c1a20e2ba375a825653
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Thu, 22 Aug 2024 08:05:47 +0000 (10:05 +0200)]
Use kubectl module from n2vc and remove it from odu_libs
Change-Id: I08a715564f32623dda1608937c7d35bb212a4961
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Mon, 8 Jul 2024 14:18:21 +0000 (16:18 +0200)]
Features 11020,11022-11026: Advanced cluster management
Change-Id: I348e6149326e8ba7c2c79ea7ff2ea2223ed047ca
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
yshah [Fri, 5 Jul 2024 15:11:49 +0000 (15:11 +0000)]
Feature 11022,11025: Advanced Cluster Management
Change-Id: I3b0e3e86f6cce0f68330704ff50677ccd5d0ad22
Signed-off-by: yshah <shahithya.y@tataelxsi.co.in>
rshri [Fri, 5 Jul 2024 15:11:55 +0000 (15:11 +0000)]
Feature 11023 - 11026 : Advanced cluster management
Change-Id: Ibd042e6151048fd6b633e2acc29bc9d97e460fd2
Signed-off-by: rshri <shrinithi.r@tataelxsi.co.in>
garciadeblas [Wed, 7 Aug 2024 01:01:48 +0000 (03:01 +0200)]
Update pip dependencies
Change-Id: If3f2523ae6416e5a6188c1fd1771b05ed771b0aa
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
garciadeblas [Fri, 19 Jul 2024 10:08:07 +0000 (12:08 +0200)]
Feature 11014 - Fix upgrade params for KDU in case of reset_values
Change-Id: Ia5167ddcbb8c1bee2f9bf85bbce0b82522077412
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Rahul Kumar [Thu, 9 May 2024 10:04:01 +0000 (15:34 +0530)]
Feature 11016: Service KPI Metric Based Scaling of VNF using exporter endpoint in NGSA
Change-Id: Ia70cca4768651667c9de929e9dcdd97c8767e4ab
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
kayal2001 [Thu, 27 Jun 2024 02:53:36 +0000 (08:23 +0530)]
Feature 11043 Instance name as instantiation parameters - LCM
Change-Id: I480aecb24f33ac07d200b251658604500b052b3f
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
garciadeblas [Thu, 8 Feb 2024 13:11:51 +0000 (14:11 +0100)]
Feature 11014: enable option kdu_reset_values to reset values for upgrade operation on helm charts
Change-Id: I2d5e8e1436b5be3fcf9d7fd965338df51feb009a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Rahul Kumar [Fri, 24 May 2024 09:11:41 +0000 (14:41 +0530)]
Feature 11038: Enhancement of Vertical Scale Feature and merge in update API
Change-Id: Id291cf9138aedbe4226abc6b6ab4cd5ecda48640
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
36970 [Fri, 7 Jun 2024 05:44:08 +0000 (05:44 +0000)]
Bug 2042 fixed
Now, the vcaStatus is not overwritten when there are multiple KDUs
inside a KNF, or when there are both KNFs and VNFs inside an NS
Change-Id: I7f8f17d6cc5f5c519bc0895f23e0b8883979d33b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
36970 [Mon, 1 Apr 2024 10:58:42 +0000 (10:58 +0000)]
Bug 2365 fixed: Modified time in vnfrs collection of mongo database is not updated, after healing operation
Change-Id: I0e188cbb06ee67f8399f5a2d72bb29799b70eb66
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
36970 [Mon, 1 Apr 2024 11:23:08 +0000 (11:23 +0000)]
Bug 2362 fixed:Operational-status is not getting updated when healing is triggered
Change-Id: I81040ca80f9dba23c7fd873decde7df8cc1a0ff2
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
k4.rahul [Fri, 5 May 2023 08:54:31 +0000 (14:24 +0530)]
Coverity-CWE 22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Coverity fix for 137960 Filesystem path, filename, or URI manipulation
Change-Id: Ieaa291ced268216361d865427100fd48bd39ed5a
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
garciadeblas [Wed, 22 May 2024 21:30:12 +0000 (23:30 +0200)]
Pin pylint version to 3.1.1 in tox.ini
Change-Id: I778aff9868335bcd24a294edb08d9c6b9be5f040
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
36970 [Mon, 1 Apr 2024 15:41:31 +0000 (15:41 +0000)]
Bug 2367 fixed: Couldn't perform manual scale out for multi-vnf
Change-Id: I2547ef2cb128c84edd6cae380cd6282211658786
Signed-off-by: 36970 <jegan.s@tataelxsi.co.in>
Gabriel Cuba [Thu, 21 Mar 2024 22:14:05 +0000 (17:14 -0500)]
Fixes VCA deletion in NS termination
Change-Id: I3abfed8a389620cdc1ef8207a53c53c8c7ba6854
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Tue, 19 Mar 2024 23:01:13 +0000 (18:01 -0500)]
Fix 2328: In NS deletion, remove EE objects according to the VCA type
Change-Id: I295cb403f2321faf41db91a2bb4240992cf756fe
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
kayal2001 [Wed, 13 Mar 2024 04:53:16 +0000 (10:23 +0530)]
Bug_Fix-2348 NS Update getting failed while using SFC feature
Change-Id: I3b00d301702a6b84212689d0f90f16a033a91ad0
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
rahul [Wed, 30 Aug 2023 09:18:01 +0000 (14:48 +0530)]
Fix 2280: Random IP's are geeting assigned for Dual stack NS when doing scaling-out/in operation
https://osm.etsi.org/bugzilla/show_bug.cgi?id=2280
Change-Id: Ic190de376e975e31840217cdbf6548863dfe5a02
Signed-off-by: rahul <rahul.k4@tataelxsi.co.in>
garciadeblas [Mon, 29 Jan 2024 17:45:45 +0000 (18:45 +0100)]
Pin black version in tox.ini to 23.12.1
Change-Id: I3b792b60f41beac781add0d23255b2ce01da7fb8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Rahul Kumar [Thu, 9 Nov 2023 08:34:27 +0000 (08:34 +0000)]
Bug Fix - 2305: Automated scaling of Vnf is not happening through metrics collected by feature Service KPI of VNF using exporter endpoint
Change-Id: I975f5bfe0e23f44d25ba30b29f5f19df463054f2
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
elumalai [Thu, 16 Nov 2023 09:06:05 +0000 (14:36 +0530)]
Bug 2317: Fix for Able to scale-in parent VM after a failed scale-out and NS update sequentially
Change-Id: I0563ea49c423e38c9c1605204eb073bbb9cd9faa
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
Rahul Kumar [Wed, 8 Nov 2023 05:15:07 +0000 (05:15 +0000)]
Fix Bug 2304: Flavor Not getting Updated in Mongodb nsrs after Vertical scaling
Change-Id: Iad8657a0574bd40f8be8f9494ab9a412641abfb0
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
almagia [Thu, 30 Nov 2023 17:50:32 +0000 (19:50 +0200)]
Revert "Revert "Remove unused methods""
This reverts commit
3ff2325f97dda222d286d0d8ceb720de8b1a537c.
TSC request on 30.11
Change-Id: I67469ab5f9253bbb5ab5db61e45ffd74ca4858eb
cubag [Wed, 29 Nov 2023 21:01:21 +0000 (23:01 +0200)]
Revert "Remove unused methods"
This reverts commit
9e9a923448e6673fc0396265732115b55f1df9da.
Change-Id: I1d8868ed98d83d22da2acbfa3963543ea9dd95ca
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Mon, 30 Oct 2023 18:44:49 +0000 (13:44 -0500)]
Feature 10996: Adds handling of nslcmop cancel event. kafka_read_callback is now an async method.
Change-Id: I2aff05aa282fd469f3ecaa83c3263c0be2fb07c4
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Luis Vega [Tue, 10 Oct 2023 22:36:33 +0000 (22:36 +0000)]
Feature 11002: Deorecate helmv2
Change-Id: Ica328f2d806203a22b4d47442de20ec0fa851f88
Signed-off-by: Luis Vega <lvega@whitestack.com>
Gabriel Cuba [Mon, 9 Oct 2023 18:22:38 +0000 (13:22 -0500)]
Fix multiple minor security vulnerabilities
Change-Id: I7c2a42c8bd025767de12ebca2573ab01d200c100
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Mon, 9 Oct 2023 16:24:48 +0000 (11:24 -0500)]
Remove unused methods
Change-Id: I68a5f853cca5f579086499842fa52b209d747ff9
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
rojass [Mon, 18 Sep 2023 16:08:00 +0000 (11:08 -0500)]
Bug 1830 fixed
Change-Id: I6460cef35cebe7b47784e227f49aae098411cc76
Signed-off-by: rojass <srojas@whitestack.com>
garciadeblas [Fri, 29 Sep 2023 06:07:00 +0000 (08:07 +0200)]
Update pip requirements to pass stage2 and stage3 in all modules
Change-Id: I574d227629056298a4d5cd67105dd9fcdb99d424
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Daniel Arndt [Thu, 10 Aug 2023 18:10:02 +0000 (15:10 -0300)]
ROCK image for LCM
Change-Id: Ia051cf255db96cceb80ac67ece1f9b31e915d0e9
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
Mark Beierl [Fri, 21 Jul 2023 17:13:12 +0000 (17:13 +0000)]
Update version of PyYAML
Change-Id: Ib51829e23f41e87451a53838af0f0ca4437144aa
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Pedro Escaleira [Thu, 20 Apr 2023 14:22:16 +0000 (15:22 +0100)]
Bug 2237 fixed: added a continue to the vdur verification in the update_ns_vld_target function
Change-Id: I2919d846d35a115e9b884ba333a7501b780d1f5b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Gabriel Cuba [Sat, 3 Jun 2023 00:27:43 +0000 (19:27 -0500)]
Adapt prometheus template to use EE dedicated namespace
Change-Id: I6b436202f5d1862acd132eebfa36abfabe9379cc
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
aguilard [Wed, 31 May 2023 09:45:00 +0000 (09:45 +0000)]
Update mongo alarm structure for VDU alarms
Change-Id: Ia661c23c902372357aa1efc511060e706065be61
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
garciadeblas [Tue, 30 May 2023 10:51:14 +0000 (12:51 +0200)]
Support of VDU alarms in new SA architecture
Change-Id: I6cbce6267804763063f92a2d9c45c10f4542f9c7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Gabriel Cuba [Wed, 17 May 2023 06:32:50 +0000 (01:32 -0500)]
Feature 10948: Set pod security label to helm EE namespaces
Change-Id: I1604e5af66df0c5329694fb930a2450a05832cfd
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Tue, 25 Apr 2023 21:48:41 +0000 (16:48 -0500)]
Feature 10957: Set up dedicated namespace for helm based EE and add client side TLS for gRPC
Change-Id: Ic4d931b44372265b7366178cdd912b13a73db334
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
vegall [Mon, 6 Mar 2023 14:19:16 +0000 (14:19 +0000)]
Feature 10972: Support of volume multi-attach
Change-Id: I5adb9d3847c8d11b152cadcf82e46d65de93c833
Signed-off-by: vegall <lvega@whitestack.com>
k4.rahul [Wed, 19 Apr 2023 11:30:52 +0000 (17:00 +0530)]
Feature 10945: Service KPI of VNF using exporter endpoint
Change-Id: Ic62d3e2a5dc315768b851135c800609d3805078b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
k4.rahul [Thu, 27 Apr 2023 06:38:48 +0000 (12:08 +0530)]
Coverity-CWE 330: Use of Insufficiently Random Values (137944 Cryptographically weak PRNG)
replaced SystemRandom().randint() instead of randint()
Change-Id: I02dd1387b795c856d0cd05d0366b7bb410016a8b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
Gulsum Atici [Mon, 15 May 2023 12:45:31 +0000 (15:45 +0300)]
Fix Healing operation: additionalParams KeyError
If target_vnf does not have additionalParams
KeyError is raised and additionalParams become optional within this change.
Change-Id: I69cb579882b305befd2a64a60bede450e8e6c10d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Mark Beierl [Thu, 18 May 2023 19:11:34 +0000 (15:11 -0400)]
Making main async
The initializers for Helm attempt to schedule tasks in the event loop,
but now that we are not starting one explicitly and passing it around,
we need to have a loop already started at the time of constructor.
By making start() async, there is a running loop, and functions like
k8s_helm_conn.py (~ #81) can call asyncio.create_task
Change-Id: Ia4bf25bd5060dc27f07e63c7395dae3a88247a0e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Gabriel Cuba [Thu, 11 May 2023 06:57:21 +0000 (01:57 -0500)]
Ubuntu 22.04 and Python 3.10 preparation
Change-Id: I8871964f01afac8f601678249acf779426c25090
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
garciadeblas [Tue, 18 Apr 2023 13:08:24 +0000 (15:08 +0200)]
Clean stage-archive.sh
Change-Id: Ifc77f07d81a215c0f824f46df85d906917dadf97
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
aguilard [Mon, 8 May 2023 15:09:37 +0000 (15:09 +0000)]
Update ns.py to append osm to metric_name to be BWC
Change-Id: I9319296e0f79dcab95878a925977514847c770db
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
aguilard [Thu, 16 Feb 2023 17:24:35 +0000 (17:24 +0000)]
Feature 10981: added Mongo accesses needed for NGSA
Change-Id: If3942d060f468382c7796a7e610bce9b21ab93fc
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
k4.rahul [Thu, 27 Apr 2023 11:08:28 +0000 (16:38 +0530)]
Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error)
Coverity fix for CWE 398: 7PK - Code Quality (137908 Copy-paste error)
Change-Id: I9e390dd01ff91d3525f327170e5fcd8074dc3a2f
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
garciadeblas [Wed, 1 Mar 2023 10:39:15 +0000 (11:39 +0100)]
Change in tox.ini to use allowlist_externals
Change-Id: Ib9c7c76859fa3e92db8baba65c5b625f40c4fddd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Gabriel Cuba [Tue, 14 Mar 2023 03:34:44 +0000 (22:34 -0500)]
Feature 10975: Get vim-flavor-id from instantiation params
Change-Id: If0d5e836a1cd61ac3e62ade1bc5768d1f08ee147
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Wed, 26 Apr 2023 15:50:30 +0000 (10:50 -0500)]
Bug 2236 - Upgrade of Helm Charts is failing when the Helm Chart is embeded in the package
Change-Id: Ib1675664d7eb2363444ba5b0d9438b8673ae8715
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Pedro Escaleira [Tue, 28 Mar 2023 17:44:11 +0000 (18:44 +0100)]
Bug 2230 fixed: added verification for when there are no WIM accounts
Change-Id: Ib12c9ea9262b8aa46d12f3f760e952ce4df8c056
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
Gabriel Cuba [Tue, 14 Mar 2023 05:27:49 +0000 (00:27 -0500)]
Feature 10978: Add ipv6_address_mode to ip_profile
Change-Id: Ib9c999abe7a80486a0c8283a6ce622ebde9ca6da
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Tue, 28 Feb 2023 23:51:19 +0000 (18:51 -0500)]
Adds TimeoutError handling to the retryer wrapper function. This will ensure that gRPC calls succed while upgrading a Helm based EE.
Change-Id: I49a0ec370986e45e8b779f361ee4d72ff5a15ef1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gabriel Cuba [Tue, 14 Feb 2023 18:09:18 +0000 (13:09 -0500)]
Build IP profile using the format RO expects, so no further translation is needed.
Related RO change: https://osm.etsi.org/gerrit/12966
Change-Id: I5f686f00a5c1d500255d38ae135f81544df32556
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Gulsum Atici [Fri, 3 Feb 2023 17:52:43 +0000 (20:52 +0300)]
Feature 10950: Replace pycrypto with pycryptodome
Change-Id: I21405230434326f7ff7d55dea9d2f68a5237df78
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Gulsum Atici [Mon, 6 Feb 2023 19:06:44 +0000 (22:06 +0300)]
Reformat files according to new black validation
Change-Id: I065d8bfcc2520b296cee3903cb76a98d74185a1c
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
dariofaccin [Mon, 23 Jan 2023 17:13:27 +0000 (18:13 +0100)]
Bug 2175: K8s-Cluster Update is not implemented
Fix: handle (as agreed) the edit operation.
The update operation does not perform any operation on the K8SCluster.
Change-Id: I8ea45b1479608cdcae2140f1aa3b4cf541b2e643
Signed-off-by: dariofaccin <dario.faccin@canonical.com>
Mark Beierl [Fri, 27 Jan 2023 21:10:48 +0000 (21:10 +0000)]
Updating python dependencies
Update of Python packages (using pip-compile) in preparation for
Release FOURTEEN
Change-Id: I8107f1f0f7c534679ef20619c264d9a9264c71e5
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Dario Faccin [Tue, 10 Jan 2023 10:38:41 +0000 (10:38 +0000)]
Bug 2174: VCA Update is not implemented
Fix: Handle the edit operation.
If no update on the VCA configuration is given as input, then the operation is
marked as completed.
Otherwise the validation of the new VCA configuration is performed,
which may cause the edit operation to fail.
Change-Id: Id13604664df3594874877d0cb2ad13b1ce6d2353
Signed-off-by: Dario Faccin <dario.faccin@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)
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>