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