Thursday, 2015-01-29

openstackgerritBradley Klein proposed stackforge/monasca-persister: Add support for influxdb 0.9.0  https://review.openstack.org/15105000:02
*** dschroeder has quit IRC00:02
*** rbak has quit IRC00:04
openstackgerritTim Kuhlman proposed stackforge/monasca-agent: Changed it so you have to explicitly choose the detailed process metrics.  https://review.openstack.org/15105300:17
*** ericpeterson has quit IRC00:18
*** ddieterly has quit IRC00:20
*** openstackgerrit has quit IRC00:21
*** openstackgerrit has joined #openstack-monasca00:21
*** dlfryar has quit IRC00:33
*** rbak has joined #openstack-monasca00:34
*** dlfryar has joined #openstack-monasca00:40
*** rbak has quit IRC00:43
*** craigbr has quit IRC00:44
*** rbak has joined #openstack-monasca00:55
*** openstackgerrit has quit IRC01:05
*** openstackgerrit has joined #openstack-monasca01:05
*** craigbr has joined #openstack-monasca01:07
*** garyh_ has quit IRC01:07
*** rbak has quit IRC01:09
*** amalagon_ has quit IRC01:19
*** dlfryar has quit IRC01:28
*** craigbr has quit IRC01:52
*** craigbr has joined #openstack-monasca01:54
*** amalagon has joined #openstack-monasca02:06
*** craigbr has quit IRC02:16
*** theresa_ has joined #openstack-monasca02:20
*** openstackgerrit has quit IRC02:20
*** openstackgerrit has joined #openstack-monasca02:21
*** th_ has joined #openstack-monasca02:23
*** theresa_ has quit IRC02:27
*** rbak has joined #openstack-monasca02:58
*** rbak has quit IRC03:12
*** openstackgerrit has quit IRC03:20
*** openstackgerrit has joined #openstack-monasca03:20
*** boris-42 has quit IRC04:13
*** amalagon has quit IRC04:30
*** sanjayu has joined #openstack-monasca05:01
*** sanjayu_ has joined #openstack-monasca05:04
*** sanjayu_ has quit IRC05:06
*** sanjayu_ has joined #openstack-monasca05:06
*** th_ has quit IRC05:20
*** dlfryar has joined #openstack-monasca05:40
*** dlfryar has quit IRC05:46
*** sanjayu__ has joined #openstack-monasca07:05
*** Miouge has joined #openstack-monasca07:11
*** Miouge has quit IRC07:12
*** Miouge has joined #openstack-monasca07:48
*** Miouge has quit IRC07:54
*** Miouge has joined #openstack-monasca08:05
*** Miouge has quit IRC08:26
*** Miouge has joined #openstack-monasca08:38
*** Miouge has quit IRC09:05
*** Miouge has joined #openstack-monasca09:45
*** Miouge has quit IRC10:12
*** Miouge has joined #openstack-monasca11:08
*** Miouge has quit IRC11:43
*** eglynn-officeafk is now known as eglynn-lunch12:15
*** Miouge has joined #openstack-monasca12:16
*** Miouge has quit IRC13:09
*** Miouge has joined #openstack-monasca13:12
*** eglynn-lunch is now known as eglynn-office13:17
*** Miouge has quit IRC13:20
*** Miouge has joined #openstack-monasca13:23
*** boris-42 has joined #openstack-monasca13:31
sandywalsh_http://svds.com/post/avoiding-common-mistake-time-series13:32
*** rbak has joined #openstack-monasca13:32
*** Miouge has quit IRC13:36
*** eglynn-office is now known as eglynn-officeafk13:40
*** rbak has quit IRC13:41
*** Miouge has joined #openstack-monasca13:55
*** rbak has joined #openstack-monasca14:00
*** LeanReox has joined #openstack-monasca14:13
*** rbak has quit IRC14:16
*** MVenesio has joined #openstack-monasca14:20
*** sanjayu__ has quit IRC14:37
*** sanjayu_ has quit IRC14:38
*** sanjayu has quit IRC14:42
*** rbak has joined #openstack-monasca14:52
*** ddieterly has joined #openstack-monasca14:57
*** ericpeterson has joined #openstack-monasca15:01
*** rbak has quit IRC15:02
*** craigbr has joined #openstack-monasca15:16
*** rbak has joined #openstack-monasca15:16
LeanReoxcraigbr, morning, i did an awesome finding yesterday15:28
craigbrLeanReox: That would be great as I have no idea of what is happening15:28
LeanReoxcraigbr, i discover that only the networking metrics are getting posted ok15:31
LeanReoxand the disk are getting 42215:31
craigbrInteresting. Do you have a tcpdump or something of what the disk metrics look like?15:31
LeanReoxill do it right away15:33
MVenesiocraigbr: Hello craigbr, do you know how can i add regular expressions to match specific dimensions rules ?15:35
craigbrMvenesio: Where would you like to use the regular expressions?15:36
LeanReoxcraigbr, http://pastebin.com/UbU4Y6UW15:36
MVenesiocraigbr: in the API call to monasca-api when i try to get metrics from a group of compute nodes for example15:37
MVenesiocraigbr: for example i need to pass dimension hostname=os-nova-compute02 and hostname=os-nova-compute0315:37
MVenesiocraigbr: i can use hostname=os-nova-compute.* to get all hostnames but i cant select a subgroup15:38
craigbrCurrently there is no regular expressions for the metric or measurement list. Do they share a service dimension?15:39
MVenesiocraigbr: yes the service is monasca for all the compute nodes by default15:39
MVenesiocraigbr: but we are coding a monitoring dashboard and we need to filter for a specific group of computes15:40
craigbrToday, you would have to make separate API calls. We don't implement something like hostname=os-nova-compute0[23]15:41
MVenesiocraigbr: mmmm ok, and why this is working hostname=os-nova-compute.*15:42
MVenesiocraigbr: with that call you get all the hosts15:42
craigbrI'm honestly not sure. I'm bringing up my monasca-vagrant now to check15:42
*** dlfryar has joined #openstack-monasca15:43
MVenesiocraigbr: okk no problem, if you have any news please tell me15:43
craigbrMVenesio: Will do. Will just take some time for investigation15:44
*** garyh has joined #openstack-monasca15:48
craigbrMVenesio: hostname=os-nova-compute.* works for you because you are probably using a slightly older version of the API. There was a bug where the dimension names and values were matching as "startsWith" not "equals"15:53
craigbrI bet that hostname=os-nova-compute works just as well. Can you try that?15:54
*** craigbr has quit IRC15:57
*** krtaylor has quit IRC16:08
*** craigbr has joined #openstack-monasca16:09
LeanReoxcraigbr, did you get a chance to see the post ?16:13
craigbrLeanReox: Sorry, missed it with the other conversation. Looking at it now16:13
LeanReoxcraigbr, great16:13
LeanReoxcraigbr, ive tried the call that MVenesio said, and hostname=os-nova-compute doestn bring anything, but hostname=os-nova-compute.* does16:15
LeanReoxcraigbr, just to clarify that one16:15
craigbrInteresting. I'll have to go back to the old code and check16:15
*** amalagon has joined #openstack-monasca16:16
*** krtaylor has joined #openstack-monasca16:22
craigbrLeanReox: I can successfully create that metric on my system. What version of the API are you using?16:22
craigbrdpkg -i | grep monasca-api16:22
*** dschroeder has joined #openstack-monasca16:25
*** subscope has quit IRC16:26
*** MVenesio has quit IRC16:31
*** MVenesio has joined #openstack-monasca16:31
*** LeanReox has quit IRC16:32
*** LeanReox has joined #openstack-monasca16:33
LeanReoxcraigbr, ii  monasca-api                      0.1.0-1421267729582-476e21          all          Monasca-API16:35
*** craigbr has quit IRC16:35
*** LeanReox has quit IRC16:35
*** LeanReox has joined #openstack-monasca16:36
*** craigbr has joined #openstack-monasca16:50
LeanReoxcraigbr,16:51
LeanReoxfinally find it !!!16:51
craigbrLeanReox: Cool. What was it?16:51
LeanReoxtake a look at this one: http://pastebin.com/40CTaU2v16:51
LeanReoxim running monasca-api                      0.1.0-1421267729582-476e21          all          Monasca-API16:51
craigbrLeanReox: Yes, that colon will cause the 422. It needs to be changed into something else or removed. We probably need to add a clean method to monclient.py16:54
LeanReoxif i change: meta.OS-EXT-AZ:availability_zone to meta.OS-EXT-AZ.availability_zone16:55
LeanReoxa cleanup method that replaces ":" in the value, for a "." should work16:55
craigbrYep. Although it would be good if it handled more than :16:56
LeanReoxill work on that and let you know16:57
craigbrThe only thing that confuses me is why this wasn't being logged in your /var/log/monasca/monasca-api.log. I just tried that dimension and I see this error message:16:58
craigbrERROR [2015-01-29 16:57:36,829] monasca.api.resource.exception.Exceptions: UNPROCESSABLE_ENTITY 181fa42d8a989867 - Dimension name meta.OS-EXT-AZ:availability_zone may only contain: a-z A-Z 0-9 _ - .16:58
LeanReoxyes thats weird, i have the monasca log on debug16:59
*** krtaylor has quit IRC17:03
*** craigbr has quit IRC17:03
*** krtaylor has joined #openstack-monasca17:05
*** ddieterly has quit IRC17:08
*** ddieterly has joined #openstack-monasca17:09
*** theresa_ has joined #openstack-monasca17:24
*** craigbr has joined #openstack-monasca17:26
*** MVenesio has quit IRC17:29
*** MVenesio has joined #openstack-monasca17:29
openstackgerritHenrique Truta proposed stackforge/monasca-api: Integrating monasca-api with keystonemiddleware  https://review.openstack.org/15132517:29
craigbrMVenesio: Figured it out. The reason .* works is because of how the metrics are stored and looked up in influxdb. A regular expression is used to find the metrics.17:30
craigbrHowever the metric name and dimensions are URL encoded so not all regular expressions pass through17:31
MVenesiocraigbr: ohhh well17:31
MVenesiocraigbr:so maybe there are some influxdb expression to use and get a group of servers17:33
craigbrinfluxdb supports standard regular expressions17:34
LeanReoxcraigbr, var = "meta.OS-EXT-AZ:availability_zone"  => re.sub('[^A-Za-z0-9-.]+', '.', var) => 'meta.OS-EXT-AZ.availability.zone'17:34
LeanReoxcraigbr, how about that ? getting replaced by "."17:34
craigbrLeanReox: Looks good to me17:34
htrutaddieterly: am I the only one who's having these pep8 issues ? http://logs.openstack.org/25/151325/1/check/gate-monasca-api-pep8/8014200/console.html17:37
*** MVenesio has quit IRC17:41
*** MVenesio has joined #openstack-monasca17:42
*** krtaylor has quit IRC17:51
*** MVenesio has quit IRC17:55
*** MVenesio_ has joined #openstack-monasca17:55
*** krtaylor has joined #openstack-monasca18:04
*** craigbr has quit IRC18:30
*** craigbr has joined #openstack-monasca18:35
ddieterlyhtruta: have you tried a 'git pull' recently?18:37
ddieterlyhtruta: sometimes the errors are dormant until someone refactors the code. then they get detected. you need to make the necessary changes to make it pass the pep8 checks.18:38
htrutayeah... I clonned the fresh monasca-api and applied my changes in this patch18:38
*** krtaylor has quit IRC18:43
htrutaddieterly: actually, I already did in this patch: https://review.openstack.org/#/c/148676/18:47
*** openstackgerrit has quit IRC18:50
*** openstackgerrit has joined #openstack-monasca18:51
ddieterlyhtruta: did you get all the problems fixed?18:51
ddieterlyhtruta: if the pep8 checker is complaining about imports, it should be easy to fix the problems18:51
htrutaddieterly: I think I did... Jenkins is not complaining in this patch I sent18:52
htrutabtw you +1 it18:52
ddieterlyoh, your patch did not get merged18:52
ddieterlyhang on18:52
ddieterly+218:53
ddieterlyshould get merged shortly18:53
htrutacool.18:54
*** krtaylor has joined #openstack-monasca18:54
craigbrLeanReox: Take a look at https://review.openstack.org/15134518:59
craigbrI used the regular expression from the actual check in the API18:59
openstackgerritMerged stackforge/monasca-api: Removing imports of classes instead of modules  https://review.openstack.org/14867618:59
LeanReoxcraigbr, lets see18:59
LeanReoxcraigbr, awesome looks really good to me19:01
craigbrHope so. Its almost all your code :)19:01
LeanReoxcraigbr, :) , ill register on the gerrit stuff to not bother you anymore with this changes :)19:02
htrutaddieterly: looks like 'recheck' is not working. should I send another patch to make jenkins run again?19:03
craigbrLeanReox: I get notified about all changes so I'll see it but we'll be happy to have your help19:03
LeanReoxin the meantime, its a normal behavior that monasca-api returns a error 500 if you ask for a time period that has data in the middle but not in the very beginning ?19:03
LeanReoxcraigbr, great ill help as much as i can19:04
*** dlfryar has quit IRC19:04
craigbrMonasca-api should never return a 500. What is the stack trace from monasca-api.log?19:05
htrutaddieterly: nevermind. it worked. Jenkins +1'd.19:07
LeanReoxcraigbr, let me check19:11
LeanReoxhmmm seems that im hitting the influxdb master on the cluster (i have an ifluxdb cluster with 3 members)19:16
LeanReoxcraigbr, and it seems that hitting the master makes imposible to list series from a shard that lives on other node19:16
LeanReoxthe stacktrace is like this ! java.lang.RuntimeException: No servers up to query shard 219:16
LeanReoxcraigbr, full stacktrace -> http://pastebin.com/dtfn1dcH19:18
craigbrLeanReox: I'll need to get somebody who knows influxdb on19:18
LeanReoxthat will be great19:18
LeanReoxit seems that til 0.9.0 ... influxdb cluster is pretty inmature19:19
LeanReoxbut could be a bad configuration cfrom my side19:19
craigbrI think that influxdb realizes that. We're going to support 0.9.0 as soon as we can19:19
LeanReoxcraigbr, implementing elasticsearch as the backend still WIP isn it ?19:19
craigbrThat isn't really in plan19:20
*** dlfryar has joined #openstack-monasca19:21
craigbrInfluxdb is a better solution19:22
LeanReoxcraigbr, i misread something then19:22
LeanReoxit seems to take a looot of troughput, but sharding is a must with high volume19:22
LeanReoxand availability of course19:24
LeanReoxcraigbr, let me know when the influxdb yoda jumps in19:25
craigbrYou probably missed: ElasticSearch isn't really in plan. Influxdb is a better solution19:26
craigbrlunch time here, so people are out19:26
LeanReoxcraigbr, yes, but if clustering isnt working like suposed to, a single instance is kinda no-production ready19:27
LeanReoxcraigbr, roger19:27
*** ddieterly has quit IRC19:33
*** ddieterly has joined #openstack-monasca19:34
*** dlfryar has quit IRC19:36
*** dlfryar has joined #openstack-monasca19:43
*** ddieterl_ has joined #openstack-monasca19:51
ddieterl_LeanReox: clustering in influxdb is flaky19:53
ddieterl_we'll be moving to 0.9.0 shortly and we'll look for influxdb clustering improvements19:53
LeanReoxddieterl_, indeed its seems that the replicas across shardings are not working as supposed to19:55
LeanReoxso no matter if i have 3 nodes with replica count on 319:55
LeanReoxthe master still fails to get a series ...19:55
LeanReoxdo you guys benchmarked one influxdb node ? ddieterl_19:56
LeanReoxshould we wait till 0.9.0 for clustering ?19:56
*** ddieterly has quit IRC19:56
ddieterl_LeanReox: i think your questions would be better answered here https://groups.google.com/forum/#!forum/influxdb19:57
LeanReoxroger ddieterl_19:57
ddieterl_LeanReox: we're using 0.8.8 in a cluster and it seems to work for us19:58
LeanReoxok, ddieterl_ how many shards and replicas19:58
htrutaa few months ago, I went into #influxdb here on freenode and asked how I could do a cluster setup, and they answered: DON'T20:00
*** ddieterl_ is now known as ddieterly20:00
htrutathey told me to wait the next release, that may be the 0.9.020:00
ddieterly3 servers, 2 shards20:01
LeanReoxddieterly, ok, and replication factor ?20:01
ddieterlyshared duration is 7 days, retention policy 365 days20:01
ddieterlyrf=320:01
LeanReoxany chance that you can share your config.toml to us ?20:01
LeanReoxand you especify just the master on the monasca api influxdb section isnt it ?20:02
*** openstackgerrit has quit IRC20:04
*** openstackgerrit has joined #openstack-monasca20:04
openstackgerritMerged stackforge/monasca-ui: Remove some old unused code  https://review.openstack.org/15054920:10
ddieterlyLeanReox: https://gist.github.com/ddieterly/3088cbd01b96566d749920:22
LeanReoxthanks ddieterly this will help a lot20:24
LeanReoxill test again with this setup20:24
LeanReoxand let you know20:24
ddieterlyyou're welcome20:24
LeanReoxcause i was getting a lof of No servers up to query shard 2 , and all the servers were up20:25
*** Miouge has quit IRC20:40
openstackgerritRob Raymond proposed stackforge/monasca-ui: Fix filter action logic to allow server side filtering in future  https://review.openstack.org/15137820:44
openstackgerritBradley Klein proposed stackforge/monasca-persister: Working example of influxdb 0.9.0 class  https://review.openstack.org/15138321:12
*** ddieterly has quit IRC21:32
*** MVenesio_ has quit IRC21:45
*** LeanReox has quit IRC21:45
*** theresa_ has quit IRC21:52
*** ddieterly has joined #openstack-monasca22:02
*** theresa_ has joined #openstack-monasca22:08
*** th_ has joined #openstack-monasca22:10
ddieterlyhtruta: did you run the code in https://review.openstack.org/#/c/151325/122:11
ddieterly{22:11
ddieterly    "title": "Forbidden",22:11
ddieterly    "description": "Tenant ID is missing a required role to access this service"22:11
ddieterly}22:11
ddieterlyhtruta: i'm getting ^^22:12
*** craigbr has quit IRC22:12
*** theresa_ has quit IRC22:14
*** MVenesio has joined #openstack-monasca22:22
*** MVenesio has quit IRC22:26
*** henrique_ has joined #openstack-monasca22:40
*** henrique_ has left #openstack-monasca22:49
*** openstackgerrit has quit IRC22:51
*** openstackgerrit has joined #openstack-monasca22:51
*** th_ has quit IRC23:27
*** dlfryar has quit IRC23:30
*** craigbr has joined #openstack-monasca23:32
*** craigbr has quit IRC23:46
*** rbak has quit IRC23:50

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