osm/LCM.git
4 years agobug 1045. Show early errors at ns-list when processing 36/8736/1
tierno [Fri, 27 Mar 2020 16:20:40 +0000 (16:20 +0000)]
bug 1045. Show early errors at ns-list when processing

Change-Id: I437c5fe98c2674c04a8128801abeed3001404f2d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix terminate primitives. Enhance detailed-status report 75/8575/8
tierno [Thu, 13 Feb 2020 14:34:48 +0000 (14:34 +0000)]
fix terminate primitives. Enhance detailed-status report
enhance KDU error reporting

Change-Id: Ia07ef61785f6a6e577ffe4842da9bb3a63de6261
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdd cloud name for VCA 02/8702/1
Dominik Fleischmann [Thu, 19 Mar 2020 08:23:00 +0000 (09:23 +0100)]
Add cloud name for VCA

This will add an additional VCA configuration option
which is needed for multicloud controller support in
N2VC. This will need no changes in the installer and
will default to the same values as before.

Change-Id: Ibccc2b102f056674117b6d98c43a3c357a78f40f
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agofix issues with k8scluster and repos 79/8679/2
tierno [Thu, 12 Mar 2020 17:19:06 +0000 (17:19 +0000)]
fix issues with k8scluster and repos

Change-Id: I3a1487b5d76b9c2c44ce6a2988d174b4ab7ad522
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1023. Issue getting ip from pdu instances 78/8678/2
tierno [Thu, 12 Mar 2020 17:18:21 +0000 (17:18 +0000)]
fix 1023. Issue getting ip from pdu instances

Change-Id: I003573acf92007aabba1f2c86e3b47234612ea05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoSynchronize helm repos on ns instantiation instead of creation 24/8624/6
lloretgalleg [Thu, 20 Feb 2020 10:50:50 +0000 (11:50 +0100)]
Synchronize helm repos on ns instantiation instead of creation

Change-Id: I9f1e7931df739c78637be8a222b5fcf698d5f4de
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agofix 1017. Not getting vnf ip_address does has not VDUs 20/8620/2
tierno [Wed, 19 Feb 2020 17:43:01 +0000 (17:43 +0000)]
fix 1017. Not getting vnf ip_address does has not VDUs

Change-Id: I23541e54507b38cc1b9fb9ac96b379cc45ddea24
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix tests. Mock n2vc.k8s connectors 89/8589/1
tierno [Thu, 13 Feb 2020 10:53:43 +0000 (10:53 +0000)]
fix tests. Mock n2vc.k8s connectors

Change-Id: Ic6c24df11b0b6f69297c594df85ddda637cb3dfd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1015. move health check to other module to avoid import unneeded libraries 78/8578/1
tierno [Tue, 11 Feb 2020 12:38:19 +0000 (12:38 +0000)]
fix 1015. move health check to other module to avoid import unneeded libraries

Change-Id: I0430b95756bfa592ae5bc9d1d78e2dbeb8e4d357
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoMerge branch 'v7.0' tag v7.0.1 77/8577/1
tierno [Tue, 11 Feb 2020 12:36:24 +0000 (12:36 +0000)]
Merge branch 'v7.0' tag v7.0.1

Change-Id: I6b715f6e60ef1576ed6c7baf73cb0afa550f23bb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoModifications for test of feature 7953 07/8507/3
magnussonl [Tue, 21 Jan 2020 12:00:51 +0000 (13:00 +0100)]
Modifications for test of feature 7953
Updated after review
Updated after additional feedback

Change-Id: I0552070b9eb650526e0562657d1bd977eb88a489
Signed-off-by: magnussonl <lars-goran.magnusson@arctoslabs.com>
4 years agoBug 1007 - Pass NS Id and KDU Name to Juju k8s 71/8571/1 v7.0.1
Dominik Fleischmann [Tue, 4 Feb 2020 14:23:15 +0000 (15:23 +0100)]
Bug 1007 - Pass NS Id and KDU Name to Juju k8s

This commit is to fix Bug 1007, kuberntes workloads where
not deleted correctly due to the uninstall method using the
incorrect name. This will be fixed with this commit and
an additional one in N2VC.

Additionally this will also fix multi KDU support.

https://osm.etsi.org/bugzilla/show_bug.cgi?id=1007

Change-Id: I404e5e36f589245b83b7cf635725140be1653aee
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
(cherry picked from commit a7009eb5ecc66ef1ec6f55d6a6721fde4b293ba5)

4 years agoBug 1007 - Pass NS Id and KDU Name to Juju k8s 55/8555/5
Dominik Fleischmann [Tue, 4 Feb 2020 14:23:15 +0000 (15:23 +0100)]
Bug 1007 - Pass NS Id and KDU Name to Juju k8s

This commit is to fix Bug 1007, kuberntes workloads where
not deleted correctly due to the uninstall method using the
incorrect name. This will be fixed with this commit and
an additional one in N2VC.

Additionally this will also fix multi KDU support.

https://osm.etsi.org/bugzilla/show_bug.cgi?id=1007

Change-Id: I404e5e36f589245b83b7cf635725140be1653aee
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoRelax healthcheck to allow losing non consecutive kafka pings 65/8565/1
tierno [Wed, 5 Feb 2020 15:08:32 +0000 (15:08 +0000)]
Relax healthcheck to allow losing non consecutive kafka pings

Change-Id: I61fc8f28b2342c545e66ef5f6a8ec96ca46d7a49
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoMerge branch 'master' with some bug fixing 39/8539/1 v7.0.1rc3
tierno [Thu, 30 Jan 2020 13:02:28 +0000 (13:02 +0000)]
Merge branch 'master' with some bug fixing

Change-Id: Iaea4acde172bca9fc2ff0f1a74290a1f7539496a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoIgnore kafka message ns-nsi/created 24/8524/2
tierno [Sun, 26 Jan 2020 23:35:59 +0000 (23:35 +0000)]
Ignore kafka message ns-nsi/created

Change-Id: Ia0fb38fa3e59bd6f9cda56dd1e3863b847e777b5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix bug 996. Error when cluster is not ready 22/8522/2
quilesj [Thu, 23 Jan 2020 16:31:11 +0000 (16:31 +0000)]
Fix bug 996. Error when cluster is not ready

Change-Id: Ic399f8ffb4283ab0ce89361fd9c74b20bde223ec
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agoSupport for embedded helm charts and juju bundles 20/8520/2
quilesj [Thu, 23 Jan 2020 10:07:08 +0000 (10:07 +0000)]
Support for embedded helm charts and juju bundles

Change-Id: I02f24ee882ab502bf982f0be9dc31d38e4c645e6
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agoAdd n2vc relations after install configuration sw 89/8489/4
quilesj [Fri, 17 Jan 2020 09:53:55 +0000 (09:53 +0000)]
Add n2vc relations after install configuration sw

Change-Id: I99d2adfcfe7b50f4da9a383d04dc0fd70c809212
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agosome changes at status reporting 23/8523/2
tierno [Tue, 21 Jan 2020 08:49:05 +0000 (08:49 +0000)]
some changes at status reporting

Change-Id: Ia221c96e748b352138e18cba821f2c6cae909188
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 994: Add fs.sync before deploying charm 05/8505/1 v7.0.1rc2
David Garcia [Mon, 20 Jan 2020 12:19:29 +0000 (13:19 +0100)]
Fix Bug 994: Add fs.sync before deploying charm

Change-Id: I673e714e375bef5b5a697e53b9f64c9dcd793d55
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agomoved get package version to init 55/8455/2 v7.0.1rc1
tierno [Sun, 5 Jan 2020 16:29:30 +0000 (16:29 +0000)]
moved get package version to init

Change-Id: Ia81f82dd0be57bd2c095ea4e8a05b8643d4c31b0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agotimeout parametrization to allow larger deployments 74/8474/1
tierno [Mon, 13 Jan 2020 16:46:31 +0000 (16:46 +0000)]
timeout parametrization to allow larger deployments

Change-Id: Ibd8b7093f9bd28cca858bd7401a92a5c555dcc72
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoaiohttp fix 73/8473/1
calvinosanch [Mon, 13 Jan 2020 11:01:36 +0000 (12:01 +0100)]
aiohttp fix

Change-Id: Ia1619f3f6084b8afadba0c0ead4c51621a0b3a5c
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
4 years agoUbuntu18 + pip upgraded + aiohttp 71/8471/3
calvinosanch [Thu, 9 Jan 2020 16:19:53 +0000 (17:19 +0100)]
Ubuntu18 + pip upgraded + aiohttp

Change-Id: If7e62cfdf00f01af4e4f8a8cd1afee311c8ed4aa
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
4 years agoFix bug 987 67/8467/1
quilesj [Thu, 9 Jan 2020 15:10:14 +0000 (15:10 +0000)]
Fix bug 987

Change-Id: I72d490b765d04b00b912fd19002c51580f286da0
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agoStore vca status dictionary format 61/8461/1
quilesj [Thu, 9 Jan 2020 08:30:17 +0000 (08:30 +0000)]
Store vca status dictionary format

Change-Id: Iabcee9f76c49d3db23620c0d45f94dbc18d83078
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agoFix bug 970. Changes in NS and operation status 93/8393/13
quilesj [Thu, 12 Dec 2019 16:08:35 +0000 (16:08 +0000)]
Fix bug 970. Changes in NS and operation status

Change-Id: I0af317244a98d703d0086b652b199d1036cf64e4
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agoQuick deployment of charms: added apt_mirror and enable_os_upgrade model config options 17/8417/5
garciadeblas [Tue, 17 Dec 2019 14:47:58 +0000 (15:47 +0100)]
Quick deployment of charms: added apt_mirror and enable_os_upgrade model config options

Change-Id: I3d13b835744d857149f984cdff5e13e7f4602252
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofix 975. Get RO SDN_net information 18/8418/3
tierno [Tue, 17 Dec 2019 16:43:32 +0000 (16:43 +0000)]
fix 975. Get RO SDN_net information

Change-Id: I0a5f3453572d8482a625307dd4b7413ae9940acf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoCall k8sclusterjuju.install with ensure future 95/8395/2
Dominik Fleischmann [Thu, 12 Dec 2019 16:26:49 +0000 (17:26 +0100)]
Call k8sclusterjuju.install with ensure future

This fixes the bug 971, due to the function not being called
like this the type of the task variable wasn't correct for the
rest of execution.

https://osm.etsi.org/bugzilla/show_bug.cgi?id=971

Change-Id: I47266a04332579cb7ee54e5d45189164ccca7b40
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
4 years agoGet version from installed package if available instead of code 67/8367/2 v7.0.0
tierno [Tue, 10 Dec 2019 11:06:54 +0000 (11:06 +0000)]
Get version from installed package if available instead of code

Change-Id: Id3e95e4e9e4fd4c95b5e63dd3abd26e05cfbd692
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix bug938 added method to find ee_id 69/8369/1
preethika.p [Tue, 10 Dec 2019 13:10:48 +0000 (13:10 +0000)]
fix bug938 added method to find ee_id

Change-Id: Ie2f242ac33ebc419326da0f372db4cf1ef5bf604
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
4 years agoFix bug 954: Dump ns_config_info into a string 56/8356/2 v7.0.0rc1
David Garcia [Mon, 9 Dec 2019 13:57:43 +0000 (14:57 +0100)]
Fix bug 954: Dump ns_config_info into a string

Change-Id: I6077135dde8449950313967d004a368613cc61f3
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agofix 931: No need to wait for VM up on ns configuration 35/8335/2
tierno [Thu, 5 Dec 2019 19:55:02 +0000 (19:55 +0000)]
fix 931: No need to wait for VM up on ns configuration
NS charm wait until VNF,VDU charms completed

Change-Id: Ia33d0e9b13ba84d5c02fe25f55f5bb592e441857
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 931: issue at logging text 34/8334/1
tierno [Thu, 5 Dec 2019 17:15:10 +0000 (17:15 +0000)]
fix 931: issue at logging text

Change-Id: I9a9ad1829022035db15a24e9a53e9c97faef6ffb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoworkaround for bug 951. Allow k8scluster with only helm or juju 32/8332/2
tierno [Thu, 5 Dec 2019 16:09:08 +0000 (16:09 +0000)]
workaround for bug 951. Allow k8scluster with only helm or juju

Change-Id: I117a1415a1c1ce21736ff2dd0b0b3a9db81a83f9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix bug 937 NSI Instantiation 28/8328/5
Felipe Vicens [Thu, 5 Dec 2019 09:30:38 +0000 (10:30 +0100)]
Fix bug 937 NSI Instantiation

Change-Id: I9d7b320424f02bbe71669c9fcd2e6e75bad74c44
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
4 years agoFix bug 916: NS instance operational status not updated after successful instantiation 26/8326/2
quilesj [Thu, 5 Dec 2019 10:02:20 +0000 (10:02 +0000)]
Fix bug 916: NS instance operational status not updated after successful instantiation

Change-Id: Ic9f6f7a58f2f77fdcf1c0d82c9fbdf2131d9e5af
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agofix 952 key error kdu_name 31/8331/1
tierno [Thu, 5 Dec 2019 15:04:39 +0000 (15:04 +0000)]
fix 952 key error kdu_name

Change-Id: I1cb111825e84d216f469fb320806413009705c6d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoProvide more info upon instantiate task exceptions 24/8324/1
tierno [Wed, 4 Dec 2019 21:25:38 +0000 (21:25 +0000)]
Provide more info upon instantiate task exceptions

Change-Id: I927e790607946e48922015e682d0feb311044f13
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix k8srepo adding/delete 05/8305/2
tierno [Tue, 3 Dec 2019 23:37:08 +0000 (23:37 +0000)]
fix k8srepo adding/delete

Change-Id: I97044b3d2206ec01fb8b9aed7c6209e718e15262
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 948: Remove "/" from charm's artifact_path 17/8317/2
David Garcia [Wed, 4 Dec 2019 13:01:50 +0000 (14:01 +0100)]
Fix Bug 948: Remove "/" from charm's artifact_path

Change-Id: I16a0926b01996e0c81172fcd552058be41edb14d
Signed-off-by: David Garcia <david.garcia@canonical.com>
4 years agoMerge "Add Juju/k8s support"
tierno [Wed, 4 Dec 2019 21:26:56 +0000 (22:26 +0100)]
Merge "Add Juju/k8s support"

4 years agoAdd Juju/k8s support 83/8283/6
Adam Israel [Sun, 1 Dec 2019 17:41:39 +0000 (12:41 -0500)]
Add Juju/k8s support

Adds support for Juju/k8s-based workloads

Change-Id: I65a4aeccf4a51cd62361ab269356390caed717be
Signed-off-by: Adam Israel <adam.israel@canonical.com>
4 years agoFix bug 913 - LCM not getting VNF mgmt ip when using native charms 95/8295/3
quilesj [Tue, 3 Dec 2019 10:58:10 +0000 (10:58 +0000)]
Fix bug 913 - LCM not getting VNF mgmt ip when using native charms

Change-Id: Iea0034acb19a6ccd01bfc0144b779771190eabb0
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
4 years agobug 915 fix kdu termination on a failed deployemnt 66/8266/4
tierno [Fri, 29 Nov 2019 14:16:16 +0000 (14:16 +0000)]
bug 915 fix kdu termination on a failed deployemnt
Allow additional params for a concrete kdu and vdu

Change-Id: I6c800c011dcf75e68bde00345cd5ebfa6dd5c87a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoAdding support for FsMongo 92/7692/6
Eduardo Sousa [Fri, 21 Jun 2019 10:54:56 +0000 (11:54 +0100)]
Adding support for FsMongo

Change-Id: Ied3a67f98e3486d78a366dbcc2c10cd726c41745
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
4 years agofix race condition causing keyerror status on waiting for VM up 55/8255/1
tierno [Thu, 28 Nov 2019 17:31:41 +0000 (17:31 +0000)]
fix race condition causing keyerror status on waiting for VM up

Change-Id: Ideb8f07d09f2be9020ca80128fa346c719cebb06
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix vca_config parameter for N2VC. 47/8247/3
tierno [Wed, 27 Nov 2019 15:46:57 +0000 (15:46 +0000)]
Fix vca_config parameter for N2VC.
Fix unittests.
Provide hostname/username for native charms

Change-Id: I19f740a4053b9f1aa738f373450a907e7e7d9078
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix bug 900. Inject VCA pub key 39/8239/2
tierno [Tue, 26 Nov 2019 16:12:53 +0000 (16:12 +0000)]
fix bug 900. Inject VCA pub key

Change-Id: I68a9aad1b11bfecfa7e97630a90fdf8982427b85
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMerge branch feature7928. It includes feature5837 21/8221/4
tierno [Sat, 23 Nov 2019 00:36:52 +0000 (00:36 +0000)]
Merge branch feature7928. It includes feature5837

Change-Id: Ia86ec45a9415df90309ad35dc7c63a063f12db5d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoLCM Helm connector integration 20/8220/1 feature7928
calvinosanch [Mon, 4 Nov 2019 12:37:39 +0000 (13:37 +0100)]
LCM Helm connector integration

Change-Id: Ia51920ca5a548194d3e1c2cd668a7b082ee84e12
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
5 years agoupdate database '_admin.modified' when modified. 60/8060/2
tierno [Fri, 18 Oct 2019 13:03:10 +0000 (13:03 +0000)]
update database '_admin.modified' when modified.
When waiting for previous tasks, ignore those not moified during long time

Change-Id: I29dfc3c5e725032a9251c110a3f8d16f49500a37
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochanges to use upstream N2VC libjuju 00/8200/2
tierno [Thu, 21 Nov 2019 12:25:34 +0000 (12:25 +0000)]
changes to use upstream N2VC libjuju

Change-Id: I2be62ea0f3a613a7af2fa0b27057a58c98f9a531
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix tests for feature7928 88/8188/1
tierno [Mon, 18 Nov 2019 17:33:27 +0000 (17:33 +0000)]
fix tests for feature7928

Change-Id: I04d29b563123637cf52d69e756fade1f0bb8aaa6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoIncorporate new N2VC API to LCM 96/8096/6
quilesj [Tue, 8 Oct 2019 11:34:55 +0000 (13:34 +0200)]
Incorporate new N2VC API to LCM

Change-Id: I25200384b48948fb59850b8c637e3b1e1f43d312
Signed-off-by: quilesj <e.nvi001.tid@telefonica.com>
5 years agobug 884 local variable step must be assigned before waitfor_related_HA. CancelledErro... 44/8144/3
tierno [Mon, 11 Nov 2019 17:07:00 +0000 (17:07 +0000)]
bug 884 local variable step must be assigned before waitfor_related_HA. CancelledError can be raised

Change-Id: Iabff0e1b0cb2cf08ebb35fc7366dd7e8de0a25a9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 874. Adding mapping between descriptor elements and n2vc name at config initi... 18/8118/2
tierno [Tue, 5 Nov 2019 13:45:04 +0000 (13:45 +0000)]
fix bug 874. Adding mapping between descriptor elements and n2vc name at config initial primitive for NS.
Call always a config intial-primitive for NS even it is not explicit at descriptor

Change-Id: Ic5513f09d9b7a91b8c1e85d0915d4a0f5e696c71
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoVCD feature 7193-provider_nerwork 58/8058/2
kbsub [Thu, 17 Oct 2019 16:28:48 +0000 (16:28 +0000)]
VCD feature 7193-provider_nerwork

Change-Id: I3a1a14c499768bb3d5a66d0326e2e30f025b2d5c
Signed-off-by: kbsub <subair.basheer@riftio.com>
5 years agoBug 864 allows both create/created, edit/edited for VIM,WIM,SDN kafka operation 49/8049/2
tierno [Wed, 16 Oct 2019 09:09:58 +0000 (09:09 +0000)]
Bug 864 allows both create/created, edit/edited for VIM,WIM,SDN kafka operation

Change-Id: I88deb936138e1f1ee2b350d2f2334ce4e20f5598
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoUnit tests for scale 21/8021/3
kuuse [Thu, 3 Oct 2019 13:27:51 +0000 (15:27 +0200)]
Unit tests for scale

Change-Id: I9daac046c362ae2a132df15d7ab270a556b26981
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoinitial workflow for n2vc redesign 38/7838/9 n2vc
tierno [Fri, 9 Aug 2019 11:32:23 +0000 (11:32 +0000)]
initial workflow for n2vc redesign

Change-Id: I0c0243ba54571faa20d30cd59e92c140d599b566
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoSuboperations for scale-out and scale-in 12/8012/2
kuuse [Thu, 3 Oct 2019 08:48:06 +0000 (10:48 +0200)]
Suboperations for scale-out and scale-in

Note: Unit Tests will be added in a separate commit.

Change-Id: I9ce30c2da24e89f2b03157407ef778203f534225
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoImplement api proxy for native charms 08/7908/9
Adam Israel [Wed, 4 Sep 2019 15:55:55 +0000 (11:55 -0400)]
Implement api proxy for native charms

This patch reads the OSMLCM_VCA_APIPROXY env variable into vca_config,
and passes the new parameter to the N2VC client.

It also enables the deployment of native charms.

Change-Id: I28fb9167e2dc39b1534aeb1d27b86536d862f45c
Signed-off-by: Adam Israel <adam@adamisrael.com>
5 years agofix issue with ns.NsLcm.ns_params_2_RO. Adding unittest 44/7944/1
tierno [Thu, 12 Sep 2019 09:33:40 +0000 (09:33 +0000)]
fix issue with ns.NsLcm.ns_params_2_RO. Adding unittest

Change-Id: I5c115c061ee3e67eb80a205135b1b1c364421b65
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 828 inject VCA key only when vnf/vdu-configuration:config-access:ssh-access:requi... 42/7942/1
tierno [Wed, 11 Sep 2019 08:55:52 +0000 (08:55 +0000)]
bug 828 inject VCA key only when vnf/vdu-configuration:config-access:ssh-access:required is True
Send user to RO in the inject key command
Wait RO to get up sometime at staring before abandom

Change-Id: I073a3322281f213550b8cde99a53721d2d1d9f05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agotest_ns: get VCA env for secret and pubkey 85/7885/3
tierno [Fri, 30 Aug 2019 12:10:17 +0000 (12:10 +0000)]
test_ns: get VCA env for secret and pubkey

Change-Id: I160692c18791e034a65dfe2623d877719809f9f5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix Dockerfile local to use osm_lcm as a module 91/7891/1 v6.0.2 v6.0.2rc1 v6.0.3
tierno [Fri, 30 Aug 2019 15:21:05 +0000 (15:21 +0000)]
fix Dockerfile local to use osm_lcm as a module

Change-Id: I9dd213143e62466edb4d81fe224c348606b40e17
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoenhance logging and error reporting 71/7871/1
tierno [Thu, 29 Aug 2019 13:21:40 +0000 (13:21 +0000)]
enhance logging and error reporting

Change-Id: Ia3969b7f3e8595658875e859134dd9ee1991a5fc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochange imports as a module with osm_lcm prefix 66/7866/3
tierno [Wed, 28 Aug 2019 15:34:33 +0000 (15:34 +0000)]
change imports as a module with osm_lcm prefix
change version to be aligned with OSM
allow new format for RO version

Change-Id: Iacb0eb9c325f3e10158edb7d9c35aa61c7beceed
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoinitial unittest for ns instantiate 58/7858/4
tierno [Mon, 26 Aug 2019 16:48:23 +0000 (16:48 +0000)]
initial unittest for ns instantiate

Change-Id: Iea789fca06fe1a643aaed6be0e726a35373fc980
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agominor changes to make unittest easier 55/7855/2
tierno [Thu, 22 Aug 2019 13:46:35 +0000 (13:46 +0000)]
minor changes to make unittest easier

Change-Id: Id60462d1ba82591d80f48fe6cec0ce257de97082
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoBug 812: workaround for 'max-instance-count' parsing error 35/7835/4
kuuse [Wed, 7 Aug 2019 12:43:44 +0000 (14:43 +0200)]
Bug 812: workaround for 'max-instance-count' parsing error

Change-Id: Ia2c80565c91054921978e06c3e4823a50aa1ed13
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoHA for vim, wim and sdn 67/7767/8
kuuse [Wed, 10 Jul 2019 11:52:45 +0000 (13:52 +0200)]
HA for vim, wim and sdn

Change-Id: I14f9321519a07df32b5053f86d0e635b0abed4b9
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agofix bug 802 decrypt vrops_password at vim_account for schema_version>=1.1 31/7831/3
tierno [Thu, 1 Aug 2019 16:32:56 +0000 (16:32 +0000)]
fix bug 802 decrypt vrops_password at vim_account for schema_version>=1.1

Change-Id: I80ac8bd9d437a044aafcbb89af5d3c93730da3cd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoSuboperations: nslcmops._admin.operations[0..N] 20/7820/6
kuuse [Tue, 30 Jul 2019 13:22:16 +0000 (15:22 +0200)]
Suboperations: nslcmops._admin.operations[0..N]

Change-Id: I05fef2a746d8361a6c93404cf683905f8ef92f73
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agominor changes at ns.py 58/7758/1
tierno [Fri, 5 Jul 2019 15:25:25 +0000 (15:25 +0000)]
minor changes at ns.py

Change-Id: Ic0a6ee048137d56dcd73bfede524bd7065803831
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 760 skip get-ssh-public-key,generate-ssh-key,verify-ssh-credentials methods for... 53/7753/3
tierno [Thu, 4 Jul 2019 17:17:06 +0000 (17:17 +0000)]
bug 760 skip get-ssh-public-key,generate-ssh-key,verify-ssh-credentials methods for non ssh-layered proxy-charms

Change-Id: I597c66df8c56662f15f8949e4a10aa73f7f5d4ac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadmit op_id for Vim/Wim/Sdn create/edit. Compatibility for new NBI versions 54/7754/1
tierno [Fri, 5 Jul 2019 11:54:25 +0000 (11:54 +0000)]
admit op_id for Vim/Wim/Sdn create/edit. Compatibility for new NBI versions

Change-Id: I0ede3bdc37326bead60a62f7fcb7fb3fc3944ece
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoPrepare LCM tasks for HA 73/7673/14
kuuse [Tue, 18 Jun 2019 10:09:24 +0000 (12:09 +0200)]
Prepare LCM tasks for HA

Change-Id: I6146d5903e95d6d710d349a08fcf5ae03127dfed
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agofix bug 770. Execute initial-config-primitive for NS-charm 83/7683/2 v6.0.1
tierno [Wed, 19 Jun 2019 08:46:07 +0000 (08:46 +0000)]
fix bug 770. Execute initial-config-primitive for NS-charm

Change-Id: I638b749dda47abe11c45bf0802ae9c45b5649358
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 769 fix execution of initial-primitives when combining vnf and vdu configuration 65/7665/1 v6.0.0
tierno [Thu, 13 Jun 2019 16:05:28 +0000 (16:05 +0000)]
bug 769 fix execution of initial-primitives when combining vnf and vdu configuration

Change-Id: I8d1a83a6a34e306d79f76c2f045e49685401db7e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix bug 765: retry verify-ssh-credentials until 10 times every 30 seconds to wait... 47/7647/1
tierno [Tue, 11 Jun 2019 22:50:01 +0000 (22:50 +0000)]
fix bug 765: retry verify-ssh-credentials until 10 times every 30 seconds to wait for VM ssh service up

Change-Id: I025c33d41930b0e1bc6590bb350e9d2a7b27777b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofixing issues introduced with resolution of bug 696 32/7632/1
tierno [Fri, 7 Jun 2019 12:36:50 +0000 (12:36 +0000)]
fixing issues introduced with resolution of bug 696

Change-Id: Ia828dc25e6a73ba9bd54a6d456e6c6b5e82d31bc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug fix 696 56/7556/7
ikalyvas [Mon, 27 May 2019 15:16:01 +0000 (18:16 +0300)]
bug fix 696

Change-Id: I94e3cde5b4af25d6a4d00587ac42ba747c565dc9
Signed-off-by: ikalyvas <i.kalyvas@modio.io>
5 years agofix bug 728 729 93/7593/2
tierno [Mon, 3 Jun 2019 13:39:39 +0000 (13:39 +0000)]
fix bug 728 729

Change-Id: I1773f5232921b81f697031d8cdc653b6c108c844
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofeature 1429 secure key management 83/7583/1
tierno [Thu, 30 May 2019 17:16:28 +0000 (17:16 +0000)]
feature 1429 secure key management
 deploy proxy charm first
 wait blocked o ready, exec get-ssh-public-key, generate-ssh-key
 deploy VMs, inyect ssh-keys at VM
 exec config initial primitives,
 exec verify-ssh-credentials
 exec rest of initial primitives

Change-Id: I8c9c908ab09d70061744677ae23e9d93b41dcdc7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofeature 5669 provide machine_spec for full charm support 73/7573/2
tierno [Wed, 29 May 2019 11:34:57 +0000 (11:34 +0000)]
feature 5669 provide machine_spec for full charm support

Change-Id: Ib0eb6bdb45d4acd5a2c71aeeacb536a3bc3d9ba0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 687 fixing post scaling actions 65/7565/1
tierno [Wed, 29 May 2019 07:06:23 +0000 (07:06 +0000)]
bug 687 fixing post scaling actions

Change-Id: I1e41a58d7ec415b8ce92ed92c9f5c18ce4512b9a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 687 fixing pre and post scaling actions 40/7540/1
tierno [Fri, 24 May 2019 08:38:26 +0000 (08:38 +0000)]
bug 687 fixing pre and post scaling actions

Change-Id: I04f6d9f1aea688a3f0863916f26f1b76d4e72c0d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdded '_terminate_action' with primitive from VNFD 59/7459/2
kuuse [Mon, 13 May 2019 13:59:27 +0000 (15:59 +0200)]
Added '_terminate_action' with primitive from VNFD

Change-Id: I8919317379b216a691b44f86491b947b9375cbef
Signed-off-by: kuuse <johan.kuuse@altran.com>
5 years agoAdding NS charm: ns-configugation, actions over ns 51/7251/9
tierno [Mon, 25 Feb 2019 16:48:23 +0000 (16:48 +0000)]
Adding NS charm: ns-configugation, actions over ns

Change-Id: I6a3e851d31ed468a11180789a4c49c45848d81dd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 585 change charm model to nsr_id. Create/Delete model name 56/7056/12
tierno [Wed, 6 Feb 2019 09:21:27 +0000 (09:21 +0000)]
bug 585 change charm model to nsr_id. Create/Delete model name

Change-Id: Ie8b828b8ff91315fa498395fea68ca8148d9cf1e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFeature shared network slice subnet 23/7223/14
Felipe Vicens [Thu, 31 Jan 2019 01:32:09 +0000 (02:32 +0100)]
Feature shared network slice subnet

Change-Id: I4912387f9cd13b07258ab8fa7bc10550c4735537
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
5 years agoRead kafka 'admin' without group_id. Identify ping with the worker_id 20/7420/2
tierno [Mon, 22 Apr 2019 11:37:36 +0000 (11:37 +0000)]
Read kafka 'admin' without group_id. Identify ping with the worker_id

Change-Id: Ie9bdd84352d71703910e019532ac5f4a35a34f4d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 664: Allow 'pending' for N2VC.GetPrimitiveStatus 85/7385/4
tierno [Thu, 4 Apr 2019 13:33:27 +0000 (13:33 +0000)]
bug 664: Allow 'pending' for N2VC.GetPrimitiveStatus

Change-Id: I530ecfef1883be0156c3daf5ff197e88d272f59a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoRevert "Updated timeouts for common operations: deploy, delete, primitive" 98/7398/1
garciadeblas [Tue, 9 Apr 2019 16:53:58 +0000 (18:53 +0200)]
Revert "Updated timeouts for common operations: deploy, delete, primitive"

This reverts commit 80a74b007bfb5e3c0a15aefa248de81f5dbc1bcb.

Change-Id: Ie3835311d6e34617b167c3d6a973d2d72dce5895
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoAdded apt-utils to Dockerfile for stage-archive.sh 51/7351/2
garciadeblas [Thu, 21 Mar 2019 15:32:00 +0000 (16:32 +0100)]
Added apt-utils to Dockerfile for stage-archive.sh

Change-Id: If11e4004f49fde04e33d1f833f34f25bf62943d9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoallow RO ip-address to be a semicolon separated list 94/7394/1 feature7106
tierno [Tue, 9 Apr 2019 13:03:14 +0000 (13:03 +0000)]
allow RO ip-address to be a semicolon separated list

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