Friday, 2019-04-12

*** irclogbot_3 has joined #openstack-monasca03:02
*** pcaruana has joined #openstack-monasca06:41
*** witek has joined #openstack-monasca06:59
*** Dobroslaw_afk has quit IRC07:06
openstackgerritjianweizhang proposed openstack/monasca-api master: Docker support cassandra keyspace option  https://review.openstack.org/65198907:12
openstackgerritjianweizhang proposed openstack/monasca-api master: Support cassandra connection timeout option  https://review.openstack.org/65199307:36
*** dougsz has joined #openstack-monasca08:01
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: merge files  https://review.openstack.org/65202209:49
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: minor refactoring for utils.py  https://review.openstack.org/65202309:49
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Minor refactoring for utils.py  https://review.openstack.org/65202610:06
dougszIf anyone has a spare minute or two, it would be greatly appreciated if they could review this one: https://review.openstack.org/#/c/650920/10:15
witekdougsz: looking at it, we actually didn't want to introduce jira as a requirement and control it via extras section10:17
witekhttp://git.openstack.org/cgit/openstack/monasca-notification/tree/setup.cfg#n4210:18
witek`pip install monasca-notification[jira_plugin]`10:18
dougszI think the issue is that since the patch to generate config options for plugins was merged, jira is now a hard requirement even if you don't use it10:18
witekyes, I recall10:19
dougsz(we don't use it, but the module is now loaded regardless)10:19
dougszI suppose the alternative is to prevent loading of the jira module unless the module is enabled10:20
witekyes, we could change that code, for now I think we can include it in requirements10:23
witekdo we still need the [extras] section now10:26
witekit inclueds Jinja2 additionally10:27
witekcould we merge these two please:10:27
witek* https://review.openstack.org/65126510:27
witek* https://review.openstack.org/65202810:28
openstackgerritDoug Szumski proposed openstack/monasca-notification master: Add Python Jira module to requirements  https://review.openstack.org/65092010:28
*** pcaruana has quit IRC10:31
witekdougsz: sorry, we still need Jinja2 there10:31
dougszoops, sorry!10:32
openstackgerritDoug Szumski proposed openstack/monasca-notification master: Add Python Jira module to requirements  https://review.openstack.org/65092010:33
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add utils.py tests  https://review.openstack.org/65203510:34
dougszwitek: reviewed those 2, thanks for taking a look10:34
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add utils.py tests  https://review.openstack.org/65203510:50
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add utils.py tests  https://review.openstack.org/65203511:00
*** pcaruana has joined #openstack-monasca11:36
mkarpiarzHi all! I'm using the latest Monasca components (this includes monasca-api 3.0.0 and monasca-agent 2.10.0)11:39
mkarpiarzI've configured the libvirt agent plugin to gather info on OpenStack instances I run on my hypervisor11:39
mkarpiarzI can see libvirt-related metrics (like vm.cpu.time_ns, vm.mem.free_gb, etc.) in Influx11:40
mkarpiarzbut `monasca metric-list` returns an empty list.11:41
mkarpiarzI have a correct Influx host and port set up in /etc/monasca/api.conf, so the API should be able to connect.11:44
mkarpiarzSo what am I missing?11:44
mkarpiarz(I'm using admin credentials and a test VM is running in the same tenancy as my user)11:45
mkarpiarzmonasca-api is the component responsible for fetching stuff from Influx, right?11:46
witekmkarpiarz: please check the project you're in11:51
witekvm.cpu.time_ns is operator metrics, so they will be in the project configured in agent.yaml11:52
mkarpiarzI see, will check this.11:54
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add tests for repositories/persister.py  https://review.openstack.org/65205312:08
mkarpiarzThanks, witek! I've added the role specified in delegate_authorized_roles to Agent's user on it's project and now I can see metrics as my user.12:40
witekmkarpiarz: delegate_authorized_roles is for tenant metrics12:41
witekmeaning e.g. cpu.time_ns12:42
*** bandorf has quit IRC12:45
mkarpiarzIn my setup delegate_authorized_roles is the same as default_authorized_roles.12:51
mkarpiarzI can see metrics like this one: "name: cpu.time_ns, component: vm", so I take it this is vm.cpu.time_ns in Influx, is this correct?12:53
witekcpu.time_ns is tenant metric, stored in the project of the user who created the instance12:54
witekvm.cpu.time_ns is operator/admin metric, stored in the project configured in agent.yaml12:55
witekthey have the same values12:55
mkarpiarzSo why do they have different names if both have the same values?13:00
*** altlogbot_3 has joined #openstack-monasca13:04
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Change process_message() to static  https://review.openstack.org/65206713:10
openstackgerritMariusz Karpiarz proposed openstack/monasca-agent master: [docs] Add cross-tenant role using the openstack CLI  https://review.openstack.org/65206913:12
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add tests for influxdb/metrics_repository.py  https://review.openstack.org/65207013:15
*** altlogbot_3 has quit IRC13:32
*** altlogbot_3 has joined #openstack-monasca13:33
openstackgerritArseni Lipinski proposed openstack/monasca-persister master: Add tests for influxdb/metrics_repository.py  https://review.openstack.org/65207013:35
*** altlogbot_3 has quit IRC13:38
*** altlogbot_2 has joined #openstack-monasca13:39
*** altlogbot_2 has quit IRC14:00
*** altlogbot_1 has joined #openstack-monasca14:26
*** altlogbot_1 has quit IRC14:29
*** altlogbot_0 has joined #openstack-monasca14:30
*** altlogbot_0 has quit IRC14:33
*** altlogbot_2 has joined #openstack-monasca14:48
*** altlogbot_2 has quit IRC14:51
*** altlogbot_1 has joined #openstack-monasca14:53
openstackgerritMariusz Karpiarz proposed openstack/monasca-agent master: [docs] Add cross-tenant role using the openstack CLI  https://review.openstack.org/65206914:54
*** altlogbot_1 has quit IRC14:55
*** altlogbot_0 has joined #openstack-monasca14:59
*** witek has quit IRC15:12
openstackgerritMerged openstack/monasca-agent master: [docs] Add cross-tenant role using the openstack CLI  https://review.openstack.org/65206915:32
openstackgerritMerged openstack/monasca-persister master: Widen exception catch for point parse failure  https://review.openstack.org/65173115:40
openstackgerritMerged openstack/monasca-ceilometer master: Clean up removed Ceilometer meters  https://review.openstack.org/64773916:34
*** bobh has joined #openstack-monasca17:10
*** joadavis has quit IRC17:21
*** adriancz has quit IRC17:28
*** dougsz has quit IRC17:42
*** dougsz has joined #openstack-monasca17:44
*** dougsz has quit IRC17:50
openstackgerritMerged openstack/monasca-api master: Improve devstack vagrantfile  https://review.openstack.org/65173718:00
*** irclogbot_3 has quit IRC18:08
*** irclogbot_0 has joined #openstack-monasca18:11
*** bobh has quit IRC19:02
*** pcaruana has quit IRC20:26
*** joadavis has joined #openstack-monasca22:32

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