Wednesday, 2020-11-18

*** vishalmanchanda has quit IRC00:41
*** k_mouza has joined #openstack-monasca01:08
*** yan0s has quit IRC01:08
*** jawad_axd has quit IRC01:19
*** k_mouza has quit IRC01:20
*** k_mouza has joined #openstack-monasca01:20
*** k_mouza has quit IRC01:25
*** k_mouza has joined #openstack-monasca04:21
*** k_mouza has quit IRC04:26
*** vishalmanchanda has joined #openstack-monasca06:00
*** nikparasyr has joined #openstack-monasca06:54
*** witek has joined #openstack-monasca07:51
*** k_mouza has joined #openstack-monasca08:22
*** k_mouza has quit IRC08:26
*** tosky has joined #openstack-monasca08:45
*** parallax has quit IRC09:09
*** parallax has joined #openstack-monasca09:09
*** k_mouza has joined #openstack-monasca10:14
*** mensis has joined #openstack-monasca10:19
mensisHi folks, I have good news. I have achieved to install monasca stable/ussuri with openstack ansible (all services working perfectly). I will contribute to OSA in a couple weeks. Now, i only have a problem with monasca-ui. I installed it to horizon container and i'm able to see monasca dashboards. But i couldn't deploy monasca-grafana. I followed10:24
mensisthe devstack instructions to install monasca-grafana but the service is just not getting up.10:24
mensisRegarding devstack instructions, this is my history; http://paste.openstack.org/show/800143/  On the last step it throws an error like this; http://paste.openstack.org/show/800144/  I have already executed grunt but still getting an error like that.10:27
mensisWhat might be the problem, any suggestions? Or are there any solid instructions to deploy monasca-grafana? And also i'm getting an error on the monasca dashboard of horizon, when i click to overview (other dashboards work well): http://paste.openstack.org/show/800145/10:34
*** dougsz has joined #openstack-monasca10:46
chaconpizaHi mensis, I am reading the pastes...10:47
*** dougsz has quit IRC11:03
chaconpizamensis, can you access Grafana through its port? (3000)11:39
mensisI can't because when i 'systemctl start grafana-server' it just doesn't start and throws just error nothing more11:40
mensisI actually installed grafana 4.1 to another container and trying to deploy monasca-grafana in there11:41
mensisthis time i installed grafana from https://grafana.com/grafana/download/4.1.0 , then i copied monasca-grafana-datasource/ into grafana/plugins/monasca-grafana-datasource/, again copied monasca-ui/grafana-dashboards/* to /public/dashboards/ in the new grafana deployment.11:43
mensisthen i followed these instructions; https://github.com/monasca/monasca-grafana#installation and https://github.com/monasca/monasca-grafana#build11:44
mensisthis new deployment seems more robust but now i have a problem on the adding Monasca datasource part, it says 'Monasca Error Response: Unauthorized'  I'm trying to add keystone authentication support to grafana11:46
chaconpizain this line: 19  git clone https://github.com/monasca/grafana.git grafana --branch grafana4 --depth 111:47
chaconpizayou are using a Fork that allows the Keystone authentication11:48
chaconpizaI am afraid that in vanilla  https://grafana.com/grafana/download/4.1.0, there is not11:48
chaconpizaThis is a topic we have pending, upgrade Grafana11:48
mensishmm I understand thanks11:49
mensisI will follow the instructions on the  https://github.com/monasca/grafana.git and will try again11:51
*** adriancz has joined #openstack-monasca11:59
*** mensis has quit IRC12:01
*** mensis has joined #openstack-monasca12:32
mensischaconpiza, https://github.com/openstack/monasca-api/blob/stable/ussuri/devstack/plugin.sh#L1274 what should i set to HTTP_PROXY, any suggestions?13:11
chaconpizamensis, if you need to pass all http requests through a proxy server, like in the network infrastructure of many companies, you can set this variable. I have stack Devstack without using any proxy, then I see in  /opt/stack/logs/stack.sh.log      npm config set proxy ''13:43
*** witek has quit IRC14:20
*** witek_ has joined #openstack-monasca14:21
*** piotrowskim has joined #openstack-monasca15:21
mensischaconpiza, thanks i finally finished deploying monasca-grafana :)  now i can see metrics but i'm guessing to see VM metrics (i already added libvirt plugin and seen metrics of VMs) on grafana i need to build a new dashboard15:28
chaconpizaGreat, which version of Grafana are you using?15:30
chaconpizabtw, in libvirt the metric names depends from the tenant (normal tenant or admin) https://github.com/openstack/monasca-agent/blob/master/docs/Libvirt.md#mapping-metrics-to-configuration-parameters15:31
mensisI installed v4.1.0 of grafana, since it is compatible with monasca-grafana15:38
chaconpizaNice, may I ask you which authentication method are you using?15:38
mensisyeah for different tenants i will configure libvirt15:38
mensisi'm using keystone15:39
mensisi deployed it from monasca/grafana git15:39
chaconpizaOk, so using the fork15:41
mensisbut when following the devstack of monasca stable/ussuri, i was unable to deploy it, and then i installed node (v4.0.0) and npm via nvm (v0.32.1), after this i could manage to deploy it15:41
chaconpizaI see, thanks for the info15:42
mensisthanks, i will try it again later, maybe i missed something15:43
chaconpizathese dashboards might be of your interest:15:44
chaconpizahttps://github.com/FujitsuEnablingSoftwareTechnologyGmbH/monasca-docker/tree/master/grafana-init/dashboards.d15:44
chaconpizaspecially the 09 and the 1015:45
*** nikparasyr has left #openstack-monasca15:46
chaconpizaFrom here: https://github.com/openstack/monasca-grafana-datasource/tree/master/examples15:50
chaconpizaI think customer_compute_breakdown.json is related to vm's15:50
mensisperfect! thanks again, i'll use them as a reference. I'm currently facing this issue on the horizon (when i click monitoring -> overview) http://paste.openstack.org/show/800162/15:55
mensisI dont know if i missed something when deploying monasca-ui, the other dashboards dont throw any errors15:56
chaconpizaCan you copy the content of this file monitoring/config/local_settings.py15:58
chaconpizainside that file should be this parameter GRAFANA_URL15:59
chaconpizaMaybe it is wrong15:59
*** mensis has quit IRC16:00
*** mensis has joined #openstack-monasca16:02
mensishere is my monitoring/config/local_settings.py http://paste.openstack.org/show/800163/16:03
mensischaconpiza, i put GRAFANA_URL into /etc/horizon/local_settings.py16:04
chaconpizaTry in that file from the paste16:04
chaconpizathe line 99  GRAFANA_URL = getattr(settings, 'GRAFANA_URL', None)16:05
chaconpizaI remember that in your error exception message was something about settings variable not set16:05
chaconpizaIn devstack it is configured in:   /opt/stack/horizon/openstack_dashboard/local/local_settings.d/_50_monasca_ui_settings.py16:07
chaconpizaGRAFANA_URL = {'RegionOne': "http://192.168.10.6:3000", }16:08
mensisi changed as u said but still getting the same error http://paste.openstack.org/show/800168/16:23
*** yan0s has joined #openstack-monasca16:36
mensischaconpiza, oh i finally ended up succesfully with monasca-ui too, i needed to link monitoring/config/local_settings.py to openstack_dashboard/local/local_settings.d/_50_monasca_ui_settings.py (which is missing link in https://github.com/openstack/monasca-ui#devstack-deployment-set-up)17:07
*** mensis has quit IRC17:10
*** mensis has joined #openstack-monasca17:10
*** witek_ has quit IRC17:19
*** k_mouza has quit IRC18:05
*** k_mouza has joined #openstack-monasca18:06
*** k_mouza has quit IRC18:10
*** mensis has quit IRC18:17
-openstackstatus- NOTICE: The Gerrit service at review.opendev.org is being restarted quickly as a pre-upgrade sanity check, estimated downtime is less than 5 minutes.18:36
*** k_mouza has joined #openstack-monasca19:00
*** openstackgerrit has quit IRC19:02
*** k_mouza has quit IRC19:04
*** vishalmanchanda has quit IRC19:49
*** piotrowskim has quit IRC22:27
*** piotrowskim has joined #openstack-monasca22:29
*** yan0s has quit IRC22:45
*** EarlEuene_ has quit IRC22:59
*** EarlEuene has joined #openstack-monasca23:21

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