15:01:08 #startmeeting monasca 15:01:09 Meeting started Wed Jul 4 15:01:08 2018 UTC and is due to finish in 60 minutes. The chair is witek. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:10 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:01:12 The meeting name has been set to 'monasca' 15:01:24 Hello 15:01:26 Hello everyone 15:01:30 Hello 15:01:34 hello 15:01:58 nice to see you 15:02:03 here the agenda: 15:02:07 https://etherpad.openstack.org/p/monasca-team-meeting-agenda 15:02:26 #topic Kafka upgrade 15:02:47 we've done some testing with upgrading Apache Kafka 15:02:52 to ver. 1.0.1 15:03:21 log message format has been changed since Kafka 0.10 15:03:35 but there is an option to set it to the old format 15:04:05 we've run the tests for a couple of days with proposed settings 15:04:14 and haven't observed any issues 15:04:25 nice 15:04:27 the throughput is the same as before 15:04:39 tested on single node installation 15:05:05 Yay. So I get to build a new Kafka package once we've got the consumers updated... :-) 15:06:05 it would be nice, if you could also do some testing in your environments 15:06:48 I'll try to squeeze that in somehow... 15:07:38 May take a while, though - I'll have to roll a Kafka 1.0.1 package first, and Java being Java that may come with unexpected excitement. 15:08:02 yes, with packaging it gets more effort 15:09:02 on the related topic, we also make comparison of throughput of different Kafka clients 15:09:13 here is the WIP: 15:09:27 https://github.com/monasca/monasca-perf/pull/28 15:10:02 it seems, confluent-kafka is the preferred option 15:10:43 we've managed to get better values for pykafka than presented in graphs, but still much lower than confluent 15:12:12 amofakhar: have you been doing some testing with Kafka clients? 15:12:30 sorry i was disconnected 15:12:39 yes we did some tests before 15:13:33 I remember you've been opting for confluent during the PTG 15:13:54 seems Amir has some connectivity problems 15:14:17 yes we did some tests before 15:14:41 I think we can do the same with this new version 15:15:27 amofakhar: have you tested confluent client? 15:16:43 I think, but i am not sure because some other persons did it before 15:17:23 OK, could you please check on this, I'll ping you in the next days 15:17:46 sure 15:18:11 my current idea is to remove pykafka from global-requirements and exchange with confluent 15:18:27 but want to be sure it's the right approach before doing that 15:18:55 I stil need to look into packaging that, too... 15:19:09 confluent-kafka-python ? 15:19:27 jgrassler: yes, true 15:19:32 amofakhar: yes 15:19:35 Yes. It's a bit more complicated than regular Python modules since it comes with a C component. 15:19:48 The next point on the agenda prevented me from that so far :-) 15:19:57 right, let's move on :) 15:20:03 #topic Alembic support 15:20:21 Yeah, so we've got a command line DB management tool now. 15:20:53 https://review.openstack.org/#/c/580174/ 15:21:19 It can deal with a configuration database schema that was created from a legacy SQL script schema. 15:21:26 so the command is `monasca_db` 15:21:31 Yes. 15:22:13 It detects the schema by computing a SHA1 checksum of the active schema in a (hopefully) canonical form. 15:22:14 should we document the usage somewhere apart from online help? 15:22:26 Absolutely. 15:22:39 Maybe we can add that as an extra task on the story. 15:23:22 yes, we can do that 15:23:32 Anyway, the most important thing about reviewing is probably the list of fingerprints: it would be a good idea to compute the fingerprints on as many (and weird) environments as possible. 15:24:24 For the canonical representation may not quite cut it, yet, and contain a few things that vary across environments. 15:25:06 If so we'll need to either add fingerprints or (preferably) fix the canonical representation. 15:25:55 what do you mean with canonical representation? 15:26:28 I linked to a testing script for generating fingerprints of all legacy revisions, along with expected output in the review comments. 15:27:16 A representation that (ideally) doesn't change if you run it in an environment with (1) a default database charset of UTF-8 and (2) a default database charset of koi-8. 15:28:51 Internally (see fingerprint.py), fingerprinting dumps the database into an sorted list of sqlalchemy.Table objects and serializes that into a textual representation. 15:29:16 I try to control for environmental factors and irrelevant information by stripping out a few things, but I may not have caught everything. 15:30:28 OK, thanks I'll try to test it in our env 15:30:55 Thanks :-) 15:31:29 I think we can move on 15:31:50 #topic deployment 15:32:16 Hi All 15:32:21 hi pandiyan 15:32:56 I think am facing issue for 4 weeks being try to deploy in different than upstream method. 15:33:39 shortly i explain, following upstream docker compose, where removed keystone and passed corresponding values for keystone wherever required 15:33:55 http://paste.openstack.org/show/725024/ 15:34:23 witek: i need guidelines to deploy 15:34:33 here my grafana docker compose file http://paste.openstack.org/show/725025/ 15:35:07 here my kafka_zookeeper compose which support swarm mode, which is not unique like upstream http://paste.openstack.org/show/725029/ 15:35:49 Here the issue, when am running "monasca setup" on compute node getting ERROR like this http://paste.openstack.org/show/725033/ 15:36:26 But in ctl node able to see metrics http://paste.openstack.org/show/725031/ 15:36:44 whether those monasca-setup issues is expected witek 15:37:50 I know this meeting is mostly for development discussion, but i looking help from deployment point of view as well being operator. please 15:38:05 probably not all of them are expected, but in general not critical 15:38:22 witek: is it fine to ignore those ? 15:38:23 monasca-setup tries to run all detection plugins and fails on some 15:38:45 you can configure the needed plugins manually afterwards 15:39:08 may i know why influxDB plugin issue is there in that ERROR 15:39:23 ERROR: Plugin for influxdb-relay will not be configured. 15:39:37 ERROR: monasca-persister process has not been found. Plugin for monasca-persister will not be configured. ERROR: Supervisord process exists but configuration file was not found and no arguments were given. 15:40:38 the reasons can be different from one case to another 15:40:49 some of the plugins are process checks 15:41:09 let me confirm, so the error messages are happened when you run monasca-setup on the server where monasca is running? 15:41:17 And there's a different detection plugin for each metrics plugin. 15:41:43 Current monasca setup output "ERROR" when the process or service is not running and failed to detect the process or service 15:41:47 witek: as per my customised docker compose files , whether this is expected 15:41:55 jgrassler: yes 15:42:03 Some of them have detection heuristics that do not work everywhere, unfortunately... 15:42:39 yes, it's expected that some plugins fail, e.g. when given service is not running 15:42:59 jgrassler: sorry, docker monasca is running on different server, created keystone endpoint and trying to install & run monasca agent on compute node 15:43:10 I know roughly what you are dealing with. I fixed some of these. And then I went back and fixed my fixes because I'd overlooked corner cases... :-) 15:43:21 in my opinion, the error message which says just not exist should be change the log level to INFO 15:44:10 in devstack also same kind of error where all are running in single node 15:44:14 yes, we could file bugs for these and try to fix 15:44:14 pandiyan: if you are running monasca-setup on a machine where the other monasca services are not running, the detection of Monasca services on that node is absolutely going to fail, yes. They're not there after all. 15:45:15 If some of these errors are reported on single-node Devstack that is more likely to be an actual problem. 15:45:22 and i think the current monasca-setup doesn't support monasca docker monitoring 15:45:24 jgrassler: may i know what you mean here by monasca services here ? 15:45:41 In that case, please file bug reports with enough information for us to reproduce the problem. 15:45:59 pandiyan: monasca-persister for instance. That is a Monasca service (part of Monasca). 15:46:48 pandiyan: if you run monasca-setup on a machine where there _is_ no monasca-persister (because monasca-persister runs on a different machine), it will wail to detect its presence of course. 15:47:09 InfluxDB also is normally not installed on OpenStack nodes 15:47:23 That's not really an error (monasca-setup is a bit overzealous about reporting "errors", unfortunately) 15:47:26 jgrassler: got it, but here all monasca services are running in docker by mapping to existing openstack-keystone, so dont think need services should run on each ndoe where running monaca agent 15:48:13 no, it's just monasca-setup complaining 15:48:18 pandiyan: exactly. 15:48:28 jgrassler: i know one person has delivered same way as i do from other organisation, unfortunately dont have his contact 15:48:55 pandiyan: monasca-setup tries to detect _all_ services it's got metrics plugins for (well, most). If some of these happen not to be present, that's not a problem. 15:49:07 also would like to know how can i check data populated inside influxDB here 15:50:39 `monasca metric-list` would give you an overview at least. 15:51:01 jgrassler: say i have 500 compute nodes, and runniing monasca docker compose in seperate server and did keystone integration, in that case do how can i have moansca services in 500 nodes 15:51:04 yes, you can use monasca client 15:51:10 or query db directly 15:51:12 https://docs.influxdata.com/influxdb/v1.3/guides/querying_data/ 15:51:19 You can access InfluxDB directly, too, but I'd have to look that up myself (it's rarely necessary). 15:51:41 if API is working, InfluxDB is working as well 15:51:54 witek: i tried from localhost where docker influx is runniing its saying connection refused 15:52:03 where able to connect mysql 15:52:55 check port forwarding 15:53:31 you can check the metrics which are collected in Influxdb as below 15:53:43 docker exec -it /bin/sh 15:53:50 influx 15:53:57 use mon 15:53:59 haruki: samething what ever u said i did 15:54:04 show series 15:54:28 which command failed? 15:54:37 `influx`? 15:55:29 haruki: inside docker i can able to connect but not from outside 15:55:34 let me ask my final question 15:56:03 How can i pass keystone values to grafana in environment variable 15:56:22 here my grafana-dockercompose http://paste.openstack.org/show/725025/ 15:56:59 how can i pass dependent keystone values to grafana in environment variables 15:57:10 GRAFANA_USERNAME and GRAFANA_PASSWORD for grafana-init don't work? 15:57:35 thats working witek , but i want to login grafana with keystone user 15:57:56 open http://grafana_host:3000 15:58:00 and log in 15:58:34 i mean keystone credentials, we have 1000+ customers, so i want them to login grafana with their keystone credentials 15:59:10 yes, they can log in with their Keystone credentials 15:59:43 these are mapped from Keystone users and projects to Grafana users and organisations 15:59:53 no even for me i am not able to login with keystone.. i am using whatever i have passed "GRAFANA_USERNAME and GRAFANA_PASSWORD " 16:00:30 i think as i said something missing when i removed keystone as per upstream for grafana 16:00:53 see here i have removed keystone dependecy http://paste.openstack.org/show/725025/ 16:01:36 sorry here http://paste.openstack.org/show/725037/ 16:02:58 should be working 16:03:14 you may try to log in with some user with 'admin' role 16:03:31 i have admin role 16:03:33 oh, the hour passed 16:03:41 I have to close the meeting 16:03:43 sorry 16:03:52 okay witek understood 16:03:55 #endmeeting