Wednesday, 2013-12-11

*** jcooley_ has quit IRC00:02
*** jcooley_ has joined #openstack-trove00:02
*** jcooley_ has quit IRC00:07
hub_cap   datsun180b approved00:08
datsun180bhooooooray00:08
hub_capok i must go now. its time to cook some tbone steaks on mah egg00:09
datsun180bwatch it explode at verify again00:09
datsun180bthanks for approving it. enjoy your dinner00:10
amcrndinner at 4pm? i think you just earned yourself an honorary aarp card.00:12
amcrn;)00:12
*** jcooley_ has joined #openstack-trove00:13
hub_capzing00:13
*** jcooley_ has quit IRC00:13
hub_capim starting the fire now00:13
*** jcooley_ has joined #openstack-trove00:13
hub_capthey cook at like 700 degrees00:14
datsun180bargh, why did i have to call it? zuul feeds on doubt00:15
hub_capomg srsly?00:15
datsun180byeah00:15
hub_capoh you got yourself a doc failure00:15
datsun180bthe DOCS tests failed00:15
hub_capi think there is a requirements issue w/ it, like sphynixczyx version change00:16
datsun180boh dmak called a sphinx failure earler today00:16
hub_capi can never spell that correctly00:16
datsun180btry archaeopteryx00:16
hub_capsrsly, what scientists decided to end it with 'yx'00:17
hub_capok but i digress, time to go sear mah meat00:17
*** jcooley_ has quit IRC00:18
*** amytron has quit IRC00:22
openstackgerritSlickNik proposed a change to openstack/trove: Updated from global requirements  https://review.openstack.org/6125500:24
*** jcru has quit IRC00:31
juicedenis_makogon, slicknik what did I miss?  I just got back from dentist and drs00:36
SlickNikjuice: denis_makogon was planning to work on removing mockito from trove.00:43
juiceha ha that's ridiculous why would he do that :)00:43
SlickNikSo I told him to touch base with you; I know you some good reasons for adding it, but didn't recall them off the top of my head.00:43
datsun180bvindication, -docs failures clearly not my fault00:44
datsun180bhave fun00:44
*** datsun180b has quit IRC00:44
juicewhat is it being replaced with?00:44
juiceplease don't tell me with builtin mock00:44
SlickNikI think he was concerned that unlike mock, it's not in the global-requirements for openstack.00:44
SlickNikheh, I don't know for sure what he was thinking of replacing it with (but I suspect mock)00:45
* juice vomits on laptop00:46
SlickNikhub_cap / grapex / vipul: I had to make a few changes to allow the new global requirements patch to merge. (Basically there were a couple of new rules added to hacking that we needed to follow in the codebase).00:47
SlickNikhttps://review.openstack.org/#/c/61267/ and https://review.openstack.org/#/c/61255/ address this. Please take a look when you get a chance. Thanks!00:48
SlickNikThis also fixes the test-requirements files to address the failing sphinx doctests. So it would be good to get that unblocked.00:53
yidclarecage fight between juice and denis_makogon00:58
juiceha ha yidclare I think this is more something I need to talk to mordred on00:59
clarkbjuice: there was an entire summit session on it...00:59
clarkbmock is what openstack is moving towards...01:00
juicemock aweful01:00
juiceare we moving that way simply because it is included01:00
clarkbthey are all awful. this one happens to work everywhere though01:00
clarkbjuice: no mox is what most projects use and is not python3 friendlt01:00
juicemock was the first one I tried before running back to mockito01:01
juiceI went back and reviewed the api the other night just to ensure it was the beast and it is01:01
juiceIt makes testing more difficult in my opinion and the result is much more difficult to grock01:02
clarkbjuice: take it up with the long long threads on the mail list01:02
juicesounds like a challenge01:03
juice:)01:03
juicethanks clarkb01:03
clarkbhttp://lists.openstack.org/pipermail/openstack-dev/2013-December/021148.html is one of them01:03
juicewas the session a design session (the one at the summit you mentioned)01:03
clarkbyes01:07
clarkbI think it was covered in the python3 session01:07
clarkbsince mox is one of the big blockers to python3 compat01:08
*** yogeshmehra has joined #openstack-trove01:10
*** amytron has joined #openstack-trove01:21
*** yidclare has quit IRC01:23
*** nosnos has joined #openstack-trove01:29
*** Barker has joined #openstack-trove01:30
*** yogeshmehra has quit IRC01:37
*** amcrn has quit IRC01:48
*** rongze has joined #openstack-trove02:01
*** jcooley_ has joined #openstack-trove02:04
*** achampion has joined #openstack-trove02:12
*** erkules has quit IRC02:24
*** erkules_ has joined #openstack-trove02:25
*** amytron has quit IRC02:25
*** mmcdaris has joined #openstack-trove02:26
*** rongze has quit IRC02:31
*** mmcdaris has quit IRC02:34
*** jcooley_ has quit IRC02:43
*** rongze has joined #openstack-trove02:46
openstackgerritSushil Kumar proposed a change to openstack/trove: Fixed typos in files in trove/guestagent.  https://review.openstack.org/6066203:40
*** haomaiwang has joined #openstack-trove03:52
openstackgerritSushil Kumar proposed a change to openstack/trove: Enabling H403, H702 rules.  https://review.openstack.org/6056404:10
*** mmcdaris has joined #openstack-trove04:15
*** mmcdaris has quit IRC04:15
*** haomaiwa_ has joined #openstack-trove04:20
*** haomaiwang has quit IRC04:20
*** SergeyLukjanov has joined #openstack-trove04:27
*** Barker has quit IRC04:29
*** haomaiwa_ has quit IRC04:33
*** haomaiwang has joined #openstack-trove04:34
*** haomaiwa_ has joined #openstack-trove04:39
*** haomaiwang has quit IRC04:39
*** rongze has quit IRC04:50
*** SergeyLukjanov is now known as _SergeyLukjanov05:09
*** _SergeyLukjanov has quit IRC05:10
*** SergeyLukjanov has joined #openstack-trove05:14
*** rongze has joined #openstack-trove05:20
*** nosnos_ has joined #openstack-trove05:31
*** jcooley_ has joined #openstack-trove05:33
*** nosnos has quit IRC05:34
*** rongze has quit IRC05:35
*** juice has quit IRC05:57
*** vipuls has quit IRC05:58
*** rongze has joined #openstack-trove06:03
*** juice has joined #openstack-trove06:04
*** nosnos_ has quit IRC06:04
*** nosnos has joined #openstack-trove06:05
*** rongze has quit IRC06:07
*** vipul has joined #openstack-trove06:08
*** rongze has joined #openstack-trove06:15
*** SergeyLukjanov has quit IRC06:21
*** jcooley_ has quit IRC06:39
*** denis_makogon has joined #openstack-trove06:42
*** SushilKM has joined #openstack-trove06:46
*** lifeless has quit IRC07:05
*** jcooley_ has joined #openstack-trove07:09
*** jcooley_ has quit IRC07:15
*** erkules_ is now known as erkules07:21
*** SergeyLukjanov has joined #openstack-trove07:49
*** jcooley_ has joined #openstack-trove08:05
*** jcooley_ has quit IRC08:09
*** flaper87|afk is now known as flaper8708:13
*** yogesh has joined #openstack-trove08:26
*** haomaiwa_ has quit IRC08:27
*** haomaiwang has joined #openstack-trove08:27
*** rongze has quit IRC08:46
*** rongze has joined #openstack-trove08:47
*** yogesh has quit IRC08:53
*** yogesh has joined #openstack-trove08:55
*** jcooley_ has joined #openstack-trove09:00
*** jcooley_ has quit IRC09:04
*** yogesh has quit IRC09:24
*** yogesh_ has joined #openstack-trove09:27
*** yogesh has joined #openstack-trove09:29
*** yogesh_ has quit IRC09:32
*** nosnos_ has joined #openstack-trove09:36
*** yogesh has quit IRC09:37
*** yogesh has joined #openstack-trove09:39
*** nosnos has quit IRC09:40
*** yogesh_ has joined #openstack-trove09:41
*** denis_makogon has quit IRC09:42
*** lifeless has joined #openstack-trove09:43
*** yogesh has quit IRC09:44
*** yogesh has joined #openstack-trove10:03
*** yogesh__ has joined #openstack-trove10:04
*** yogesh_ has quit IRC10:05
*** yogesh has quit IRC10:08
*** SergeyLukjanov is now known as _SergeyLukjanov10:23
*** bot_bot is now known as denis_makogon10:34
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Changes back trove_client.client.HTTPClient to client.HTTPClient  https://review.openstack.org/6137010:49
*** yogesh__ has quit IRC10:54
*** nosnos_ has quit IRC10:57
*** nosnos has joined #openstack-trove10:57
*** rongze has quit IRC11:21
openstackgerritSushil Kumar proposed a change to openstack/python-troveclient: Changes trove_client.client.HTTPClient to trove_client.HTTPClient  https://review.openstack.org/6137011:24
*** jcooley_ has joined #openstack-trove11:43
*** rongze has joined #openstack-trove11:44
*** jcooley_ has quit IRC11:47
*** yogesh has joined #openstack-trove12:05
*** amrith has joined #openstack-trove12:05
*** yogesh has quit IRC12:10
*** SergeyLukjanov has joined #openstack-trove12:10
denis_makogonhub_cap, while you would test cassandra, please use cassandra=1.2 version12:12
*** achampion has quit IRC12:32
*** pdmars has joined #openstack-trove13:01
*** dukhlov has joined #openstack-trove13:26
*** jcooley_ has joined #openstack-trove13:30
*** amrith has quit IRC13:31
*** jcooley_ has quit IRC13:35
*** achampion has joined #openstack-trove13:39
*** abramley has joined #openstack-trove13:49
*** nosnos has quit IRC14:06
*** robertmyers has joined #openstack-trove14:21
*** robertmy_ has joined #openstack-trove14:23
*** robertmyers has quit IRC14:23
*** jcooley_ has joined #openstack-trove14:25
*** robertmyers has joined #openstack-trove14:25
*** robertmy_ has quit IRC14:27
*** robertmyers has quit IRC14:27
*** robertmyers has joined #openstack-trove14:27
*** robertmy_ has joined #openstack-trove14:29
*** robertmyers has quit IRC14:29
*** jcooley_ has quit IRC14:29
*** robertmy_ has quit IRC14:29
*** robertmyers has joined #openstack-trove14:31
*** rnirmal has joined #openstack-trove14:34
*** dukhlov_ has joined #openstack-trove14:36
*** dukhlov has quit IRC14:36
*** kevinconway has joined #openstack-trove14:42
*** amrith has joined #openstack-trove14:48
*** SushilKM has quit IRC14:50
*** haomaiwang has quit IRC14:50
*** haomaiwang has joined #openstack-trove14:51
*** jcru has joined #openstack-trove14:52
*** amytron has joined #openstack-trove14:56
*** SergeyLukjanov_ has joined #openstack-trove15:03
*** freyes has joined #openstack-trove15:05
*** amrith has quit IRC15:05
*** SergeyLukjanov has quit IRC15:06
*** amrith has joined #openstack-trove15:06
*** SergeyLukjanov has joined #openstack-trove15:10
*** SergeyLukjanov_ has quit IRC15:12
*** Barker has joined #openstack-trove15:14
*** jcooley_ has joined #openstack-trove15:18
*** jcooley_ has quit IRC15:23
*** ashestakov has joined #openstack-trove15:26
*** datsun180b has joined #openstack-trove15:35
*** demorris has joined #openstack-trove15:38
mordredhi juice15:41
*** demorris has quit IRC16:03
*** haomaiwa_ has joined #openstack-trove16:04
*** haomaiwang has quit IRC16:04
*** SergeyLukjanov has quit IRC16:05
*** demorris has joined #openstack-trove16:08
*** jcooley_ has joined #openstack-trove16:15
openstackgerritRobert Myers proposed a change to openstack/python-troveclient: Adding pagination support for backups  https://review.openstack.org/6062616:16
*** radez_g0n3 is now known as radez16:19
*** jcooley_ has quit IRC16:20
hub_capdenis_makogon: when you say use cassandra=1.2, does the code not download that version?16:28
*** yidclare has joined #openstack-trove16:29
denis_makogonhub_cap, code does installing what was registered at datastore_version packages16:29
hub_capok cool so you just mean make sure teh version says 1.2 right?16:30
hub_caphow come thats not in the -integration code? i think we need to merge kevinconway16:30
hub_caplol16:30
hub_capmerge kevinconway 's code16:30
denis_makogonhub_cap, there is function which register datastore_type, version, and packages16:32
*** amrith has quit IRC16:32
hub_capyes there is something in trove-manage denis_makogon16:32
hub_capbut kevinconway had some code that called it properly iirc16:33
hub_caplet me find denis_makogon16:33
openstackgerritCraig Vyvial proposed a change to openstack/trove: use_stderr should be False for tox tests  https://review.openstack.org/6061216:33
cp16netok theres a better commit msg :)16:33
denis_makogonhub_cap, cmd_set_datastore()16:33
hub_caphttps://review.openstack.org/#/c/57780/16:33
*** jcooley_ has joined #openstack-trove16:33
denis_makogonhub_cap, yes16:34
cp16netSlickNik: you should be happier with the commit message ... AND i get extra credit :-P16:34
denis_makogonhub_cap, https://review.openstack.org/#/c/52666/5/scripts/files/elements/ubuntu-cassandra/install.d/10-cassandra16:34
*** haomaiwa_ has quit IRC16:37
*** haomaiwang has joined #openstack-trove16:37
*** SushilKM has joined #openstack-trove16:39
*** haomaiwang has quit IRC16:42
openstackgerritCraig Vyvial proposed a change to openstack/trove-integration: add test.rc file to source and .gitignore addition  https://review.openstack.org/5952716:43
hub_capcp16net: extra credit died w/ your soul in 6th grade16:43
cp16nettouché16:44
openstackgerritAndrey Shestakov proposed a change to openstack/python-troveclient: Add support of neutron NICs  https://review.openstack.org/6148116:45
hub_capi need a /slap cmd16:45
hub_caphttps://github.com/draggy/irssi-scripts/blob/master/slap.pl16:45
hub_capaww ya16:45
datsun180byou'd think there'd be some kind of Slap as a Service16:46
datsun180bsend a GET to the service and a bot joins the room long enough to /slap someone for you16:47
*** SushilKM has quit IRC16:51
*** rongze_ has joined #openstack-trove16:51
*** rongze__ has joined #openstack-trove16:52
*** rongze has quit IRC16:52
*** SushilKM has joined #openstack-trove16:56
*** rongze_ has quit IRC16:56
SushilKMhi hub_cap16:56
juicehello mordred16:56
SushilKMcurrently troveclient client is not working16:56
SushilKMthis is for the last change implemented on troveclient ....16:57
SushilKMI have fixed the bug please look into this checkin .... https://review.openstack.org/#/c/61370/16:57
*** timfreund has quit IRC16:57
*** ashestakov has quit IRC16:58
*** SushilKM has quit IRC16:58
mordredjuice: you seemed unhapy about mocking libraries earlier16:59
*** SushilKM has joined #openstack-trove16:59
juiceyes - very :(16:59
juicesome of it is bias but most of it is based on pragmatism16:59
*** greghill has joined #openstack-trove17:00
juicei found that the mock library for python makes the test code more difficult to understand and develop17:00
juiceI have used mockito in the java world (which is more about stubbing) and it worked incredibly well17:00
mordredyou know we're using the add-on mock and not just the one in the standard library, yeah?17:00
SushilKMall reviewers can please verify the checkin https://review.openstack.org/#/c/61370/17:01
*** glucas has joined #openstack-trove17:01
juicei was under the impression that it is the builtin mock17:01
mordredthing is - if you want to use mockito, you really need to convince the entire openstack project17:01
mordrednope17:01
mordredpip install mock17:01
clarkbit is built in in python317:01
juiceso add on for python 2 but builtin for python 317:01
juice?17:01
juiceright clarkb17:02
mordredhttps://pypi.python.org/pypi/mock17:02
mordredyeah17:02
juiceso I am feeling the chance are slim but I would like to take a run at it since it is something I feel passionate about17:02
juiceor am I wasting my time17:03
SlickNikThanks cp16net for updating the commit message!17:04
cp16netSlickNik: np17:04
juiceother than the "batteries included" argument, I don't feel the builtin lib compares in terms of readability and usability to mockito.  Perhaps a demonstration (side-by-side) and education will help convince others to give it a go17:05
SlickNikNow if only I could get someone to look at merging the requirements patches so that we can fix the trove-docs gate.17:05
juiceesp. if we are going to put all this effort into switching/rewriting tests17:05
mordredjuice: go for it. I mean, the worst that can happen is you get flamed17:06
juicemordred - through the mailing list is the best route to bring it up17:06
mordredjuice: you may want to try convincing lifeless - he's really good at counter arguments17:06
mordredjuice: yeah - throught he mailing list17:06
juicethats a good idea.  I'll spar with him first ;)17:07
SlickNikhub_cap / grapex: https://review.openstack.org/#/c/61255/, and https://review.openstack.org/#/c/61267/ when you get a chance.17:07
mordredjuice: word to the wise - a) be prepared that you might get eye rolls since we just did a mox vs. mock debate - and b) you'll get further if you talk about how productive you feel mockito makes you vs. mock being deficient17:07
*** dougshelley66 has joined #openstack-trove17:09
juicegot it - thanks mordred those are good points.17:09
mordredjuice: good luck!17:10
juicethanks man17:11
*** rongze__ has quit IRC17:11
*** freyes has quit IRC17:11
denis_makogonwhazaaap17:11
openstackgerritGreg Hill proposed a change to openstack/trove: check for invalid hostnames on update_attributes  https://review.openstack.org/6150517:16
*** rongze has joined #openstack-trove17:17
hub_capand here i thought i was gonna give greghill his first -1 but denis_makogon beat me to it!17:20
denis_makogonhub_cap, hehe17:20
*** SergeyLukjanov has joined #openstack-trove17:20
denis_makogonhub_cap, have you tested cassandra =) ?17:22
hub_cap3-redis   4-cassandra   5-mongo <-- tabs in my tmux right now17:22
hub_capim testing all 317:23
hub_capbut two of the vms failed with a rabbitmq error17:24
hub_capand the last 4 runs failed too on jenkins17:25
denis_makogoncould you please explain a bit17:26
openstackgerritJames E. Blair proposed a change to openstack/python-troveclient: Add -U to pip install command in tox.ini  https://review.openstack.org/6151017:26
datsun180boh bonk i reversed user and host for my use case but i'm guessing ostensibly if you wanted to change only the user and not the host you could do that17:26
datsun180blike if you fire fred@secure-location but you want to give his replacement derf@secure-location all the same powers i guess17:27
*** SushilKM has quit IRC17:28
hub_capdenis_makogon: https://gist.github.com/hub-cap/791475317:28
denis_makogonhub_cap, doh =(17:29
hub_capyea it happend on all 3 of the instances i spawned17:29
hub_capoh well ill delete recreate :)17:29
denis_makogonhub_cap, nice17:32
openstackgerritJames E. Blair proposed a change to openstack/trove: Add -U to pip install command in tox.ini  https://review.openstack.org/6151517:34
*** amrith has joined #openstack-trove17:42
openstackgerritRobert Myers proposed a change to openstack/trove: Moving storage logic out of backup runner class  https://review.openstack.org/5670217:43
denis_makogonhub_cap, SlickNik could we get sphinx update landed ?17:50
*** yidclare has quit IRC17:54
*** SushilKM has joined #openstack-trove17:56
SlickNikdenis_makogon: sure. Just waiting for core approval on the requirements patch.17:56
denis_makogonSlickNik, you are core =)))17:57
*** grapex has joined #openstack-trove17:59
datsun180b#openstack-meeting-alt folks18:00
SlickNikdenis_makogon: Yes, but it's my patch. :) I'd like someone else to review and approve.18:00
denis_makogonSlickNik, ok =))18:00
denis_makogondamn, we have so many wrong assertions ...18:02
denis_makogonin unit tests18:02
*** radez is now known as radez_g0n318:21
*** amcrn has joined #openstack-trove18:28
*** radez_g0n3 is now known as radez18:37
*** simonmcc has quit IRC18:38
*** yidclare has joined #openstack-trove18:42
*** simonmcc has joined #openstack-trove18:42
*** SushilKM has quit IRC18:42
*** yogesh has joined #openstack-trove18:42
lifelessjuice: mordred: hi, wassup?18:50
juicegood morning lifeless (or is it)18:51
juiceso I want to take up our choice of mock frameworks to the openstack folks in general18:52
juiceI see there are some strong arguments in terms of productivity/readability in using mockito18:52
lifelessok18:53
juiceit's perhaps a lesser known mock/stub framework in the python world but has great success in the java communitiy18:53
juicelifeless: what do you think would be the most effective medium to present the case? code samples?18:55
lifelesswell19:00
hub_capok so should we continue our conversations?19:00
datsun180boh19:00
datsun180bboy19:00
lifelessfirstly I'd thin about what benchmark the case needs to reach to be worth even discussing19:01
lifelesslike19:01
hub_capmaybe lets finish the mockito discussion first19:01
denis_makogonyup19:01
lifelesssay it takes two weeks of use to get up to speed on mockito19:01
juicewell lifeless is providing some feedback now19:01
lifelessand say the docs are as accessible and complete as mock19:01
juiceok19:02
lifelessand say its going to take 2 years to migrate such that noone needs to care about the other frameworks anymore19:02
denis_makogonso, what should we do ?19:02
lifeless(The lower bound is 1 year to let old releases become unsupported)19:02
*** olkonami has joined #openstack-trove19:03
lifelesswe've got > 1000 developers to retrain19:03
juiceeither way yes?19:03
lifelessand for the next 2 years they would have to train on 3 different mock libraries19:03
lifelessmox, mock, and mockito19:03
hub_capwhen will the train arrive in cairo?19:03
lifelesswhats the net productivity gain going to be?19:04
lifelesshow long will this take to payoff, for it to be worth doing19:04
lifelessso thats one thing19:04
datsun180bhub_cap: trick question, the station's closed on Sundays19:04
lifelessa second thing, is what - if any - actual pain points do we have that it's solving.19:04
lifelessLike for nose vs testr, infra articulated a bunch of reliability issues they encounted due to observing tests running at scale.19:04
hub_capthats the best Q right there lifeless19:05
grapexjuice: How many tests are currently using mockito?19:05
lifelessThat + some features like test output archiving and the particular form of parallelism used were the selling points for nose -> testr19:05
hub_capif it doesnt offer us anything we cant get from existing frameworks then there is not a good reason to use it19:05
juiceother than incorrectly writing the tests/mocks, I am not aware of any issues of scale, bugs, with either19:05
lifelessSo *if* it's going to pay for itself *even though* it means three frameworks for an indefinite period, *and* it's going to solve pain points that are affecting (directly or indirectly) many people19:06
juicegrapex: I'm not that sure but I would say around 20%19:06
lifelessthen I think it's a discussion worth having19:06
lifelessand at that point we should look at how to have the discussion itself19:06
lifelessotherwise, while personally I'm a great fan of using the right tool for the job, and allowing variation about those tools, the OpenStack culture is very much concerned with homogeneity where possible (at least at the moment), so I think you'd run into a pretty strong pushback19:08
juicethe main pain point I feel of this particular issue is a) the speed in which it takes to write the correct stub and b) the ability to understand what that stub does from a maintainers perspective19:08
lifeless.19:08
juicetests are roughly equal to half the number of lines of code in openstack19:08
imsplitbitjuice we had some issues mocking builtins with mockito which weren't present when using mox19:08
imsplitbitfyi19:08
imsplitbitor rather fwiw19:09
juicethat would be good to know imsplitbit19:09
imsplitbitspecifically mocking __builtin__.open()19:09
lifelessalways a risky proposition19:09
imsplitbitcweid can fill you in with code samples19:10
imsplitbitwell we have code that specifically opens file handles and does things and we wanted to test as much of the code path as possible so the most direct mock would be open()19:10
imsplitbitit can be done responsibly19:10
imsplitbitthis was done in some code I wrote for nova19:11
juicei'll look into that but that is either a known issue or there is a workaround for it19:11
imsplitbityeah I'm just letting you know the one issue we ran into with mockito19:11
imsplitbitand it may be valid to say "you're doing it wrong"19:11
imsplitbitjust making sure we communicated that use case upstream19:11
datsun180boh are we talking about mockito weirdness19:12
datsun180bhttps://github.com/openstack/trove/blob/master/trove/tests/unittests/conductor/test_methods.py#L2719:12
datsun180bthought that may just be part of testcase19:13
datsun180bnever quite figured it out19:13
*** rongze has quit IRC19:13
juicedatsun180b yeah that is odd perhaps a misuse19:14
juicewell for those of you that have used both mock libraries - do you have a preference?19:14
datsun180byeah i had to save and restore that method because only once i was within the body of Testcase the method had been nulled19:15
*** rongze has joined #openstack-trove19:15
cp16netthats weird19:16
datsun180bi personally prefer to mock objects and not built when.thens19:16
juiceok thanks for being upfront datsun180b19:16
juiceanybody else want to chime in on your experience?19:17
lifelessthe problem with open specifically is that testcase will open .py files to get lines for exception rendering19:18
juiceand logging...lifeless19:18
lifelesshttps://github.com/openstack/trove/blob/master/trove/tests/unittests/conductor/test_methods.py#L46 <- that should be a cleanUp, not a tearDown19:18
lifelessyeah19:19
lifelessopening files is an operation on global state19:19
lifelessit's not pure19:19
lifelessso if you're mocking it, you have to allow for many more potential interactions19:19
lifelessfor that case I'd always use a thunk function which can be mocked or injected without affecting the global open19:19
juicelifeless: that is a good suggestion19:20
olkonamiHi! We are working on support SQLAlchemy 0.8 in openstack. Trove is the last openstack core project which unit tests fail with this version. Please review the fix (it's really small :)) https://review.openstack.org/#/c/59157/19:21
*** rongze has quit IRC19:22
hub_caphi olkonami awesome, thx!19:22
hub_capolkonami: approved19:23
olkonamithank you!19:23
juiceso that bug test case posted above isn't even using mockito other than unstub...which probably shouldn't be called at all but also shouldn't have any impact19:26
juiceand if it does then some previous test is not unstubbing the mocks datsun180b19:27
cp16netdenis_makogon: in the review where you removed vim lines and cleaned up the copyright lines you have removed some copyright lines for companies19:27
denis_makogoncp16net, where ?19:27
cp16neti saw HP removed in at least one spot as i was going through the 100000s of files19:28
datsun180bright, i spent way too long trying to unknot those worker thread logs and this was the solution i chose to get conductor in for i1 and merged before Ragnarok19:28
juicedatsun180b - are you inferring that the multiple worker threads of testr along with mocking is causing an issue?19:29
datsun180bnothing so grand, just my failure to unknot them in a timely fashion19:30
denis_makogoncp16net link ?19:30
hub_capgit diff|grep -B10 opy19:32
hub_capmaybe back 10 is too much denis_makogon :)19:32
robertmyersanyone know why the tox tests are logging all sorts of info to the console now?19:33
robertmyersit is impossible to see anything useful19:34
denis_makogonhub_cap, cp16net gonna fix that19:34
cp16netdenis_makogon: https://review.openstack.org/#/c/60276/1/trove/extensions/routes/security_group.py19:34
cp16netrobertmyers: yeah19:34
denis_makogoncp16net, only there ?19:34
*** openstackgerrit has quit IRC19:34
*** openstackgerrit has joined #openstack-trove19:34
cp16netdenis_makogon: i got lost in all the files19:34
cp16netthats at least one19:35
denis_makogoncp16net, ok, i got it19:35
cp16netrobertmyers: https://review.openstack.org/#/c/60612/19:35
*** rnirmal has quit IRC19:36
hub_caprobertmyers: are they failing19:37
hub_capcuz if thats the case theyve always puked19:37
hub_capoh cool cp16net19:38
hub_capmmmm my brother made some strawberry jelly and sent it to me19:41
imsplitbitoh man19:43
imsplitbitI bet that's good19:43
imsplitbithub_cap: you missed my andouille chili19:43
imsplitbitit was so good19:43
hub_capoh man i bet19:43
imsplitbitcweid said it was disgusting19:43
hub_capi just had 2 piece o' toast19:43
imsplitbitafter his 4th bowl19:43
hub_capsrsly???? hows that even possible19:43
hub_capoh ok19:43
hub_capso we still never came to conclusion about mount_point SlickNik ikhudoshyn did we19:47
openstackgerritGreg Hill proposed a change to openstack/trove: check for invalid hostnames on update_attributes  https://review.openstack.org/6150519:48
*** yogesh has quit IRC19:49
denis_makogonhub_cap, am i able to try adding multiple mount points via oslo.config groups ?19:50
greghillis something broken with the docs gating tests?  "error: 'source_dir' must be a directory name (got `/home/jenkins/workspace/gate-trove-docs/doc/source`)"19:51
cp16netyeah i think so19:51
denis_makogongrapex, sphinx19:51
robertmyersgreghill: was about to ask the same thing19:51
denis_makogongreghill, sphinx19:51
*** glucas has quit IRC19:51
*** glucas has joined #openstack-trove19:52
robertmyersdenis_makogon: works for me on my machine19:52
denis_makogonrobertmyers, version ?19:52
hub_capgreghill: robertmyers we have a fix thats merging19:52
robertmyershub_cap: cool19:53
hub_caphttps://review.openstack.org/#/c/61255/19:53
hub_caphttps://blueprints.launchpad.net/trove/+spec/refactor-test-codes <-- best description evar19:58
*** yogesh has joined #openstack-trove20:00
*** Barker has quit IRC20:00
*** SergeyLukjanov has quit IRC20:02
*** Barker has joined #openstack-trove20:04
SlickNikhub_cap: looks like python-troveclient is currently broken :(20:05
*** ashestakov_phone has joined #openstack-trove20:05
SlickNikhttps://review.openstack.org/#/c/61370/ is the fix, so please review when you get a chance.20:06
kevinconwayhub_cap: outch… that's a harsh description20:09
*** freyes has joined #openstack-trove20:13
openstackgerritRobert Myers proposed a change to openstack/trove: Simplify swift storage load logic  https://review.openstack.org/5779620:15
*** yogesh has quit IRC20:17
hub_capkevinconway: lol right?20:19
hub_capits kinda a dup bp, but im keeping and making it the parent of the present bp20:19
*** yogesh has joined #openstack-trove20:19
*** vipul is now known as vipul-away20:21
*** vipul-away is now known as vipul20:21
*** yogesh has quit IRC20:31
*** amrith has quit IRC20:31
*** vipul is now known as vipul-away20:37
hub_capso is anyone else seeing the issue20:39
hub_caphttps://gist.github.com/hub-cap/791803720:39
openstackgerritRobert Myers proposed a change to openstack/trove: Fix mysqldump backup and restore  https://review.openstack.org/5923420:39
hub_capashestakov_phone: i beleive was seeing this issue earlier today20:39
hub_capdenis_makogon: ^ ^20:42
hub_capfor some reason when i remove your latest commit to python-troveclient, i dont see issues anymore20:43
hub_capi think u introduced a bug denis_makogon20:43
*** radez is now known as radez_g0n320:44
hub_capalso denis_makogon plz update your cassandra trove-integration review (sorry, rebase)20:46
hub_capits somewhat old and there are bugs on that branch20:46
*** demorris has quit IRC21:01
openstackgerritRobert Myers proposed a change to openstack/trove: Properly mark a backup as FAILED if the process failed  https://review.openstack.org/5928321:01
*** denis_makogon_ has joined #openstack-trove21:02
hub_capashestakov_phone: i found the bug, ill have a review up in ~5 min21:06
hub_capashestakov_phone: even better, https://review.openstack.org/#/c/61370/21:08
cp16nethub_cap: i didnt see that error21:09
cp16netdatastore-list worked for me21:09
cp16netthis is built 5 days ago21:10
*** denis_makogon has quit IRC21:10
*** denis_makogon has joined #openstack-trove21:10
*** denis_makogon has quit IRC21:11
*** denis_makogon_ is now known as denis_makogon21:11
*** dmakogon_ has joined #openstack-trove21:11
hub_capya this was the last commit cp16net21:12
hub_capit was the one that killed the client21:12
hub_capok im runnin to the store, ill be back in ~30 min21:14
openstackgerritDenis M. proposed a change to openstack/trove-integration: Initial support for single instance Cassandra Database  https://review.openstack.org/5266621:15
*** jasonb365 has joined #openstack-trove21:16
*** olkonami has left #openstack-trove21:18
openstackgerritRobert Myers proposed a change to openstack/trove: Simplify swift storage load logic  https://review.openstack.org/5779621:25
*** vipul-away is now known as vipul21:25
*** yogesh has joined #openstack-trove21:26
openstackgerritRobert Myers proposed a change to openstack/trove: Fix mysqldump backup and restore  https://review.openstack.org/5923421:28
openstackgerritA change was merged to openstack/python-troveclient: Changes trove_client.client.HTTPClient to trove_client.HTTPClient  https://review.openstack.org/6137021:29
SlickNikhub_cap: did you see my comment above?21:29
SlickNikOh good, you merged the fix to python-troveclient :)21:30
*** jcooley_ has quit IRC21:34
vipulhub_cap, grapex: any reason why when DNS support is enabled we name the nova vm the same as the hostname, instead of instance name21:37
cp16netvipul: i think for traceability?21:39
cp16netnot sure tho21:39
*** jcooley_ has joined #openstack-trove21:39
vipulwoudl you guys be opposed to changing that to just always be customer supplied name?21:41
robertmyersvipul: is that how it works without dns enabled?21:48
vipulyes21:48
robertmyersI can't think of any reasons not to do that21:50
vipulcool then21:50
vipulthanks robertmyers21:50
*** freyes has quit IRC21:57
*** achampion has quit IRC21:57
hub_capjuice: u got a fix for https://bugs.launchpad.net/trove/+bug/1236620 yet ?22:00
hub_capit nuked a review 2x times that we are trying to get in22:00
robertmyershub_cap: it is always the deleted_at time22:01
robertmyerswhich is a hack, as we can't check for the record as the instance was deleted22:02
SlickNikYeah, it's always that deleted_at time for the resize event.22:02
* hub_cap cant remember robertmyers 22:02
hub_capjuice: would know22:02
robertmyerswe have to change the delete to use the management api with deleted=True to get the actual time22:03
robertmyersin the test that is22:04
*** greghill has quit IRC22:04
*** demorris has joined #openstack-trove22:06
*** pdmars has quit IRC22:07
imsplitbitalrighty I'm out.  see yous guys tomorrow.22:10
denis_makogonimsplitbit, cu tomorrow22:10
denis_makogonguys, i've got question, are we planning to move from openstack/wsgi to pecan ?22:12
juice@hub_cap: i do but I found a "bug" in a related test that needs to be fixed first22:13
openstackgerritA change was merged to openstack/trove: Fixed PEP8/flake8 issues  https://review.openstack.org/6126722:19
*** grapex has quit IRC22:31
openstackgerritSteve Leon proposed a change to openstack/trove: Make use of IP filtering when creating DNS records  https://review.openstack.org/6158922:35
openstackgerritRobert Myers proposed a change to openstack/trove: Fix deleted_at timestamp in usage tests  https://review.openstack.org/6159022:37
robertmyershub_cap: juice: ^^22:37
juicerobertmyers: responded22:42
hub_capdenis_makogon: sure, eventually, but its very low priority22:44
hub_capid like to see other projects take on the migration first, so we have less issues)))22:44
hub_capjuice: robertmyers so whats the deal w/ this fix? it seems that both of you are working on it in some way22:46
juiceI am working on the resize timestamp issue22:46
juiceIt's fix requires something different from what robertmyers is doing.  the resize test is that one that most frequently caused an error .... for me22:47
juicehub_cap ^ ^22:47
juicethe instance.service_status.status is currently what I am chasing down22:48
juicethere is a scenario whether contrived or not exists in the resize which causes an error in status calculation in SimpleInstance.status22:49
juicein other words, i believe both the issue that robertmyers is addressing and the one that I am are both needed22:49
juiceand uniquely foobarred :)22:50
robertmyersjuice: I responded as well22:50
robertmyersthe deleted_at is not the same as the DB record22:51
robertmyerscause we just set that when we delete it in the test22:51
*** glucas has quit IRC22:52
robertmyersit is not the actual time of deletion22:52
juiceah ok then should we remove that attribute on instance_info, does it serve a purpose?22:52
robertmyersI did remove it22:52
juiceI was under the impression they were to represent the same value22:53
robertmyerswell, that was the idea, but in practice it is not the same22:53
robertmyersprobably microseconds rounding error22:53
juiceyeah that's crap22:54
juiceexpanding the lines in gerrit to get context helps the review process :)22:54
robertmyers:)22:54
openstackgerritRobert Myers proposed a change to openstack/trove: Fix deleted_at timestamp in usage tests  https://review.openstack.org/6159022:56
robertmyers^^^ now with less pep8 errors22:56
*** demorris has quit IRC22:57
hub_capso SlickNik, do we have a recheck bug XX for the doc update issue we had earlier today?22:57
robertmyersalright, well, I have to run, happy reviewing22:57
hub_capso we can go reverify/c/recheck some of the failed builds22:58
hub_capthx robertmyers cu22:58
hub_capalso i prefer _more_ pep8 errors22:58
robertmyersdoh22:58
robertmyersI'll submit a review for that22:58
hub_caplol robertmyers22:59
*** jmontemayor has joined #openstack-trove22:59
hub_capthx for fixing this, i cant wait for robots to +2 it!22:59
yidclareare you being replaced by robots hub_cap?23:00
SlickNikhub_cap: I don't have a bug number for the sphinx issue. I wonder if there's an openstack wide bug for it.23:00
SlickNikhub_cap: you can do "recheck no bug", just not "reverify no bug"23:00
*** demorris has joined #openstack-trove23:01
hub_capcool lets hope no one was in reverify state :p23:02
kevinconwayso do we need to start creating and tracking gate bugs to work with "reverify"?23:02
*** robertmyers has quit IRC23:02
SlickNik There's a couple in reverify state.23:03
SlickNikbtw the bug is https://bugs.launchpad.net/openstack-ci/+bug/125951123:03
hub_capSlickNik: did u already start the 'recheck no bug' madness?23:03
hub_capi saw you had done one like 15 min ago23:04
SlickNikyes, I already started that23:04
*** amytron has quit IRC23:05
SlickNikWe're already starting to see some greens, but it will be better after the fix for the deleted timestamp issue merges.23:05
SlickNikI'm holding off on +2 & approving until things stabilize, though.23:06
hub_capok thats a good point SlickNik, lets wait for robots to +1 that timestamp issue23:07
SlickNiksounds good.23:07
hub_capthen we can wait for merge of it and then tomorrow we can recheck no bug23:08
hub_capcuz itll be 8pm pacific by the time all that happens :P23:08
hub_capdatsun180b: https://blueprints.launchpad.net/trove/+spec/taskmanager-statusupdate23:09
hub_capim thinking thats a duplicate ;)23:09
*** yogesh has quit IRC23:10
esmuteI got a question23:12
esmuteI enabled DNS support in trove and i see that the IP is still shown in instance detail (trove show)23:12
hub_capcp16net: around?23:12
*** Barker has quit IRC23:12
esmutei was under the impression that only the hostname was shown23:13
juiceI am going coo-coo from instance(to the power of) status overload23:13
hub_capesmute: u set dns_support to True right?23:13
esmutehub_cap: yes23:13
*** demorris has quit IRC23:13
esmutehub_cap: I was expecting not to see the IP. just the hostname23:13
hub_capwell thats odd.. it should only give u the hostname23:13
juicei hereby declare if someone creates a new class with either instance or status in it, I will give it an immediate -123:13
esmuteis that indented?23:13
esmute*intended23:14
hub_capesmute: oh crapola23:14
hub_caphttps://github.com/openstack/trove/blob/d488e37a698d6f1727d3abeb31d7c6a7699af778/trove/instance/views.py#L9523:14
hub_caplooks like u have to set add_addresses to false too23:14
hub_capthey are independent, i guess... maybe we can say thats a bug too hehe23:15
esmutehub_cap: ahh ok.... ill get a patch in then...23:15
esmutejust wanted to make sure this was the intended behavior23:15
hub_capesmute: maybe it is? im not sure.. it doesnt seem intuitive to me, but grapex / rax crew migthve had a reason23:16
*** yogesh has joined #openstack-trove23:16
esmutehub_cap: also noticed that the compute name get set to the hostname. As supposed to the trove instance name23:17
*** flaper87 is now known as flaper87|afk23:17
*** yogesh has quit IRC23:17
*** jasonb365 has quit IRC23:17
*** kevinconway has quit IRC23:19
denis_makogonesmute, trove instance name = nova instance name = kvm VM host name23:21
esmutedenis_makogon: What i am seeing is that when dns is on, nova name = hostname23:22
denis_makogonesmute, it's normal23:22
denis_makogonesmute, dns entry doesn't modify hostname of VM23:22
hub_capesmute: correct, thats a thing that rax wanted23:23
denis_makogonesmute, designate will resolve DNS name23:23
hub_capso that the hostname == the displayed vm name23:23
esmutei am not agasint it... just weird seeing that my nova instances who were named after the trove instances are now named <somehash>.domain.com23:24
denis_makogonhub_cap, could this be approved ? https://review.openstack.org/#/c/61169/23:26
denis_makogonwould be nice to see Monty's bug report resolved23:27
hub_capdenis_makogon: why are u asking me?23:27
hub_cap:)23:27
denis_makogonoh, sorry, forgot that i typed your nickname ...23:28
hub_cap:P23:28
hub_capask core who havent +2'd it ;)23:28
*** abramley has quit IRC23:28
datsun180bPriority -> Low23:29
datsun180boh i see how it is23:29
*** abramley has joined #openstack-trove23:29
datsun180bi forget how to make the robot reverify my work oh wait they turned off nobug didn't they23:30
SlickNikdatsun180b: you can still do "recheck no bug". Which patch are you looking at?23:30
datsun180bSlickNik: just a dumb one I made that failed at verify because of sphinx23:31
denis_makogonanother question about infra, are we going to use ElasticRecheck ?23:31
SlickNik(They only turned off "reverify no bug" because they want to be able to identify issues which were making the gate unstable.23:31
SlickNik)23:31
*** abramley has quit IRC23:31
datsun180byeah i should have known better23:31
openstackgerritA change was merged to openstack/trove: Replace "tokenauth" by "authtoken" in configuration files  https://review.openstack.org/6113423:33
SlickNikdenis_makogon: I think that's for tempest failures. Makes sense to use it _after_ we have tempest tests.23:33
denis_makogonSlickNik, thanks for explanation23:33
datsun180bthat did it23:34
denis_makogonSlickNik, could you please take a look https://review.openstack.org/#/c/61169/ ?23:34
*** openstackgerrit has quit IRC23:35
*** openstackgerrit has joined #openstack-trove23:36
*** dougshelley66 has quit IRC23:41
*** jcru has quit IRC23:46
datsun180bhow in the hell would 26 fail if 27 passed23:50
*** vipul is now known as vipul-away23:52
denis_makogondatsun180b, easily =))23:55
*** openstackgerrit has quit IRC23:56
*** openstackgerrit has joined #openstack-trove23:56
datsun180bwell i claim no fault, i'll investigate it tomorrow23:56
*** datsun180b has quit IRC23:56
denis_makogonsad, that eventlets, greenlets are not working with py3 =(23:57

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