Thursday, 2020-04-09

*** vishalmanchanda has joined #openstack-monasca06:59
*** mensis has joined #openstack-monasca07:13
*** witek has joined #openstack-monasca07:31
AJaegerwitek, can you help with 717469, please ? ^08:40
AJaegerAlso, please review the monasca changes in https://review.opendev.org/#/q/status:open++topic:cleanup-py27-support - those should go in before the release08:40
AJaegerwitek, could you help, please? ^08:40
witekAJaeger: on it, I've put my -1 on the release change until then08:54
AJaegerthanks, witek !09:01
*** gokhani has joined #openstack-monasca09:08
*** k_mouza has joined #openstack-monasca09:59
k_mouzahello all. I'm installing Monasca stable/stein with kolla-ansible and I'm having a problem with monasca-persister on all the controller nodes. I'm getting InfluxDBClient errors ( http://paste.openstack.org/show/791856 )  and the persister container constantly restarts, without sending metrics to InfluxDB. Anyone seen this before? Thanks a lot!10:14
witekthe metric comes apparently from the log-metrics component and cannot be parsed correctly for some reason10:26
witekplease set repositories.ignore_parse_point_error to True in monasca-persister to drop these10:26
witekhttps://opendev.org/openstack/monasca-persister/src/branch/master/monasca_persister/conf/repositories.py#L3710:27
witekbrtknr, Wasaac: any hints on this? ^^10:29
*** k_mouza has quit IRC10:35
*** k_mouza has joined #openstack-monasca10:40
*** k_mouza has quit IRC11:28
*** k_mouza has joined #openstack-monasca11:28
*** k_mouza has quit IRC11:33
*** k_mouza has joined #openstack-monasca11:51
*** k_mouza has joined #openstack-monasca11:52
*** ierdem has joined #openstack-monasca12:22
*** dougsz has joined #openstack-monasca13:49
k_mouzawitek: thanks a lot, didn't know that configuration option. I did enable it but I'm still getting these errors about partial writes because it's not able to parse some measurements...13:51
k_mouzais there an option to completely drop "log." metrics?13:52
witekstop log-metrics component13:53
witekdougsz: any idea why this is happening: http://paste.openstack.org/show/791856/13:54
witek?13:54
witekthat's on stable/stein13:54
dougszThis is Monasca deployed with Kolla Ansible?13:59
dougszk_mouza ^ ?14:00
k_mouzadougsz: yup, correct14:00
k_mouzakolla-ansible stable/stein14:00
dougszI think it is a bug with the supplied log metrics configuration.14:00
dougszToo much information is being included with a metric generated from a log file.14:01
dougszUnfortunately the log-metrics service is dangerous like that, because currently it doesn't post anything back via the Monasca API for validation. So the logstash config which drives it can generate invalid metrics.14:02
dougszTo fix it, you need to override the log-metrics config file (and file a bug in KA please)14:04
dougszBasically you don't want any highly variable dimensions like log message snippets going into InfluxDB, because it will kill the performance.14:06
k_mouzahmm ok, I can have a go at this. Thanks for the info. One more thing. Let's say I want to completely drop the log metrics in monasca. I tried stopping all the monasca-log containers (monasca_log_metrics, monasca_log_persister, monasca_log_transformer and monasca_log_api) and then tried to manually drop the "log.nova-compute.warning" measurement in Influxdb. That measurement came back after a minu14:07
k_mouzate even with all the monasca-log services being down14:07
dougszCool, I think it is buffered in Kafka14:08
dougszIn your monasca persister config, do you have ignore_parse_point_error enabled?14:09
dougszExample: https://github.com/SKA-ScienceDataProcessor/alaska-kayobe-config/blob/alaska-prod/etc/kayobe/kolla/config/monasca/persister.conf#L1014:09
dougszThat should allow the failed write to be ignored and unblock your pipeline.14:10
k_mouzayup, I've set that to "true" after witek suggested it above, but still having same errors14:11
k_mouzaI haven't tried restarting/redeploying kafka though after I've added this in the persister config file14:11
dougszThanks witek, sorry I missed it. Need to set up a bouncer.14:11
dougszYou've restarted all of the persisters though?14:12
dougszmonasca_persister specifically14:12
dougszKafka should not require restarting14:12
k_mouzayeah , all monasca components were restarted14:13
dougszBig hammer in Kolla Ansible is to delete the Kafka + Zookeeper containers, delete the Kafka + Zookeeper Docker volumes and then redeploy Kafka + Zookeeper. You will loose data buffered in Kafka, and break Monasca, but it can be useful sometimes in dev envs.14:13
dougszMonasca should recover after the redeploy14:14
k_mouzayeah, that's  what I'm thinking of doing as my next step14:14
k_mouzahammer time then !14:14
dougszNot something for production :)14:15
dougszJust checking, you definitely included the right section header for ignore_parse_point_error? I'm surprised it didn't help14:16
*** gokhani has quit IRC14:16
k_mouzayeah, the [repositories] one right? I had high hopes for that as well!14:16
dougszyeah :(14:17
dougszhttps://pastebin.com/Zk60nemR14:20
dougszk_mouza ^ I've been meaning to tweak the supplied log-metrics config to something more like that, havent' had a chance to formalise it yet14:21
dougszNote that includes some parsing of HAProxy logs for monitoring response time, you will likely want to strip that out, unless you want to do that, and then i can supply the required fluentd config.14:21
k_mouzathanks a lot dougsz! I'll give that a spin after the deploy that's running now14:24
dougszyou're welcome, reach out anytime14:24
k_mouzadougsz: by the way. After deleting kafka, zookeper and influxdb volumes and redeploying, metrics are pushed in the db fine and I can see their measurements with monasca cli :)14:36
dougszGood to hear, k_mouza, hopefully you won't need to do that again!14:37
dougszWe run the stein release (deployed via Kayobe + Kolla Ansible) in quite a few production environments and it's generally pretty stable.14:38
k_mouzagood to know! I'm guessing you're using the ignore config in the persister.conf right? I'll try your log metric config later as well14:39
dougszYeah, generally I don't see many metrics dropped, but without that setting there is a risk of the pipeline freezing as you found out.14:53
k_mouzayup, makes sense!14:54
*** vishalmanchanda has quit IRC15:09
*** ierdem has quit IRC15:24
*** witek has quit IRC16:10
*** k_mouza has quit IRC16:49
*** dougsz has quit IRC17:07
*** dougsz has joined #openstack-monasca17:07
*** dougsz has quit IRC17:12
*** k_mouza has joined #openstack-monasca18:05
*** dougsz has joined #openstack-monasca18:53
*** spsurya_ has quit IRC19:08
*** dougsz has quit IRC20:10
*** dougsz has joined #openstack-monasca20:22
*** dougsz has quit IRC20:27
*** mensis has quit IRC20:47
*** k_mouza has joined #openstack-monasca22:33
*** k_mouza has quit IRC23:12

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!