Monday, 2014-01-13

*** openstack has joined #openstack-trove13:37
*** rongze has quit IRC13:37
*** freyes has joined #openstack-trove13:38
openstackgerritSushil Kumar proposed a change to openstack/trove: Introduces agent_call_timeout  https://review.openstack.org/6632713:43
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Removes unused imports  https://review.openstack.org/6633113:47
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Removes unused imports  https://review.openstack.org/6633113:49
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Removes unused imports  https://review.openstack.org/6633113:49
*** SushilKM has quit IRC13:57
*** radez_g0n3 is now known as radez13:59
*** demorris has quit IRC14:10
*** demorris has joined #openstack-trove14:11
*** rongze has joined #openstack-trove14:32
*** ashestakov has joined #openstack-trove14:32
*** rongze has quit IRC14:37
*** robertmyers has joined #openstack-trove14:45
*** mordred has quit IRC14:50
*** mordred has joined #openstack-trove14:50
*** rongze has joined #openstack-trove14:51
*** Barker has joined #openstack-trove14:51
*** mat-lowery has joined #openstack-trove14:59
*** mat-lowery has quit IRC15:00
*** rwsu has joined #openstack-trove15:16
*** amytron has joined #openstack-trove15:19
*** rnirmal has joined #openstack-trove15:21
*** ViswaV has joined #openstack-trove15:35
*** grapex has joined #openstack-trove15:36
*** ViswaV has quit IRC15:36
*** ViswaV has joined #openstack-trove15:37
*** plodronio has joined #openstack-trove15:46
*** kevinconway has joined #openstack-trove15:48
*** Barker has quit IRC15:53
*** datsun180b has joined #openstack-trove15:57
*** SergeyLukjanov has quit IRC15:57
*** SushilKM has joined #openstack-trove15:58
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates generate_random_password to common.utils  https://review.openstack.org/6416016:01
*** jmontemayor has joined #openstack-trove16:09
*** thedodd has joined #openstack-trove16:10
*** mat-lowery has joined #openstack-trove16:26
openstackgerritSushil Kumar proposed a change to openstack/trove: Imports troveclient.compat.client as module  https://review.openstack.org/6636216:27
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Removes unused imports  https://review.openstack.org/6633116:29
*** ashestakov has quit IRC16:29
openstackgerritSushil Kumar proposed a change to openstack/trove: Imports troveclient.compat.client as module  https://review.openstack.org/6636216:35
*** SushilKM has quit IRC16:37
*** SushilKM has joined #openstack-trove16:37
ViswaVHi all , I have a question about the "redstack kick-start <mysql | mongodb> " command. (I pulled in this patch https://review.openstack.org/#/c/53378/  to get mongodb image support)16:40
ViswaVdepending on what param (mysql or mongodb) you have passed, the kick-start builds/creates that specific image and uploads to glance , for use by trove , right?16:41
ViswaVAnd based on my observations, the mysql image (Size and content once a VM is created with that image) is different from mongodb  image.16:41
*** dkehn_ has joined #openstack-trove16:42
ViswaVSo for integration testing purposes,  if you want to test mysql guest agent code, and also mongodb guest agent code ( and/or other datastore types), via the image creation route then you would have to use redstack to build both the images...right?16:43
dmakogon_ViswaV, that patch is old, it need to be updated16:43
jimbobhickvilledoes the XML codepath work in the public v1 client?  'Cause as far as I can tell, the magic sauce that makes arrays work is only in the compat client16:48
*** mat-lowery has quit IRC16:49
robertmyersjimbobhickville: no, xml is not supported yet16:49
robertmyerswhich is why we still use the compat client for the tests16:50
*** SergeyLukjanov has joined #openstack-trove16:50
dmakogon_i read thread, nova dropping XML at all16:50
robertmyersI'm all for it, but we'll need to wait and see if they actually do drop it16:51
robertmyersbut we'd still have to support it for v116:51
*** mat-lowery has joined #openstack-trove16:51
cp16nethttp://lists.openstack.org/pipermail/openstack/2014-January/004638.html16:52
jimbobhickvillewait, it doesn't work currently in v1 but we have to support it for v1?16:53
cp16netbut yes... i think v1 should keep the support16:53
robertmyersno, just not the client16:53
robertmyersthe api works16:53
jimbobhickvilleah, gotcha16:53
jimbobhickvillethen yes, I agree that we need to keep it, even though I seriously doubt anyone actually uses it as-is16:55
robertmyersI think it is a good reason to cut a V2 tho :)16:56
jimbobhickvilleI imagine there are other things that could use some tidying up in a v2 as well16:57
robertmyersusers16:58
cp16netthere is a wiki page somewhere with things about v2 api17:01
*** jmontemayor has quit IRC17:01
cp16nethttps://wiki.openstack.org/wiki/Trove/NextAPI17:01
cp16neti think thats it17:02
*** demorris has quit IRC17:02
*** jcru has joined #openstack-trove17:07
*** jmontemayor has joined #openstack-trove17:08
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Enabled H402 flake8 rule  https://review.openstack.org/6636917:09
dkehn_wondering if there is a good devstack reference for seting up trove, that works, including the localrc17:11
dkehn_cp16net, ^^^^17:20
*** ashestakov_phone has joined #openstack-trove17:23
*** demorris has joined #openstack-trove17:25
SushilKMhey hub_cap, slicknil, amcrn, vipul plz review https://review.openstack.org/#/c/64539/17:27
SushilKMHey SlickNik, this one is still waiting for you https://review.openstack.org/#/c/63102/17:28
vgnbkrdkehn_: what are you looking to do?  Mac? PC? Linux?  Cloud?  Development?  Run the int-tests?  What hypervisor do you want to use?17:32
*** ashestakov_phone has quit IRC17:32
*** ashestakov_phone has joined #openstack-trove17:32
dkehn_vgnbkr, Ubuntu nothing special17:32
dkehn_vgnbkr, as cloese to gate as possible17:33
*** mat-lowery has quit IRC17:34
cp16netthe trove-integration repo is the way to go17:34
cp16netdkehn_: https://github.com/openstack/trove-integration17:36
vgnbkrdkehn_: sorry, not an area I know much about.  I've just gone through figuring out how to get redstack working on ubuntu laptop, but just in my local environment.17:36
*** mat-lowery has joined #openstack-trove17:36
cp16netyeah using the redstack script is the same as the gate runs17:37
dkehn_cp16net, ok, just wanted to make sure it can run on its own, will try again, ENABLED_SERVICES with trove doesn't seem to get the trove service running17:38
robertmyersdkehn_: devstack does not create an image for you, which is what trove-integration does17:40
cp16netyeah from a clean vm you should be able to just clone the trove integration and it will clone everything else17:40
dkehn_robertmyers, ok17:40
cp16netand set it up using devstac17:40
cp16netk17:40
*** SushilKM has quit IRC17:40
*** datsun180b has quit IRC17:41
dkehn_cp16net, so running devstack's stack.sh will or will not set up trove correctly, or does one need to pre-seed it wit the redstack scripts?17:41
*** datsun180b has joined #openstack-trove17:42
*** mnaser has quit IRC17:42
cp16netdevstack will setup trove17:46
cp16netBUT it will not have the glance image created that is needed17:46
dkehn_cp16net, ok, so pre-devstack create the image and got from there17:47
robertmyersdkehn_: if you just use trove-integration it will call devstack with the correct args and then create an image17:50
*** yidclare has joined #openstack-trove17:50
dkehn_robertmyers, ok, will look a little closer17:51
dkehn_thanks17:51
*** edmund has joined #openstack-trove17:59
*** harlowja_away is now known as harlowja17:59
*** rongze has quit IRC18:05
*** mmcdaris has joined #openstack-trove18:08
*** mmcdaris has quit IRC18:09
hub_capdkehn_: robertmyers fwiw, devstack will eventually do that for u (the image part)... its being worked on by SlickNik (eventually) since hes tackling tempest tests18:10
dkehn_hub_cap, ok, thx was wondering didn't see that happening in devstack.18:10
imsplitbithub_cap: when do you get into Austin?18:11
hub_capimsplitbit: ill be there the whole wk of the mid cycle meetup18:16
hub_capmon/tue austin office18:16
imsplitbitok so no SAT?18:17
hub_capthe wk after ya18:18
imsplitbitok cool18:18
*** dkehn_ has quit IRC18:18
hub_capbut illl only be in sat for the days of the conf down there, no extra days for me and sat :)18:21
*** plodronio has quit IRC18:26
*** amcrn has joined #openstack-trove18:27
*** plodronio has joined #openstack-trove18:27
imsplitbitboooooooooooooo hub_cap18:28
hub_capyea yea18:28
imsplitbitSAT is where it's AT!18:28
hub_caplol SAT puts the SAT in "sat on my ass in a boring city and did nothing"18:29
hub_capi kid i kid ;)18:29
imsplitbityou don't get tired of those posers in Austin?  I mean if you're gonna live like you're a Californian, just move to Cali and be done with it18:29
imsplitbitI say Austinites need to sh*t or get off the pot....18:29
imsplitbitpun intended18:29
imsplitbitlol18:29
datsun180bsan antonio, named for the patron saint of trying your hardest to find cheap gas outside the loop so you can make your way home without event18:29
*** ashestakov_phone has quit IRC18:30
imsplitbitlol datsun180b18:30
*** ashestakov_phone has joined #openstack-trove18:30
hub_caphey imsplitbit pssh, cali is too expensive ;)18:30
* imsplitbit knows18:31
imsplitbitI grew up in San Diego18:31
hub_capfo sure dude... high price of living in paradise18:31
hub_capu know its gonna be ~80 in santa cruz on wednesday!!18:32
*** yogesh has joined #openstack-trove18:32
cp16netamcrn: thanks for reviewing18:57
cp16netlooks like you had lots to say :)18:57
*** jcru has quit IRC18:59
*** pdmars_ has joined #openstack-trove18:59
amcrnnp. spent all of friday (and the occasional hour on the weekend) trying to break it, so that should be a near complete list.18:59
*** pdmars_ has quit IRC18:59
cp16netyou rock man19:00
amcrn:D19:00
cp16neti really appreciate the time you spent on that19:00
cp16net;)19:00
cp16netso heres a q....19:00
cp16netshould i make the configuraiton reviews dependant on the datastore change so i can make those or should i wait until its merged before dealing with it?19:01
*** pdmars has quit IRC19:02
amcrnimo, there's no reason why the datastore change (https://review.openstack.org/#/c/63289/) can't merge right now; so i'd make configuration dependent upon it.19:03
amcrnwell, my phrasing was awkward there; i mean i'd wait for it to merge.19:04
*** hub_cap has quit IRC19:04
cp16netyeah i think its good to merge as well19:04
cp16netok19:04
cp16neti'll work on making changes related to your comments as well as vipul and denis.19:05
amcrncp16net: any thoughts on my open discussion comment regarding the type coercion?19:06
cp16netthe types on the config params?19:08
cp16netwell my first thought that you mention all the different ways each db uses booleans is that it should be abstract and the conversion should happen on the implmentation side of each datastore when applying the configuraiton19:09
amcrncp16net: yeah, i have a feeling my opinion on that is biased, but it seems too difficult to handle the conversion on behalf of the user (especially since the datastore maintainers can change the behavior, and we might not notice). if what you send in is exactly what is set, and is exactly what is shown, then the amount of confusion and maintenance is the lowest (imo)19:12
*** hub_cap has joined #openstack-trove19:13
hub_capwow /quit quits irssi... duh19:13
cp16netlo19:13
datsun180bhub_cap: try /join 019:13
datsun180bthat used to /part all channels in mirc19:13
cp16netamcrn: i think thats logical...19:14
hub_capdatsun180b: haha nice19:14
cp16netbut the issue i ran into was that the json repr of boolean is different than python19:14
cp16nethence the up/lower case19:15
amcrnyeah, will probably have to custom "cast"19:15
*** michael-yu has joined #openstack-trove19:15
*** amcrn is now known as arborism19:17
*** arborism is now known as amcrn19:17
*** grapex has quit IRC19:17
cp16netyeah we might have to do something like that19:17
*** jcru has joined #openstack-trove19:17
*** mnaser has joined #openstack-trove19:20
*** hub_cap has quit IRC19:27
*** hub_cap has joined #openstack-trove19:29
*** openstackgerrit has quit IRC19:31
*** openstackgerrit has joined #openstack-trove19:31
*** grapex has joined #openstack-trove19:39
*** mat-lowery has quit IRC19:47
*** grapex has quit IRC19:50
*** mat-lowery has joined #openstack-trove19:52
*** grapex has joined #openstack-trove19:59
*** grapex has quit IRC20:05
kevinconwaycp16net: whats the issue with booleans?20:06
jimbobhickvillemysql sucks? :D20:07
cp16netrepresenting them differently in json and python and the api compared to what may need to be set on the datastore20:07
kevinconwayi guess i'm confused by the "representing them differently" part20:09
jimbobhickvilleI think you should stick with actual booleans until the time when you might have to convert them to work with the datastore20:09
kevinconwaythe json library converts booleans20:09
*** pdmars has joined #openstack-trove20:09
*** mat-lowery has quit IRC20:10
*** denis_makogon has joined #openstack-trove20:11
cp16netwell json is lower case fale20:11
cp16netfalse20:11
cp16netand python is False20:11
cp16netand myql takes 020:11
*** demorris has quit IRC20:12
cp16netthe api was returning a string of False20:12
cp16netbecause it was being converted20:12
kevinconwaythe api is returning a repr() of the object?20:14
cp16netyeah basically20:14
kevinconwaywhere does this happen?20:14
*** mat-lowery has joined #openstack-trove20:14
jimbobhickvilleI know the XML side does that if you don't give it the magic words20:16
cp16netdifference of defining what is allowed for a datastore configuration and what is set for the config to be applied to the instance20:16
denis_makogon'sup, guys, talking 'bout XML in troveclient ?20:17
jimbobhickvilleI think a good API presents a clean, consistent interface and smooths over rough implementation details like this.  the consumer of the API expects booleans to be JSON booleans, so that's what they should get20:17
kevinconwaycp16net: oh so you are taking in a json blob with the config params and the converter is switching the 'true' to 'True'? is that the problem20:17
cp16netwell... true => True => "True"20:18
kevinconwayi see. but what you want it "true"?20:18
cp16netjson -> python -> string20:18
cp16netstring is the output of the api20:18
cp16netnaturally20:18
kevinconwayhave you considered making them string values instead then?20:18
kevinconwayor numeric of 0,1?20:19
cp16netso.....20:19
cp16nethttps://review.openstack.org/#/c/53168/18/trove/templates/mysql/validation-rules.json20:19
hub_capman is anyone else confused?!20:19
cp16netread over the 3rd comment there20:19
*** mat-lowery has quit IRC20:20
* hub_cap is considerably less confused20:21
hub_capamcrn: your comments are awesome20:21
cp16net:)20:21
cp16net+120:21
* hub_cap lifts his 9am beer to amcrn 20:21
hub_capso i bought this coffee... dude said it had a cucumber water mouthfeel, and i thought to myself, ok that just too much.. cmon..., and then i handed him the 20 and left w/ mah beans20:22
*** plodronio has quit IRC20:22
kevinconwaycp16net: ok yeah that's the same thing i'm thinking of20:22
*** michael-yu has quit IRC20:22
kevinconwayunless you want to make a mysql module that has a dumps() method and can convert a dictionary to a config file20:23
kevinconwaythen you could customize how it gets serialized to file20:23
*** mat-lowery has joined #openstack-trove20:23
hub_capso if its a 1/0 in mysql, why is it not a 1/0 in our configuration stuff?20:23
cp16neti think the configuration should be generic as possible20:23
hub_capseems like that could confuse people (/me admits to looking up whether 0 is true or false)20:24
cp16netand the datastore should convert it how it needs to apply the confi20:24
kevinconwayhub_cap: that's what i was wondering too20:24
hub_capcp16net: i dont think so... id say any value is datastore specific20:24
hub_capi dont want to support generic values that apply to multi configs20:24
jimbobhickvilleI agree with cp16net, but the API should also probably accept other variations.  be generous in what you accept and strict in what you return and all that20:24
hub_capid rather support the list of supported things, as per how they are defined in their specs20:24
cp16nethmm i guess it would make it much easier to just apply what ever is set20:26
cp16netthat makes sense20:26
hub_capis ther a notion of true/false in the mysql cnf?20:27
hub_capor is it always 1/0 ?20:27
denis_makogonhub_cap, hey, what's up =)20:31
denis_makogonhub_cap, do you have any news about image building for cas ?20:31
hub_capdenis_makogon: heyo!20:32
hub_capdenis_makogon: nope, ive had to work on a trove "update" today20:32
hub_capim giving a webinar on trove in havana and icehouse i think later this wk20:33
hub_capbut its #1 on my todo list after that denis_makogon20:33
denis_makogonhub_cap, wow, sounds like i want to hear20:33
hub_capsure i bet its on the mailint list somewhere... im honestly not sure what the url is but ill give u the info as i know it20:34
denis_makogonhub_cap, amcrn, vipul, SlickNik also, guys, please review my db logs patches, they are still out of attention20:34
denis_makogonhttps://review.openstack.org/#/c/64302/20:35
denis_makogonpatch is so lonely (as Mr. Lonely - Akon)20:35
hub_caphey i have to run soon to get my son some shots (hes gonna love it im sure!!)20:55
amcrnif arod can do it, so can he20:55
hub_capdenis_makogon: ill look into the cassandra stuff this evening my time20:55
hub_capHAHA20:56
hub_capill tel him that20:56
openstackgerritAndreas Jaeger proposed a change to openstack/database-api: Setup for openstack-doc-tools  https://review.openstack.org/6643421:07
cp16netlol21:08
cp16netamcrn: i love the reference21:08
cp16neti watched the 60 min interview with boush21:09
*** jimbobhickville has quit IRC21:11
cp16neti hate arod and i hope he gets banned from the mlb21:12
openstackgerritAndreas Jaeger proposed a change to openstack/database-api: Fix whitespace  https://review.openstack.org/6643721:16
*** yidclare has quit IRC21:18
*** radez is now known as radez_g0n321:21
*** grapex has joined #openstack-trove21:22
*** grapex has quit IRC21:22
openstackgerritAndreas Jaeger proposed a change to openstack/database-api: Remove target directory  https://review.openstack.org/6643921:22
cp16nethttp://assets1.ignimgs.com/2013/06/04/basement-crawlposterjpg-50e4b5_160h.jpg21:26
*** michael-yu has joined #openstack-trove21:26
*** grapex has joined #openstack-trove21:28
*** SergeyLukjanov has quit IRC21:37
*** yidclare has joined #openstack-trove21:41
amcrncp16net: i was surprised how smug arod's "vitamin" dealer was21:47
cp16netyeah21:47
cp16netit is interesting that mlb says they will protect him and drop all charges if he "cooperates" aka says what we want him to say21:48
cp16netsounds like a bribe to me...21:48
amcrnyeah, it definitely sounds like's he's at best encouraged to embellish the truth21:48
amcrnlike*21:48
cp16netyeah21:48
amcrnat worst, fabricate completely21:49
cp16netyeah i hate bud as well but this is one thing i like him for21:49
cp16neti really surprised hes not banned tho21:50
cp16nethell pete rose bet on himself. and he gets banned21:51
*** demorris has joined #openstack-trove21:56
*** pdmars has quit IRC22:10
*** ashestakov_phone has quit IRC22:23
*** ashestakov has joined #openstack-trove22:32
openstackgerritAndrey Shestakov proposed a change to openstack/python-troveclient: Datastores improvements  https://review.openstack.org/6058822:37
*** ViswaV_ has joined #openstack-trove22:41
*** ViswaV_ has quit IRC22:44
*** ViswaV has quit IRC22:45
*** ViswaV has joined #openstack-trove22:45
*** ViswaV has quit IRC22:45
*** robertmyers has quit IRC22:46
*** rwsu has quit IRC22:52
*** grapex has quit IRC22:54
*** ViswaV has joined #openstack-trove22:56
*** demorris has quit IRC22:58
*** kevinconway has quit IRC23:00
*** ashestakov has quit IRC23:01
*** rwsu has joined #openstack-trove23:07
*** thedodd has quit IRC23:11
*** denis_makogon has quit IRC23:13
*** openstackgerrit has quit IRC23:24
*** openstackgerrit has joined #openstack-trove23:24
*** grapex has joined #openstack-trove23:25
*** flaper87 is now known as flaper87|afk23:25
*** yogesh has quit IRC23:28
*** grapex has quit IRC23:30
*** rnirmal has quit IRC23:43
*** datsun180b has quit IRC23:50
*** jmontemayor has quit IRC23:51
*** harlowja has quit IRC23:57

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