Wednesday, 2016-02-17

*** ho_ has joined #openstack-monasca00:00
*** rbrndt_ has quit IRC00:04
*** dschroeder has quit IRC00:17
*** rbak has quit IRC00:17
openstackgerritJesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi  https://review.openstack.org/27924400:30
*** zhill has quit IRC00:40
openstackgerritMerged openstack/monasca-api: devstack install fails at monasca-api  https://review.openstack.org/26028701:03
*** ducttape_ has joined #openstack-monasca01:16
*** ducttape_ has quit IRC01:25
*** ducttape_ has joined #openstack-monasca01:26
*** ducttape_ has quit IRC01:30
*** ekarlso has quit IRC01:30
*** ljxiash has joined #openstack-monasca01:39
*** ljxiash has quit IRC01:40
*** ljxiash has joined #openstack-monasca01:40
*** ekarlso has joined #openstack-monasca01:45
*** ducttape_ has joined #openstack-monasca02:23
*** kse has joined #openstack-monasca02:39
*** leitan_ has joined #openstack-monasca02:42
*** ducttape_ has quit IRC02:52
*** leitan_ has quit IRC02:59
*** ducttape_ has joined #openstack-monasca03:15
*** ljxiash has quit IRC03:28
*** ljxiash has joined #openstack-monasca03:28
*** ljxiash has quit IRC03:32
*** rbak has joined #openstack-monasca03:48
*** ljxiash has joined #openstack-monasca04:12
*** ljxiash has quit IRC04:13
*** ducttape_ has quit IRC04:30
*** ducttape_ has joined #openstack-monasca04:33
*** ducttape_ has quit IRC04:42
*** ducttape_ has joined #openstack-monasca04:45
*** ducttape_ has quit IRC04:52
*** ljxiash has joined #openstack-monasca05:01
*** rbak has quit IRC05:23
openstackgerritPradeep Kumar proposed openstack/monasca-agent: Adds Ceph RADOS Gateway monitoring to ceph plugin  https://review.openstack.org/28017105:49
openstackgerritOpenStack Proposal Bot proposed openstack/monasca-ui: Imported Translations from Zanata  https://review.openstack.org/27888106:26
*** _nadya_ has quit IRC06:27
*** _nadya_ has joined #openstack-monasca06:28
*** _nadya_ has quit IRC06:32
*** _nadya_ has joined #openstack-monasca06:39
-openstackstatus- NOTICE: A problem with the mirror used for CI jobs in the rax-iad region has been corrected. Please recheck changes that recently failed jobs on nodes in rax-iad.06:49
*** zhill has joined #openstack-monasca06:50
*** zhill has left #openstack-monasca06:50
*** _nadya_ has quit IRC07:29
*** pcaruana has joined #openstack-monasca08:42
*** kei_yama has quit IRC08:52
*** ho_ has quit IRC08:58
openstackgerritMichal Zielonka proposed openstack/monasca-api: Add new test for sort_by option  https://review.openstack.org/28019109:05
*** efoley has joined #openstack-monasca09:08
*** _nadya_ has joined #openstack-monasca09:14
*** kse has quit IRC09:34
*** szaher_ has quit IRC09:37
*** pasquier-s has quit IRC09:52
*** elemoine_ has quit IRC09:52
*** davidmichaelkarr has quit IRC09:52
*** pasquier-s has joined #openstack-monasca09:53
*** davidmichaelkarr has joined #openstack-monasca10:00
*** elemoine_ has joined #openstack-monasca10:01
*** johnthetubaguy has quit IRC10:03
*** johnthetubaguy has joined #openstack-monasca10:05
*** stackedsax has quit IRC10:10
*** stackedsax has joined #openstack-monasca10:13
*** ljxiash has quit IRC10:46
*** davidmichaelkarr has quit IRC10:49
*** efoley has quit IRC10:52
*** ljxiash has joined #openstack-monasca10:56
*** davidmichaelkarr has joined #openstack-monasca10:57
*** efoley has joined #openstack-monasca10:57
*** rudolfvriend has joined #openstack-monasca10:58
*** ljxiash has quit IRC11:01
*** ameade has quit IRC11:04
*** elemoine has quit IRC11:04
*** elemoine has joined #openstack-monasca11:05
*** ameade has joined #openstack-monasca11:11
*** bmotz has quit IRC11:39
*** krotscheck has quit IRC11:39
*** bmotz has joined #openstack-monasca11:40
*** krotscheck has joined #openstack-monasca11:42
*** stackedsax has quit IRC11:50
*** _nadya_ has quit IRC11:50
*** _nadya_ has joined #openstack-monasca11:50
*** stackedsax has joined #openstack-monasca11:50
*** openstack has joined #openstack-monasca12:04
*** htruta has joined #openstack-monasca12:06
*** rudolfvriend has quit IRC12:24
*** elemoine_ has quit IRC12:24
*** dragondm has quit IRC12:24
*** rudolfvriend has joined #openstack-monasca12:25
*** dragondm has joined #openstack-monasca12:25
*** openstackgerrit_ has quit IRC12:32
*** openstackgerrit has quit IRC12:32
*** openstackgerrit has joined #openstack-monasca12:34
*** openstackgerrit_ has joined #openstack-monasca12:34
*** efoley has quit IRC12:35
*** elemoine_ has joined #openstack-monasca12:42
*** efoley has joined #openstack-monasca13:00
*** efoley_ has joined #openstack-monasca13:03
*** efoley has quit IRC13:03
*** ducttape_ has joined #openstack-monasca13:11
*** leitan_ has joined #openstack-monasca13:13
openstackgerritMichal Zielonka proposed openstack/monasca-api: ORM (sqlalchemy) implementation for python  https://review.openstack.org/26692213:25
*** ducttape_ has quit IRC13:27
*** dhellmann has quit IRC13:44
*** dhellmann has joined #openstack-monasca13:47
*** efoley_ has quit IRC14:00
*** ljxiash has joined #openstack-monasca14:01
*** efoley_ has joined #openstack-monasca14:03
openstackgerritMerged openstack/monasca-common: Use SimpleDateFormat in thread safe construct  https://review.openstack.org/28003314:04
*** elemoine_ has quit IRC14:33
*** elemoine_ has joined #openstack-monasca14:37
*** rbrndt has joined #openstack-monasca14:43
*** ducttape_ has joined #openstack-monasca14:50
*** rhochmuth has joined #openstack-monasca14:53
*** rbak has joined #openstack-monasca14:53
*** pradipm has joined #openstack-monasca14:57
*** bklei has joined #openstack-monasca14:57
*** ddieterly has joined #openstack-monasca15:01
*** dhellmann has quit IRC15:05
*** dhellmann has joined #openstack-monasca15:05
openstackgerritJesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi  https://review.openstack.org/27924415:35
*** rbak has quit IRC15:45
*** efoley_ has quit IRC15:52
*** efoley_ has joined #openstack-monasca15:55
*** ljxiash has quit IRC15:55
*** ljxiash has joined #openstack-monasca15:57
*** rbak has joined #openstack-monasca15:57
*** bmotz_ has joined #openstack-monasca16:01
*** pradipm has left #openstack-monasca16:01
*** dschroeder has joined #openstack-monasca16:03
*** bmotz has quit IRC16:04
*** MVenesio has joined #openstack-monasca16:10
*** efoley_ has quit IRC16:10
*** _nadya_ has quit IRC16:10
*** efoley_ has joined #openstack-monasca16:11
*** pcaruana has quit IRC16:35
*** bklei has quit IRC16:39
*** MVenesio has quit IRC16:53
*** MVenesio_ has joined #openstack-monasca16:53
*** ljxiash has quit IRC16:56
*** ashleighfarnham has joined #openstack-monasca17:01
*** ljxiash has joined #openstack-monasca17:03
*** bobh has joined #openstack-monasca17:12
*** ljxiash has quit IRC17:12
*** ljxiash has joined #openstack-monasca17:14
*** ddieterly has quit IRC17:15
*** ddieterly has joined #openstack-monasca17:29
*** zhill has joined #openstack-monasca17:30
*** rbak has quit IRC17:31
*** dragondm has quit IRC17:33
*** ljxiash has quit IRC17:33
*** davidmichaelkarr has quit IRC17:34
*** ameade has quit IRC17:34
*** rudolfvriend has quit IRC17:34
*** rbak has joined #openstack-monasca17:35
*** elemoine_ has quit IRC17:35
*** davidmichaelkarr has joined #openstack-monasca17:40
*** dragondm has joined #openstack-monasca17:40
*** ameade has joined #openstack-monasca17:41
*** elemoine_ has joined #openstack-monasca17:42
*** _nadya_ has joined #openstack-monasca17:47
*** _nadya_ has quit IRC17:48
*** efoley_ has quit IRC17:59
*** _nadya_ has joined #openstack-monasca18:00
*** craigbr has joined #openstack-monasca18:07
openstackgerritJesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi  https://review.openstack.org/27924418:11
*** _nadya_ has quit IRC18:13
openstackgerritCraig Bryant proposed openstack/monasca-api: Use SimpleDateFormat in thread safe manner  https://review.openstack.org/28145818:29
*** craigbr has quit IRC18:32
*** bobh has quit IRC18:40
*** zhill is now known as zhill_afk18:46
*** zhill_afk has quit IRC18:46
openstackgerritMerged openstack/python-monascaclient: Allow filtering by severity  https://review.openstack.org/27535718:57
*** bobh has joined #openstack-monasca19:00
*** _nadya_ has joined #openstack-monasca19:05
openstackgerritMerged openstack/monasca-api: Correct hibernate query for alarm definitions  https://review.openstack.org/28074319:05
*** rhochmuth has quit IRC19:06
*** _nadya_ has quit IRC19:20
openstackgerritMerged openstack/monasca-api: Allow filtering alarms by severity  https://review.openstack.org/27427519:28
*** ddieterly has quit IRC19:37
*** ducttape_ has quit IRC19:42
*** ddieterly has joined #openstack-monasca19:46
*** ashleighfarnham has quit IRC19:53
*** MVenesio_ has quit IRC19:59
*** _nadya_ has joined #openstack-monasca20:00
*** ducttape_ has joined #openstack-monasca20:02
openstackgerritJoe Keen proposed openstack/monasca-common: Restricting kafka-python version  https://review.openstack.org/28150920:17
*** bobh has quit IRC20:31
*** _nadya_ has quit IRC20:32
*** krotscheck is now known as krotscheck_dcm20:34
*** ddieterly has quit IRC20:51
openstackgerritMichal Zielonka proposed openstack/monasca-api: ORM (sqlalchemy) implementation for python  https://review.openstack.org/26692220:52
*** ddieterly has joined #openstack-monasca20:52
*** ddieterly has quit IRC20:56
*** ddieterly has joined #openstack-monasca21:15
*** ukaynar has joined #openstack-monasca21:22
*** bobh has joined #openstack-monasca21:34
*** ashleighfarnham has joined #openstack-monasca21:40
*** bobh has quit IRC21:40
*** ukaynar has quit IRC21:43
*** slogan_r has joined #openstack-monasca21:57
slogan_rI'm trying to debug some issue with monasca API and could use some eyeballs/suggestions21:59
slogan_rI send the following using the Python API:21:59
*** zhill_afk has joined #openstack-monasca21:59
slogan_rx = {"timestamp": 1455495304000.0, "name": "broadview.bst.device", "value": 46, "dimensions": {"asic-id": "20"}}21:59
*** zhill_afk is now known as zhill22:00
slogan_rclient.metrics.create(**x)22:00
slogan_rIn wireshark, I see the following:22:00
slogan_r[{"timestamp": 1455745645167.45, "dimensions": {"hostname": "a97ae760287f", "component": "monasca-agent", "service": "monitoring"}, "name": "monasca.emit_time_sec", "value": 0.4220290184020996, "value_meta": null}]22:00
slogan_rmonasca returns a 500 code:22:00
slogan_r{"server_error":{"code":500,"message":"An internal server error occurred","details":"","internal_code":"67ed11032aeb0c1b"}}22:00
rbrndtYou're using the python client, which Rest API are you using?22:01
slogan_rrequests22:01
slogan_rwait22:01
slogan_rsorry22:01
slogan_rself._endpoint = 'http://localhost:8080/v2.0'         self._api_version = "2_0"         self._auth_kwargs = {'username': 'mini-mon',                              'password': 'password',                              'project_name': 'mini-mon',                              'auth_url': 'http://localhost:35357/v3/'}         self._monasca_client = client.Client(self._api_version, \22:02
rbrndtok, so you're using the mini-non environment, that is java by default22:02
rbrndtDo you have any errors from the API log in /etc/monasca/api/monasca-api.log?22:02
slogan_rbut I have my own code in python that is able to import the python client API no problem, all that was there already22:03
slogan_rlet me look at the logs, hold on...22:03
rbrndtsorry, typing too fast /var/log/monasca/api/monasca-api.log22:04
rbrndtnot etc22:04
slogan_ryep, a find / -name ... found it for me22:04
slogan_rlet me run my test with tail -f on that log, hard to see, lots of logs22:05
rbrndtok22:05
slogan_rlooks like a connection refused, is the payload I am seeing basically a part of a sequence of requests that are made when a metric is posted? That could explain why I don't see mine in wireshark.22:08
slogan_r! java.net.ConnectException: Connection refused ! at sun.nio.ch.Net.connect0(Native Method) ~[na:1.7.0_79] ! at sun.nio.ch.Net.connect(Net.java:465) ~[na:1.7.0_79] ! at sun.nio.ch.Net.connect(Net.java:457) ~[na:1.7.0_79] ! at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670) ~[na:1.7.0_79] ! at kafka.network.BlockingChannel.connect(BlockingChannel.scala:57) ~[monasca-api.jar:monasca-api-1.1.0-SNAPSHOT-2015-22:08
openstackslogan_r: Error: Missing "]".  You may want to quote your arguments with double quotes in order to prevent extra brackets from being evaluated as nested commands.22:08
slogan_r:-P22:09
rbrndtThere are metrics for the agent itself, like 'monasca.emit_time_sec'22:10
rbrndtDid you see your metric with wireshark?22:10
slogan_rjust a sec22:11
slogan_roh, yep I see it. {"timestamp": 1455495304000.0, "name": "broadview.bst.device", "value": 46, "dimensions": {"asic-id": "20"}} response is {"server_error":{"code":500,"message":"An internal server error occurred","details":"","internal_code":"b6ebba0841790566"}}22:12
slogan_rsame basic error response22:12
rbrndtok, just want to confirm it was sent22:13
rbrndtSo, that error is a bit general, so I'm not sure exactly what is happening in your setup.22:13
rbrndtHow recent did you build mini-non?22:13
rbrndt*mini-mon22:14
slogan_rI have a the docker monasca demo image - I just now went to /setup to see if there is a way to restart everything22:14
slogan_ropenstack is definitely running22:14
rbrndtAh, that image may be a bit out of date22:15
slogan_rperhaps I can use monasca client to verify?22:15
rbrndtI was just curious, as a lot of these demo environments are not great at running long term22:16
slogan_ryeah, my disk sorta filled up22:16
rbrndtThe Rest API does try to contact keystone, mysql, and influx so if any of those are down it could get a connection refused22:16
slogan_rI guess I can try restarting it...22:17
rbrndtworth a shot22:17
slogan_rnod22:17
*** ybathia has joined #openstack-monasca22:17
slogan_rhoping it works, having this docker image is very convenient - I recall back when I was working on Neutron things in grizzly timeframe how difficult it was to get a cluster up and running22:18
*** rhochmuth has joined #openstack-monasca22:19
slogan_rdevstack was a big help, but still was a struggle22:19
* slogan_r waves to rhochmuth22:19
rbrndtmonasca is generally pretty good about running in devstack, I do a lot of testing in there22:19
slogan_ryep, maybe I should try it, but going to see if this docker approach works first,,,22:20
slogan_rs/,,,/.../22:20
slogan_rI have a service publishing to Monasca if I could just see it work :-)22:20
*** leitan_ has quit IRC22:21
*** ddieterly has quit IRC22:24
*** ddieterly has joined #openstack-monasca22:27
*** diogogmt has joined #openstack-monasca22:28
*** ybathia has quit IRC22:31
*** zhill has quit IRC22:37
*** bobh has joined #openstack-monasca22:37
*** bobh has quit IRC22:41
*** ybathia has joined #openstack-monasca22:44
*** diogogmt has quit IRC22:54
*** diogogmt has joined #openstack-monasca22:54
*** zhill has joined #openstack-monasca22:58
*** diogogmt has quit IRC22:59
slogan_rrbrndt: given these alternatives: https://github.com/openstack/monasca-vagrant, the monasca docker container, or perhaps a pulling devstack and pairing with a suitable localrc, what is recommended for developers wishing to create something that publishes to monasca?23:02
slogan_rOr maybe there is something else?23:02
rbrndtsorry, stepped away for a moment. The option I use is the vagrant-devstack located in the monasca-api repository23:03
slogan_rrbrndt: no problem! So, follow these instructions? https://github.com/openstack/monasca-api/tree/master/devstack23:04
slogan_rer, the readme.txt23:05
rbrndtyes, though its really as simple as clone, cd into monasca-api/devstack and run vagrant up23:05
rbrndtit will default to the python implementations when there is more than on option23:05
rbrndts/on/one/23:05
slogan_rcool23:05
slogan_rand this mini-mon user I don't expect will exist, or will it?23:06
rbrndtIt will exist23:06
slogan_roooo, cool23:06
rbrndtbut you can also use the demo user for everything23:06
slogan_rsame demo as devstack creates I guess, ok23:07
rbrndtthough if i remember correctly the agent submits all the metrics as the mini-non user...23:07
slogan_rI'd keep going with the docker image, but (I'm new to docker) can't seem to reboot, and doesn't seem to have a tool lick unstack.sh to restart everything)23:09
slogan_rs/lick/like/23:09
rbrndtI've never used the docker container, so I can't help much there :/23:09
slogan_rno problem. I've never used vagrant LOL23:10
*** zhill has quit IRC23:28
*** ddieterly has quit IRC23:28
*** kse has joined #openstack-monasca23:28
*** ducttape_ has quit IRC23:36
*** rbrndt has quit IRC23:53
*** ybathia has quit IRC23:55

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