Thursday, 2019-02-14

*** Fdaisuke_ has joined #openstack-monasca06:55
*** witek has joined #openstack-monasca07:09
witekgood morning07:09
Fdaisuke_Hi, witek,07:10
witekhi Fdaisuke_07:10
witekdo you have any topics?07:10
Fdaisuke_sorry, i have no topics, today07:11
witekno problem07:11
witekyesterday we discussed merging the APIs and if we should aim to completely get rid of monasca-common library07:11
witekwe kicked off the effort of adding Monasca to OpenStack Helm07:12
witekand wend through some open reviews07:13
Fdaisuke_cool07:13
witekif you look for some reviewing activity in Monasca, you may have a look at the list07:14
witekit's always good opportunity to learn the code07:14
witekdoes anyone else want to bring up anything?07:15
Fdaisuke_thank you, I'll look for Reviews list07:16
witekOK, thanks Fdaisuke_, I'll move then to my morning routine07:17
witeksee you next time07:17
Fdaisuke_OK, thank you witek07:17
Fdaisuke_see you07:17
*** mohankumar has joined #openstack-monasca08:56
*** dougsz has joined #openstack-monasca08:58
mohankumarHi , experiencing huge consumer lag in kafka . How to reduce lag , any pointers? pls08:58
mohankumarif i need to tune persister to read more data/ write fast into influxdb what should i change config ?08:59
witekmohankumar: you could try increasing number of workers in persister09:18
witekyou can also try to play with batch_size09:20
mohankumarwitek : thanks , I can't find config file to increase no.of worker thread https://github.com/openstack/monasca-persister/tree/master/docker09:30
mohankumarwitek:  could you help to find config file ?09:30
witekin case of Docker deployment it's easier to just deploy several replicas of persister container09:36
dougsz+1,  make sure you have enough partitions in your metrics topic for the extra workers09:37
dougszhttps://github.com/openstack/kolla-ansible/blob/master/ansible/roles/monasca/templates/monasca-persister/persister.conf.j2#L2009:37
dougsz^ Example of setting number of threads09:37
mohankumarwitek: if several persister writing in same influxdb record, will it cause any inconsistency ?09:37
witekno09:38
witekthey won09:38
witekthey won't write the same record09:38
mohankumarwitek : Great , Thanks !09:38
witekpersister instances will load balance the messages from Kafka09:38
witekand if the same message would appear for some reason, it will just overwrite the record in InfluxDB09:39
witekdougsz: is Kolla deployment fully clustered?09:40
dougszwitek: It is indeed, we quite often do 3 node deploys09:41
dougszsome caveats, influxdb single instance, and thresholder runs on only one node right now09:41
witekthanks, I think akhil_jain was asking about clustered deployment yesterday09:41
witekKolla is currently the best supported option, I reckon09:41
mohankumar dougsz: Yes i tried by increasing partitions , with single persister it not helped much . i ll check with multiple persister instances09:41
dougszmohankumar: You will see in the logs that each persister gets a share of the partitions, it's cool how they rebalance automatically when a new persister joins / leaves.09:42
dougszwitek: sounds good, the Kolla Monasca deploy will work standalone if he needs it to (docs are here: https://docs.openstack.org/kolla-ansible/latest/reference/logging-and-monitoring/monasca-guide.html)09:44
mohankumardougz, witek : In my deployment database_batch_size is "1000" https://github.com/openstack/monasca-persister/blob/a18a2b6e8ae7a72cd8d29b92c37e9ba49be3ca48/docker/monasca_persister.conf.j2#L48 , any suggestion how much i can increase that would be optimal ?09:46
mohankumardougz, witek : I know its noob question , still09:48
mohankumardougsz ^09:50
dougszmohankumar: you a probably in a better position that me to tune it09:51
dougsz*are09:51
dougszI am using kolla-ansible defaults - haven't hit a scaling issue yet09:52
witekI'm afraid I don't have any optimization investigation results09:52
mohankumardougsz , witek : okay , thanks for your prompt replies :)09:53
akhil_jainwitek: dougsz: thanks guys I just want to make development env ready to run basic scenarios. do you think kolla is best and suitable way to achieve that?10:57
dougszakhil_jain: Kolla will be fairly heavyweight for a dev env11:00
*** zenirc369 has joined #openstack-monasca12:39
*** mohankumar has quit IRC14:18
*** openstackgerrit has joined #openstack-monasca15:38
openstackgerritWitold Bedyk proposed openstack/monasca-events-api master: Updated policy names  https://review.openstack.org/61367915:38
dougszDid anyone hit the issue with Kafka 1.x reaping connections yet :)16:02
openstackgerritMerged openstack/python-monascaclient master: Fix alarm-definition-list in Python 3  https://review.openstack.org/63615016:17
openstackgerritMerged openstack/monasca-api master: Use global job for building docker image  https://review.openstack.org/63208816:19
*** trident has quit IRC16:46
*** aagate has joined #openstack-monasca17:04
*** zenirc369 has quit IRC17:15
openstackgerritAmir Mofakhar proposed openstack/monasca-events-api master: Updated policy names  https://review.openstack.org/61367917:23
*** dougsz has quit IRC18:35
openstackgerritAmir Mofakhar proposed openstack/monasca-events-api master: Updated policy names  https://review.openstack.org/61367919:45
*** witek has quit IRC20:09
-openstackstatus- NOTICE: Jobs are failing due to ssh host key mismatches caused by duplicate IPs in a test cloud region. We are disabling the region and will let you know when jobs can be rechecked.21:32
-openstackstatus- NOTICE: The test cloud region using duplicate IPs has been removed from nodepool. Jobs can be rechecked now.22:14
openstackgerritguang-yee proposed openstack/monasca-agent master: properly convey Keystone v3 params  https://review.openstack.org/63706922:40

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