*** ho_ has joined #openstack-monasca | 00:00 | |
*** rbrndt_ has quit IRC | 00:04 | |
*** dschroeder has quit IRC | 00:17 | |
*** rbak has quit IRC | 00:17 | |
openstackgerrit | Jesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi https://review.openstack.org/279244 | 00:30 |
---|---|---|
*** zhill has quit IRC | 00:40 | |
openstackgerrit | Merged openstack/monasca-api: devstack install fails at monasca-api https://review.openstack.org/260287 | 01:03 |
*** ducttape_ has joined #openstack-monasca | 01:16 | |
*** ducttape_ has quit IRC | 01:25 | |
*** ducttape_ has joined #openstack-monasca | 01:26 | |
*** ducttape_ has quit IRC | 01:30 | |
*** ekarlso has quit IRC | 01:30 | |
*** ljxiash has joined #openstack-monasca | 01:39 | |
*** ljxiash has quit IRC | 01:40 | |
*** ljxiash has joined #openstack-monasca | 01:40 | |
*** ekarlso has joined #openstack-monasca | 01:45 | |
*** ducttape_ has joined #openstack-monasca | 02:23 | |
*** kse has joined #openstack-monasca | 02:39 | |
*** leitan_ has joined #openstack-monasca | 02:42 | |
*** ducttape_ has quit IRC | 02:52 | |
*** leitan_ has quit IRC | 02:59 | |
*** ducttape_ has joined #openstack-monasca | 03:15 | |
*** ljxiash has quit IRC | 03:28 | |
*** ljxiash has joined #openstack-monasca | 03:28 | |
*** ljxiash has quit IRC | 03:32 | |
*** rbak has joined #openstack-monasca | 03:48 | |
*** ljxiash has joined #openstack-monasca | 04:12 | |
*** ljxiash has quit IRC | 04:13 | |
*** ducttape_ has quit IRC | 04:30 | |
*** ducttape_ has joined #openstack-monasca | 04:33 | |
*** ducttape_ has quit IRC | 04:42 | |
*** ducttape_ has joined #openstack-monasca | 04:45 | |
*** ducttape_ has quit IRC | 04:52 | |
*** ljxiash has joined #openstack-monasca | 05:01 | |
*** rbak has quit IRC | 05:23 | |
openstackgerrit | Pradeep Kumar proposed openstack/monasca-agent: Adds Ceph RADOS Gateway monitoring to ceph plugin https://review.openstack.org/280171 | 05:49 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/monasca-ui: Imported Translations from Zanata https://review.openstack.org/278881 | 06:26 |
*** _nadya_ has quit IRC | 06:27 | |
*** _nadya_ has joined #openstack-monasca | 06:28 | |
*** _nadya_ has quit IRC | 06:32 | |
*** _nadya_ has joined #openstack-monasca | 06: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-monasca | 06:50 | |
*** zhill has left #openstack-monasca | 06:50 | |
*** _nadya_ has quit IRC | 07:29 | |
*** pcaruana has joined #openstack-monasca | 08:42 | |
*** kei_yama has quit IRC | 08:52 | |
*** ho_ has quit IRC | 08:58 | |
openstackgerrit | Michal Zielonka proposed openstack/monasca-api: Add new test for sort_by option https://review.openstack.org/280191 | 09:05 |
*** efoley has joined #openstack-monasca | 09:08 | |
*** _nadya_ has joined #openstack-monasca | 09:14 | |
*** kse has quit IRC | 09:34 | |
*** szaher_ has quit IRC | 09:37 | |
*** pasquier-s has quit IRC | 09:52 | |
*** elemoine_ has quit IRC | 09:52 | |
*** davidmichaelkarr has quit IRC | 09:52 | |
*** pasquier-s has joined #openstack-monasca | 09:53 | |
*** davidmichaelkarr has joined #openstack-monasca | 10:00 | |
*** elemoine_ has joined #openstack-monasca | 10:01 | |
*** johnthetubaguy has quit IRC | 10:03 | |
*** johnthetubaguy has joined #openstack-monasca | 10:05 | |
*** stackedsax has quit IRC | 10:10 | |
*** stackedsax has joined #openstack-monasca | 10:13 | |
*** ljxiash has quit IRC | 10:46 | |
*** davidmichaelkarr has quit IRC | 10:49 | |
*** efoley has quit IRC | 10:52 | |
*** ljxiash has joined #openstack-monasca | 10:56 | |
*** davidmichaelkarr has joined #openstack-monasca | 10:57 | |
*** efoley has joined #openstack-monasca | 10:57 | |
*** rudolfvriend has joined #openstack-monasca | 10:58 | |
*** ljxiash has quit IRC | 11:01 | |
*** ameade has quit IRC | 11:04 | |
*** elemoine has quit IRC | 11:04 | |
*** elemoine has joined #openstack-monasca | 11:05 | |
*** ameade has joined #openstack-monasca | 11:11 | |
*** bmotz has quit IRC | 11:39 | |
*** krotscheck has quit IRC | 11:39 | |
*** bmotz has joined #openstack-monasca | 11:40 | |
*** krotscheck has joined #openstack-monasca | 11:42 | |
*** stackedsax has quit IRC | 11:50 | |
*** _nadya_ has quit IRC | 11:50 | |
*** _nadya_ has joined #openstack-monasca | 11:50 | |
*** stackedsax has joined #openstack-monasca | 11:50 | |
*** openstack has joined #openstack-monasca | 12:04 | |
*** htruta has joined #openstack-monasca | 12:06 | |
*** rudolfvriend has quit IRC | 12:24 | |
*** elemoine_ has quit IRC | 12:24 | |
*** dragondm has quit IRC | 12:24 | |
*** rudolfvriend has joined #openstack-monasca | 12:25 | |
*** dragondm has joined #openstack-monasca | 12:25 | |
*** openstackgerrit_ has quit IRC | 12:32 | |
*** openstackgerrit has quit IRC | 12:32 | |
*** openstackgerrit has joined #openstack-monasca | 12:34 | |
*** openstackgerrit_ has joined #openstack-monasca | 12:34 | |
*** efoley has quit IRC | 12:35 | |
*** elemoine_ has joined #openstack-monasca | 12:42 | |
*** efoley has joined #openstack-monasca | 13:00 | |
*** efoley_ has joined #openstack-monasca | 13:03 | |
*** efoley has quit IRC | 13:03 | |
*** ducttape_ has joined #openstack-monasca | 13:11 | |
*** leitan_ has joined #openstack-monasca | 13:13 | |
openstackgerrit | Michal Zielonka proposed openstack/monasca-api: ORM (sqlalchemy) implementation for python https://review.openstack.org/266922 | 13:25 |
*** ducttape_ has quit IRC | 13:27 | |
*** dhellmann has quit IRC | 13:44 | |
*** dhellmann has joined #openstack-monasca | 13:47 | |
*** efoley_ has quit IRC | 14:00 | |
*** ljxiash has joined #openstack-monasca | 14:01 | |
*** efoley_ has joined #openstack-monasca | 14:03 | |
openstackgerrit | Merged openstack/monasca-common: Use SimpleDateFormat in thread safe construct https://review.openstack.org/280033 | 14:04 |
*** elemoine_ has quit IRC | 14:33 | |
*** elemoine_ has joined #openstack-monasca | 14:37 | |
*** rbrndt has joined #openstack-monasca | 14:43 | |
*** ducttape_ has joined #openstack-monasca | 14:50 | |
*** rhochmuth has joined #openstack-monasca | 14:53 | |
*** rbak has joined #openstack-monasca | 14:53 | |
*** pradipm has joined #openstack-monasca | 14:57 | |
*** bklei has joined #openstack-monasca | 14:57 | |
*** ddieterly has joined #openstack-monasca | 15:01 | |
*** dhellmann has quit IRC | 15:05 | |
*** dhellmann has joined #openstack-monasca | 15:05 | |
openstackgerrit | Jesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi https://review.openstack.org/279244 | 15:35 |
*** rbak has quit IRC | 15:45 | |
*** efoley_ has quit IRC | 15:52 | |
*** efoley_ has joined #openstack-monasca | 15:55 | |
*** ljxiash has quit IRC | 15:55 | |
*** ljxiash has joined #openstack-monasca | 15:57 | |
*** rbak has joined #openstack-monasca | 15:57 | |
*** bmotz_ has joined #openstack-monasca | 16:01 | |
*** pradipm has left #openstack-monasca | 16:01 | |
*** dschroeder has joined #openstack-monasca | 16:03 | |
*** bmotz has quit IRC | 16:04 | |
*** MVenesio has joined #openstack-monasca | 16:10 | |
*** efoley_ has quit IRC | 16:10 | |
*** _nadya_ has quit IRC | 16:10 | |
*** efoley_ has joined #openstack-monasca | 16:11 | |
*** pcaruana has quit IRC | 16:35 | |
*** bklei has quit IRC | 16:39 | |
*** MVenesio has quit IRC | 16:53 | |
*** MVenesio_ has joined #openstack-monasca | 16:53 | |
*** ljxiash has quit IRC | 16:56 | |
*** ashleighfarnham has joined #openstack-monasca | 17:01 | |
*** ljxiash has joined #openstack-monasca | 17:03 | |
*** bobh has joined #openstack-monasca | 17:12 | |
*** ljxiash has quit IRC | 17:12 | |
*** ljxiash has joined #openstack-monasca | 17:14 | |
*** ddieterly has quit IRC | 17:15 | |
*** ddieterly has joined #openstack-monasca | 17:29 | |
*** zhill has joined #openstack-monasca | 17:30 | |
*** rbak has quit IRC | 17:31 | |
*** dragondm has quit IRC | 17:33 | |
*** ljxiash has quit IRC | 17:33 | |
*** davidmichaelkarr has quit IRC | 17:34 | |
*** ameade has quit IRC | 17:34 | |
*** rudolfvriend has quit IRC | 17:34 | |
*** rbak has joined #openstack-monasca | 17:35 | |
*** elemoine_ has quit IRC | 17:35 | |
*** davidmichaelkarr has joined #openstack-monasca | 17:40 | |
*** dragondm has joined #openstack-monasca | 17:40 | |
*** ameade has joined #openstack-monasca | 17:41 | |
*** elemoine_ has joined #openstack-monasca | 17:42 | |
*** _nadya_ has joined #openstack-monasca | 17:47 | |
*** _nadya_ has quit IRC | 17:48 | |
*** efoley_ has quit IRC | 17:59 | |
*** _nadya_ has joined #openstack-monasca | 18:00 | |
*** craigbr has joined #openstack-monasca | 18:07 | |
openstackgerrit | Jesse Olsen proposed openstack/monasca-log-api: Add support for Apache mod_wsgi https://review.openstack.org/279244 | 18:11 |
*** _nadya_ has quit IRC | 18:13 | |
openstackgerrit | Craig Bryant proposed openstack/monasca-api: Use SimpleDateFormat in thread safe manner https://review.openstack.org/281458 | 18:29 |
*** craigbr has quit IRC | 18:32 | |
*** bobh has quit IRC | 18:40 | |
*** zhill is now known as zhill_afk | 18:46 | |
*** zhill_afk has quit IRC | 18:46 | |
openstackgerrit | Merged openstack/python-monascaclient: Allow filtering by severity https://review.openstack.org/275357 | 18:57 |
*** bobh has joined #openstack-monasca | 19:00 | |
*** _nadya_ has joined #openstack-monasca | 19:05 | |
openstackgerrit | Merged openstack/monasca-api: Correct hibernate query for alarm definitions https://review.openstack.org/280743 | 19:05 |
*** rhochmuth has quit IRC | 19:06 | |
*** _nadya_ has quit IRC | 19:20 | |
openstackgerrit | Merged openstack/monasca-api: Allow filtering alarms by severity https://review.openstack.org/274275 | 19:28 |
*** ddieterly has quit IRC | 19:37 | |
*** ducttape_ has quit IRC | 19:42 | |
*** ddieterly has joined #openstack-monasca | 19:46 | |
*** ashleighfarnham has quit IRC | 19:53 | |
*** MVenesio_ has quit IRC | 19:59 | |
*** _nadya_ has joined #openstack-monasca | 20:00 | |
*** ducttape_ has joined #openstack-monasca | 20:02 | |
openstackgerrit | Joe Keen proposed openstack/monasca-common: Restricting kafka-python version https://review.openstack.org/281509 | 20:17 |
*** bobh has quit IRC | 20:31 | |
*** _nadya_ has quit IRC | 20:32 | |
*** krotscheck is now known as krotscheck_dcm | 20:34 | |
*** ddieterly has quit IRC | 20:51 | |
openstackgerrit | Michal Zielonka proposed openstack/monasca-api: ORM (sqlalchemy) implementation for python https://review.openstack.org/266922 | 20:52 |
*** ddieterly has joined #openstack-monasca | 20:52 | |
*** ddieterly has quit IRC | 20:56 | |
*** ddieterly has joined #openstack-monasca | 21:15 | |
*** ukaynar has joined #openstack-monasca | 21:22 | |
*** bobh has joined #openstack-monasca | 21:34 | |
*** ashleighfarnham has joined #openstack-monasca | 21:40 | |
*** bobh has quit IRC | 21:40 | |
*** ukaynar has quit IRC | 21:43 | |
*** slogan_r has joined #openstack-monasca | 21:57 | |
slogan_r | I'm trying to debug some issue with monasca API and could use some eyeballs/suggestions | 21:59 |
slogan_r | I send the following using the Python API: | 21:59 |
*** zhill_afk has joined #openstack-monasca | 21:59 | |
slogan_r | x = {"timestamp": 1455495304000.0, "name": "broadview.bst.device", "value": 46, "dimensions": {"asic-id": "20"}} | 21:59 |
*** zhill_afk is now known as zhill | 22:00 | |
slogan_r | client.metrics.create(**x) | 22:00 |
slogan_r | In 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_r | monasca returns a 500 code: | 22:00 |
slogan_r | {"server_error":{"code":500,"message":"An internal server error occurred","details":"","internal_code":"67ed11032aeb0c1b"}} | 22:00 |
rbrndt | You're using the python client, which Rest API are you using? | 22:01 |
slogan_r | requests | 22:01 |
slogan_r | wait | 22:01 |
slogan_r | sorry | 22:01 |
slogan_r | self._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 |
rbrndt | ok, so you're using the mini-non environment, that is java by default | 22:02 |
rbrndt | Do you have any errors from the API log in /etc/monasca/api/monasca-api.log? | 22:02 |
slogan_r | but I have my own code in python that is able to import the python client API no problem, all that was there already | 22:03 |
slogan_r | let me look at the logs, hold on... | 22:03 |
rbrndt | sorry, typing too fast /var/log/monasca/api/monasca-api.log | 22:04 |
rbrndt | not etc | 22:04 |
slogan_r | yep, a find / -name ... found it for me | 22:04 |
slogan_r | let me run my test with tail -f on that log, hard to see, lots of logs | 22:05 |
rbrndt | ok | 22:05 |
slogan_r | looks 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 |
openstack | slogan_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 | :-P | 22:09 |
rbrndt | There are metrics for the agent itself, like 'monasca.emit_time_sec' | 22:10 |
rbrndt | Did you see your metric with wireshark? | 22:10 |
slogan_r | just a sec | 22:11 |
slogan_r | oh, 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_r | same basic error response | 22:12 |
rbrndt | ok, just want to confirm it was sent | 22:13 |
rbrndt | So, that error is a bit general, so I'm not sure exactly what is happening in your setup. | 22:13 |
rbrndt | How recent did you build mini-non? | 22:13 |
rbrndt | *mini-mon | 22:14 |
slogan_r | I have a the docker monasca demo image - I just now went to /setup to see if there is a way to restart everything | 22:14 |
slogan_r | openstack is definitely running | 22:14 |
rbrndt | Ah, that image may be a bit out of date | 22:15 |
slogan_r | perhaps I can use monasca client to verify? | 22:15 |
rbrndt | I was just curious, as a lot of these demo environments are not great at running long term | 22:16 |
slogan_r | yeah, my disk sorta filled up | 22:16 |
rbrndt | The Rest API does try to contact keystone, mysql, and influx so if any of those are down it could get a connection refused | 22:16 |
slogan_r | I guess I can try restarting it... | 22:17 |
rbrndt | worth a shot | 22:17 |
slogan_r | nod | 22:17 |
*** ybathia has joined #openstack-monasca | 22:17 | |
slogan_r | hoping 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 running | 22:18 |
*** rhochmuth has joined #openstack-monasca | 22:19 | |
slogan_r | devstack was a big help, but still was a struggle | 22:19 |
* slogan_r waves to rhochmuth | 22:19 | |
rbrndt | monasca is generally pretty good about running in devstack, I do a lot of testing in there | 22:19 |
slogan_r | yep, maybe I should try it, but going to see if this docker approach works first,,, | 22:20 |
slogan_r | s/,,,/.../ | 22:20 |
slogan_r | I have a service publishing to Monasca if I could just see it work :-) | 22:20 |
*** leitan_ has quit IRC | 22:21 | |
*** ddieterly has quit IRC | 22:24 | |
*** ddieterly has joined #openstack-monasca | 22:27 | |
*** diogogmt has joined #openstack-monasca | 22:28 | |
*** ybathia has quit IRC | 22:31 | |
*** zhill has quit IRC | 22:37 | |
*** bobh has joined #openstack-monasca | 22:37 | |
*** bobh has quit IRC | 22:41 | |
*** ybathia has joined #openstack-monasca | 22:44 | |
*** diogogmt has quit IRC | 22:54 | |
*** diogogmt has joined #openstack-monasca | 22:54 | |
*** zhill has joined #openstack-monasca | 22:58 | |
*** diogogmt has quit IRC | 22:59 | |
slogan_r | rbrndt: 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_r | Or maybe there is something else? | 23:02 |
rbrndt | sorry, stepped away for a moment. The option I use is the vagrant-devstack located in the monasca-api repository | 23:03 |
slogan_r | rbrndt: no problem! So, follow these instructions? https://github.com/openstack/monasca-api/tree/master/devstack | 23:04 |
slogan_r | er, the readme.txt | 23:05 |
rbrndt | yes, though its really as simple as clone, cd into monasca-api/devstack and run vagrant up | 23:05 |
rbrndt | it will default to the python implementations when there is more than on option | 23:05 |
rbrndt | s/on/one/ | 23:05 |
slogan_r | cool | 23:05 |
slogan_r | and this mini-mon user I don't expect will exist, or will it? | 23:06 |
rbrndt | It will exist | 23:06 |
slogan_r | oooo, cool | 23:06 |
rbrndt | but you can also use the demo user for everything | 23:06 |
slogan_r | same demo as devstack creates I guess, ok | 23:07 |
rbrndt | though if i remember correctly the agent submits all the metrics as the mini-non user... | 23:07 |
slogan_r | I'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_r | s/lick/like/ | 23:09 |
rbrndt | I've never used the docker container, so I can't help much there :/ | 23:09 |
slogan_r | no problem. I've never used vagrant LOL | 23:10 |
*** zhill has quit IRC | 23:28 | |
*** ddieterly has quit IRC | 23:28 | |
*** kse has joined #openstack-monasca | 23:28 | |
*** ducttape_ has quit IRC | 23:36 | |
*** rbrndt has quit IRC | 23:53 | |
*** ybathia has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!