15:00:59 #startmeeting monasca 15:01:00 hello 15:01:02 Meeting started Wed Aug 22 15:00:59 2018 UTC and is due to finish in 60 minutes. The chair is dougsz_. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:03 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:01:06 The meeting name has been set to 'monasca' 15:01:11 hi koji_n 15:01:33 #topic volunteer 15:02:09 So the first topic: I am away next week on holiday, and witek will be back the following week. 15:02:26 Any volunteers to run the IRC meeting? :) 15:03:31 29th? 15:03:40 Yes, 29th. 15:04:11 sorry, but maybe it's difficult for me on that date 15:04:23 Not to worry koji_n 15:04:28 if there is no candidate, i'll touch my colleague 15:04:47 thanks, if we can't find someone we will skip the meeting on the 29th 15:05:00 ok 15:05:05 #topic reviews 15:05:14 Hi Dougz 15:05:16 pandy: over to you 15:05:19 Hi Pandy 15:05:29 yes, i have two patches to review 15:05:34 Looks like a couple of doc fixes 15:05:40 thanks for submitting those 15:05:45 where changes were made and need review & merge 15:06:24 https://review.openstack.org/#/c/591292/ 15:06:33 https://review.openstack.org/#/c/590667/ 15:07:05 I have added myself as a reviewer and I will have a look later today. 15:07:37 anything more to add on this one pandy? 15:09:12 ok, next topic 15:09:15 hey 15:09:24 #topic grafana 15:09:26 sorry for late 15:09:35 This is yours again pandy? 15:09:38 okay, please review and merge 15:09:45 yes regarding grafana 15:10:08 https://storyboard.openstack.org/#!/story/2003475 15:10:17 here step to reproduce 15:10:38 i am seeing old/different metrics where monasca-agent not running 15:11:09 please take a look at storyboard https://storyboard.openstack.org/#!/story/2003475 15:11:22 its applicable for both monasca & influxdb datasource 15:11:53 dougsz_, are you looking into 15:12:18 Yeah, it could be a bug. 15:12:42 What I would suggest is tailing the output from monasca-grafana when the drop down box is generated 15:12:57 You might need to set it to debug mode. 15:13:12 may i know how to do ? in Grafana how to ? 15:13:38 I'm not sure how logging is set up in the monasca docker project you are using 15:13:44 But i assume it just goes to stdout 15:14:00 in which case something like docker logs --follow monasca_grafana --since 1m should work 15:14:41 You should be able to see the API calls the datasource plugins make 15:15:31 Secondly: What are you using the InfluxDB datasource for? 15:15:54 You need to query InfluxDB via the Monasca API to get tenant isolation. 15:17:16 pandy: does that make sense? 15:17:33 yes 15:17:45 pandy: can i ask you whether you've configured the monitoring-delegate role for the agent user? 15:18:11 whether i should use "monitoring-delegate" or i can any name in place of that 15:18:54 please wait little bit... 15:19:24 https://github.com/openstack/monasca-agent/blob/ec31373621c3f10c6d31d71a86bc9336df31bb41/docs/MonascaMetrics.md#cross-tenant-metric-submission 15:19:26 this one 15:20:18 yes got it. so i should use only "monitoring-delegate" not any other name like "pandy-delegate" and follow rest steps... ? 15:21:00 also what are user persmission i should give for "end-user" right now "monasca-user" & "member" is that fine ? 15:21:08 pandy: you don't *need* to use it. It depends how you deploy the monasca-agent. 15:21:44 but it could be one reason why you have metrics from many projects in your project 15:21:45 didn't get you, can you please explain little more 15:21:57 yes, the name is configurable 15:22:10 koji_n, okay 15:22:35 koji_n, you mean i can give any name 15:22:51 You need to define it in the monasca-api config file 15:23:54 dougsz_, you mean delegate_role= pandy-delegate" ? 15:24:47 https://github.com/monasca/monasca-docker/blob/master/monasca-api-python/api-config.conf.j2#L35-L37 15:24:52 probably here 15:25:12 need to specify your delegate role to DELEGATE_AUTHORIZED_ROLES 15:25:27 thanks koji_n - that's the place 15:25:28 i have created "monasca & monasca-agent" users & "monasca-agent, monasca-user" roles & "monasca" project in this case what should be values for "DELEGATE_AUTHORIZED_ROLES" "AUTHORIZED_ROLES" 15:25:35 & AGENT_AUTHORIZED_ROLES 15:26:15 based on my user and role creation, what should i give ? do i need admin role anywhere ? 15:26:24 pandy: Do you want your monasca agent to post metrics from one project into another? If not you don't need delegate roles. 15:27:18 i dont want to post other projects.. so shall i remove "pandy-delegate" in that case ? 15:27:38 You don't need delegate roles then, so yes, you can. 15:27:45 "i have created "monasca & monasca-agent" users & "monasca-agent, monasca-user" roles & "monasca" project in this case what should be values for "DELEGATE_AUTHORIZED_ROLES" "AUTHORIZED_ROLES" 15:27:45 & AGENT_AUTHORIZED_ROLES 15:27:45 based on my user and role creation, what should i give ? do i need admin role anywhere ?" 15:28:12 just let me know what values i should based on my user & roles creation, so i can pass in monasca-docker 15:28:29 You need to figure them out yourself. 15:28:36 It's specific to your configuration. 15:29:09 pandy: so you just want to see the metrics of the instances on the host where agent is running by the project of the agent user? 15:29:20 i thought you want to use the cross-tenant monitoring 15:29:44 koji_n, yes, i want to see metrics of VM where my agent is running 15:31:13 in simple.. client user name "A" should see Vm metrics of his project "B" only.. 15:31:45 You don't need delegate roles in that case. 15:32:06 Why do you have the InfluxDB datasource plugin installed? 15:32:18 so, you mean, "HOST-A" has "instance-A" of project A and "instance-B" of project B, and the monasca agent user is running as project A user, in this case, you just want to see only "instance-A" not "instance-B", right? 15:32:46 dougsz_, we dont want influxdb as now. please ignore that in storyboard 15:33:26 pandy: The reason I ask is because it doesn't have tenant isolation, so it might be why you are seeing metrics from all projects. 15:33:36 koji_n, yes, but what you mean by "monasca agent" user ? you mean "monasca-agent' role added to A user ? 15:34:03 only influxdb dont have tenant isolation 15:34:04 ? 15:35:05 i think based on my created user and role, if i know what i should pass values for " "DELEGATE_AUTHORIZED_ROLES" "AUTHORIZED_ROLES" 15:35:05 & AGENT_AUTHORIZED_ROLES " in docker moansc-api file will give solution think so 15:35:44 i mean the user who you specified when executing monasca-setup command 15:35:59 https://github.com/openstack/monasca-agent/blob/master/docs/Agent.md#explanation-of-primary-monasca-setup-command-line-parameters 15:36:01 i have given "monasca-agent" and "admin" tenant 15:36:15 ok, i got it 15:36:41 so you want to see only the instances of admin project 15:36:51 actually i am doing mistake with user & roles at "docker-api" & "monasca-setup" .. 15:37:17 in my idea, libvirt monitoring plugin is not intended to use for that use case 15:38:08 koji_n, no, i have given admin project in monasca-setup, becaus i cant give all projects names ( say if i have 500) ..whether "project" & "user" at monasca-setup will forward only those project logs ? 15:39:09 Sorry, I need to go now. Please can we continue this discussion in the monasca channel. 15:39:14 okay 15:39:19 thanks everyone 15:39:22 i cannot close meeting 15:39:24 #endmeeting