osm/MON.git
3 years agofix(mongodb): query now with filters to get just the VNFD referenced by the NSR.... 65/10465/1
bravof [Mon, 8 Mar 2021 19:50:37 +0000 (16:50 -0300)]
fix(mongodb): query now with filters to get just the VNFD referenced by the NSR. Bug 1463

Change-Id: I6da85baa7fc2d57760253849cb81790bee7d847f
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFix for bug 1460 admin dashboard creation error if already exists 48/10448/6
palsus [Wed, 3 Mar 2021 20:07:07 +0000 (20:07 +0000)]
Fix for bug 1460 admin dashboard creation error if already exists

Change-Id: Ib068bd2f30cb15baa939ef7cd380f29836335722
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for bug 1459 wrong keystone credentiala.s 46/10446/7
palsus [Wed, 3 Mar 2021 17:49:01 +0000 (17:49 +0000)]
Fix for bug 1459 wrong keystone credentiala.s

Change-Id: I7bd37f8178f3815dab3535ef962867fc0ef09a35
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for bug 1450 high memory consumption 11/10411/9
palsus [Mon, 1 Mar 2021 19:59:41 +0000 (19:59 +0000)]
Fix for bug 1450 high memory consumption

Change-Id: Ic95aa63bdd8713571826a7a7963f2d33ce80d325
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agobug 1435 multiple admin and service dashboards 12/10312/7
palsus [Sun, 14 Feb 2021 19:06:33 +0000 (19:06 +0000)]
bug 1435 multiple admin and service dashboards

Change-Id: I9f30ffb9b3423ecb3be6d1a974fc7d0da0a99313
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoImproved mult-processing of mon-evaluator 83/10283/12
palsus [Tue, 9 Feb 2021 17:03:49 +0000 (17:03 +0000)]
Improved mult-processing of mon-evaluator

Change-Id: I195b406eed3a008da1efb61a9642bdb63c6e4593
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for bug 1414, bug 1435 & bug 1438 - Multi-tenancy with keystone as backend 84/10284/7
palsus [Tue, 9 Feb 2021 18:23:03 +0000 (18:23 +0000)]
Fix for bug 1414, bug 1435 & bug 1438 - Multi-tenancy with keystone as backend

Change-Id: Ifd154f5ddb75897209c2281c96087840432fb110
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoAligned python dependencies across files 55/10255/1
palsus [Thu, 4 Feb 2021 19:02:37 +0000 (19:02 +0000)]
Aligned python dependencies across files

Change-Id: Iae70b8bb0870b572f8d2a6cc3e0d40752d1c1fb4
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agobug(keystone): dashboards for projects saved in keystone instead of mongoDB. Bug... 31/10231/9
bravof [Thu, 28 Jan 2021 00:22:19 +0000 (21:22 -0300)]
bug(keystone): dashboards for projects saved in keystone instead of mongoDB. Bug 1415

Change-Id: I5faa44c7fe443813705efce625f0bb15b8250853
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFix for Bug 1174 zombie processes. Replaced multiprocessing with concurrent-futures 03/10203/22
palsus [Wed, 20 Jan 2021 18:26:13 +0000 (18:26 +0000)]
Fix for Bug 1174 zombie processes. Replaced multiprocessing with concurrent-futures

Change-Id: I105973aa944fc23a45a50de14bb6d7106a0037fb
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix vROps monitoring problems related to SOL006 migration 21/10221/3
limon [Tue, 26 Jan 2021 16:51:10 +0000 (17:51 +0100)]
Fix vROps monitoring problems related to SOL006 migration

Change-Id: I4d55f2419edcd20559012067b95585bba1b84fa2
Signed-off-by: limon <alimonj@indra.es>
3 years agoFix bug 1402: sdn infra collector names changed to match RO names 06/10206/1
garciadeblas [Mon, 18 Jan 2021 22:57:32 +0000 (22:57 +0000)]
Fix bug 1402: sdn infra collector names changed to match RO names

Change-Id: I81c3a6069b75a6ac89cc178b64096410d4f61779
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix for Bug 1397: handled exception TypeError 02/10202/4
palsus [Wed, 20 Jan 2021 16:47:59 +0000 (16:47 +0000)]
Fix for Bug 1397: handled exception TypeError

Change-Id: I8579bb681c77cc279e965ddb9c098f67982622f0
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for bug 1396 - Error creating dashboard with same name in two different users 65/10165/1
Atul Agarwal [Wed, 6 Jan 2021 13:29:19 +0000 (13:29 +0000)]
Fix for bug 1396 - Error creating dashboard with same name in two different users

Change-Id: I9c8508f1df10ff8bfcc405fc3626924cb2b78ba5
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agofix(dashboards): searches monitoring parameters through every VDU available inside... 40/10140/2
bravof [Thu, 17 Dec 2020 20:27:29 +0000 (17:27 -0300)]
fix(dashboards): searches monitoring parameters through every VDU available inside a VNF

Change-Id: I79b6d1cabf37ef216783688528b28707b2035215
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoresolved dashboard issue 38/10138/1 release-v9.0-start v9.0.0rc1
Ubuntu [Thu, 17 Dec 2020 16:17:23 +0000 (16:17 +0000)]
resolved dashboard issue

Change-Id: I285eb6728f337e5ec13efcc27aa49cc3ab3fad0d
Signed-off-by: Ubuntu <Atul.agarwal@altran.com>
3 years agofix(dashboarder): dashboarder bug with sol006. Bug 1303 32/10132/1
bravof [Thu, 17 Dec 2020 13:21:22 +0000 (10:21 -0300)]
fix(dashboarder): dashboarder bug with sol006. Bug 1303

Change-Id: I393385d55c9a19b171aad85bbf43b3474260c548
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agofeat(sol006): sol006 migration 76/10076/6
bravof [Wed, 2 Dec 2020 19:42:05 +0000 (16:42 -0300)]
feat(sol006): sol006 migration

Change-Id: I3db0a79ea89c2340e44fe2b39f00c89e9fb10022
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoResolved bug 1293 - Remove all references of peewee, mysql, libmysql-dev as mysql... 85/9985/2
agarwalat [Fri, 13 Nov 2020 08:43:04 +0000 (08:43 +0000)]
Resolved bug 1293 - Remove all references of peewee, mysql, libmysql-dev as mysql is not supported anymore.

Change-Id: Iab527c7b76d7c5a47cbe653686ae32381f91b414
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agoRemoved python package peewee-migrate as it is no longer supported. 84/9984/1
agarwalat [Fri, 13 Nov 2020 06:31:13 +0000 (06:31 +0000)]
Removed python package peewee-migrate as it is no longer supported.

Change-Id: Idfaf313f5ef627fd9461554ededac5999c424829
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agoMON changes for Grafana Multitenancy feature. 15/9815/47
agarwalat [Thu, 8 Oct 2020 12:24:47 +0000 (12:24 +0000)]
MON changes for Grafana Multitenancy feature.

Change-Id: Iff425db1236683d8bf8bcf4ec4dac0c23484cdfa
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agoFix bug 1276: collect metric from gnocchi first then ceilometer if it fails 39/9939/3
agarwalat [Wed, 4 Nov 2020 05:18:46 +0000 (05:18 +0000)]
Fix bug 1276: collect metric from gnocchi first then ceilometer if it fails

Change-Id: I1313f24c9881071ae52adff7a4881ac4dcc38ee6
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agotest commit 68/9968/4
agarwalat [Thu, 12 Nov 2020 09:57:34 +0000 (09:57 +0000)]
test commit

Change-Id: I12bb8b3c8d1fa63ab886c3c2fc2153ef6782caed
Signed-off-by: agarwalat <atul.agarwal@altran.com>
Signed-off-by: Subhankar Pal <subhankar.pal@aricent.com>
3 years agoRevert "Support for replicaset connection (HA). Added replicaset field in MON config... 07/9907/2
vijaynag [Thu, 22 Oct 2020 12:22:03 +0000 (14:22 +0200)]
Revert "Support for replicaset connection (HA). Added replicaset field in MON config file."

This reverts commit d5ce3b936ad31e9441d2cd978236a6278de28ef9.

Change-Id: Ic567b6f846021218ae05fde4ebff1e93eda72c0d
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
3 years agoFix bug 1258: metrics not properly collected in some Openstacks 23/9823/4
garciadeblas [Fri, 9 Oct 2020 15:30:03 +0000 (15:30 +0000)]
Fix bug 1258: metrics not properly collected in some Openstacks

Change-Id: I5d77e7882a784252217118deb447215a2eac8ae4
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdded more logs for Bug 1258-CPU metrics not shown in Prometheus 36/9836/2
agarwalat [Fri, 16 Oct 2020 06:14:34 +0000 (06:14 +0000)]
Added more logs for Bug 1258-CPU metrics not shown in Prometheus

Change-Id: I96836587ac841a8d08506a1da37075e3200cd172
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agoSupport for replicaset connection (HA). 63/9763/2
Vijay Nag B S [Tue, 29 Sep 2020 12:04:43 +0000 (17:34 +0530)]
Support for replicaset connection (HA).
Added replicaset field in MON config file.

Change-Id: I7f54865a003774b4f344eb0b948796ab221d49d4
Signed-off-by: Vijay Nag B S <vijaynag.bs@tataelxsi.co.in>
3 years agoBug 1133 fixed git add . 82/9382/2
agarwalat [Fri, 10 Jul 2020 08:33:23 +0000 (08:33 +0000)]
Bug 1133 fixed git add .

Change-Id: I08dc2c76b85b61212662680ad0d54af76a9c48a4
Signed-off-by: agarwalat <atul.agarwal@altran.com>
3 years agoImprove Config.get() function 29/9729/4
David Garcia [Tue, 22 Sep 2020 09:36:48 +0000 (11:36 +0200)]
Improve Config.get() function

The .get is a bit confusing because apparently has the same behaviour as dict.get(),
which returns None when the key doesn't exist. But that's not the case, because Config.get in this case is
doing dict["key"], which returns a KeyError when the key does not exist

Change-Id: Ief82eb1ae2e2fea60b8be60cae8610bf8605fb6f
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoMove from old N2VC to N2VCJujuConnector 28/9728/6
David Garcia [Tue, 22 Sep 2020 09:29:01 +0000 (11:29 +0200)]
Move from old N2VC to N2VCJujuConnector

Change-Id: Ib8b545823eb803c7e31c1d5c8fd8afc6a39e07a8
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoUpdated requirement.txt to point MON to N2VC tag v8.0.1 as n2vc.vnf module is missing... 24/9724/1
Atul [Mon, 21 Sep 2020 14:44:02 +0000 (14:44 +0000)]
Updated requirement.txt to point MON to N2VC tag v8.0.1 as n2vc.vnf module is missing in master branch of N2VC.

Change-Id: I8b5a9355320171b0fc04f293717d5f981622455e
Signed-off-by: Atul <Atul.Agarwal@altran.com>
3 years agofix(processes): .terminate instead of .kill to finish misbehaving processes 01/9601/1
bravof [Wed, 19 Aug 2020 23:14:01 +0000 (19:14 -0400)]
fix(processes): .terminate instead of .kill to finish misbehaving processes

Change-Id: I68eba9c9da669242292ff93c656e1a54da9cf541
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoBug 1106 : Kill processes still running after join call timeout reached, also timeout... 90/9190/3
bravof [Thu, 25 Jun 2020 21:30:55 +0000 (17:30 -0400)]
Bug 1106 : Kill processes still running after join call timeout reached, also timeouts added to nova and keystone clients. Join timeout increased from 10 to 20

Change-Id: I9fce3b4c4322d717a93207d9c34136ba75108a3e
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agofix(postinst): wrong version in postinst file for aiokafka 26/9126/1 release-v8.0-start
bravof [Fri, 19 Jun 2020 13:47:08 +0000 (09:47 -0400)]
fix(postinst): wrong version in postinst file for aiokafka

Change-Id: I5144150f6e41ff39820a9154407438364a219670
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoBug 1086 fixed. Updated authentication mechanism 97/9097/1
Atul Agarwal [Wed, 17 Jun 2020 07:49:25 +0000 (07:49 +0000)]
Bug 1086 fixed. Updated authentication mechanism

Change-Id: I151a3082cf00279235446daf5aa590c183305657
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agofix(aiokafka): change aiokafka version to 0.6.0 84/9084/1
bravof [Fri, 12 Jun 2020 15:10:15 +0000 (11:10 -0400)]
fix(aiokafka): change aiokafka version to 0.6.0

Change-Id: Ie61046eb869c93019f78424fdc3d18faa70cbc57
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoVIO to use Openstack collector (gnocchi) if no vrops_site is provided 83/8883/5
garciadeblas [Thu, 7 May 2020 14:16:22 +0000 (14:16 +0000)]
VIO to use Openstack collector (gnocchi) if no vrops_site is provided

Change-Id: I9118e63d9405ce7339dbd077aec7e93aa0e18f20
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix MON Stein Metrics 98/8798/1
beierlm [Fri, 17 Apr 2020 17:08:11 +0000 (13:08 -0400)]
Fix MON Stein Metrics

Gnocchi deprecated the use of the cpu_util parameter after Rocky.  What
is needed instead is to use the ceilometer-low-rate cpu metric and
covert that to a percentage using value/time interval.  This metric
was introduced in Mitaka, and has been shown to work with Rocky as
part of the Whitestack WhiteCloud Rocky deployment, as well as Stein
with Canonical Charmed OpenStack Stein deployment.

Bug 790

Change-Id: I1a895e3569f9206c39ce3c77636d1b45a1a1bd3a
Signed-off-by: beierlm <mark.beierl@canonical.com>
4 years agochore(gitignore): vscode files to gitignore 47/8747/1
bravof [Wed, 1 Apr 2020 14:22:42 +0000 (11:22 -0300)]
chore(gitignore): vscode files to gitignore

Change-Id: I7c0eabdacad70c50ab9ee12c69cd774dee345e06
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agofeature(grafana): Grafana uses url, user and password from configuration, check mon... 41/8741/3
bravof [Tue, 31 Mar 2020 21:42:45 +0000 (18:42 -0300)]
feature(grafana): Grafana uses url, user and password from configuration, check mon.yml for more details

Change-Id: I223e07e599f87ec07fe09c73dd68cd89aecc73bf
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agoMerge "Adds osm_automated tag to automated dashboards Fixes Bug 1027."
lavado [Fri, 20 Mar 2020 22:46:05 +0000 (23:46 +0100)]
Merge "Adds osm_automated tag to automated dashboards Fixes Bug 1027."

4 years agoAdds osm_automated tag to automated dashboards 06/8706/1
lavado [Fri, 20 Mar 2020 21:59:41 +0000 (16:59 -0500)]
Adds osm_automated tag to automated dashboards
Fixes Bug 1027.

Change-Id: Id4ef8828b93acc6a68b1020ff25043c36f4878e5
Signed-off-by: lavado <glavado@whitestack.com>
4 years agomigrating to ubuntu 18.04 88/8588/1
tierno [Wed, 5 Feb 2020 11:31:52 +0000 (11:31 +0000)]
migrating to ubuntu 18.04

Change-Id: Id120c2bb4a18b367a24eef567de1995794090777
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
(cherry picked from commit 46b49775fd781017ee9d6fcbd6d5aa6a24962a8b)

4 years agoCollect null project_ids as empty strings 79/8379/1 sol006 v7.0.0 v7.0.1rc1 v7.0.1rc2 v7.0.1rc3
lavado [Wed, 11 Dec 2019 11:32:48 +0000 (06:32 -0500)]
Collect null project_ids as empty strings

This deals with errored or transient elements at common
database that do not have a valid project_id.

Fixes bug 966

Change-Id: I628d621a9ad94c7c7e96894af8743fd30b90d893
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFixes double decryption 62/8362/1
beierl [Tue, 10 Dec 2019 01:54:58 +0000 (20:54 -0500)]
Fixes double decryption

Code to decrypt the passwords happens twice, causing
an error for the second decryption.

Bug 959

Change-Id: I873699af61ae45ae3ed45e98e0d8d087ba79dccc
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoValidate Grafana is present for dashboarder service 58/8358/3 v7.0.0rc1
lavado [Mon, 9 Dec 2019 21:02:18 +0000 (16:02 -0500)]
Validate Grafana is present for dashboarder service

Check if MON can resolve a grafana service.
This is currently useful in the transition to K8s,
or in OSM distros with absent Grafana.

Fixes Bug 932

Change-Id: I3b5ebf3d8ee3397f16793cd730e7e1fa5f6676d4
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFixes autoscaling with VNF Indicators 49/8349/2
Gianpietro Lavado [Sun, 8 Dec 2019 20:21:10 +0000 (20:21 +0000)]
Fixes autoscaling with VNF Indicators

Adds vdu_name to VNF Indicators collection.
This fixes autoscaling as Prometheus is queried using alarm
tags, which includes vdu_name.

Change-Id: I68e6368e4839b96737142be426d82d1b1e07e186
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agoFix bug in juju metrics collection 47/8347/1
Gianpietro Lavado [Sun, 8 Dec 2019 13:27:02 +0000 (13:27 +0000)]
Fix bug in juju metrics collection

Change-Id: I0efd96227078df10e062d087afb86dc3796d4eb3
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agominor enhancements to NS dashboard 41/8341/1
lavado [Fri, 6 Dec 2019 13:53:40 +0000 (08:53 -0500)]
minor enhancements to NS dashboard

Change-Id: I5241b55e0d54020027fd2a09dc13b32de9dd6689
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoPartial fix for bug 936 (MON Part) 37/8337/3
lavado [Fri, 6 Dec 2019 03:22:26 +0000 (22:22 -0500)]
Partial fix for bug 936 (MON Part)

Change-Id: Ia574c865aa4d68d1e5bf4778762d96590e9bc907
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFix __init__.py file for dashboarder 12/8312/1
lavado [Wed, 4 Dec 2019 11:29:21 +0000 (06:29 -0500)]
Fix __init__.py file for dashboarder

Change-Id: I326b69d0917c7e7ebe70324409b0685f9f04263c
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFix bug in osm_mon path in Dashboarder service 03/8303/1
Gianpietro Lavado [Tue, 3 Dec 2019 15:16:14 +0000 (15:16 +0000)]
Fix bug in osm_mon path in Dashboarder service

Change-Id: I40fffb2d1a4c5ad8459fdbda5823e05ed4c6bdd7
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agoMinor fixes for MON Evaluator & Dashboarder 89/8289/4
Gianpietro Lavado [Mon, 2 Dec 2019 17:41:20 +0000 (17:41 +0000)]
Minor fixes for MON Evaluator & Dashboarder

Change-Id: I1f2b1f786809aa84e2ee2cddbf401a03e504ff47
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agoRe-Revert "Revert "Migrates alarms to MongoDB"" approved by TSC 78/8278/1
almagia [Sat, 30 Nov 2019 02:56:04 +0000 (03:56 +0100)]
Re-Revert "Revert "Migrates alarms to MongoDB"" approved by TSC

This reverts commit 628df021896fa8775f9743af62a4267b617cc35c.

Change-Id: Ie07a6856ee3f2e15c539d52afc4c7e5ecc07ca95

4 years agoRevert "Migrates alarms to MongoDB" 77/8277/1
lavado [Sat, 30 Nov 2019 02:15:09 +0000 (03:15 +0100)]
Revert "Migrates alarms to MongoDB"

This reverts commit b6233b3d90ca1ba617e476b915fba056cf7891f7.

Change-Id: I82b7c5916cdf7eb2816348c4ea13609d0fddffe6
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoMigrates alarms to MongoDB 74/8274/1
Benjamin Diaz [Wed, 9 Oct 2019 15:36:50 +0000 (12:36 -0300)]
Migrates alarms to MongoDB

Change-Id: Iec09f507f05f6694910bf5ea82b948372d837af3
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoMinor fixes to additional metric labels 70/8270/1
lavado [Fri, 29 Nov 2019 17:40:30 +0000 (12:40 -0500)]
Minor fixes to additional metric labels

Change-Id: Ia2ad1b28c7c1fd61effaf46d04f97e004a93be15
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoGrafana dashboard automation 84/8184/11
lavado [Fri, 15 Nov 2019 22:04:02 +0000 (17:04 -0500)]
Grafana dashboard automation

Change-Id: I78a353ad59ea39cf747412e00ae2210826862150
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoMerge "Adding more labels to Prometheus metrics"
lavado [Fri, 29 Nov 2019 16:24:16 +0000 (17:24 +0100)]
Merge "Adding more labels to Prometheus metrics"

4 years agoMerge "Adding project_id label to Prometheus Infra metrics"
lavado [Fri, 29 Nov 2019 16:23:21 +0000 (17:23 +0100)]
Merge "Adding project_id label to Prometheus Infra metrics"

4 years agoMerge "Revert "Migrates alarms to MongoDB""
lavado [Fri, 29 Nov 2019 15:25:21 +0000 (16:25 +0100)]
Merge "Revert "Migrates alarms to MongoDB""

4 years agoRevert "Migrates alarms to MongoDB" 62/8262/2
lavado [Fri, 29 Nov 2019 13:00:24 +0000 (14:00 +0100)]
Revert "Migrates alarms to MongoDB"

This reverts commit 0085a4a8870a73a9186b0a2305ba00bae44a6ea0.

Change-Id: Ifd94058969c1480863a67529a9d5ed70e5e062c3
Signed-off-by: Gianpietro Lavado <glavado@whitestack.com>
4 years agoMerge "Migrates alarms to MongoDB"
lavado [Fri, 29 Nov 2019 12:58:22 +0000 (13:58 +0100)]
Merge "Migrates alarms to MongoDB"

4 years agoAdding project_id label to Prometheus Infra metrics 54/8154/6
lavado [Tue, 12 Nov 2019 03:00:50 +0000 (22:00 -0500)]
Adding project_id label to Prometheus Infra metrics

Change-Id: I24fb5f1eb33e0adb6bca396b8f74dafeeae93917
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoUpgrading PyYaml due to new juju package 47/8147/2
lavado [Mon, 11 Nov 2019 21:25:35 +0000 (16:25 -0500)]
Upgrading PyYaml due to new juju package

Change-Id: Idce6235e9bdd033d16d207734c9e1ddd0ed0453b
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoAdding more labels to Prometheus metrics 41/8141/14
lavado [Mon, 11 Nov 2019 11:41:38 +0000 (06:41 -0500)]
Adding more labels to Prometheus metrics

Change-Id: I412de4ee47808af09e4156b703a95d1edb5fbca7
Signed-off-by: lavado <glavado@whitestack.com>
4 years agoFixed request for OpenStack Rocky Endpoints 43/8143/1
Antonio Marsico [Mon, 11 Nov 2019 16:17:01 +0000 (16:17 +0000)]
Fixed request for OpenStack Rocky Endpoints

Gnocchi enpoints where not loaded correctly with
        the previous patch.

Change-Id: Ib27183ea8cfeda64f80c11bc40b451d28b92514e
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
4 years agoMigrates alarms to MongoDB 37/8037/2
Benjamin Diaz [Wed, 9 Oct 2019 15:36:50 +0000 (12:36 -0300)]
Migrates alarms to MongoDB

Change-Id: Ic71f1d408ef06a6c04e0e95d16389b2c3e0f8630
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoFixed the usage of self signed certificates 38/8038/1 feature5837 feature7928
Antonio Marsico [Wed, 9 Oct 2019 09:02:42 +0000 (09:02 +0000)]
Fixed the usage of self signed certificates

Change-Id: I5962256da90fabd1332527d7cba422204549f7a0
Signed-off-by: Antonio Marsico <antonio.marsico@bt.com>
4 years agoRefactors alarms to decouple them from vnf specific data 63/7963/2
Benjamin Diaz [Thu, 19 Sep 2019 14:59:06 +0000 (11:59 -0300)]
Refactors alarms to decouple them from vnf specific data

Alarms now handle the concept of tags, instead of having vnf specific
parameters in the model. This allows for wider usecases of alarms (e.g. fault management).

Change-Id: I2b395c4bb7f72d4fb7c53b75feccd7de00508013
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoRemoves obsolete documentation. Adds architectural docs. 48/7848/4
Benjamin Diaz [Fri, 16 Aug 2019 16:17:28 +0000 (13:17 -0300)]
Removes obsolete documentation. Adds architectural docs.

Change-Id: I9ee1a87ed78de06c4f726f1aecbb3c988f41fb05
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoMerge "Replaces call to Gnocchi status for a request of metric list when determining...
diazb [Wed, 4 Sep 2019 18:26:12 +0000 (20:26 +0200)]
Merge "Replaces call to Gnocchi status for a request of metric list when determining backend in openstack vnf collector"

4 years agoChange coverage path 02/7902/1
beierl [Tue, 3 Sep 2019 16:48:31 +0000 (12:48 -0400)]
Change coverage path

Changes the patch for the coverage.xml file so the
Jenkins plugin can find the source code for display.

Change-Id: I2cff214a69799e9f46cc2a5c8ca5e85a290daffb
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoReplaces call to Gnocchi status for a request of metric list when determining backend... 03/7903/1
Benjamin Diaz [Mon, 2 Sep 2019 19:19:10 +0000 (16:19 -0300)]
Replaces call to Gnocchi status for a request of metric list when determining backend in openstack vnf collector

When trying to determine metric backend, the openstack vnf collector was
requesting Gnocchi status data, which is only available for privileged users.
This generated errors in the metric collection when using a nonadmin openstack user.

Change-Id: I6a85f27c4714a1d3f8bbbf82da1795066352a1e0
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoReadds logic to obtain vim_type when it is available in vim config 63/7863/2
Benjamin Diaz [Tue, 27 Aug 2019 20:49:59 +0000 (17:49 -0300)]
Readds logic to obtain vim_type when it is available in vim config

bug 835

Change-Id: Ia8a870ede8b6ceac71329a09a25c7d9ba4d6219e
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoAdds check for config param in vim_account dict to avoid errors when it does not... 44/7844/2
Benjamin Diaz [Tue, 13 Aug 2019 16:50:09 +0000 (13:50 -0300)]
Adds check for config param in vim_account dict to avoid errors when it does not exist

Change-Id: Iceb0b03a67464ff35ec5e700e5e3b1be92cb48b9
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoAdds vrops_password to passwords to decrypt. Adds check of schema_version for backwar... 43/7843/1
Benjamin Diaz [Mon, 12 Aug 2019 18:14:10 +0000 (15:14 -0300)]
Adds vrops_password to passwords to decrypt. Adds check of schema_version for backwards compatibility

Change-Id: I601b2eec9d84b0f2c33486b184c9ef279a583a24
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoMerge "Change to nose2"
diazb [Mon, 5 Aug 2019 15:47:07 +0000 (17:47 +0200)]
Merge "Change to nose2"

4 years agoModifies MON to use mongodb directly for vim info and do vim pass decryption on demand 18/7818/9
Benjamin Diaz [Mon, 29 Jul 2019 15:00:38 +0000 (12:00 -0300)]
Modifies MON to use mongodb directly for vim info and do vim pass decryption on demand

Change-Id: Id088f60bcbe7943661d088f949b55465c4939800
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoChange to nose2 26/7826/5
beierl [Wed, 31 Jul 2019 19:06:10 +0000 (15:06 -0400)]
Change to nose2

Use nose2 instead of stestr for running unit test as nose2 provides
junit-style xml output that can be reported in Jenkins to show test
pass/fail and trend history.

Change-Id: I3f57992ca7252bfd5403f7fdf7153d1faa232e71
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoFixes VIO collection 12/7812/7
beierl [Thu, 25 Jul 2019 17:05:58 +0000 (13:05 -0400)]
Fixes VIO collection

Extract common vROPS code from vmware and vio collectors.
Add unit test coverage.
Remove unused code.
Improved vROPS collection to ask for current values only
instead of a date range.
Reduces number of calls to vROPS by asking for all metrics
for all VDUs at once.

BUG 796

Change-Id: I00ecd70c6d25f7c8982cbc633a28ab6f1ceb8cd6
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoCorrect multiplier 76/7776/2
beierl [Mon, 15 Jul 2019 15:56:21 +0000 (11:56 -0400)]
Correct multiplier

Use the correct metric name when multiplying network
bytes sent/received.

Change-Id: I51391f5b0c55aeca5ecc4e2888d8365bf8d77cd7
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoAdds unit test coverage 71/7771/3
beierl [Fri, 12 Jul 2019 15:55:36 +0000 (11:55 -0400)]
Adds unit test coverage

Adds the coverage and stestr modules to tox so
that unit test code coverage reports can be
generated.

Change-Id: If67b31be5996de95e60ad73f63124e181ec955b5
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoRemoves kafka check from healthcheck 72/7772/1
Benjamin Diaz [Fri, 12 Jul 2019 20:10:00 +0000 (17:10 -0300)]
Removes kafka check from healthcheck

bug 801

Change-Id: Ia966da925695c4e56f490820e627c36a02c81a81
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoMerge "Reduce Resource Consumption"
diazb [Mon, 1 Jul 2019 20:30:30 +0000 (22:30 +0200)]
Merge "Reduce Resource Consumption"

4 years agoReduce Resource Consumption 98/7698/6
beierl [Mon, 24 Jun 2019 19:51:33 +0000 (15:51 -0400)]
Reduce Resource Consumption

The vmware vnf collector requests a time series of data from
vROPS and then parses the whole block in order to retrieve the
most recent data element.  The time frame for the request
should be limited to a sane value, such as 1 hour.

The look ups for items that do not change should be outside
of the loop for looking up the metrics.

Add more metrics to list of supported metrics.

Improve error handling.

BUG 784

Change-Id: Ie3cef457eaf657c18ba682e3c5d3abf40a759e69
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoAdds support for custom project and user domain names defined in vim config 08/7708/1
Benjamin Diaz [Wed, 26 Jun 2019 16:18:38 +0000 (13:18 -0300)]
Adds support for custom project and user domain names defined in vim config

bug 789

Change-Id: I77fe4a1f9fce4d1767560458de116f3431b35894
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoChanges insufficient data validation in alarms to account for metric results 0.0 97/7697/1
Benjamin Diaz [Mon, 24 Jun 2019 18:50:38 +0000 (15:50 -0300)]
Changes insufficient data validation in alarms to account for metric results 0.0

Change-Id: Ia67e54ced6f5885ecd875c8a94529b9384fa46b2
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoSource Dockerfile now points to master for N2VC and osm-common allowing better dev... 60/7660/3
Benjamin Diaz [Wed, 12 Jun 2019 19:23:56 +0000 (16:23 -0300)]
Source Dockerfile now points to master for N2VC and osm-common allowing better dev testing

Change-Id: Iab1f4c0fc761efe9eb7d1aa3fe184fac604ad2a2
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoNegotiate vCD Version 80/7680/4
beierl [Wed, 19 Jun 2019 01:17:08 +0000 (21:17 -0400)]
Negotiate vCD Version

Request highest supported vCD version between MON and
vCD on setup and then continue to use v27.0 as the confirmed
tested version.

BUG 775

Change-Id: I04333fa0c915107fb432d799d3440fec711d95ec
Signed-off-by: beierl <mbeierl@vmware.com>
4 years agoMake vcloud api version compatible for different vCDs 72/7672/1
kasar [Tue, 18 Jun 2019 07:39:04 +0000 (00:39 -0700)]
Make vcloud api version compatible for different vCDs

Change-Id: Ic0b1f9e18b1711f73ec2b2c876e8211534caaa87
Signed-off-by: kasar <pkasar@vmware.com>
4 years agoAdds validation of vim-id in vdur in OpenStack base infra plugin 59/7659/2 v6.0.0
Benjamin Diaz [Wed, 12 Jun 2019 19:21:34 +0000 (16:21 -0300)]
Adds validation of vim-id in vdur in OpenStack base infra plugin

Prevents errors in vim_status collection when vm_status fails because vim-id
param missing in vdur.

Change-Id: I81f10ee19b7fa17e9cbbe4526c4d3be19eae1834
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoReplaces use of vdu_name for vdu_id and vdu_count_index in VCACollector 58/7658/3
Benjamin Diaz [Wed, 12 Jun 2019 19:18:55 +0000 (16:18 -0300)]
Replaces use of vdu_name for vdu_id and vdu_count_index in VCACollector

vdu_name param is no longer configured by LCM, causing issues during
collection of VCA metrics. To fix that, it has been replaced by currently
configured params: vdu_id and vdu_count_index, which are obtained from the
vdur.

Fixes bug 762

Change-Id: Ic8cc7e8572bfc6d78493fdceea32375c6f3a379e
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoRemove use of granularity and just retrieve last metric collected in OpenStack plugin 13/7613/4
Benjamin Diaz [Wed, 5 Jun 2019 14:39:07 +0000 (11:39 -0300)]
Remove use of granularity and just retrieve last metric collected in OpenStack plugin

Change-Id: I8e52cda7bffb069a76b3834964100399a1c5746b
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoChanges openstack vim status check to use nova to allow non admin users in config 09/7609/3
Benjamin Diaz [Tue, 4 Jun 2019 13:55:18 +0000 (10:55 -0300)]
Changes openstack vim status check to use nova to allow non admin users in config

Change-Id: I1cdfeac879580a61e0211e869785c737763cd310
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoModifies logic por determining metric backend in OpenStack plugin 08/7608/4
Benjamin Diaz [Tue, 4 Jun 2019 13:35:03 +0000 (10:35 -0300)]
Modifies logic por determining metric backend in OpenStack plugin

Removes the need to access the service catalog directly.

Change-Id: I8c4f4bff4bbd236c3ec5a33e4f1abd38b8dcf010
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoAdds network interface name as tag in corresponding metric 06/7606/1
Benjamin Diaz [Tue, 4 Jun 2019 12:55:50 +0000 (09:55 -0300)]
Adds network interface name as tag in corresponding metric

Change-Id: I5c02d9a0582113319936772bd456b347828f7443
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoFixes missing parent constructor call in openstack based infra collectors 91/7491/1
Benjamin Diaz [Wed, 22 May 2019 19:28:28 +0000 (16:28 -0300)]
Fixes missing parent constructor call in openstack based infra collectors

Change-Id: Iaed814e59b81a664a4e2009ddf93d2edf2ad4502
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
4 years agoMerge "Added vio infra collector plugin"
diazb [Tue, 21 May 2019 18:24:09 +0000 (20:24 +0200)]
Merge "Added vio infra collector plugin"

4 years agoAdded vio infra collector plugin 51/7451/4
kasar [Thu, 9 May 2019 07:55:30 +0000 (00:55 -0700)]
Added vio infra collector plugin

Change-Id: I709b2b358cb6aae1d07e01ba9a010cf8592ee735
Signed-off-by: kasar <pkasar@vmware.com>