Friday, 2014-01-03

*** mat-lowery has quit IRC00:08
*** rongze has joined #openstack-trove00:14
*** rongze has quit IRC00:18
*** mrsnivvel has quit IRC00:19
*** mrsnivvel has joined #openstack-trove00:19
*** vvutharkar has quit IRC00:30
*** amcrn has joined #openstack-trove01:09
*** rongze has joined #openstack-trove01:15
*** rongze has quit IRC01:20
*** demorris has quit IRC01:29
*** rongze has joined #openstack-trove01:38
*** yogesh has quit IRC01:50
*** thedodd has joined #openstack-trove01:55
*** thedodd has quit IRC01:58
*** plodronio has quit IRC02:00
*** plodronio has joined #openstack-trove02:16
*** dguitarbite has joined #openstack-trove02:17
*** dguitarbite__ has joined #openstack-trove02:17
*** rongze has quit IRC02:18
*** rongze has joined #openstack-trove02:19
*** rongze has quit IRC02:19
*** rongze has joined #openstack-trove02:20
*** erkules has quit IRC02:23
*** rongze has quit IRC02:32
*** rongze has joined #openstack-trove02:33
*** erkules has joined #openstack-trove02:39
*** dguitarbite__ has quit IRC02:45
*** dguitarbite has quit IRC02:45
*** plodronio has quit IRC02:52
*** plodronio has joined #openstack-trove03:08
*** plodronio has quit IRC03:12
*** plodronio_ has joined #openstack-trove03:13
*** laurelm has quit IRC03:13
*** harlowja is now known as harlowja_away03:51
*** SushilKM__ has joined #openstack-trove03:51
openstackgerritA change was merged to openstack/trove: Removes privilege modification for MYSQL_BASE_DIR  https://review.openstack.org/6272403:58
*** rongze has quit IRC04:04
SushilKM__needed help to re-run the reddwarf tests for https://review.openstack.org/#/c/64539/04:09
*** SushilKM__ has quit IRC04:15
openstackgerritMat Lowery proposed a change to openstack/trove-integration: Fix incorrect redirection when staging SSH files.  https://review.openstack.org/6477804:50
*** plodronio_ has left #openstack-trove05:18
*** yogesh has joined #openstack-trove05:41
*** krow has joined #openstack-trove06:12
*** krow has quit IRC06:26
*** dguitarbite has joined #openstack-trove06:27
*** amcrn has quit IRC06:51
*** amrith has quit IRC07:02
*** dguitarbite has quit IRC07:06
*** dguitarbite has joined #openstack-trove07:09
*** rongze has joined #openstack-trove07:12
openstackgerritSushil Kumar proposed a change to openstack/trove: Test Checkin, DO NOT REVIEW  https://review.openstack.org/6479007:22
*** SushilKM has joined #openstack-trove07:23
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates guest_config and its implementation  https://review.openstack.org/6453907:50
*** flaper87|afk is now known as flaper8708:00
*** vipul is now known as vipul-away08:27
*** vipul-away is now known as vipul08:29
*** vipul is now known as vipul-away08:44
openstackgerritA change was merged to openstack/trove: Removes directory creation prior to _tmp_mount  https://review.openstack.org/6275408:49
*** yogesh has quit IRC08:51
*** yogesh has joined #openstack-trove08:52
*** yogesh has quit IRC08:56
*** vipul-away is now known as vipul09:00
*** yogeshmehra has joined #openstack-trove09:00
*** rongze has quit IRC09:10
*** dguitarbite has quit IRC09:12
openstackgerritA change was merged to openstack/trove: make the bin scripts called with main()  https://review.openstack.org/5422509:15
*** yogeshmehra has quit IRC09:51
*** rongze has joined #openstack-trove10:04
*** dguitarbite has joined #openstack-trove10:14
*** dguitarbite has quit IRC10:26
*** SnowDust has joined #openstack-trove10:29
*** dguitarbite has joined #openstack-trove10:35
*** dguitarbite has quit IRC10:42
*** yogeshmehra has joined #openstack-trove11:02
*** yogeshmehra has quit IRC11:07
openstackgerritSushil Kumar proposed a change to openstack/trove-integration: Updates project-list  https://review.openstack.org/6451711:20
openstackgerritSushil Kumar proposed a change to openstack/trove-integration: Removes devstack duplicated code  https://review.openstack.org/6451711:21
*** dguitarbite_ has joined #openstack-trove11:30
*** dguitarbite_ has quit IRC11:36
*** dguitarbite has joined #openstack-trove11:50
*** dguitarbite has quit IRC12:12
*** dguitarbite_ has joined #openstack-trove12:23
*** dguitarbite_ has quit IRC12:37
*** dguitarbite has joined #openstack-trove12:54
*** dguitarbite has quit IRC13:00
*** pdmars has joined #openstack-trove13:04
*** rongze has quit IRC13:10
*** dguitarbite_ has joined #openstack-trove13:23
SushilKMhelp needed, plz re-run the tests for https://review.openstack.org/#/c/64517/13:24
SushilKMreddwarf13:24
*** dguitarbite_ has quit IRC13:27
*** SnowDust has quit IRC13:30
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates guest_config and its implementation  https://review.openstack.org/6453913:33
openstackgerritSushil Kumar proposed a change to openstack/trove-integration: Removes devstack duplicated code  https://review.openstack.org/6451713:37
*** konetzed has quit IRC13:39
*** konetzed has joined #openstack-trove13:39
*** rongze has joined #openstack-trove13:41
*** radez_g0n3 is now known as radez13:44
*** dguitarbite has joined #openstack-trove13:49
*** rongze has quit IRC13:52
*** dguitarbite has quit IRC14:01
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates guest_config and its implementation  https://review.openstack.org/6453914:14
*** jcru has joined #openstack-trove14:18
*** SushilKM has quit IRC14:18
*** robertmyers has joined #openstack-trove14:30
*** robertmyers has quit IRC14:32
*** robertmyers has joined #openstack-trove14:32
*** robertmyers has quit IRC14:38
*** robertmyers has joined #openstack-trove14:39
*** rongze has joined #openstack-trove14:45
*** rongze has quit IRC14:50
*** rongze has joined #openstack-trove14:56
*** mrsnivvel has quit IRC15:04
*** radez is now known as radez_g0n315:09
*** kevinconway has joined #openstack-trove15:13
*** jmontemayor has joined #openstack-trove15:18
*** jimbobhickville has joined #openstack-trove15:20
openstackgerritRobert Myers proposed a change to openstack/trove-integration: Removing keystone account creation  https://review.openstack.org/6484215:20
*** thedodd has joined #openstack-trove15:22
*** russellb is now known as rustlebee15:23
*** datsun180b has joined #openstack-trove15:24
*** laurelm has joined #openstack-trove15:32
*** radez_g0n3 is now known as radez15:33
*** rnirmal has joined #openstack-trove15:47
*** demorris has joined #openstack-trove15:53
*** SushilKM has joined #openstack-trove16:28
SushilKMHi Robert16:31
SushilKM@robertmyers16:31
*** SushilKM has quit IRC16:31
robertmyersand he's gone16:40
*** SushilKM has joined #openstack-trove16:50
*** SushilKM has quit IRC16:51
*** SushilKM has joined #openstack-trove16:54
*** SushilKM has joined #openstack-trove17:00
*** radez is now known as radez_g0n317:04
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates guest_config and its implementation  https://review.openstack.org/6453917:04
*** demorris has quit IRC17:17
*** flaper87 is now known as flaper87|afk17:24
*** harlowja_away is now known as harlowja17:38
*** demorris has joined #openstack-trove17:44
*** datsun180b has quit IRC17:49
*** amcrn has joined #openstack-trove17:58
*** ViswaVutharkar has joined #openstack-trove18:12
*** ViswaVutharkar is now known as ViswaV18:13
*** ViswaV has left #openstack-trove18:14
*** ViswaV has joined #openstack-trove18:14
*** SushilKM has quit IRC18:20
*** thedodd has quit IRC18:20
openstackgerritSushil Kumar proposed a change to openstack/trove: Relocates guest_config and its implementation  https://review.openstack.org/6453918:22
*** SushilKM has joined #openstack-trove18:23
*** rwsu has quit IRC18:28
jimbobhickvillecan someone explain the logic behind having the model classes not inherit from the DatabaseModelBase and instead having a separate DB class that does that and then passing that in to the model class?18:29
jimbobhickvillefor example, DBDatastore vs Datastore18:30
hub_capjimbobhickville: some of that is cuz the "data" is not in our db18:31
hub_capfor instance, info about flavors18:31
hub_capor the ips for a instance18:31
hub_capso the _transformation_ is some stuff in our db + some stuff from nova18:31
hub_capbut for that, i cant relaly speak to it other than18:31
hub_capmaybe to detach a session from a "DO" in java speak?18:31
jimbobhickvilleI don't speak Java :D18:32
hub_capHAH18:32
hub_capdata object18:32
hub_capaka, remove teh abiltiy fo ryour blah.foo = "X" to actually update the db18:32
hub_capgod i cant type18:32
jimbobhickvilleah, so that gives you more control over readonly fields and whatnot?18:32
hub_capagain this is a guess, but yes? im not sure why its like that though honestly18:33
hub_capjust a stab18:33
jimbobhickvillejust seems needlessly complex at first glance, so I thought I'd see if I could understand the rationale18:33
hub_capits entirely possible u cant modify a sqlalchemy object loaded w/o calling save explicitly (/me is still a python n00b compared to java heh)18:33
jimbobhickvilleI can't speak for SQLAlchemy, but I know that some other ORMs won't call the update until you explicitly save or call update with a list of key/value pairs to update directly18:34
jimbobhickvilleit just tracks the changes internally until that point18:34
jimbobhickvilleis this just a case of someone did it this way at one point and everyone else based their code off that?18:36
jimbobhickvilleI hope I'm not coming off as critical, just trying to understand18:37
*** kevinconway has quit IRC18:38
hub_capjimbobhickville: if u come across as wanting to make the code better, its good by me, no matter how u ask it ;)18:44
*** datsun180b has joined #openstack-trove18:44
hub_capwell almost _no matter how_ heh18:44
jimbobhickvilleheh.  this code is dirty as hell and I'm not gonna take it any more!!!18:44
hub_capjimbobhickville: horray18:45
hub_capthat wont hurt me either ;)18:45
hub_capjust so u know, this is what im talking about in the hibernate java orm world https://docs.jboss.org/hibernate/core/3.3/reference/en-US/html/objectstate.html#objectstate-modifying18:45
*** kevinconway has joined #openstack-trove18:45
*** yogesh has joined #openstack-trove18:45
hub_capfor better or worse jimbobhickville stay far away from that link18:48
jimbobhickvilleheh, why is that?18:48
jimbobhickvillealso I've noticed that the db classes don't specify what table they belong to… is there some magic that derives that somewhere?18:50
kevinconwayit's been a while since i looked, but i think it's based off the model name18:52
kevinconwayof if you search for __table__ or __tablename__ attributes somewhere18:52
jimbobhickville__table wasn't found at all in the trove codebase18:53
kevinconwaytrove/db/sqlalchemy/mappers18:54
kevinconwayalso, most of the time you are not directly using sqlalchemy models18:55
kevinconwaywe have our own wrappers around them18:55
jimbobhickvilleso we have to define the mapping in a separate file rather than specifying the table name within the model definition?18:55
*** thedodd has joined #openstack-trove18:55
hub_caprobertmyers: question sir18:56
hub_capjimbobhickville: using our awesome tooling at present yes18:56
hub_caprobertmyers: did u write the _addition_ of colorized logs in the guest output?18:56
hub_capit seems that redstack is editing stuff in our git tree, which is not cool18:57
robertmyershub_cap: no, I just consolidated the two versions of it18:57
kevinconwayjimbobhickville: sqlalchemy ORM models have you define the table name when you create the class18:57
robertmyershub_cap: oh that18:58
kevinconwayi'm guessing the mapper is part of our abstraction18:58
hub_caprobertmyers: kk. is there a reason its just not natureally enabled in teh guest config file?18:58
hub_capkevinconway: jimbobhickville i would love to see the entire db layer written in a less sucky way18:58
robertmyershub_cap: yeah, maybe we should just put that in there18:58
hub_capbut maybe next cycle since we are in the 2nd milestone already ;)18:58
hub_caprobertmyers: ya its hella annoying lol18:59
jimbobhickvillefair enough, that'll give me time to learn SQLAlchemy better18:59
robertmyershub_cap: we could just commit the changes :)18:59
kevinconwayhub_cap: is there a requirement that we need an abstraction of sqla?18:59
kevinconwayor i guess the question would be does trove need to run on nosql databases?18:59
hub_caphttps://github.com/openstack-dev/devstack/commit/0f9a1b058423b293935b414b2035713d8ead3e71 <-- sweet19:00
hub_capkevinconway: its not the sweet spot reallly, right grapex?19:00
hub_capHAH19:00
hub_capim sure thats recorded somewhere19:00
jimbobhickvillewouldn't it just be better to add nosql support to sqlalchemy's ORM instead of having our own secondary ORM in that case?19:01
jimbobhickvillea lot of nosql implementations actually support a SQL-ish query language these days, like CQL for Cassandra and was it Pig or Hive for Hadoop (I can't recall)19:01
kevinconwayi'm pretty sure sqlalchemy is specific to relational databases19:02
kevinconwayas a project i mean.19:02
jimbobhickvillewe could implement NoSQLAlchemy which just mimics the SQLAlchemy ORM objects but with a backend for nosql systems :D19:03
jimbobhickvilleit's kind of a pointless exercise anyway since it seems unlikely that trove will be moving in that direction any time soon19:04
hub_capcorrect19:04
hub_caplets worry about impl'ing a nosql datastore before we make our infrastructure run on nosql ;)19:04
hub_capa bit of history19:04
jimbobhickvilleheh, indeed19:04
hub_capopenstack had a redis impl for a while (Backend)19:05
hub_capits gotta be in the git tree somewhere19:05
jimbobhickvillewe used cassandra for really heavy write stuff at my last job, but it was just for places where the load was killing us using postgres19:05
jimbobhickvillewouldn't make sense to put the whole thing in there19:05
hub_capu gotta go far back though (https://github.com/openstack/nova/tree/3dcc46bc5cea6011e578bf67391daef2789a8505)19:06
hub_capheh19:06
hub_capjimbobhickville: ya, they have their places19:07
*** rongze has quit IRC19:15
*** rongze has joined #openstack-trove19:16
*** rongze has quit IRC19:20
*** SushilKM has quit IRC19:22
*** SushilKM has joined #openstack-trove19:23
*** SushilKM__ has joined #openstack-trove19:23
jimbobhickvilleis there a trove roadmap somewhere by chance?  the openstack wiki doesn't make reference to one19:41
*** rwsu has joined #openstack-trove19:41
*** ViswaV has quit IRC19:46
jimbobhickvilleis it a safe assumption that new code should have both unit tests and API tests?19:51
*** SushilKM has quit IRC19:51
*** SushilKM__ has quit IRC19:51
datsun180bjimbobhickville: i'd say so19:57
datsun180bwhat can we do, politely suggest you remove perfectly good tests after the fact?19:57
*** vipul is now known as vipul-away20:00
jimbobhickvillelol, just wondered if it was an explicit goal for test coverage or if it was more lax than that20:03
jimbobhickvillesome things seem to be absent unit tests like datastores, so I wasn't sure20:03
jimbobhickvillethought maybe there was a non-obvious rule of thumb or something20:06
*** vipul-away is now known as vipul20:07
datsun180b¯\_(ツ)_/¯20:07
*** flaper87|afk is now known as flaper8720:08
openstackgerritSushil Kumar proposed a change to openstack/trove: Removes server from FreshInstanceTasks.create_instance  https://review.openstack.org/6489620:10
openstackgerritSushil Kumar proposed a change to openstack/trove: Removes unused "server" from taskmanager  https://review.openstack.org/6489620:15
*** rongze has joined #openstack-trove20:16
openstackgerritSushil Kumar proposed a change to openstack/trove: Removes unused "server" from taskmanager  https://review.openstack.org/6489620:17
*** radez_g0n3 is now known as radez20:20
openstackgerritRobert Myers proposed a change to openstack/trove-integration: Removing keystone account creation  https://review.openstack.org/6484220:21
cp16netwhat does this line do? assert True, create_connection20:21
*** viswav has joined #openstack-trove20:21
robertmyersshould be assert create_connection20:22
*** vipul is now known as vipul-away20:23
*** rongze has quit IRC20:23
*** vipul-away is now known as vipul20:42
*** jimbobhickville1 has joined #openstack-trove20:48
*** jimbobhickville has quit IRC20:48
*** jimbobhickville has joined #openstack-trove20:51
*** jimbobhickville1 has quit IRC20:51
*** vipul is now known as vipul-away20:59
*** krow has joined #openstack-trove21:01
*** vipul-away is now known as vipul21:02
*** krow has quit IRC21:06
*** krow has joined #openstack-trove21:07
*** vipul is now known as vipul-away21:08
*** vipul-away is now known as vipul21:08
*** rongze has joined #openstack-trove21:19
*** rongze has quit IRC21:23
*** viswav has quit IRC21:30
*** jimbobhickville has quit IRC21:37
*** jimbobhickville has joined #openstack-trove21:38
*** vipul is now known as vipul-away21:56
*** vipul-away is now known as vipul21:56
*** pdmars has quit IRC22:07
*** SergeyLukjanov has joined #openstack-trove22:10
*** ViswaV has joined #openstack-trove22:19
*** rongze has joined #openstack-trove22:20
openstackgerritRobert Myers proposed a change to openstack/trove-integration: Removing keystone account creation  https://review.openstack.org/6484222:22
*** rongze has quit IRC22:25
*** vipul is now known as vipul-away22:35
*** vipul-away is now known as vipul22:36
*** kevinconway has quit IRC22:59
*** robertmyers has quit IRC22:59
*** jcru has quit IRC22:59
*** datsun180b has quit IRC23:02
*** jimbobhickville has quit IRC23:05
*** flaper87 is now known as flaper87|afk23:15
*** thedodd has quit IRC23:16
*** rongze has joined #openstack-trove23:20
*** thedodd has joined #openstack-trove23:21
*** rongze has quit IRC23:25
*** SergeyLukjanov has quit IRC23:26
*** vipul is now known as vipul-away23:30
*** vipul-away is now known as vipul23:30
*** thedodd has quit IRC23:35
*** jmontemayor has quit IRC23:36
*** vipul is now known as vipul-away23:46
*** yogesh has quit IRC23:46
*** rnirmal has quit IRC23:54

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