osm/RO.git
2 years agoFixing RO Security Vulnerabilities 83/12483/2 v10.1.3 v10.1.4
aticig [Thu, 14 Jul 2022 21:43:09 +0000 (00:43 +0300)]
Fixing RO Security Vulnerabilities

Jinja2 sets autoescape to False, disabling SSL certificate checks, use of unsafe yaml load,
Try-Except-Pass detected, use of assert detected.
Removing openmanoconfig.py.

Change-Id: I3353208e150ae6c2f91befa1a3bbed33ed0c528d
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFixing improper certificate validation security vulnerability 85/12485/1
aticig [Fri, 29 Jul 2022 11:27:16 +0000 (14:27 +0300)]
Fixing improper certificate validation security vulnerability

Enabling certificate validation in Juniper Contrail SDN plugin.

Change-Id: I75b523fbff3d450599f888b06549e46b61dcf95a
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoAdding unit tests for Bug 2086 and enabling cover in tox.ini. 25/12325/7 v10.1.2
aticig [Mon, 11 Jul 2022 17:28:19 +0000 (20:28 +0300)]
Adding unit tests for Bug 2086 and enabling cover in tox.ini.

Change-Id: I177da516e99c29433491358aaf129be059d18add
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix Bug 1607 Interface position is not taken into account and 28/12328/4
aticig [Mon, 11 Jul 2022 19:28:06 +0000 (22:28 +0300)]
Fix Bug 1607 Interface position is not taken into account and
remove vim_gcp from stage-build.sh

This fix provides to attach interfaces to VNF according to the position order
which is defined in the VNFD.

Change-Id: Id0345dc66c3bba8acb0c4c62d9ec21b875c4af72
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoJenkins refresh 96/12396/2
Mark Beierl [Thu, 14 Jul 2022 13:41:20 +0000 (09:41 -0400)]
Jenkins refresh

Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup

Change-Id: Ic2837c0f6163a511e064eb5a2a254c58c1c0c960
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFix Bug 2086 Updating VNF status configurable 87/12287/3
aticig [Thu, 30 Jun 2022 09:40:46 +0000 (12:40 +0300)]
Fix Bug 2086 Updating VNF status configurable

This fix allows to set REFRESH_ACTIVE period as config option which
periodically checks the VM status from VIM. Env variable can be set in the
ro container export OSMRO_PERIOD_REFRESH_ACTIVE=-1 to disable VM status updates.
This config parameter allowed to set >= 60 seconds or -1. Giving execute permission
stage-releasenote.sh file.

Change-Id: I9e0ed82830ca09532f87f76480003f278aac51ea
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoExtracting stage releasenotes script from stage-test.sh 74/12174/4 v10.1.1
aticig [Tue, 7 Jun 2022 16:09:38 +0000 (19:09 +0300)]
Extracting stage releasenotes script from stage-test.sh

Release notes checking in stage-test.sh causes the failure in  merge and revert jobs.
So it is added as an separate script.

Change-Id: Ie20878cb4822ba72e9d81f3e6ede8dcd1f65d99e
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoRevert "Update paramiko version to 2.11.0" 40/12140/1 v10.1.1rc2
beierlm [Mon, 30 May 2022 17:43:47 +0000 (19:43 +0200)]
Revert "Update paramiko version to 2.11.0"

This reverts commit cb45c373633f15fb73e3371c2c6f7d04bec64c3f.

Reason for revert: Hold off until 10.1.0 is released

Change-Id: Id8608b9492e2236255a6efbf0f8faa53567582ff
Signed-off-by: aticig <gulsum.atici@canonical.com>
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoUpdate paramiko version to 2.11.0 32/12132/4
aticig [Fri, 27 May 2022 07:21:51 +0000 (10:21 +0300)]
Update paramiko version to 2.11.0

Update paramiko version and increase auth_timeout and log paramiko operations
in order to fix Authentication Failed error during ssh key injection

Change-Id: Ic5e5acc7f58e6c21210dd9b5011e955c07351d2f
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoUpdating requirements to point to branch 93/12093/2 v10.1.1-rc1
beierlm [Thu, 19 May 2022 14:59:36 +0000 (10:59 -0400)]
Updating requirements to point to branch

Change-Id: I79f8535a72413d9536c334cc2ddd74528ca82413
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoLogging traceback for key injection error in robot tests 60/12060/2
aticig [Mon, 16 May 2022 20:03:54 +0000 (23:03 +0300)]
Logging traceback for key injection error in robot tests

Add traceback for key injection error in robot tests
and increase the paramiko ssh client timeout from 10s to 30s.

Change-Id: I4f0c24f550e98dc072210cebb36a57b4530818ac
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoBug 2029 mempage-size is ignored 69/12069/1
rodriguezgar [Sat, 14 May 2022 22:42:45 +0000 (00:42 +0200)]
Bug 2029 mempage-size is ignored

Change-Id: I2ca791474b9a717413964f1b85d7659489702f14
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
2 years agoFixes bug 2026 : Persistent volumes to be created in the same AZ as the VM that will... 41/12041/2
Alexis Romero [Thu, 12 May 2022 11:23:25 +0000 (13:23 +0200)]
Fixes bug 2026 : Persistent volumes to be created in the same AZ as the VM that will use them.

Change-Id: I1f4161aa4f7b294e1acf2b33ba3208480f09eacc
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoFix Bug 1911 Root disk cannot be a Persistent Volume 44/12044/1
aticig [Thu, 12 May 2022 18:35:47 +0000 (21:35 +0300)]
Fix Bug 1911 Root disk cannot be a Persistent Volume

By this fix, VNFs could have persistent root disk if the disk type is defined as persistent-storage.
Besides, the problem of creating unnecessary empty persistent volume is solved.

Change-Id: Ibb48fab8084962a0983c2a5260ae97b53eee8f4d
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf 45/11945/2
Alexis Romero [Tue, 26 Apr 2022 17:24:40 +0000 (19:24 +0200)]
Fixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf

Change-Id: I4c14ef26cd78547cb74a19cdd50dbec9b40a0a93
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoFeature 10906: Support for Anti-Affinity groups 83/11883/1
Alexis Romero [Wed, 13 Apr 2022 16:03:30 +0000 (18:03 +0200)]
Feature 10906: Support for Anti-Affinity groups

Change-Id: Id14d9a02d4d66f678affb3e80a9169fc57eb452d
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoAdded check for release notes 94/11794/1
garciadeblas [Tue, 15 Mar 2022 10:52:44 +0000 (11:52 +0100)]
Added check for release notes

Change-Id: Id6d0fb10e7bd56574c18a8c6750b2920353ea12f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1928 for EPA_04 test (exception management error) 81/11781/2
gallardo [Tue, 22 Mar 2022 16:59:51 +0000 (16:59 +0000)]
Fix bug 1928 for EPA_04 test (exception management error)

Change-Id: I3e75de24a12b7fc88ee63f68dfea0c6c87877905
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoFix Bug 1910 Enabling stage-test failing by tox results 42/11742/8
aticig [Fri, 11 Mar 2022 12:03:55 +0000 (15:03 +0300)]
Fix Bug 1910 Enabling stage-test failing by tox results

Change-Id: I9d8fd2104916a1b16fccb68d21126891ac512b9f
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix bug 1902 to resolve issues with IETF L2VPN WIM connector 32/11732/5
gifrerenom [Mon, 7 Mar 2022 18:00:01 +0000 (18:00 +0000)]
Fix bug 1902 to resolve issues with IETF L2VPN WIM connector

Change-Id: If03acb8469f36bbca51a936bfb0808ec0124468f
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
2 years agoFix bug 1899 to select correct WIM connector class and prevent exceptions with missin... 31/11731/4
gifrerenom [Mon, 7 Mar 2022 17:55:20 +0000 (17:55 +0000)]
Fix bug 1899 to select correct WIM connector class and prevent exceptions with missing parameters.

Change-Id: I6f67b8a0fccc5a2ebf3f839899d748c41fac169a
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
2 years agoAdd log to trace task workflow 36/11636/1 v10.1.0 v10.1.0-rc1 v10.1.0rc2 v10.1.0rc3
gallardo [Mon, 31 Jan 2022 16:50:48 +0000 (16:50 +0000)]
Add log to trace task workflow

Change-Id: Id5cf16af08a15c4cf3cb925dd5c5ca90a5bbb7dc
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoBug 1849: LTS Support 04/11604/1
beierlm [Thu, 13 Jan 2022 18:21:53 +0000 (13:21 -0500)]
Bug 1849: LTS Support

Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile

Fixes bug 1849

Change-Id: I8a589bbc76bb11f4bc0c42ebb727729da5c5c906
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix bug 1597 to update the time to refresh the status of CREATE task 86/11586/2
gallardo [Thu, 20 Jan 2022 09:07:08 +0000 (09:07 +0000)]
Fix bug 1597 to update the time to refresh the status of CREATE task

Change-Id: If278ad66c323c9de0ac88f083e1c9fbf90d4a7c0
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1860 for VNET supporting in a different resource group 83/11583/1
gallardo [Mon, 17 Jan 2022 17:37:51 +0000 (17:37 +0000)]
Fix bug 1860 for VNET supporting in a different resource group

Change-Id: If364ce0f141f527e6062be18e85a8debec1351ca
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1867 - Use existing flavors with true 69/11569/3
preethika.p [Thu, 20 Jan 2022 07:24:18 +0000 (07:24 +0000)]
Fix bug 1867 - Use existing flavors with true

Change-Id: I0025b2be85c4153f1812ebbb9108ea14b92770c8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
(cherry picked from commit ebaba1f2fc89f24327e576f3a9235a94c8fade30)

2 years agoAdding header to release notes 67/11567/1
sousaedu [Tue, 25 Jan 2022 14:11:04 +0000 (14:11 +0000)]
Adding header to release notes

Change-Id: I66726de18610a4405f519371d0ca3edcec1eb252
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
(cherry picked from commit 8849fb8903a24beeace9a39768a9821b5ce13b90)

2 years agoUpdating tox.ini 25/11525/1
sousaedu [Mon, 17 Jan 2022 13:48:22 +0000 (13:48 +0000)]
Updating tox.ini

Change-Id: I87574da5911b4c827cf2543ecc9e9f404da96f85
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix Bug 1783 RO does not create management networks where appropriate 17/11517/1
aticig [Fri, 10 Dec 2021 09:59:20 +0000 (12:59 +0300)]
Fix Bug 1783 RO does not create management networks where appropriate

If there is mgmt-network in the descriptor,
there is no mapping of that network to a VIM network in the descriptor,
also there is no mapping in the "--config" parameter or at VIM creation;
that mgmt-network will be created.

Change-Id: Ifbd86c3aaf9db2c7d7455ed6e81c1cbcd1f227c7
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoRemoving Fog05 VIM RO Plugin 93/11493/2
sousaedu [Fri, 10 Dec 2021 14:53:11 +0000 (14:53 +0000)]
Removing Fog05 VIM RO Plugin

Change-Id: I90e81463ac804d52ea65635f5da6386c2cc3e7df
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRevert "Revert "Removing OpenNebula code"" 73/11473/1
almagia [Wed, 1 Dec 2021 08:53:08 +0000 (09:53 +0100)]
Revert "Revert "Removing OpenNebula code""

This reverts commit b6766b6b8bbb8ba70217b97db9b80ee2426ccd1b.

Requested by TSC

Change-Id: I2ddf0837d55f682254325ab8f8e1927837801f46

2 years agoRevert "Removing OpenNebula code" 69/11469/1
sousaedu [Tue, 30 Nov 2021 21:04:14 +0000 (21:04 +0000)]
Revert "Removing OpenNebula code"

This reverts commit 8f7d56bd610de8a8bac49b78ce962ac9f6f9ab2b.

Change-Id: I40b0b17f2f2838ce03c17c24a13ccd823f163e87
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRemoving OpenNebula code 64/11464/1
sousaedu [Tue, 30 Nov 2021 16:22:54 +0000 (16:22 +0000)]
Removing OpenNebula code

Change-Id: I6d20e4839f9872e15cbecc144cd70813ac017940
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1810 - Disabling RO OpenNebula plugin 53/11453/4
sousaedu [Mon, 29 Nov 2021 09:28:15 +0000 (09:28 +0000)]
Fix bug 1810 - Disabling RO OpenNebula plugin

Change-Id: I52a7947450d83b91fac92170348f7d474a878d97
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1805 - adding swap disks 92/11392/2
sousaedu [Mon, 22 Nov 2021 14:09:15 +0000 (14:09 +0000)]
Fix bug 1805 - adding swap disks

Change-Id: I447a1da59d1efdd9209950a185b819e32c696012
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1802 - adding ephemeral disks 88/11388/2
sousaedu [Mon, 22 Nov 2021 14:02:17 +0000 (14:02 +0000)]
Fix bug 1802 - adding ephemeral disks

Change-Id: Ie29e598271b1aa5ab78d65826f513c31d0b580be
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1691 - adding support for persistent volumes 51/11351/1
sousaedu [Thu, 11 Nov 2021 22:00:27 +0000 (22:00 +0000)]
Fix bug 1691 - adding support for persistent volumes

Change-Id: I5691f7d7b1cc5b72e676c4181c94c9aee620cbd4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1724 to indicate region during NIC creation in Azure connector 97/11297/1
garciadeblas [Tue, 26 Oct 2021 16:38:49 +0000 (18:38 +0200)]
Fix bug 1724 to indicate region during NIC creation in Azure connector

Change-Id: I45d68d1ea840fa6f64030a1f85839d89fa6d406e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoRemoving networking-l2gw as a dependency 37/11137/2 v10.0.2 v10.0.3
sousaedu [Wed, 1 Sep 2021 00:10:00 +0000 (01:10 +0100)]
Removing networking-l2gw as a dependency

Change-Id: I13e9b52bfc7487d6edd06d01a5a74d5c8ab41674
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1597 - tweaking timings in the locks 65/11065/1 v10.0.1
sousaedu [Thu, 15 Jul 2021 09:48:14 +0000 (11:48 +0200)]
Fix bug 1597 - tweaking timings in the locks

Tweaking the locking timings to see if it decreases starvation locks.

Change-Id: If62aa28d5652dc707a1eebee22a25353bcb76ae9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1572 - Reading availability-zone-hint for neutron from config 25/11025/2
sousaedu [Thu, 17 Jun 2021 14:39:29 +0000 (15:39 +0100)]
Fix bug 1572 - Reading availability-zone-hint for neutron from config

Fixes bug 1572 by reading the neutron-availability-zone-hint from VIM
plugin configuration, which is then applied at network-creation time.

Note: this patch also fixes some formatting issues that black showed.

Change-Id: Iaf152657ae31748ea6b4a123e8b0a0d9513cb692
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1544 to read properly size capabilities in Azure 14/10914/6 v10.0.0
garciadeblas [Thu, 27 May 2021 10:00:30 +0000 (12:00 +0200)]
Fix bug 1544 to read properly size capabilities in Azure

Change-Id: Iff772db93b2d862848361ad40276dc8185379d63
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFeature 10591: Azure connector 13/10913/7
lloretgalleg [Wed, 31 Mar 2021 07:12:06 +0000 (07:12 +0000)]
Feature 10591: Azure connector

Change-Id: Ie3651177f5c228e408887af8baa647222fd51927
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1537 to send dummy message to all kafka topics during startup 79/10879/2
garciadeblas [Thu, 20 May 2021 11:08:05 +0000 (13:08 +0200)]
Fix bug 1537 to send dummy message to all kafka topics during startup

Change-Id: I1ceeae4236f45fad1c971276412c71b6eb67c9de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoPoint dependencies to branch 72/10872/1
beierlm [Fri, 21 May 2021 21:05:53 +0000 (17:05 -0400)]
Point dependencies to branch

Change-Id: I5da5457dcde2ee7d6080f1f478eb1007b4b952f1
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoReformat missing files to standardized Python to pass black check 53/10853/2 release-v10.0-start
garciadeblas [Fri, 14 May 2021 15:22:01 +0000 (17:22 +0200)]
Reformat missing files to standardized Python to pass black check

Change-Id: If0a656e88c1b08d6ed225918906c82b26b6b4115
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFixing language environment variables in stage2 dockerfile 56/10856/1
sousaedu [Thu, 20 May 2021 13:20:14 +0000 (15:20 +0200)]
Fixing language environment variables in stage2 dockerfile

Change-Id: I7332799da5f4d96ad09156bae2f1814552be0d1b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoRevert "Revert "Removing deprecated/unused/outdated code"" 20/10820/2
almagia [Mon, 17 May 2021 08:21:57 +0000 (10:21 +0200)]
Revert "Revert "Removing deprecated/unused/outdated code""

This reverts commit 51cc9c4c78bb54c84a5d2399207d206eb30ea247.

Approved by TSC

Change-Id: I43a29c6d2830e515cefbc9aab676aafcb1bb5112

3 years agoFix 1475 - Incorrect description in instantiating error 85/10785/1
sousaedu [Tue, 11 May 2021 11:22:37 +0000 (13:22 +0200)]
Fix 1475 - Incorrect description in instantiating error

Change-Id: I099c07f8a66400fa4d3130d6234dd17867ad387f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoIncluding upstream requirements 94/10694/2
beierlm [Thu, 22 Apr 2021 17:01:09 +0000 (13:01 -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: Iba7ef22a84371077f687b837d96d0397d72d7722
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFixed bug 1452: Deploy KNF on dummy VIM 03/10703/2
lloretgalleg [Fri, 23 Apr 2021 11:25:09 +0000 (11:25 +0000)]
Fixed bug 1452: Deploy KNF on dummy VIM

Change-Id: I21160233b99a1cfe27ec2bbc3ab3005a81160d84
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoAdding release_notes to tox 41/10641/3 branch-ng-ro-refactor-start branch-sol006v331-start
sousaedu [Wed, 14 Apr 2021 23:18:59 +0000 (01:18 +0200)]
Adding release_notes to tox

Change-Id: Ic003e61f79dd967b2eabbf49bf82c3915f23976a
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoUse template for scanners 69/10669/2
beierlm [Mon, 19 Apr 2021 19:42:10 +0000 (15:42 -0400)]
Use template for scanners

Update the gitlab ci file to use the same standard template that
all the other OSM projects use

Change-Id: I6412a1b5b035561d768e6fbf8b3208f7a19456cb
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAdding hierarchical requirements.in 22/10622/7
sousaedu [Tue, 13 Apr 2021 10:59:54 +0000 (12:59 +0200)]
Adding hierarchical requirements.in

Change-Id: I20783795754989ef7a9873d91a3a0b6d4f3033c5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoAdding initial release notes 25/10525/4
sousaedu [Tue, 23 Mar 2021 00:02:02 +0000 (01:02 +0100)]
Adding initial release notes

Change-Id: I60be7e49bc9f0bc9b42f9c2dc5a4be4bf204e8a5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoRevert "Removing deprecated/unused/outdated code" 12/10612/1
sousaedu [Fri, 9 Apr 2021 16:03:02 +0000 (18:03 +0200)]
Revert "Removing deprecated/unused/outdated code"

This reverts commit 9f40121f66e644ddf700720d8d4bdf464f6dd414.

Change-Id: I3a414c4f253285c87b662af89ec418b762c0c44b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoRemoving deprecated/unused/outdated code 09/10609/2
sousaedu [Fri, 9 Apr 2021 13:52:44 +0000 (15:52 +0200)]
Removing deprecated/unused/outdated code

Change-Id: I067cf651b0a49ec4427aef4b82f2d86bf3002ffd
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoAdding cover to tox.ini default envs 02/10602/1
sousaedu [Thu, 8 Apr 2021 19:43:09 +0000 (21:43 +0200)]
Adding cover to tox.ini default envs

Change-Id: I258ebfa6fca69ff3f39e90230743ccce3c66890f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFixing Dockerfile.local 96/10596/5
sousaedu [Thu, 8 Apr 2021 09:53:34 +0000 (11:53 +0200)]
Fixing Dockerfile.local

Change-Id: I711dc0a8a3d8eeb0509611ef41b86b884a8d1fd3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoBugfix 1491: Replacing pkg_resources for importlib.metadata 95/10595/2
sousaedu [Wed, 7 Apr 2021 22:16:18 +0000 (00:16 +0200)]
Bugfix 1491: Replacing pkg_resources for importlib.metadata

Change-Id: I729ee2d5d3628c30a0a265978a355eb26f3a9bb2
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoPip standerdization and tox replacement 55/10355/28
sousaedu [Thu, 18 Feb 2021 13:57:01 +0000 (14:57 +0100)]
Pip standerdization and tox replacement

Change-Id: Ic8e6495c9c0a4b46e876fb9f2f8376b7c210f545
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1407 12/10412/5
sousaedu [Mon, 1 Mar 2021 23:15:52 +0000 (00:15 +0100)]
Fix bug 1407

Change-Id: I694f47c2403983c87850447f027f370a6f375eb2
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1408 14/10414/1
sousaedu [Tue, 2 Mar 2021 00:42:51 +0000 (01:42 +0100)]
Fix bug 1408

Change-Id: I6ab12eb0aa9532676642cbf59db8ccc2f33c420b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1446: NS ends in state BUILDING 50/10350/1
lloretgalleg [Fri, 19 Feb 2021 12:06:52 +0000 (12:06 +0000)]
Fix bug 1446: NS ends in state BUILDING

Change-Id: Ideb6f0ac72637aca78d1b8906581409e153c4c7d
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoFix bug 1445: Error service with SRIOV interfaces 49/10349/1
lloretgalleg [Fri, 19 Feb 2021 10:57:50 +0000 (10:57 +0000)]
Fix bug 1445: Error service with SRIOV interfaces

Change-Id: I838bbe41188b17f023569e2fdbd34173070b457c
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoReformatting RO 34/10334/3
sousaedu [Wed, 17 Feb 2021 14:05:18 +0000 (15:05 +0100)]
Reformatting RO

Change-Id: I86e6a102b5bf2e0221b29096bbb132ca656844c5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFixing bug 1437 82/10282/5
sousaedu [Tue, 9 Feb 2021 14:30:01 +0000 (15:30 +0100)]
Fixing bug 1437

This patchset fixes bug 1437. There will need to be done extra
changes to make logging better.

Change-Id: I2b0e477093eba798c6cd4ce7bcc105ee78b610ed
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoPartial fix for Bug 1408 51/10251/4
sousaedu [Wed, 3 Feb 2021 14:03:44 +0000 (15:03 +0100)]
Partial fix for Bug 1408

This fixes the access to a non-exisiting key.
There is another bug that is causing this in LCM (bug 1431).

Change-Id: Ied80beb56657ead95eefa9ed967eca84e623f9c3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoTesting security scanners 80/10180/2
sousaedu [Fri, 15 Jan 2021 12:14:13 +0000 (12:14 +0000)]
Testing security scanners

Change-Id: I0e019b81a636a6fafbf7dab18b36241c89b98942
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agofix 1386: enhance on lock procedure 91/10091/3
tierno [Wed, 9 Dec 2020 15:06:01 +0000 (15:06 +0000)]
fix 1386: enhance on lock procedure

locking of ro_tasks for HA enhancements:
- lock time is configurable by ro.cfg or ENV
(OSMRO_SERVER_TASK_LOCKED_TIME)
- lock time is reduced to 10min by default
- lock is renewed when needed by a new asyncio task at vim_admin

Change-Id: Icae02803e57713aca2f028884142fa152ee3d032
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix 1385: enhance unload vim from ns_thread when not needed 80/10080/6
tierno [Sun, 6 Dec 2020 18:27:16 +0000 (18:27 +0000)]
fix 1385: enhance unload vim from ns_thread when not needed

control of threads in in idle status (without vims to process)
and reuse it when needed

Change-Id: Ib7c5023eec18229fb86a1632b63aca5aef8d2a14
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremove osm-im dependency from generated debian package 43/10143/1
tierno [Thu, 17 Dec 2020 22:55:31 +0000 (22:55 +0000)]
remove osm-im dependency from generated debian package

Change-Id: I6f7248a4c0b7204f1f37dab9aab0c4db6a96fa99
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremove osm-im instalation at debug Dockerfile.local 90/10090/1 release-v9.0-start v9.0.0 v9.0.0rc1
tierno [Wed, 9 Dec 2020 18:19:34 +0000 (18:19 +0000)]
remove osm-im instalation at debug Dockerfile.local

Change-Id: I41b3514a502016cf3b23914b1f92a8ca494f6034
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremoved im dependency for NG-RO 88/10088/1
lloretgalleg [Wed, 9 Dec 2020 11:59:17 +0000 (11:59 +0000)]
removed im dependency for NG-RO

Change-Id: I5902969bc65d697543bea2bc26acadf57ace3055
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agofix error on task_depends not defined 87/10087/2
tierno [Tue, 8 Dec 2020 23:11:53 +0000 (23:11 +0000)]
fix error on task_depends not defined

Change-Id: If65158e44cf43558c8eada9c78c11971e6be4af0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRemove IM dependency at Dockerfile-local 43/10043/2
tierno [Thu, 26 Nov 2020 15:55:20 +0000 (15:55 +0000)]
Remove IM dependency at Dockerfile-local

minor fix at flavor data parse for cpus

Change-Id: Idd706d75303e9b9b8c1c36e52c9a183e226e0c44
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFeature 7184 New Generation RO enhancemnt 07/10007/7 sol006
tierno [Mon, 19 Oct 2020 16:38:00 +0000 (16:38 +0000)]
Feature 7184 New Generation RO enhancemnt

New module vim_admin:
- check and load unattending ro_tasks
- check for vim updates and deletion in order to re-load it
- check vim_connectivity at creation edition
- Injection of ssh keys, retry if fails
- allow non load filesystem, because it is used only for cloud-init, but
it can be provided as text by LCM
- load sdn and wim targets
- sdn connectivity
- set network type 'data' when there are SRIOV or PT interfaces

Change-Id: I67147d1d500d60f0b2be1de214c97b1905168c8e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix SDN ODL openflow connetor issue 20/10020/1
tierno [Mon, 23 Nov 2020 17:58:04 +0000 (17:58 +0000)]
Fix SDN ODL openflow connetor issue

Change-Id: I6d468471b2857c006782b1fe06e705f9669361da
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1248 fixed 09/9909/2
davide.borsatti@unibo.it [Wed, 21 Oct 2020 22:52:02 +0000 (00:52 +0200)]
Bug 1248 fixed

Change-Id: I4c872d365980625b0beeb6d879435c163a82863a
Signed-off-by: davide.borsatti@unibo.it <davide.borsatti@unibo.it>
4 years agofeat(port security): adds port security strategy 90/9890/15
bravof [Tue, 20 Oct 2020 13:27:42 +0000 (10:27 -0300)]
feat(port security): adds port security strategy

Change-Id: I31b067a787f3f9b90b1e8f9cb7ba042e723c270b
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agofix 1238. Fix other error at commit 9405d17 48/9848/1
tierno [Thu, 8 Oct 2020 08:11:44 +0000 (08:11 +0000)]
fix 1238. Fix other error at commit 9405d17

Change-Id: I9fcd19ff7e5e8654de9b3d692d07a4bef58bf2fd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1238. Fix error introduced at commit 9405d17 47/9847/1
tierno [Wed, 7 Oct 2020 16:47:44 +0000 (16:47 +0000)]
fix 1238. Fix error introduced at commit 9405d17

Change-Id: I123a16cee0d867c048d9bc0e52242ce12d7f150f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1238: Allow individual cloud-init user-data at each VM 46/9846/1
tierno [Tue, 6 Oct 2020 08:19:21 +0000 (08:19 +0000)]
fix 1238: Allow individual cloud-init user-data at each VM

both for instantiation and scaling. In that way every VM will have
individual jinja2 parsing with its own variables that includes
among other the count_index

Change-Id: I0cfdc9da2f71816273dbf37a03e418aa985d523c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1223. Increment ip address on scaling vdus 45/9845/1
tierno [Thu, 24 Sep 2020 12:31:36 +0000 (12:31 +0000)]
fix 1223. Increment ip address on scaling vdus

Change-Id: I18f11bbf6d20b78b3811e5e39daa1ad10af57e3d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix IP address auto-assignment for VDU at instantiation and scaling 44/9844/1
garciadeblas [Wed, 23 Sep 2020 14:33:14 +0000 (14:33 +0000)]
Fix IP address auto-assignment for VDU at instantiation and scaling

Change-Id: I601e92b7b2becdfcf4357c9c39773f0e2c9b5a9b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofix validation error oneOf 43/9843/1
tierno [Fri, 18 Sep 2020 14:20:38 +0000 (14:20 +0000)]
fix validation error oneOf

Change-Id: I14735cc9a4326070feedeebef7113e8b9e62cca7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1169 Interface ID of a created VM is not supplied 42/9842/1
lloretgalleg [Fri, 24 Jul 2020 07:11:00 +0000 (07:11 +0000)]
Bug 1169 Interface ID of a created VM is not supplied

Change-Id: I8bc8a687b037cc31be70dc5e5581f2f8daf19498
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agofix 1164 Retry assigning floating ip, it can conflict among RO workers 41/9841/1
tierno [Wed, 22 Jul 2020 10:42:58 +0000 (10:42 +0000)]
fix 1164 Retry assigning floating ip, it can conflict among RO workers

fix 1104 Remove floating IP from openstack project when it was assigned by RO

Change-Id: I63f9634af2aa0b1796ec40dd67d8da15015c30ac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1190 enhanced reported error text 73/9573/1
tierno [Tue, 11 Aug 2020 11:19:44 +0000 (11:19 +0000)]
fix 1190 enhanced reported error text

Change-Id: I0c65daa0b934694c3b741952bee95d7c4b976365
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoadding capability to set log level at vimconnectors 72/9572/1
tierno [Fri, 7 Aug 2020 10:10:15 +0000 (10:10 +0000)]
adding capability to set log level at vimconnectors

at INFO level print http input content
change date format

Change-Id: I4a94ca6e41cad7b09e5630d7d98c7160a257173b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1168 ensure VIM plugin is loaded at vim_account_create 71/9571/1
tierno [Tue, 4 Aug 2020 06:57:50 +0000 (06:57 +0000)]
fix 1168 ensure VIM plugin is loaded at vim_account_create

Change-Id: I5ce60eb1933e2f314fc70c8a65a5eb615f9ce32e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1149 1150: improve exceptions msg, correct api response processin 25/9425/9
S237035 [Thu, 16 Jul 2020 08:04:17 +0000 (10:04 +0200)]
Bug 1149 1150: improve exceptions msg, correct api response processin

Change-Id: I58836d980bfdb1d6611bc7325f8559830e12ebc8
Signed-off-by: S237035 <oscarluis.peral@atos.net>
Signed-off-by: OscarP <oscarluis.peral@atos.net>
4 years agofix 1168 ensure VIM plugin is loaded at instanatiate/delete 07/9507/2
tierno [Wed, 22 Jul 2020 11:41:05 +0000 (11:41 +0000)]
fix 1168 ensure VIM plugin is loaded at instanatiate/delete

Change-Id: Id4c8978466211f7d9f0365a285a8dc52b51ad2bc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1150 limit error length of a failing SDN connector 87/9487/3
tierno [Mon, 20 Jul 2020 15:39:45 +0000 (15:39 +0000)]
fix 1150 limit error length of a failing SDN connector

It is not updating database entry vim_wim_actions when error lenght is longer than 1024

Change-Id: I2cb529e7a82784bd7a2274e617ad58ab275feefc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix clean on RO package creation 44/9544/1
tierno [Mon, 3 Aug 2020 13:39:44 +0000 (13:39 +0000)]
fix clean on RO package creation

Change-Id: I85982a0aed17d13ec09b88c4aa8640af34cbeb95
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1148 allow name repetition at wim,wim_accounts 42/9442/1
tierno [Wed, 15 Jul 2020 22:46:34 +0000 (22:46 +0000)]
fix 1148 allow name repetition at wim,wim_accounts

Change-Id: I6a6a84e94c8ab1844be799eff1b3208ca8f42474
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1138 forcing cryptography version 2.5 or higher 95/9395/3
tierno [Fri, 10 Jul 2020 10:52:56 +0000 (10:52 +0000)]
fix 1138 forcing cryptography version 2.5 or higher

Some fixing in devops-stages/stage-build
Use US18.04 for Dockerfile used for devops-stages

Change-Id: Ia2cb09e21efe11a22013de48b2404f5ead949a71
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1137: SDN-assist issue connecting only one port 98/9398/1
tierno [Fri, 10 Jul 2020 13:54:58 +0000 (13:54 +0000)]
fix 1137: SDN-assist issue connecting only one port

Change-Id: Id09e833ad425c5d1621b5a1e370a9ee389b4b5e7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix at vim_dummy delete network 97/9397/1
tierno [Thu, 2 Jul 2020 09:58:51 +0000 (09:58 +0000)]
fix at vim_dummy delete network

Change-Id: I4816a74dcf88ab308680c1c4fda3c0c107397f83
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agominor changes at setup.py 65/9265/1
tierno [Thu, 2 Jul 2020 06:10:39 +0000 (06:10 +0000)]
minor changes at setup.py

Change-Id: Ifbd669c82f6a616ea84dc9d8cc6d0bb9af14e224
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>