selvi.j [Wed, 24 Feb 2021 06:50:13 +0000 (06:50 +0000)]
Feature-9904: Enhancing NG-UI to enable Juju operational view dashboard
In ns.py file renamed the update_vcaStatus method call to update_vca_status
based on the N2VC review comment
https://osm.etsi.org/gerrit/#/c/osm/N2VC/+/10332/
Change-Id: I004bc93f6d971a1747f6763e4be688ddc608a209
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
Priyadharshini G S [Thu, 28 Jan 2021 06:43:19 +0000 (06:43 +0000)]
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>
ksaikiranr [Sat, 20 Feb 2021 09:30:59 +0000 (15:00 +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>
Priyadharshini G S [Thu, 28 Jan 2021 06:55:40 +0000 (06:55 +0000)]
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: ksaikiranr <saikiran.k@tataelxsi.co.in>
Signed-off-by: Priyadharshini G S <priyadharshini.g@tataelxsi.co.in>
tierno [Thu, 22 Oct 2020 14:15:02 +0000 (14:15 +0000)]
Revert gerrit9831 "provide juju parameters to the config primitives"
This reverts commit
def3b2c49087460a513acc5d4af1fb20d4f09d0c.
Change-Id: I25eee726ce8b2c57c1c254edd7d03fbfc3d93b82
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>
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>
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 [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 [Wed, 23 Sep 2020 14:08:34 +0000 (14:08 +0000)]
fixing versions of pyaml, aiohttp, jinja2
Change-Id: I5eca0738f06037800091bbfed6292a3617b67ac0
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>
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 [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 [Tue, 22 Sep 2020 09:27:12 +0000 (09:27 +0000)]
fix 1220: dependency version grpcio-tools==1.32.0 grpclib==0.4.1
Change-Id: If277dee299fe61b76126268df27df7737bb77a56
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 [Fri, 4 Sep 2020 14:07:15 +0000 (14:07 +0000)]
fixing version for grpcio dependency
Change-Id: Ideb5e40eb621eedcb7a4a8a2b32224efdecbffd9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.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 [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>
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>
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 [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>
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 [Thu, 2 Jul 2020 13:48:54 +0000 (13:48 +0000)]
change dependencies to v8.0 branch
Change-Id: I320c6da8ce42e042ae8e4d2d47c6c4d4dd8e9590
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>
tierno [Thu, 23 Apr 2020 08:24:57 +0000 (08:24 +0000)]
vnf RO deploy using db_vnfrs.vim-account-id
...instead of ns.instantiate-params at vnf.vnf-member-index.vimAccountId
Placement engine updates vnfrs.vim-account-id
Change-Id: I13985a00f64e5f844c45e380d2526ef9ba7f7ea1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Mon, 20 Apr 2020 16:28:56 +0000 (16:28 +0000)]
fixes at exception captures and k8srepo deletion
Change-Id: I4883091979f3f4ef61d9808b8723059ed0cb588d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 16 Apr 2020 14:18:24 +0000 (14:18 +0000)]
store kdu-instance by LCM after KDU deploy
Change-Id: Ia31f8efabc0f7ff55de45bf69a2862d5cb9ff463
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Dominik Fleischmann [Tue, 7 Apr 2020 10:39:36 +0000 (12:39 +0200)]
K8s action support
This commit enables k8s actions by executing them the
same way as any other ns-action. It needs a mandatory
parameter which is application-name.
This commit adds an additional check so that if no
charm is present in the kdu-configuration section
it is understood that the action will be executed
on the KDU workloads.
The commit 8761 in N2VC depends on this commit
https://osm.etsi.org/gerrit/#/c/osm/N2VC/+/8761/
Change-Id: I6adf9a4f786690af5222a208137d95fc28949b34
Signed-off-by: Dominik Fleischmann <dominik.fleischmann@canonical.com>
tierno [Tue, 7 Apr 2020 09:07:33 +0000 (09:07 +0000)]
allow k8s namespace parameter
Change-Id: If3e1dfbdcbedd637ababfb4a34f4f17b90bf3723
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Thu, 16 Apr 2020 07:56:58 +0000 (07:56 +0000)]
fix placement. Update vim-account at local cache of database vnfrs
Change-Id: Id1b67bd890078caf797c1d4906ec009e1ac18ff1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 8 Apr 2020 12:50:52 +0000 (12:50 +0000)]
fix 1049. Ignore juju model delete not found exception
Change-Id: Ie0fb5a46b4da665a26e26cb9332a4825c0f6836e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Tue, 7 Apr 2020 16:34:35 +0000 (16:34 +0000)]
delete juju model when some VCA has been deployed
Change-Id: Ia3acac75e5eae46305e70b30d1b9a6b38a4d750a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Fri, 3 Apr 2020 15:48:18 +0000 (15:48 +0000)]
some fixes at ns
Change-Id: I2f969bbdfe2d1142919ff3397152ee6c7df580a3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
David Garcia [Wed, 1 Apr 2020 14:14:59 +0000 (16:14 +0200)]
Fix bug 1039: Pass config to native charms in instantiating time
Native charms should be deployed with the config params in the VNFD
Change-Id: Id430039c7e8daa04d92408d2050743e4ba3cb399
Signed-off-by: David Garcia <david.garcia@canonical.com>
tierno [Tue, 31 Mar 2020 12:53:13 +0000 (12:53 +0000)]
fix 1043 ns-action: set default timeout
fix 1042 add instantiation timeout parameter
Change-Id: Ic59a49a9a94e3eefc351b547269dc491743efc7a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
tierno [Wed, 1 Apr 2020 15:21:15 +0000 (15:21 +0000)]
fix at n2vc_deploy
Change-Id: I66f35d11a9278b15542f9a5643d7800e898ddb3e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
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>
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>
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>
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>