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