Tuesday, 2021-09-28

chaconpiza#startmeeting monasca13:00
opendevmeetMeeting started Tue Sep 28 13:00:32 2021 UTC and is due to finish in 60 minutes.  The chair is chaconpiza. Information about MeetBot at http://wiki.debian.org/MeetBot.13:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.13:00
opendevmeetThe meeting name has been set to 'monasca'13:00
adrianczHI13:01
chaconpizaHi Adrian13:01
chaconpizaLet's start13:01
chaconpizaToday we have questions from community members:13:02
chaconpizamensis wrote: "Hi, is there any other way other than permitting monasca-agent linux user root privileges so it can monitor openstack processes (for example, nova-api process is running by nova therefore monasca-agent user can't analyse it due to permission limitations)"13:02
chaconpizaSo, in our expirience (doploying Monasca with docker-compose) we had the same situation13:05
adrianczI think should be possible by changing  permission to files that are required to monitor openstack  13:06
adrianczbut im not sure 13:06
adrianczI think we try to changed this 13:06
adrianczI think MichaƂ Piotrkowski was working on this 13:07
chaconpizaWhen monasca-agent (running baremetal) in a RedHad OpenStack (OSP 16.1) it was able to get most of the metrics, but not metrics from libvirt, rabbitmq, etc.13:08
chaconpizain OSP 16.1 the OpenStack services are running in containers, to check the space available of those containers we had to execute monasca-agent service as root.13:09
chaconpizaI don't see other option13:09
chaconpizaI there is a metric based of a file that is only readable by the root, and not even by its group, then there is not other option13:11
chaconpizaNext question:13:12
chaconpizajonmills_nasa wrote "Hello Monasca users -- we are having a 500 Server Error while trying to run monasca-api with apache+mod_wsgi.  I'm able to run the monasca-api standalone via gunicorn, but I'd prefer to get it running inside Apache.  This is Wallaby on CentOS 8.4 with python 3.6"13:12
chaconpizaI would suggest to jonmills_nasa to see how it is configured in Devstack, I remember that you Adrian migrated gunicorn to apache13:14
chaconpizawith the mod_wsgi, right?13:14
adrianczyes 13:14
adrianczwe had option to use gunicorn, wsgi or uwsgi 13:14
adrianczand default option is uwsgi 13:15
adrianczbut i don't know if wsgi is still working 13:15
adrianczbut definitely was possible to run monasca-api with wsgi  13:15
chaconpizaright... I see, so to clarify: there are 3 options in general: mod_wsgi, uWSGI and Gunicorn.13:18
chaconpizaDevstack was migrated from Gunicorn to uWSGI13:18
chaconpizaDo we used before mod_wsgi?13:19
adrianczi check and mod_wsgi was removed 13:20
adrianczyes we used wsgi before 13:21
chaconpizawhat you mean with wsgi?  uWSGI or mod_wsgi?13:21
adrianczmod_wsgi13:22
chaconpizaok, thanks13:22
adrianczwsgi and uwsgi are very similar  13:22
chaconpizaI was reading that time this introduction to the topic:13:23
chaconpizahttps://djangodeployment.com/2017/01/02/which-wsgi-server-should-i-use/13:23
chaconpizaalright, and the next question13:26
chaconpizafurkance wrote: Hi chaconpiza, it's been a very long time but I had a problem with the integration of monasca and cloudkitty, metrics didn't have project ID and therefore cloudkitty couldn't calculate the ratings, I remember u were going to try something, did u have any chance? thanks in advance for your help13:27
chaconpizaThis question I can't answer until I configure and launch an instance13:33
chaconpizaI will try it in our Cluster1, so far there aren't any VM instances13:33
adrianczI know nothing about cloudkitty 13:33
adrianczOk 13:33
adrianczmaybe there is easier solution with devstack 13:34
adrianczmaybe furkance  have some script to  stack cloudkitty  with monasca 13:34
chaconpizaCloudkitty is the module for billing based on cpu consumption, ram, space, etc.13:36
chaconpizahe needs to know the Project ID from the libvirt metrics, as far as I remeber13:36
adrianczOk 13:38
adrianczi possible to add extra information to the metric 13:38
adrianczbut all metric have project_id 13:39
chaconpizaYes, I think this is what he is looking for13:39
chaconpizaOk, then for the today topics13:42
chaconpizawe have two issues that are related  to each other13:42
chaconpizaDevstack deployment with vagrant fails trying to uninstall simplejson13:43
adrianczI'm working on thins topic 13:44
chaconpizaand Monasca-API unittest PY3x fails after an update of simplejson in upper-constrains13:44
chaconpizaI'm on this one13:45
adrianczproblem is that pip is not able to uninstall simlejson in devstack  13:45
adrianczThis well know problem 13:45
adrianczhttps://www.edureka.co/community/65075/error-cannot-uninstall-simplejson-not-able-install-ubuntu13:45
adrianczhttps://stackoverflow.com/questions/60635962/while-installing-openstack-on-ubuntu-18-04-i-am-stuck-at-error-cannot-uninstal13:46
adrianczIs possible to uninstall simplejson using 'sudo apt-get purge python-simplejson  ' 13:47
chaconpizadid you try to deploy devstack without Monasca? I tried with same error. Using the "bento/ubuntu-20.04" vagrant box13:48
adrianczNo i didn't try 13:48
chaconpizaOk, let's focus on these issues.13:49
chaconpizaWe got this fix this week: https://review.opendev.org/c/openstack/monasca-agent/+/81011513:50
chaconpizaand same for this branch https://review.opendev.org/c/openstack/monasca-agent/+/81037113:57
chaconpizaI asked to cherry pick the first one (master branch) to Wallaby, instead of create an independent change13:58
adriancz+1 13:58
chaconpizaIf we don't get it, I will send a 2nd patch set as a cherry pick from the original (master branch)13:58
chaconpizaOk, Adrian. Those were all topics for today.13:59
chaconpizaWe ran out of time.13:59
chaconpizaThanks for coming, see you next week.14:00
adrianczThanks Martin 14:00
adrianczSee you next week 14:00
chaconpiza#endmeeting14:00
opendevmeetMeeting ended Tue Sep 28 14:00:37 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)14:00
opendevmeetMinutes:        https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.html14:00
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.txt14:00
opendevmeetLog:            https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.log.html14:00
*** elodilles is now known as elodilles_pto20:52

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!