beierlm [Mon, 17 May 2021 19:43:39 +0000 (15:43 -0400)]
Updating refs to own branch
Change-Id: Ic3c32910cfa45a730067ba357ddec89a19250f56
Signed-off-by: beierlm <mark.beierl@canonical.com>
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>
ksaikiranr [Fri, 19 Feb 2021 04:55:18 +0000 (10:25 +0530)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
In ns.py file
Added _on_update_k8s_db function to update KNF vcaStatus in NSR record
Integrated the vca status refresh function for updating KNF status
Change-Id: Ieba74e3d6d45766ad4b808665a3c62b046a42b2a
Signed-off-by: jayaramans <selvi.j@tataelxsi.co.in>
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>
ksaikiranr [Wed, 27 Jan 2021 16:43:22 +0000 (22:13 +0530)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
Integrated functions implemented in n2vc module for
actions list, configs list and executed actions/history of actions
Change-Id: I25db0d9fe4535b9908883a6f2175c3e80997e7cf
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>
ksaikiranr [Mon, 15 Mar 2021 05:09:06 +0000 (10:39 +0530)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
Implemented functions to receive vcaStatus update message from kafka
and update nsr record in mongo.
Addressed review comments
Change-Id: I54f526c74fd27328c88721002d41bd85a182f9eb
Signed-off-by: Priyadharshini G S <priyadharshini.g@tataelxsi.co.in>
Signed-off-by: ksaikiranr <saikiran.k@tataelxsi.co.in>
limon [Mon, 15 Mar 2021 08:39:43 +0000 (09:39 +0100)]
Fix Pre and Post Scale operations
Change-Id: If865dec846b0d28e31f272d512cb47ad62b2948a
Signed-off-by: limon <alimonj@indra.es>
David Garcia [Fri, 5 Mar 2021 14:01:54 +0000 (15:01 +0100)]
Add missing parameter to generate_kdu_instance_name
In the commit
c4da25cc that fixes 1412 I forgot to add the kdu_name
variable.
Change-Id: I12697d66e590660fe27b3a5abd32634b509a4fbd
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Thu, 4 Mar 2021 12:12:48 +0000 (13:12 +0100)]
Fix minor issue in LCMHelmConn
scaling_in argument has been added to the delete_execution_environment
for the juju connector. This patch adds kwargs to the helm connector.
The scaling_in is not currently used by helm.
Change-Id: I4723d6f194cdd64a4b3bbef348457fb6c2a1e47c
Signed-off-by: David Garcia <david.garcia@canonical.com>
garciaale [Tue, 2 Mar 2021 13:49:28 +0000 (10:49 -0300)]
Fixes 1440 with proper iteration of dict
Change-Id: If1cdf143aaebb8c5246a8cae6cc6aff239ab0637
Signed-off-by: garciaale <agarcia@whitestack.com>
David Garcia [Thu, 25 Feb 2021 19:19:18 +0000 (20:19 +0100)]
Fix bug 1412: Generate kdu instance from LCM
Change-Id: Ic8fbcd1d78eeef60ec0c943bcd233f8d8ee4f166
Signed-off-by: David Garcia <david.garcia@canonical.com>
aktas [Fri, 12 Feb 2021 19:19:10 +0000 (22:19 +0300)]
Bug 585 Fix for scaling
This fix should be merged with this
https://osm.etsi.org/gerrit/c/osm/N2VC/+/10364
Change-Id: I43fb4e5c81dbbaed07f01ba1a3ba399f7425b347
Signed-off-by: aktas <emin.aktas@ulakhaberlesme.com.tr>
bravof [Mon, 22 Feb 2021 21:02:07 +0000 (18:02 -0300)]
fix(configuration): juju related changes to honor descriptor changes introduced in v8 and fixes for new configuration model
Change-Id: Ib5131a94b944c1aed985c2a612cf2b5d871673de
Signed-off-by: bravof <fbravo@whitestack.com>
garciadeblas [Fri, 12 Feb 2021 11:26:46 +0000 (11:26 +0000)]
Fix bug 1442: set SDN target in vim_info for NS VLD
Change-Id: Ie4ed89c261604c74a504adbed8482036b7db4951
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
bravof [Wed, 17 Feb 2021 22:09:12 +0000 (19:09 -0300)]
fix(configurations): LCM adapted for new configuration container in IM
Change-Id: I5511a659e257a42d6bbdb48c495f93078bd12928
Signed-off-by: bravof <fbravo@whitestack.com>
garciaale [Tue, 16 Feb 2021 18:47:52 +0000 (15:47 -0300)]
Updates LCM test descriptors to SOL006 3.3.1
Change-Id: Ic86d62bafe9fa4fdcaf7b750501d002851022f78
Signed-off-by: garciaale <agarcia@whitestack.com>
lloretgalleg [Mon, 8 Feb 2021 11:49:50 +0000 (11:49 +0000)]
Fix bug 1432: No support for alternative images for sol006
Change-Id: Icc4a9871c0ae44fc516b6c60fd6e0a641324fcdd
Signed-off-by: lloretgalleg <illoret@indra.es>
David Garcia [Tue, 16 Feb 2021 20:07:58 +0000 (21:07 +0100)]
Fix minor issue
If initial-config-primitive or config-primitive do not exists, there was
an error.
Change-Id: If43cef7369a5f6d57c99347ba8a4b7b08790d057
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit
95cc9c5f864ef0d5b78eca278e41a023d7e79281)
lloretgalleg [Tue, 26 Jan 2021 12:12:03 +0000 (12:12 +0000)]
Bug 1417 solved: Timeout contacting EE grpc server
Change-Id: Ie1b67cc20726bf0358f3a96fb0549455a32e7957
Signed-off-by: lloretgalleg <illoret@indra.es>
lloretgalleg [Tue, 15 Dec 2020 10:54:02 +0000 (10:54 +0000)]
Changes for IM change 10095: remove kdu-model
Change-Id: I14dff0d94e8deb389d915f43e2a8aa41c618ca76
Signed-off-by: lloretgalleg <illoret@indra.es>
David Garcia [Thu, 10 Dec 2020 19:10:53 +0000 (20:10 +0100)]
Fix bug for ns-primitives (manual testing)
db_vnfr was None. Therefore, the get_osm_params was raising some errors.
That's fixed now
Change-Id: Ied4b0fdb9f374dbfaeb0f4947e75a8a310678a1e
Signed-off-by: David Garcia <david.garcia@canonical.com>
bravof [Fri, 11 Dec 2020 19:37:01 +0000 (16:37 -0300)]
fix(sapd): sapd used to specify exposed connections at NS level. Fixes Bug 1321
Change-Id: I61b52f77102cc70da01da7f35bdbf79dedcd6ae9
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Fri, 11 Dec 2020 14:08:13 +0000 (11:08 -0300)]
fix(kdu): kdu-profiles uses name instead of id
Change-Id: If0539994cdfe857fe44120c41f26d9ebfdec9646
Signed-off-by: bravof <fbravo@whitestack.com>
David Garcia [Thu, 10 Dec 2020 11:52:52 +0000 (12:52 +0100)]
Fix bug 1368 and 1369
Change-Id: I3c88b3a9295ce0b105410a76356e88da0f1e24a5
Signed-off-by: David Garcia <david.garcia@canonical.com>
lloretgalleg [Thu, 10 Dec 2020 14:21:10 +0000 (14:21 +0000)]
Bug 1306 solved
Corrected problem introduced at commit
aae391fc that changed parameters
to deploy ee for helm
Change-Id: I33e5971e5620d8d37134cbb2dfa499f5eaa17bc4
Signed-off-by: lloretgalleg <illoret@indra.es>
bravof [Mon, 7 Dec 2020 15:57:31 +0000 (12:57 -0300)]
fix(scale): manual scaling now works
Change-Id: I1f54930996368626d292ace5b55e45e9472775a7
Signed-off-by: bravof <fbravo@whitestack.com>
bravof [Wed, 25 Nov 2020 00:21:43 +0000 (21:21 -0300)]
feat(sol006): LCM migration to SOL006
Change-Id: I48a3ec2fec0b1e0173bb0f3aaa83a774d46b3955
Signed-off-by: bravof <fbravo@whitestack.com>
tierno [Wed, 18 Nov 2020 12:47:52 +0000 (12:47 +0000)]
fix minor error at k8scluster helm v3 deletion
Change-Id: I842ec05cbdd221599eb8b5e458f3e5b8131a08b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Thu, 19 Nov 2020 12:06:54 +0000 (13:06 +0100)]
Fix bug 1297
Change-Id: I8e4b4be847dcd592bbb7c2e69d7065adc7336740
Signed-off-by: David Garcia <david.garcia@canonical.com>
David Garcia [Wed, 18 Nov 2020 12:09:58 +0000 (13:09 +0100)]
Fix bug introduced in
aae391fc:
config parameter does not exist in the create_execution_environment
function
Change-Id: I445fd3ef7e78f2a8f565829291b264632a0f56d5
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Mon, 19 Oct 2020 16:38:59 +0000 (16:38 +0000)]
Feature 7184 New Generation RO enhancemnt
- Adding ssh-key injection
- Adding parameter instantiation to NG-RO
- Removing for NG-RO vim creation and edition
- Autodetect if it is old RO or new generatio RO
- Provide cloud init text for new generatio RO
- scaling for new generation RO
- Adding sdn creation info at new generation RO
Change-Id: I322c2a8989b58e89ad981926f11cfdd3e630b75a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Mon, 9 Nov 2020 10:12:54 +0000 (11:12 +0100)]
Feature 9952: Distributed Proxy Charms
This feature allows to specify the destination clouds for Proxy Charms
associated with a specific VIM Account
- Remove N2VCJujuConnectorLCM usage.
- Parse VIM config parameters to get vca_k8s_cloud,
vca_k8s_cloud_credential, vca_cloud, and vca_cloud_credential
parameters.
- Pass the above parsed parameters to N2VC
Change-Id: I660d9b7245ae30d8fdc0dc3df470ee003abbba75
Signed-off-by: David Garcia <david.garcia@canonical.com>
lloretgalleg [Thu, 22 Oct 2020 09:54:51 +0000 (09:54 +0000)]
Added support for helm v3
Change-Id: Ib64dfc56d72d58e344088f4aad8d38353ce4c01b
Signed-off-by: lloretgalleg <illoret@indra.es>
lloretgalleg [Wed, 2 Sep 2020 09:55:05 +0000 (09:55 +0000)]
Syncronize with fs before deploy package with ee
Change-Id: Ic9ce2f93c82217976a665b5adb099b4b51b49bc0
Signed-off-by: lloretgalleg <illoret@indra.es>
Vijay Nag B S [Tue, 29 Sep 2020 12:02:29 +0000 (17:32 +0530)]
Support for mongodb replicaset connection (HA).
Added replicaset field in lcm.cfg file, which is used in
mongodb connection string (osm_common/db_mongo.py).
Change-Id: If5b00e9442ac738bcb081c8be8e5a726cbfe7484
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
tierno [Thu, 22 Oct 2020 14:12:46 +0000 (14:12 +0000)]
Revert gerrit 9831 "provide juju parameters to the config primitives"
This reverts commit
0e434cac4d986da7e85d075daf9b78d0f8d1039d.
Change-Id: Iafb9f0a5d70b5542f2cd071e784e1ac00210207c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Fri, 16 Oct 2020 11:05:34 +0000 (13:05 +0200)]
Use vca_config and loop options in K8sJujuConnector
This is related to the feature 9751.
Patch 9849 needs to land before.
Change-Id: Ic89a797b74501dc86cbce9cf1b9d9998423656a0
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Wed, 14 Oct 2020 15:13:28 +0000 (15:13 +0000)]
provide juju parameters to the config primitives
Change-Id: I87c3e895a7065bab5658c74756ed7305af403fab
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 14 Oct 2020 14:59:36 +0000 (14:59 +0000)]
fix 1261: change parameter to int/bool according to data-type
when executing a VCA primitive, parameter values are always a
string (defined at yang model), but key 'data-type' can indicate
that this is a STRING, INTEGER or BOOLEAN. In case of not a string
data is converted to the target type
Change-Id: I77babb1859b99df9290373deb3568686663d2015
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 9 Oct 2020 12:03:24 +0000 (12:03 +0000)]
fix 1201 get kdur from vnfr properly
Change-Id: I86d20548bcdcc876b27e3e57c69a347c91aa9825
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 6 Oct 2020 08:22:07 +0000 (08:22 +0000)]
fix 1238: Allow individual cloud-init user-data at each VM
create individual user-data at each vm, parsing jinja2 with a
new OSM variable that includes known ip-address, mac-address,
vnf and ns id, vdu id and index, ...
Added OSM params at proxy charms
Change-Id: I3cb37d9c0d2816d89c55c7b2da2693992ed5dfb1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 30 Sep 2020 08:01:05 +0000 (08:01 +0000)]
fix 1242: increase retries while adding prometheus jobs
It is retried more frequently and 20 times instead of 4
Change-Id: I4ab5a2dfe9c60f9b88da7f2784003ef89a7f676d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 30 Sep 2020 07:56:29 +0000 (07:56 +0000)]
fix 1214: change timeout from 10min to 5min for k8s cluster creation
Change-Id: I0dd2b24494f093a6cb07a068f307b54c64e189b0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 25 Sep 2020 12:33:15 +0000 (12:33 +0000)]
fix 1223. Get properly the IP address on scaled vdus
Change-Id: I9e2754a905706b4bc632c6187ba5994e471229bb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Wed, 9 Sep 2020 13:40:44 +0000 (15:40 +0200)]
Fix bug 1206: add relations between VNF and VDU
Change-Id: Ibad63bd0dc3692018c2c14487ab6923390a152c5
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Mon, 21 Sep 2020 14:05:39 +0000 (14:05 +0000)]
fix 1201: for a KDU with configuration, wait for KDU up instead of deployed at RO
Change-Id: Id88a5a0993af0d2758635d204e603e3b0f33df0d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 18 Sep 2020 10:33:18 +0000 (10:33 +0000)]
fix 1214: mark k8scluster ENABLED when task is finished
Set a new k8scluster satus DEGRADED when one of helm-chart or
juju-bundle is not ready. Capture known exceptions avoiding
unneeded traceback on logs
Change-Id: Id4e6c7807d923325bd754fd52ded5772541b1687
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 16 Sep 2020 14:13:06 +0000 (14:13 +0000)]
fix 1210 avoid deleting single proxy charms.
They are deleted removing the juju model
Change-Id: Ie203e3109c0ca499022e0e8bd9fd7b2c8e25d17b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 14 Sep 2020 12:11:32 +0000 (12:11 +0000)]
fix vnf_relations issue when there are more than one
Change-Id: I6e8e6d6301562a64eec78c73335fb46568306e6c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
endika [Mon, 14 Sep 2020 09:20:00 +0000 (11:20 +0200)]
Fix typo in ROclient.py printable ids
Change-Id: I094275fd0f62d7499a01bf601351dc4f255c0d5f
Signed-off-by: endika <endika.aldecoa@ehu.eus>
David Garcia [Tue, 25 Aug 2020 11:17:25 +0000 (13:17 +0200)]
Fix removing the vnf relations from the right list
Change-Id: Ib5fadaa6ad266d1756969a01ce34f82389c48d61
Signed-off-by: David Garcia <david.garcia@canonical.com>
Dominik Fleischmann [Wed, 19 Aug 2020 10:17:51 +0000 (12:17 +0200)]
Fix Bug 1193: Day 1 actions for Juju KDUs
This commit enables the functionality of
executing initial config primitives with kdus
deployed with juju-bundles.
It fixes the Bug 1193.
Change-Id: Ibbd256022c28522d180e19dba1fdf5ee21fac5f0
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
tierno [Fri, 14 Aug 2020 10:45:42 +0000 (10:45 +0000)]
change tox.ini to add all unittexts and .gitignore
Change-Id: I800f0020d2fb0c1c9c58d70ca17e2a8030ffd05f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 13 Aug 2020 14:25:47 +0000 (14:25 +0000)]
fix 1192: Paralell k8scluster init for helm and juju.
Added a timeout of 10 minutes
Change-Id: I340d95ee390207c262b8f921b566396b93aa79c7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
lloretgalleg [Tue, 14 Jul 2020 10:55:26 +0000 (10:55 +0000)]
Added unit tests for lcm_helm_conn.py
Change-Id: I1ab08d7a7e5e8d92378dfd78f6ba3ee1ef56ae3b
Signed-off-by: lloretgalleg <illoret@indra.es>
tierno [Tue, 11 Aug 2020 11:20:13 +0000 (11:20 +0000)]
fix 1190 parse RO returned error
If error is a json/yaml, get description only
Remove Double "Stage Stage" at reported ns details
Change-Id: I6b5cda154b8851101d231db68e1b6c8a76b65ae3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 10 Aug 2020 13:21:28 +0000 (13:21 +0000)]
fix 1102 Mark nsiState to INSTANTIATE at beginning
Enhance detail-status on failed nsi instantiation
Change-Id: I41f2340bfdbc92bca3f1496266bc11fc533fb072
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 7 Aug 2020 06:36:38 +0000 (06:36 +0000)]
fix 1183: Delete native charms before destroying juju model
Destroying the juju model automatically destroys all applications and machines.
However it is not deleted if they are native charms in pending status.
Change-Id: I8b3580e201f1d403d36b6e07fa3947ea4a655683
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
lloretgalleg [Wed, 22 Jul 2020 10:13:46 +0000 (10:13 +0000)]
Bug 1166-vnf-show provides status NOT_INSTANTIATED after a NS is successfully deployed solved
Change-Id: I7abb74ca24b70337804661ae21733af0828311ce
Signed-off-by: lloretgalleg <illoret@indra.es>
tierno [Tue, 21 Jul 2020 12:41:25 +0000 (12:41 +0000)]
Change lcm.cfg from prometheus to a generic tsdb
Include prometheus in the loging configuration
Adding tsdb ENV to Dockerfile.local
Change-Id: Ib95b33c0eb0deb7bfd2d2baec274d2f442938836
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 20 Jul 2020 09:05:51 +0000 (09:05 +0000)]
fix 1161 wait for k8scluster creation when deploying a knf
Change-Id: I16d1ce9d1e804a3ec10ca9f40ff599fcf9021d89
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Mon, 20 Jul 2020 11:05:42 +0000 (11:05 +0000)]
Fix bug 1160: remove get primitive from descritor for implicit actions on KDU
Change-Id: I14a1f6cc1aa4499b49dd4af4e15eddefcf92069a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
David Garcia [Thu, 16 Jul 2020 15:50:09 +0000 (17:50 +0200)]
Fix issue with cluster_uuid
The cluster_uuid passed does not correspond with the right one.
Change-Id: I435017c8ca15f5b66e32e84451ec3acff2467c89
Signed-off-by: David Garcia <david.garcia@canonical.com>
lloretgalleg [Thu, 16 Jul 2020 10:22:09 +0000 (10:22 +0000)]
Bug 1152, error if system cluster not properly initialized
Change-Id: Ia30aa0805d57fd4e20fd5b56b00ddd773968213a
Signed-off-by: lloretgalleg <illoret@indra.es>
tierno [Thu, 16 Jul 2020 11:26:02 +0000 (11:26 +0000)]
fix 1131 Get non-procesed kafka messages at start
Change-Id: I4a775fc3bd0f1005af18f93d700386e1be168623
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 16 Jul 2020 14:34:43 +0000 (14:34 +0000)]
fixing setup.py common and n2vc dependencies
Change-Id: I8038fa47e3a2b9af16aa7eb2db0fb98a38cf6928
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 15 Jul 2020 07:04:06 +0000 (07:04 +0000)]
enhance logs for prometheus
Change-Id: Ib4b167bd166614867bcd8ada58c0ce886737cc80
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 14 Jul 2020 10:46:57 +0000 (10:46 +0000)]
fix bug 1142 delete k8scluster in reverse order from creation
Allow to init only helm-chart or juju-bundle in a k8scluster creation
Change-Id: Ia2c30ac21d9f8d3112e6f70fd204ad049039ca52
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
lloretgalleg [Wed, 8 Jul 2020 07:53:22 +0000 (07:53 +0000)]
Obtain services ip after adding kdu
Change-Id: I3641a5d3b91adf0987010a6a37aa8a0d97499312
Signed-off-by: lloretgalleg <illoret@indra.es>
David Garcia [Fri, 10 Jul 2020 11:12:44 +0000 (13:12 +0200)]
Fix 1141: K8s proxy charms fixed
Change-Id: If828d5fb0233029a6936aa2ef2d6d62fac66ecaa
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Thu, 9 Jul 2020 13:51:20 +0000 (13:51 +0000)]
fix 1132. Capture fs.sync exceptions at instantiation
Change-Id: I8d1200acb685d6fd494dd71d36fbe0568a6c50c4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 8 Jul 2020 15:33:55 +0000 (15:33 +0000)]
parsing IM configuration execution-environ-list
Change-Id: I5fc97e2be7e5abd8a2f54d4f8422e235520b256f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 3 Jul 2020 14:52:28 +0000 (14:52 +0000)]
fixing prometheus metric exporter issues
Use the same instance of ns at netslice. Avoid two N2VC connections
Change-Id: I346c08c111e5ffc7dbc1768851dc069d2cda10d1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 6 Jul 2020 07:09:14 +0000 (07:09 +0000)]
fix devops-stages/stage-build.sh grpclib instalation
build with makefile instead of tox
Change-Id: Icc755277d002d47c5d459f26994f60d49574228e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Fri, 3 Jul 2020 10:40:56 +0000 (10:40 +0000)]
Fix coverage tests to report proper coverage
Change-Id: Ia1d06e5af86f2125abe45300fc5a3c208925ebef
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
tierno [Fri, 3 Jul 2020 06:35:42 +0000 (06:35 +0000)]
fix grpclib instalation via debian package post-install script
Change-Id: I18a511b9d639072b763f7d7071c61c30915c9718
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 1 Jul 2020 15:30:20 +0000 (15:30 +0000)]
Feature 8157. Parses new configuration information model
Change-Id: I9aa3d0274a3300c8a04b77d63e1b9316dc45eb83
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 30 Jun 2020 13:24:17 +0000 (13:24 +0000)]
adding module to configure prometheus
Change-Id: Ib4a14ca569e15f600a091d8754a85c123b7ebc2f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
garciadeblas [Wed, 19 Feb 2020 16:40:44 +0000 (17:40 +0100)]
Added coverage tests in tox
Change-Id: I66a56f9480a733a5cfd06abbce6dbffd0e4f80d3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Dominik Fleischmann [Wed, 1 Jul 2020 14:53:02 +0000 (16:53 +0200)]
Update VNFD Check to new IM change
After a discussion with the TSC the value that
stated if a proxy charm is deployed on k8s has
changed.
Change-Id: I03b1a99b7fdd0f368ac43a194c78f38b1bd56b15
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
lloretgalleg [Tue, 30 Jun 2020 13:46:28 +0000 (13:46 +0000)]
Added new helm grpc connector
Change-Id: I15b4a8fe28c679130017fc4982066f9a2de243d6
Signed-off-by: lloretgalleg <illoret@indra.es>
lloretgalleg [Wed, 1 Jul 2020 08:52:35 +0000 (08:52 +0000)]
Modified grpc client, revised package name
Change-Id: I345c66b6251a8f2f70b7cc8b72c434027095e438
Signed-off-by: lloretgalleg <illoret@indra.es>
tierno [Wed, 1 Jul 2020 07:18:37 +0000 (07:18 +0000)]
change Dockerfile used for devops-stages to ubuntu 18.04
Change-Id: I32393a8056c5b69f07f058425ed5dcd6747ef2ce
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
lloretgalleg [Tue, 30 Jun 2020 11:26:48 +0000 (11:26 +0000)]
Adding grpc library
Change-Id: I8577bf19b895f543518ff1eacb28aa1c757391b1
Signed-off-by: lloretgalleg <illoret@indra.es>
Dominik Fleischmann [Tue, 9 Jun 2020 09:55:08 +0000 (11:55 +0200)]
8716 - K8s Proxy Charms
This commit enables the possibility to deploy
Proxy Charms on Kubernetes.
It also adds the k8s_cloud variable which will
state the name of the k8s that VCA will use to
deploy them.
Change-Id: I78763a67bdd51db60f7883fe01e04ac21170dfd6
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
tierno [Thu, 7 May 2020 13:08:09 +0000 (13:08 +0000)]
Feature 7184 New generation RO
Allow using the new version of RO by the config parameter
'RO.ng=True' or the env 'OSMLCM_RO_NG=True'
Change-Id: I17dfe0326ac26b93c74cbf1b2540a5e383de6456
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Wed, 25 Mar 2020 17:21:37 +0000 (18:21 +0100)]
Feature 8720: Add scale support for charms
Change-Id: Ibbd561bd9ed14d9e3869b5aa369371cc11dab7b2
Signed-off-by: David Garcia <david.garcia@canonical.com>
Felipe Vicens [Fri, 22 May 2020 13:14:31 +0000 (15:14 +0200)]
Fix #1076 slice instantiation without CP in NSD fail
Change-Id: I7a62b7d73fc57fa5c3630475043eb6dd39fc2ef5
Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
David Garcia [Thu, 21 May 2020 14:41:07 +0000 (16:41 +0200)]
Bug 1042: increase nslcmop action default timeout
Change-Id: I46836f64a504a85b07e2803874cbf35f58c405c1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Thu, 21 May 2020 14:41:07 +0000 (16:41 +0200)]
Fix bug 1074: Get NS Configuration from database
Change-Id: I10d77e47ebab0669d8d2b43699c5224654a902b9
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Thu, 21 May 2020 13:18:23 +0000 (13:18 +0000)]
fix 1073 obtain nsd from database, not from nsr[nsd]
Change-Id: I2846a215d6144743ec7e52b81921ea1b557cc0fa
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Dominik Fleischmann [Thu, 21 May 2020 12:00:43 +0000 (14:00 +0200)]
Changing Juju version in Docker
The juju that is integrated in the LCM container,
contains a pinned version and needs to be updated
for new functionality.
Change-Id: I63a8926e745962494224aa804b6ce04f78a7f7b0
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
tierno [Wed, 20 May 2020 14:35:19 +0000 (14:35 +0000)]
fix 1070 k8scluster on error status deletion
Change-Id: Ice7a07e909d7c2a99ba3e31aa04c474d5f85b231
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Dominik Fleischmann [Mon, 18 May 2020 13:19:11 +0000 (15:19 +0200)]
Fix typo
This typo was introduced in Change 8755.
Change-Id: I009d5a99dfdfb8d745f2f28fec824ddd11860abc
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
tierno [Wed, 13 May 2020 08:41:35 +0000 (08:41 +0000)]
minor flake8 fixes and spelling
Change-Id: I3d8ba97fcc36b472762ebc0279ee432fee5c58db
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
sousaedu [Tue, 21 Apr 2020 11:08:14 +0000 (12:08 +0100)]
Fix bug 1053
This fixes bug 1053 by making the sync call before any
of the other functions requires the package.
Change-Id: I95f61fd88cfa84fbb29e05b40f95c82f84e7cf84
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
tierno [Tue, 28 Apr 2020 09:59:23 +0000 (09:59 +0000)]
fix 1056: nslcmop.operationState not updated when it is cancelled
When a task in queue is cancelled (because a terminate is received),
task operationState remains at PROCESSING instead of FAILED
This avoids terminate task to start
Change-Id: I2af59723832669f8ca8a3fbbffbdddcff8be2486
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 23 Apr 2020 22:49:52 +0000 (22:49 +0000)]
change ns vim_account after placement
Change-Id: I0eee8da8b734a5f8dae68bb3450838e57c39aed3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>