osm/MON.git
23 months agov13.0 Branch Preparation 35/12735/1 v13.0.0 v13.0.0rc1 v13.0.0rc2
Mark Beierl [Mon, 28 Nov 2022 11:29:25 +0000 (06:29 -0500)]
v13.0 Branch Preparation

Pins version of Flake8
Updates requirements to point to branch

Change-Id: I2e2a79cf8ef8ed211b74cb5baef6ef5c8c79f22d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFeature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB... 94/12594/6 release-v13.0-start
Luis Vega [Mon, 17 Oct 2022 13:16:57 +0000 (13:16 +0000)]
Feature 10955: Osmclient changes related to VIM configuration with a Prometheus TSDB system

Change-Id: I0222b0ff4b73ab923f03d5732c7b85e84d48bad6
Signed-off-by: Luis Vega <lvega@whitestack.com>
2 years agoUse of yaml.safe_load instead of yaml_load 95/12695/1
garciadeblas [Tue, 15 Nov 2022 15:43:57 +0000 (16:43 +0100)]
Use of yaml.safe_load instead of yaml_load

Change-Id: I4ec08acefcbab867a0ccb154dccaf13b16341d42
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoEnable black in tox.ini 87/12687/4
garciadeblas [Sun, 13 Nov 2022 23:07:17 +0000 (00:07 +0100)]
Enable black in tox.ini

Change-Id: I2ad5b53b64eaac740996ecab94b97c68205935c3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix 2188: Added config parameter to disable vms status check 40/12640/1
limon [Tue, 8 Nov 2022 16:36:14 +0000 (17:36 +0100)]
Fix 2188: Added config parameter to disable vms status check

Change-Id: I31194532617aa64768c981ab50f3944c8f44598c
Signed-off-by: limon <alimonj@indra.es>
2 years agoUpdate pip requirements 83/12583/3
Gulsum Atici [Tue, 11 Oct 2022 20:17:44 +0000 (23:17 +0300)]
Update pip requirements

Change-Id: I988338fc5544e66026c8d0cdb02785c7b2fcb7d8
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoUpdating requirements for libjuju 3.0.0 upgrade 65/12565/2
Gulsum Atici [Mon, 26 Sep 2022 18:04:38 +0000 (21:04 +0300)]
Updating requirements for libjuju 3.0.0 upgrade

Change-Id: I0b35e33332c25a7438857bbcdcfa3a76e911108d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoGet VIM certificates from DB 67/12467/9
calvinosanc1 [Fri, 19 Aug 2022 10:31:19 +0000 (10:31 +0000)]
Get VIM certificates from DB

Change-Id: I02a71ee4b588274524e139195c3897573a6792cc
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
2 years agoBug 2079 fixed: added more operators to the metric evaluation 00/12200/2
Pedro Escaleira [Tue, 14 Jun 2022 12:27:32 +0000 (13:27 +0100)]
Bug 2079 fixed: added more operators to the metric evaluation

Change-Id: Ied173778c8350a141a9237289d40a904d032bb13
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoJenkins refresh 36/12336/2
Mark Beierl [Thu, 14 Jul 2022 13:38:44 +0000 (09:38 -0400)]
Jenkins refresh

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

Change-Id: I5f48e6e02fd1aa5a21fa7fc395ae4138aef323ba
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoManual update of pip requirements 60/12260/2 release-v12.0-start
beierlm [Sat, 25 Jun 2022 01:29:56 +0000 (21:29 -0400)]
Manual update of pip requirements

Change-Id: I2b8dd60bd61b579768f80b57303ff874a0d2f42c
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10923: Autohealing 56/11956/3
sritharan [Thu, 28 Apr 2022 06:57:30 +0000 (06:57 +0000)]
Feature 10923: Autohealing

Change-Id: Ic726ac70c9ee69b0cf0bc442c878071a7bf9486d
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
2 years agoFeature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB 51/11951/4
vegall [Wed, 27 Apr 2022 14:42:48 +0000 (14:42 +0000)]
Feature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB

Change-Id: Iae5961ac19c8880c489a0c7930855310a7931ae5
Signed-off-by: vegall <lvega@whitestack.com>
2 years agoBug 2011 fixed 35/11935/1
sritharan [Tue, 26 Apr 2022 05:23:03 +0000 (05:23 +0000)]
Bug 2011 fixed

Change-Id: I4767a45e87ade9e2d3523c5a1f56ce1e091027d7
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
2 years agoBug 1976: MON fails to collect disk metrics fixed 36/11836/2
sritharan [Mon, 4 Apr 2022 13:46:15 +0000 (13:46 +0000)]
Bug 1976: MON fails to collect disk metrics fixed

Change-Id: I696bd5f9ce609cf3069d8733d01719204462f954
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
2 years agoFix bug 1884 MON openstack token optimization 05/11705/6
preethika.p [Wed, 23 Feb 2022 05:27:13 +0000 (05:27 +0000)]
Fix bug 1884 MON openstack token optimization

Reuse the openstack session created in infra collection,
thereby collecting infra and vnf metrics per vim account.

Change-Id: I7d9c9e32b366822101699f56cbf6fc8f8ec6f233
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
2 years agoBug 1842: LTS Support 34/11534/1
beierlm [Thu, 20 Jan 2022 02:08:16 +0000 (21:08 -0500)]
Bug 1842: LTS Support

Update Cinder client to version 3 as required by
python update

Change-Id: I93f20cff9413ca8518ae5ef57a395f45607a67c7
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBug 1842: LTS Support 14/11514/2
beierlm [Thu, 13 Jan 2022 16:43:03 +0000 (11:43 -0500)]
Bug 1842: LTS Support

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

Fixes bug 1842

Change-Id: I1f64fa5364d909e6526d38395d4d2c1cc25f6f7d
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBug 1838 - Change in setuptools breaks stage 2 04/11504/1
beierlm [Wed, 5 Jan 2022 13:57:51 +0000 (08:57 -0500)]
Bug 1838 - Change in setuptools breaks stage 2

Need to pin setuptools to < 60 as the newer versions
do not work with stdeb

Fixes Bug 1838

Change-Id: Id65c0ad0ab4adaffe31cf5eea7e3499a3e5d9234
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoBug 1651 fix 57/11157/3
atici [Wed, 8 Sep 2021 09:18:42 +0000 (09:18 +0000)]
Bug 1651 fix

Code revision is done after review.

This fix is required to fix VCA metric collection for SOL006 compatible descriptors.

Related bug: https://osm.etsi.org/bugzilla/show_bug.cgi?id=1651

Change-Id: I4de6e9ae368ba77a2e1e591eb220ea98ec7c9788
Signed-off-by: atici <gulsum.atici@ulakhaberlesme.com.tr>
3 years agobugfix: prometheus scrape jobs populate function called before mongoDB was ready... 82/11382/4
bravof [Mon, 22 Nov 2021 13:26:50 +0000 (10:26 -0300)]
bugfix: prometheus scrape jobs populate function called before mongoDB was ready to use

Change-Id: I6bcf6df2c5609394d92a8a7838f53cb06154bf88
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoFeature 10885 - K8 Cluster and CNF Monitoring 77/11277/7 release-v11.0-start v11.0.0 v11.0.0rc1 v11.0.0rc2
Atul Agarwal [Tue, 19 Oct 2021 17:20:52 +0000 (17:20 +0000)]
Feature 10885 - K8 Cluster and CNF Monitoring

Change-Id: I9e589b923f8539f52da14284c67a566104d074cb
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoResolved 1684 - MON fails to collect metrics from an OpenStack VIM with metrics suppo... 62/11262/1
Atul Agarwal [Thu, 14 Oct 2021 06:16:34 +0000 (06:16 +0000)]
Resolved 1684 - MON fails to collect metrics from an OpenStack VIM with metrics support if there is another OpenStack VIM without metrics support registered

Change-Id: I738a8f1a75d801e690fcfab924d0ce9791afaf84
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoFix bug 1692: add prometheus authentication support 47/11247/3
David Garcia [Mon, 11 Oct 2021 13:07:33 +0000 (15:07 +0200)]
Fix bug 1692: add prometheus authentication support

Change-Id: I82ef4c35deaf2d9a90a9a7e036da28c97026613a
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoResolved Bug 1684 - MON fails to collect metrics from an OpenStack VIM with metrics... 44/11244/3
Atul Agarwal [Fri, 8 Oct 2021 05:18:27 +0000 (05:18 +0000)]
Resolved Bug 1684 - MON fails to collect metrics from an OpenStack VIM with metrics support if there is another OpenStack VIM without metrics support registered

Change-Id: Ia8f01237d570a3f12529c3fd33ccc5771308f49e
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoUpdate devel Dockerfile to pip install requirements-dev 36/10836/3
garciadeblas [Tue, 18 May 2021 11:23:28 +0000 (13:23 +0200)]
Update devel Dockerfile to pip install requirements-dev

Change-Id: Id5d93e9d8a3f9e95ac762a1305d7c1bc03a39f3c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoCleanup of grafana users 24/11124/1
Atul Agarwal [Fri, 27 Aug 2021 12:33:57 +0000 (12:33 +0000)]
Cleanup of grafana users

Change-Id: Ife6dc3a26dbfa20de4d51b1964c1617f133f9b8d
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agoResolved Bug 1569 - updated log information 86/10986/1
Atul Agarwal [Tue, 15 Jun 2021 04:34:09 +0000 (04:34 +0000)]
Resolved Bug 1569 - updated log information

Change-Id: I3b28547a1f3e21cb2ca39a3ca880d13fb82e0bb1
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agoResolved Bug 1569 - Unable to subscribe to Kafka topics 85/10985/3
Atul Agarwal [Mon, 14 Jun 2021 10:46:09 +0000 (10:46 +0000)]
Resolved Bug 1569 - Unable to subscribe to Kafka topics

Change-Id: I6386869b855d559273b9e82bafa1c69aca43cbe9
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agoFeature-5950: Management of quotas in VIM Account 01/10801/4
vejjupallisi [Fri, 14 May 2021 12:43:37 +0000 (12:43 +0000)]
Feature-5950: Management of quotas in VIM Account

Adding code support for Openstack quota resources in vim_accounts

Change-Id: I7270ec6b449eec8a178335bf929f71e908325bcd
Signed-off-by: vejjupallisi <karunyasri.v@tataelxsi.co.in>
3 years agoResolved Bug 1553 - Monitoring of certain infrastructure metrics fails in Openstack... 96/10796/10
Atul Agarwal [Thu, 13 May 2021 11:39:30 +0000 (11:39 +0000)]
Resolved Bug 1553 - Monitoring of certain infrastructure metrics fails in Openstack Stein and higher versions

Change-Id: I7f97e59f616d72e184b1d87a896f6b6afe513c14
Signed-off-by: Atul Agarwal <Atul.Agarwal@altran.com>
3 years agoFeature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface) 10/10510/6
Atul Agarwal [Thu, 18 Mar 2021 07:54:40 +0000 (07:54 +0000)]
Feature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface)

Change-Id: Iea141198dbde8ec2485f868511d803e65f3276f6
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agoFix bug 1535 to allow url option for onos_vpls SDNC 21/10821/3
garciadeblas [Mon, 17 May 2021 16:17:36 +0000 (18:17 +0200)]
Fix bug 1535 to allow url option for onos_vpls SDNC

Change-Id: I81445d4fff17141beeb350ed4161baa8a0f1c9e9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofeat(prometheus): store mon job into prometheus collection, part of the decoupling... 82/10782/3 release-v10.0-start
bravof [Mon, 10 May 2021 15:05:20 +0000 (11:05 -0400)]
feat(prometheus): store mon job into prometheus collection, part of the decoupling between LCM and Prometheus

Change-Id: I5a547729a0c51a13cffb6a8467788992b574c0e9
Signed-off-by: bravof <fbravo@whitestack.com>
3 years agoReformat MON to standardized format 03/10803/1
garciadeblas [Fri, 14 May 2021 14:47:03 +0000 (16:47 +0200)]
Reformat MON to standardized format

Change-Id: I5869a8c1d0a53c5f6ad6b8859e6469d447bfb63d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoAdd missing vca_id parameter in juju.py 38/10738/1
David Garcia [Tue, 4 May 2021 17:42:53 +0000 (19:42 +0200)]
Add missing vca_id parameter in juju.py

Change-Id: I8459f56dfce82f3d2ec16c2261e639e540662db8
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix bug 1246 37/10737/1
David Garcia [Tue, 4 May 2021 17:32:21 +0000 (19:32 +0200)]
Fix bug 1246

Remove hardcoded hostname in dashboarder.py

Additionally, I commented out two lines in
osm_mon/collector/vnf_collectors/juju.py because flake8 was complaining
about those two not being used

Change-Id: I44c7b083fe99ee910eb4adc0da7d6a01aac5b979
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFeature 10239: Distributed VCA 01/10701/3
David Garcia [Fri, 23 Apr 2021 10:46:38 +0000 (12:46 +0200)]
Feature 10239: Distributed VCA

Specify vca_id when getting metrics from N2VC

Change-Id: I1688f9eb61f8828ff5276d2642de527aaf649660
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoIncluding upstream requirements 88/10688/1
beierlm [Thu, 22 Apr 2021 16:59:19 +0000 (12:59 -0400)]
Including upstream requirements

Now that internal OSM software does not specify python modules in
setup.py, we need to include the requirements.txt from the module
in the requirements-dev.in to generate the full list properly.

Change-Id: Ieb49e7d276a824a5098c11f9a85d57ddd989b93d
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoAdding GitLab Scanner 68/10668/2
beierlm [Mon, 19 Apr 2021 19:32:38 +0000 (15:32 -0400)]
Adding GitLab Scanner

Adds gitlab-ci yaml file to enable security scans in GitLab mirror

Change-Id: Ic741c4c6a92538a67d4a18c32458757f15a3d2dd
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix for 1433 Add dummy write to kafka 51/10651/1 branch-ng-ro-refactor-start branch-sol006v331-start
palsus [Fri, 16 Apr 2021 07:36:15 +0000 (07:36 +0000)]
Fix for 1433 Add dummy write to kafka

Change-Id: I4c102e52612a50a8fe3d562c6435d95426a56b4f
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for Bug 1433 Exception handling in aioread method 81/10581/23
palsus [Tue, 6 Apr 2021 11:47:21 +0000 (11:47 +0000)]
Fix for Bug 1433 Exception handling in aioread method

Change-Id: I39e2c888798dd518a9ad71e3cbd41be9241dd579
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFeature 10296 Pip Standardization 22/10322/12
beierlm [Tue, 16 Feb 2021 18:30:35 +0000 (13:30 -0500)]
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: I572b68a6f89bf2afc07365b8e1109243fd6592a1
Signed-off-by: beierlm <mark.beierl@canonical.com>
3 years agoFix for bug 1433 check if common-db is ready 79/10579/1
palsus [Thu, 1 Apr 2021 07:49:20 +0000 (07:49 +0000)]
Fix for bug 1433 check if common-db is ready

Change-Id: Id2ed40088cbc0a7f73752b125144a9addd515918
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoFix for bug 1433 additional checks for kafka readiness 66/10566/8
palsus [Tue, 30 Mar 2021 07:15:02 +0000 (07:15 +0000)]
Fix for bug 1433 additional checks for kafka readiness

Change-Id: I5e4c712c35089c6b41c0eaf102e577af7ac5502b
Signed-off-by: palsus <subhankar.pal@aricent.com>
3 years agoRemoved process pool from MON evaluator 54/10554/3
Atul Agarwal [Fri, 26 Mar 2021 11:14:25 +0000 (11:14 +0000)]
Removed process pool from MON evaluator

Change-Id: I01cd02ca542586491304f706ad28197bfa04c8d8
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
3 years agoFix for bug 1460 Admin dashboard in Grafana not created when using keystone as backend 97/10497/5
Atul Agarwal [Tue, 16 Mar 2021 11:02:14 +0000 (11:02 +0000)]
Fix for bug 1460 Admin dashboard in Grafana not created when using keystone as backend

Change-Id: Ia13e86445ba5cef9b5a8b5e9b1507060d345b22e
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoFix bug 1471: remove harcoded kafka host 03/10503/1
David Garcia [Wed, 17 Mar 2021 12:09:42 +0000 (13:09 +0100)]
Fix bug 1471: remove harcoded kafka host

Change-Id: I41c5992edb9f1c232fb7cd5d1b66153e2d403b3b
Signed-off-by: David Garcia <david.garcia@canonical.com>
3 years agoFix for bug 1447 Grafana user not associated with team 51/10351/13
Atul Agarwal [Mon, 15 Mar 2021 09:16:09 +0000 (09:16 +0000)]
Fix for bug 1447 Grafana user not associated with team

Change-Id: I69aced0620b1bbf8d79f862ee9bf352d1ea9b4d5
Signed-off-by: palsus <subhankar.pal@aricent.com>
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoFix for bug 1433 - Exception when checking kafka status 92/10492/1
Atul Agarwal [Mon, 15 Mar 2021 16:57:26 +0000 (16:57 +0000)]
Fix for bug 1433 - Exception when checking kafka status

Change-Id: I7811acab85ad88f1c691034bb07cdc464ad5b2b1
Signed-off-by: Atul Agarwal <Atul.Agarwal@Altran.com>
3 years agoFixes the collection of cpu metric in some openstack versions 72/10472/1
limon [Wed, 10 Mar 2021 13:33:11 +0000 (14:33 +0100)]
Fixes the collection of cpu metric in some openstack versions

Change-Id: I147d8a1b1a14dfd9cb4cd238fcae929adc0484cf
Signed-off-by: limon <alimonj@indra.es>
3 years agoFix for bug 1433 - MON will not start till MongoDB service is up 03/10403/7
Atul Agarwal [Fri, 26 Feb 2021 13:42:09 +0000 (13:42 +0000)]
Fix for bug 1433 - MON will not start till MongoDB service is up

Change-Id: I46361822dfaca22cdba6dbb05835ca24081ae787
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>