chaconpiza | #startmeeting monasca | 13:00 |
---|---|---|
opendevmeet | Meeting 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 |
opendevmeet | Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. | 13:00 |
opendevmeet | The meeting name has been set to 'monasca' | 13:00 |
adriancz | HI | 13:01 |
chaconpiza | Hi Adrian | 13:01 |
chaconpiza | Let's start | 13:01 |
chaconpiza | Today we have questions from community members: | 13:02 |
chaconpiza | mensis 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 |
chaconpiza | So, in our expirience (doploying Monasca with docker-compose) we had the same situation | 13:05 |
adriancz | I think should be possible by changing permission to files that are required to monitor openstack | 13:06 |
adriancz | but im not sure | 13:06 |
adriancz | I think we try to changed this | 13:06 |
adriancz | I think MichaĆ Piotrkowski was working on this | 13:07 |
chaconpiza | When 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 |
chaconpiza | in 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 |
chaconpiza | I don't see other option | 13:09 |
chaconpiza | I 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 option | 13:11 |
chaconpiza | Next question: | 13:12 |
chaconpiza | jonmills_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 |
chaconpiza | I would suggest to jonmills_nasa to see how it is configured in Devstack, I remember that you Adrian migrated gunicorn to apache | 13:14 |
chaconpiza | with the mod_wsgi, right? | 13:14 |
adriancz | yes | 13:14 |
adriancz | we had option to use gunicorn, wsgi or uwsgi | 13:14 |
adriancz | and default option is uwsgi | 13:15 |
adriancz | but i don't know if wsgi is still working | 13:15 |
adriancz | but definitely was possible to run monasca-api with wsgi | 13:15 |
chaconpiza | right... I see, so to clarify: there are 3 options in general: mod_wsgi, uWSGI and Gunicorn. | 13:18 |
chaconpiza | Devstack was migrated from Gunicorn to uWSGI | 13:18 |
chaconpiza | Do we used before mod_wsgi? | 13:19 |
adriancz | i check and mod_wsgi was removed | 13:20 |
adriancz | yes we used wsgi before | 13:21 |
chaconpiza | what you mean with wsgi? uWSGI or mod_wsgi? | 13:21 |
adriancz | mod_wsgi | 13:22 |
chaconpiza | ok, thanks | 13:22 |
adriancz | wsgi and uwsgi are very similar | 13:22 |
chaconpiza | I was reading that time this introduction to the topic: | 13:23 |
chaconpiza | https://djangodeployment.com/2017/01/02/which-wsgi-server-should-i-use/ | 13:23 |
chaconpiza | alright, and the next question | 13:26 |
chaconpiza | furkance 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 help | 13:27 |
chaconpiza | This question I can't answer until I configure and launch an instance | 13:33 |
chaconpiza | I will try it in our Cluster1, so far there aren't any VM instances | 13:33 |
adriancz | I know nothing about cloudkitty | 13:33 |
adriancz | Ok | 13:33 |
adriancz | maybe there is easier solution with devstack | 13:34 |
adriancz | maybe furkance have some script to stack cloudkitty with monasca | 13:34 |
chaconpiza | Cloudkitty is the module for billing based on cpu consumption, ram, space, etc. | 13:36 |
chaconpiza | he needs to know the Project ID from the libvirt metrics, as far as I remeber | 13:36 |
adriancz | Ok | 13:38 |
adriancz | i possible to add extra information to the metric | 13:38 |
adriancz | but all metric have project_id | 13:39 |
chaconpiza | Yes, I think this is what he is looking for | 13:39 |
chaconpiza | Ok, then for the today topics | 13:42 |
chaconpiza | we have two issues that are related to each other | 13:42 |
chaconpiza | Devstack deployment with vagrant fails trying to uninstall simplejson | 13:43 |
adriancz | I'm working on thins topic | 13:44 |
chaconpiza | and Monasca-API unittest PY3x fails after an update of simplejson in upper-constrains | 13:44 |
chaconpiza | I'm on this one | 13:45 |
adriancz | problem is that pip is not able to uninstall simlejson in devstack | 13:45 |
adriancz | This well know problem | 13:45 |
adriancz | https://www.edureka.co/community/65075/error-cannot-uninstall-simplejson-not-able-install-ubuntu | 13:45 |
adriancz | https://stackoverflow.com/questions/60635962/while-installing-openstack-on-ubuntu-18-04-i-am-stuck-at-error-cannot-uninstal | 13:46 |
adriancz | Is possible to uninstall simplejson using 'sudo apt-get purge python-simplejson ' | 13:47 |
chaconpiza | did you try to deploy devstack without Monasca? I tried with same error. Using the "bento/ubuntu-20.04" vagrant box | 13:48 |
adriancz | No i didn't try | 13:48 |
chaconpiza | Ok, let's focus on these issues. | 13:49 |
chaconpiza | We got this fix this week: https://review.opendev.org/c/openstack/monasca-agent/+/810115 | 13:50 |
chaconpiza | and same for this branch https://review.opendev.org/c/openstack/monasca-agent/+/810371 | 13:57 |
chaconpiza | I asked to cherry pick the first one (master branch) to Wallaby, instead of create an independent change | 13:58 |
adriancz | +1 | 13:58 |
chaconpiza | If we don't get it, I will send a 2nd patch set as a cherry pick from the original (master branch) | 13:58 |
chaconpiza | Ok, Adrian. Those were all topics for today. | 13:59 |
chaconpiza | We ran out of time. | 13:59 |
chaconpiza | Thanks for coming, see you next week. | 14:00 |
adriancz | Thanks Martin | 14:00 |
adriancz | See you next week | 14:00 |
chaconpiza | #endmeeting | 14:00 |
opendevmeet | Meeting ended Tue Sep 28 14:00:37 2021 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) | 14:00 |
opendevmeet | Minutes: https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.html | 14:00 |
opendevmeet | Minutes (text): https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.txt | 14:00 |
opendevmeet | Log: https://meetings.opendev.org/meetings/monasca/2021/monasca.2021-09-28-13.00.log.html | 14:00 |
*** elodilles is now known as elodilles_pto | 20:52 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!