Thursday, 2014-09-11

*** mattgriffin has quit IRC00:09
*** juantwo has quit IRC00:15
*** harlowja_ has quit IRC00:25
*** harlowja has joined #openstack-trove00:28
*** juantwo has joined #openstack-trove00:29
*** juantwo has quit IRC00:29
*** juantwo has joined #openstack-trove00:29
openstackgerritOpenStack Proposal Bot proposed a change to openstack/python-troveclient: Updated from global requirements  https://review.openstack.org/12061000:31
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Updated from global requirements  https://review.openstack.org/11981800:32
*** ViswaV has quit IRC00:35
*** mattgriffin has joined #openstack-trove00:35
*** Riddhi has joined #openstack-trove00:37
*** IanGovett has quit IRC01:02
*** newb_ has quit IRC01:17
*** saurabhs has left #openstack-trove01:26
*** juantwo has quit IRC01:33
*** grapex_ has quit IRC01:34
*** rhodgin has joined #openstack-trove01:42
openstackgerritPeter Stachowski proposed a change to openstack/trove: Document Trove configuration options  https://review.openstack.org/11875901:44
*** Riddhi has quit IRC01:44
*** nosnos has joined #openstack-trove01:47
stevelleamcrn: ty, will look at that next01:48
*** haomaiwang has quit IRC01:54
*** haomaiwang has joined #openstack-trove01:54
*** juantwo has joined #openstack-trove01:56
*** juantwo has quit IRC01:58
*** juantwo has joined #openstack-trove01:58
openstackgerritAuston McReynolds proposed a change to openstack/trove: Custom Flavors For Config Servers and Routers  https://review.openstack.org/12067202:03
*** jasonb365 has joined #openstack-trove02:04
*** ramashri has quit IRC02:10
*** haomaiwang has quit IRC02:12
*** haomaiwang has joined #openstack-trove02:13
amcrnstevelle: i haven't tested this, but see https://ask.openstack.org/en/question/608/launching-instance-and-volume/?answer=673#post-id-67302:21
amcrnbbiab02:22
*** amcrn has quit IRC02:22
*** johnma has quit IRC02:38
*** vkmc has quit IRC02:40
*** rushiagr_away is now known as rushiagr02:53
*** ramishra has joined #openstack-trove03:04
*** rushiagr is now known as rushiagr_away03:14
*** mrsnivvel has joined #openstack-trove03:20
*** Longgeek has joined #openstack-trove03:29
*** Longgeek_ has joined #openstack-trove03:32
*** Longgeek has quit IRC03:36
*** rushiagr_away is now known as rushiagr03:46
*** haomaiwang has quit IRC03:54
*** haomaiwa_ has joined #openstack-trove03:54
*** ramishra has quit IRC03:56
*** ramishra has joined #openstack-trove03:57
*** ramishra has quit IRC03:58
*** ramishra has joined #openstack-trove03:58
*** haomai___ has joined #openstack-trove04:00
*** haomai___ has quit IRC04:00
*** haomaiw__ has joined #openstack-trove04:01
*** ramashri has joined #openstack-trove04:01
*** haomaiwa_ has quit IRC04:02
*** harlowja is now known as harlowja_away04:05
*** haomaiwang has joined #openstack-trove04:06
*** ramashri has quit IRC04:08
*** ramashri has joined #openstack-trove04:09
*** sgotliv has joined #openstack-trove04:10
*** haomaiw__ has quit IRC04:10
*** jasonb365 has quit IRC04:19
*** ramishra has quit IRC04:23
*** ramishra has joined #openstack-trove04:24
*** mattgriffin has quit IRC04:31
*** johnma has joined #openstack-trove04:32
sgotlivSlickNik, are you still awake?05:12
SlickNiksgotliv: Yes, still around05:12
SlickNikWhat's up?05:12
sgotlivCan you take a look on the RPC patch05:12
sgotlivsending a link05:13
sgotlivhttps://review.openstack.org/#/c/94484/05:13
sgotlivIt seems like there is a delay of an hour in the end of the log....05:13
sgotlivwhich I can't explain05:13
sgotlivand therefore build is marked as failed05:14
sgotlivalthough all running tests were skipped or passed05:14
sgotlivpep8 thing is on me :-)05:14
SlickNiksgotliv — will need to look into why the unit tests are not running.05:18
SlickNiksgotliv: Looks like the fake mode tests ran correctly, but the unit tests that run using testr timed out.05:18
sgotlivok, let me check, go to rest05:19
sgotlivthanks for explanation05:19
SlickNiksgotliv: This seems like the relevant part:05:19
SlickNikhttp://paste.openstack.org/show/109943/05:19
SlickNiksgotliv: unit tests are run using: "python setup.py testr --slowest"05:20
sgotlivI saw it, I just didn't know about the second part of tests05:20
SlickNikAnd for some reason, it looks like that is hanging05:20
SlickNikcausing "Build timed out (after 50 minutes). Marking the build as failed."05:20
sgotlivno problem, I'll resolve it, now when you explained me that05:20
sgotlivright05:20
SlickNikCool, thanks so much for looking at this!05:21
sgotlivThis is a good and only way to learn quick05:21
sgotlivand thanks for the explanation05:21
SlickNikNot a problem — I hope to start reviewing the code tomorrow (and will encourage other folks to start looking at it as well).05:23
SlickNikbrb05:23
sgotlivno problem, I hope to make it ready till then05:24
sgotlivbut review should start anyway05:24
sgotlivbecause its important to discover potential issues as soon as possible05:24
*** ajayaa has joined #openstack-trove05:32
*** amcrn has joined #openstack-trove05:44
*** flaper87|afk is now known as flaper8705:58
*** vigneshvar has joined #openstack-trove05:59
*** prasoon has joined #openstack-trove06:00
*** vigneshvar_ has joined #openstack-trove06:01
*** vigneshvar_ has quit IRC06:03
*** ramishra has quit IRC06:09
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Imported Translations from Transifex  https://review.openstack.org/11769506:09
*** achampion has quit IRC06:11
*** Longgeek_ has quit IRC06:17
*** Longgeek has joined #openstack-trove06:18
*** Longgeek has quit IRC06:20
*** ramishra has joined #openstack-trove06:23
*** ramishra has quit IRC06:27
*** ramishra has joined #openstack-trove06:27
*** ViswaV has joined #openstack-trove06:31
*** ViswaV_ has joined #openstack-trove06:33
*** k4n0 has joined #openstack-trove06:34
*** ViswaV has quit IRC06:36
*** ramashri has quit IRC06:40
*** ramashri has joined #openstack-trove06:40
*** Longgeek has joined #openstack-trove06:52
*** ramashri has quit IRC06:57
*** ramishra has quit IRC06:58
*** ramashri has joined #openstack-trove07:02
*** haomaiwang has quit IRC07:10
*** haomaiwa_ has joined #openstack-trove07:10
*** todd_dsm has joined #openstack-trove07:12
openstackgerritAuston McReynolds proposed a change to openstack/trove: Custom Flavors For Config Servers and Routers  https://review.openstack.org/12067207:14
*** ramashri has quit IRC07:15
*** haomaiwa_ has quit IRC07:17
*** haomaiw__ has joined #openstack-trove07:17
*** amcrn has quit IRC07:23
openstackgerritA change was merged to openstack/trove: Register postgres_group in trove config  https://review.openstack.org/12026507:25
*** haomaiwang has joined #openstack-trove07:31
*** ramishra has joined #openstack-trove07:31
*** ramishra has quit IRC07:32
*** ramishra has joined #openstack-trove07:33
*** haomaiw__ has quit IRC07:35
*** boblebauce has joined #openstack-trove08:06
*** vigneshvar has quit IRC08:11
sgotlivcp16net, ping08:14
*** juantwo_ has joined #openstack-trove08:16
*** juantwo has quit IRC08:20
*** vigneshvar has joined #openstack-trove08:24
*** julienvey has joined #openstack-trove08:29
*** iartarisi has joined #openstack-trove08:33
openstackgerritSergey Gotliv proposed a change to openstack/trove: Updates RPC API to use oslo.messaging  https://review.openstack.org/9448408:41
*** sunrenjie6 has joined #openstack-trove08:46
*** ViswaV_ has quit IRC08:48
openstackgerritIonut Artarisi proposed a change to openstack/trove: Add support to detect SUSE  https://review.openstack.org/10839408:58
openstackgerritIonut Artarisi proposed a change to openstack/trove: Add SUSE support in mysql datastore  https://review.openstack.org/10870308:58
openstackgerritIonut Artarisi proposed a change to openstack/trove: Add support to detect SUSE  https://review.openstack.org/10839408:58
openstackgerritIonut Artarisi proposed a change to openstack/trove: Add SUSE support in mysql datastore  https://review.openstack.org/10870308:58
*** ramishra has quit IRC09:25
*** ramishra has joined #openstack-trove09:25
*** ramishra has quit IRC09:27
*** ramishra has joined #openstack-trove09:30
*** sunrenjie6 has quit IRC09:35
*** haomaiwang has quit IRC09:42
*** haomaiwang has joined #openstack-trove09:42
openstackgerritA change was merged to openstack/trove: Marks mysql slave read-only  https://review.openstack.org/11838609:50
*** haomaiwang has quit IRC10:02
*** haomaiwang has joined #openstack-trove10:03
*** d0ugal has quit IRC10:08
*** d0ugal has joined #openstack-trove10:08
*** boblebauce has quit IRC10:24
*** vkmc has joined #openstack-trove10:36
*** ramishra has quit IRC10:39
*** ramishra has joined #openstack-trove10:40
*** newb_ has joined #openstack-trove10:43
*** PeterSchwaller has quit IRC10:59
*** PeterSchwaller has joined #openstack-trove11:00
*** julienvey has quit IRC11:14
*** tomblank has quit IRC11:15
*** julienvey has joined #openstack-trove11:21
*** julienvey has quit IRC11:23
*** julienvey has joined #openstack-trove11:23
*** julienve_ has joined #openstack-trove11:24
*** julienvey has quit IRC11:24
*** prasoon has quit IRC11:37
*** ramishra has quit IRC11:39
*** IanGovett has joined #openstack-trove11:40
*** Riddhi has joined #openstack-trove11:48
*** boblebauce has joined #openstack-trove11:52
*** Riddhi has quit IRC12:03
*** Riddhi has joined #openstack-trove12:04
*** jcru has joined #openstack-trove12:10
*** nosnos has quit IRC12:22
*** boblebauce has quit IRC12:22
*** nosnos has joined #openstack-trove12:22
*** grapex has joined #openstack-trove12:27
*** nosnos has quit IRC12:27
*** amrith is now known as _amrith_12:28
*** grapex_ has joined #openstack-trove12:29
*** grapex has quit IRC12:32
*** tomblank has joined #openstack-trove12:36
*** prasoon has joined #openstack-trove12:43
*** radez_g0n3 is now known as radez12:47
*** prasoon has quit IRC12:48
*** grapex_ has quit IRC12:48
openstackgerritRiddhi Shah proposed a change to openstack/trove: Allow users the ability to update an instance name  https://review.openstack.org/9270112:50
*** Riddhi has quit IRC12:55
*** miqui has joined #openstack-trove12:55
*** prasoon has joined #openstack-trove13:01
*** achampion has joined #openstack-trove13:08
*** boblebauce has joined #openstack-trove13:09
*** ramashri has joined #openstack-trove13:10
*** newb_ has quit IRC13:12
*** Ugallu has joined #openstack-trove13:13
*** ramashri has quit IRC13:15
*** ramashri has joined #openstack-trove13:17
*** prasoon has quit IRC13:30
*** juantwo_ has quit IRC13:37
*** juantwo has joined #openstack-trove13:37
*** Longgeek has quit IRC13:41
*** IanGovett has quit IRC13:43
*** IanGovett has joined #openstack-trove13:43
*** _amrith_ is now known as amrith13:49
*** newb_ has joined #openstack-trove13:51
*** newb_ is now known as newb13:52
*** IanGovett1 has joined #openstack-trove13:58
*** IanGovett has quit IRC13:59
*** Longgeek has joined #openstack-trove14:05
*** rhodgin has quit IRC14:06
*** robertmyers has joined #openstack-trove14:09
*** mattgriffin has joined #openstack-trove14:20
*** jasonb365 has joined #openstack-trove14:30
*** vigneshvar has quit IRC14:31
*** tomblank_ has joined #openstack-trove14:36
*** tomblank has quit IRC14:38
*** tomblank_ is now known as tomblank14:38
openstackgerritPeter Stachowski proposed a change to openstack/trove: Document Trove configuration options  https://review.openstack.org/11875914:40
*** grapex has joined #openstack-trove14:42
*** kevinconway has joined #openstack-trove14:48
*** prasoon has joined #openstack-trove14:49
*** rhodgin has joined #openstack-trove14:50
*** ajayaa has quit IRC14:57
*** Riddhi has joined #openstack-trove15:00
*** k4n0 has quit IRC15:01
*** Longgeek has quit IRC15:07
*** boblebauce has quit IRC15:07
*** julienve_ has quit IRC15:10
*** juantwo_ has joined #openstack-trove15:13
*** juantwo has quit IRC15:16
*** prasoon has quit IRC15:19
*** juantwo_ has quit IRC15:21
*** juantwo has joined #openstack-trove15:21
*** rhodgin has quit IRC15:27
*** todd_dsm has quit IRC15:36
*** todd_dsm has joined #openstack-trove15:43
*** ramashri has quit IRC15:48
*** ruebenramirez has joined #openstack-trove15:48
*** julienvey has joined #openstack-trove15:49
*** Barker has joined #openstack-trove16:03
openstackgerriticcha-sethi proposed a change to openstack/trove: Delete backup created during replication  https://review.openstack.org/11916916:09
*** rushiagr is now known as rushiagr_away16:21
*** julienvey has quit IRC16:21
*** amrith is now known as _amrith_16:22
*** rwsu has quit IRC16:24
*** PierreRambaud has quit IRC16:26
*** rwsu has joined #openstack-trove16:29
*** rwsu has quit IRC16:33
*** rwsu has joined #openstack-trove16:35
*** iartarisi has quit IRC16:38
*** ramashri has joined #openstack-trove16:39
openstackgerritRiddhi Shah proposed a change to openstack/trove: Allow users the ability to update an instance name  https://review.openstack.org/9270116:40
*** rushiagr_away is now known as rushiagr16:46
*** ViswaV has joined #openstack-trove16:50
openstackgerritA change was merged to openstack/trove: Fix issue with intermittent test failures in test_pkg.py  https://review.openstack.org/11948316:50
*** tomblank has quit IRC16:52
*** julienvey has joined #openstack-trove16:56
*** ViswaV has quit IRC17:01
*** ViswaV has joined #openstack-trove17:04
*** ViswaV_ has joined #openstack-trove17:07
*** mattgriffin has quit IRC17:09
*** harlowja_away is now known as harlowja17:09
*** ViswaV has quit IRC17:10
*** mattgriffin has joined #openstack-trove17:12
*** Barker has quit IRC17:14
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Updated from global requirements  https://review.openstack.org/11981817:21
grapexamcrn mat-lowery: I have a question about the BUILD_PENDING status17:24
grapexI don't understand why it was added.17:24
mat-lowerygrapex: Before clusters, guest got the prepare message and went straight to RUNNING. With clusters, the guest can only do so much until it needs more information to complete the cluster setup.17:25
grapexmat-lowery: I'm looking at this commit: https://github.com/openstack/trove/commit/06196fcf67b27f0308381da192da5cc8ae65b157#diff-a999957f2c43a14679e10d319425ba3cR28117:26
grapexI can't see where BUILD_PENDING is getting set17:26
*** julienvey has quit IRC17:27
grapexmat-lowery: So the mongo service needed more information then- was it running normally or stopped?17:27
mat-loweryAh. Due to the way we chopped up the cluster Gerrit changes, it happens in another Gerrit change: https://github.com/openstack/trove/commit/74b436e1d2708c0137437ff1bf5b846a89bda6ed#diff-f2d2373085354cab72f3eae86a8c92deR9817:27
*** tomblank has joined #openstack-trove17:28
mat-loweryDepending on the "role" or "type" of the guest, its service may actually be running or not running. mongos doesn't start until it gets the config server IPs17:29
mat-lowerybut in terms of what it advertises to TM, they all say BUILD_PENDING until the TM tells them that cluster setup is done.17:30
mat-loweryif I remember correctly17:30
grapexmat-lowery: So in build pending you don't want it sending messages back to Trove for example if it can't ping mongo17:30
grapexsince you know it's not finished yet17:30
mat-loweryright17:31
*** ViswaV_ has quit IRC17:31
grapexI think this should be renamed- the build is done, it's installed mongo. It's just needs some info17:32
grapexBut that's not a big deal17:32
grapexSo I have another question- what is the Trove instance status at this point in time?17:32
grapexWhen it's in BUILD_PENDING?17:32
grapexIs it ACTIVE or something else?17:33
mat-loweryI think it translates to BUILD. Because to the user, it's still building. It's just the TM that needs the intermediate stage.17:33
grapexWhere is that code?17:34
mat-loweryLet me get a link17:34
grapexOh I remember17:34
grapexthere's the api_status property of the service status17:34
*** ViswaV has joined #openstack-trove17:34
grapexthat is what gets returned17:34
grapexOk, so it goes to BUILD17:34
grapexI think then I'm ok, my only other qualm is I feel there's a loss of encapsulation to the instance code with these changes we should address before too much time passes17:35
grapexBack to this:17:35
grapexhttps://github.com/openstack/trove/commit/06196fcf67b27f0308381da192da5cc8ae65b157#diff-a4d09d28bd2b650c2327f5d8d81be3a9R8917:35
grapexif you look at "_all_instances_ready", it's loading up instance_ids and querying their guts from the database17:36
grapexit should be loading up SimpleInstances subclasses from trove.instance.models and checking the status property17:36
grapexif the status property can't handle this new state I think we need t a new property to describe this as what's happening is different17:36
grapexwe also might want to think of making a new status that isn't "BUILD" but something else17:36
grapexmat-lowery: trove.instance.models.load_any_instance can be used to fetch the server17:38
grapexand the clustering code can check its properties17:38
*** _amrith_ is now known as amrith17:39
*** ramashri has quit IRC17:39
mat-lowerySorry. Was on a call. "there's the api_status property of the service status" < -- yes.17:41
mat-loweryI came up with BUILD_PENDING. I thought it was pretty apt. :)17:42
grapexAh, it's ok. That's an opinion I guess. :p17:42
grapexThe bigger issue is how clustering keeps grabbing the guts of instance models17:42
mat-lowerylooking17:44
grapexthis cluster code is going to break some stuff, particularly at Rax, and since there's not a great way to test except manually that means pretty soon there will be push back on major changes. So even though the fact it touches the instance models code internals is a nitpick I'd like us to fix it right away17:44
grapexI'll send an email17:44
*** openstackgerrit has quit IRC17:46
*** openstackgerrit has joined #openstack-trove17:47
*** ramashri has joined #openstack-trove17:48
*** ViswaV has quit IRC17:48
mat-loweryI don't understand the "break some stuff" but I'll wait for the email. Thanks.17:48
grapexmat-lowery: sent17:52
mat-lowerygrapex: Thanks.17:52
* SlickNik reads scrollback17:56
grapexSlickNik: My email summarized it better. :p17:58
SlickNikgrapex: yup, just looked at email as well — I agree with you that we should be checking the status using the SimpleInstance abstraction rather than going directly to the database.18:01
SlickNikhopefully this is something we can get fixed before the RC>18:01
grapexSlickNik: Yeah. My main fear is since there's no way to automatically test clustering, in the future if we try to change it well be too scared18:02
grapexhowever18:02
grapexI think I can make it possible to test clustering in fake mode (i.e. the run_tests.py)18:02
grapexIt'll take me awhile18:02
*** ViswaV has joined #openstack-trove18:02
grapexmat-lowery ran into the nasty side of the event simulator. He's the first person so far to see just how fake it is. :)18:02
grapexBut hopefully next week I can make it possible to run some kind of test with clustering in quick tests mode at least18:02
*** Barker has joined #openstack-trove18:03
mat-lowerygrapex: It's on my TODO list to get back with you about cluster int tests and fake mode. Do you have a rough plan on your changes you can share that will allow fake mode to work with clusters?18:05
grapexmat-lowery: yeah- the rough draft is I'm going to change the event simulator to actually use threads but only let one thing run at a time18:07
grapexthat way we get everything to run in the same determinisitic way, regardless of who runs it18:07
grapexbut are actually making use of eventlet coroutines so things you would think of as threads actually get their own stacks18:07
grapexand we avoid the problem you hit18:07
grapexI worked on it a few hours last week but got confused18:08
grapexI think sometime soon though it'll click and I'll be able to submit something that's somewhat clean18:08
grapexand will be an improvement over what we have today18:08
*** rushiagr is now known as rushiagr_away18:09
mat-lowerygrapex: Sweet. Feel free to share anything you have in any state. And let me know how I can help.18:10
grapexmat-lowery: will do. Thanks18:10
grapexand sorry you ran into that issue- it's the second time it ever bit anybody (the first time was me)18:10
amrithRiddhi, yt?18:10
mat-lowerygrapex: np. learned a lot18:11
amrithRiddhi, when you get a chance, I would like to chat with you about 92701.18:11
amrithplease ping me when you have a second. thx18:11
amrithesp ... have a second for a quick consult on oslo.messaging?18:12
*** rushiagr_away is now known as rushiagr18:14
*** ViswaV has quit IRC18:22
*** Barker has quit IRC18:22
*** ViswaV has joined #openstack-trove18:23
Riddhihey amrith18:26
Riddhiyt?18:27
amrithyes18:27
amrithhi Riddhi18:27
amrithi had a couple of comments inline in the review18:27
amriththe one I wanted to speak with you about is this one18:27
Riddhiyeah, so sorry, the blueprint in the patch isint pointing to the right one18:28
Riddhii guess the name changes18:28
Riddhi*changed18:28
*** vigneshvar has joined #openstack-trove18:28
Riddhiits this one: https://blueprints.launchpad.net/trove/+spec/update-instance-name18:28
amrithok, thanks. I found another old one which we should probably update/delete/something else18:29
amrithI will read this new BP.18:29
amrithI'm curious about the change in instance/models.py and taskmanager/models.py where the call to update_db() has been removed. why is that?18:30
openstackgerritMorgan Jones proposed a change to openstack/trove: Use unique passwords for replication user  https://review.openstack.org/12087418:30
Riddhiahh..yeah, so in if you see here - https://review.openstack.org/#/c/92701/23/trove/instance/service.py18:31
* amrith looking18:31
Riddhiwe do the update db in the methods itsle18:31
Riddhi*itself18:31
* iccha1 looking at marith looking18:32
iccha1*amrith18:32
* amrith feels self-conscious and strats fnmuling kbd18:32
amrithfumbling18:32
Riddhi:P18:32
iccha1amrith: so its in task manager so we do the delete only once18:32
*** amcrn has joined #openstack-trove18:32
openstackgerritRamashri Umale proposed a change to openstack/trove: Strengthens the regex for mongodb json functions  https://review.openstack.org/12087718:33
Riddhiso that we can pass the update args (config , name) together18:33
*** ajayaa has joined #openstack-trove18:37
* amrith is puzzled18:37
*** Ugallu has quit IRC18:39
amrithso, if I understand this correctly, the intent behind this change is the following18:40
amrithif you did the update_db() in assign_configuration() and unassign_configuration() there would still need to be (potentially) one more update_db for the name change18:41
amrithand to save on the one update for the name change (in edit) we moved the update_db() calls into edit and update instead of remaining in the model?18:41
amrithis that a fair (but uncharitable) description?18:42
amrithiccha1, Riddhi, am I following so far?18:43
Riddhiyeah, you got that right18:44
amrithso here is why I am puzzled.18:44
iccha1its also so that the change in the db is atomic18:44
amrithif I look at unassign_configuration() it alread has the possibility of doing many update_db() calls. and there's a problem in the way it is doing that (I think).18:45
amrithobserve the code doing the unassigns that produce a TypeError.18:45
amrithlookign for a line # for you18:45
amrithone second18:45
amrith~ lien 104418:45
amrithtaskmanager/models.py18:45
amrithso, when you call unassign, it goes one item at a time18:46
amrithand looks to see if that is in the default configuration18:46
amrithwith me so far?18:46
amrithmaybe this is the easiest way to point to this section of code: https://review.openstack.org/#/c/92701/23/trove/taskmanager/models.py,cm line 1040-104718:48
*** sgotliv has quit IRC18:48
amrithiccha1, Riddhi ?18:51
Riddhiyeah thats the case in unassign config, but update_db has been removed from assign config in this case18:51
amrithwell, not really18:52
amrithit is still there (see line 1045)18:52
amrithso you could be calling update_db from there as well18:53
amrithyes?18:53
amrithpotentially multiple times18:53
*** vigneshvar has quit IRC18:53
amrithor is that rare?18:53
Riddhisorry, 1045 line in taskmanager/models?18:54
amrithyessir18:54
Riddhiits still part of unassign right()? so wait..the question you have is about the removal of update_db in trove/instance/models in the assign_config method right?18:56
amrithnot really, it is about the relocation of the update_db from two places (models.py and models.py) to two other places (service.py)18:57
amrithwhat I'm basically trying to understand is the rationale behind the change18:57
amrithbecause as I see it, it was being done in models (along with other update_db) calls.18:58
amrithso why move it18:58
amrithand iccha said it becomes atomic18:58
amrithbut it doesn't become atomic because there are still update_db calls in taskmanager/models.py18:58
amrithhence my confusion.18:58
amrithI'm sure the code works18:58
amrithI would like to know what the 'requirement' is.18:59
amrithif it is atomicity, I submit to you that it isn't.18:59
amrithRiddhi, iccha1 ^^18:59
amrithalso, I don't quite know how to delete an instance name.19:00
amriththe code in service.py seems setup to handle it19:00
amrithbut I don't know how one would generate a None instance name ;)19:00
*** rushiagr is now known as rushiagr_away19:00
*** ajayaa has quit IRC19:01
iccha1patch only changes it amrith it cant delete it19:01
iccha1amrith: so what do u siggest we remove out the update_db changes?19:01
amrithiccha1, re: delete instance name, I thought the bp said that would be supported. maybe it was the wrong bp.19:02
amrithre: removing the update_db changes. Absolutely not, I just wanted to understand them.19:02
amrithit seemed like update_db() in the old place should've worked. I didn't know why it was being changed.19:03
*** zacksh has quit IRC19:03
iccha1so here is the complication amrith19:03
iccha1in one of the prev patches peter had commented that the patch was not particularly atomic19:03
iccha1for our usecase19:03
iccha1it is hard for patch to be atomic cause of the way config groups work in trove19:03
amrithand it still isn't ;)19:03
iccha1yes19:03
iccha1the attempt to combine some of it was because we wanted to atleast do what we can to move towards it19:04
Riddhiyep and i do see your point about the multiple update db calls happening either way and there not being much of value add ...the only one being this: when you want to update config and name, u can pass the kwargs at once to update_db19:04
Riddhihence being close to atomic..:P19:04
amrithI get it. your code does what you wanted it to. Looks good to me.19:05
amriththanks for being patient ;)19:05
iccha1the only other solution is not to allow config group patch calls19:05
*** russellb has quit IRC19:05
amrithiccha1, what's that?19:05
*** vigneshvar has joined #openstack-trove19:06
*** adam_g has quit IRC19:06
Riddhii think she means not to include config group updation thru patch calls19:06
iccha1amrith: we as trove do want to move towards patch call instead of put and maybe even support json patch in future19:06
*** russellb has joined #openstack-trove19:07
amrithok, so, would this work?19:07
iccha1but i think this is a trade off we have to make with config groups :)19:07
amriththe only db change that unassign_configuration() has to do is potentially set RESTART_REQUIRED19:07
amrithyou could easily make unassign_configuration() return that information to the caller19:07
amrithand the caller can only be edit or update19:07
amrithand both of them could include that in their **kwargs to update_db()19:08
amriththat way, you would have a truly atomic (or at least in a single place) update_db() call.19:08
amrithunassign_configuration() would still update_overrides() which is fine.19:08
amrithyou'd have the contract be that the caller (edit/update) do the update_db().19:09
*** tomblank_ has joined #openstack-trove19:09
amrithand you'd have all the information you need there.19:09
amrithnow, that is only if this 'atomicity' is really importat19:09
amrithimportant19:09
amrithif not, this change should suffice.19:09
*** freyes has quit IRC19:09
amrithin any event, I now understand why this change was made. thanks!19:09
*** freyes has joined #openstack-trove19:11
*** tomblank has quit IRC19:11
*** tomblank_ is now known as tomblank19:11
*** iccha1 has quit IRC19:12
Riddhii agree with making it more cleaner amrith: can it be part of this bug filed by you - https://bugs.launchpad.net/trove/+bug/136470119:13
Riddhiwe can make it more 'atomic' during the cleanup19:15
*** russellb has quit IRC19:15
Riddhii dont think 'atomicity' as of now is high priority with this change19:16
Riddhibut there has been a tiny attempt in that direction:P19:16
*** freyes has quit IRC19:19
amrithThanks Riddhi, that would be fine (I think).19:22
*** vigneshvar has quit IRC19:28
*** juice_ has joined #openstack-trove19:36
*** juice has quit IRC19:40
*** IanGovett1 has quit IRC19:40
*** IanGovett1 has joined #openstack-trove19:40
*** juice_ is now known as juice19:41
*** vigneshvar has joined #openstack-trove19:45
openstackgerritOpenStack Proposal Bot proposed a change to openstack/trove: Updated from global requirements  https://review.openstack.org/11981819:46
*** zacksh has joined #openstack-trove19:52
*** kfox1111_ has joined #openstack-trove19:54
kfox1111_trying to kick the tires with a trunk trove. it wont connect to amqp though. I did set rabbit_host port, hosts, userid/password,virtual_host and ha_queues the same as nova and nova's working. any ideas what I may be missing?19:55
*** iccha_ has joined #openstack-trove19:57
iccha_sorry was having issues with irc amcrn19:57
iccha_i mean amrith19:57
*** amrith is now known as notamcrn19:58
notamcrniccha_, thanks!19:59
*** notamcrn is now known as amrith19:59
iccha_lol19:59
*** ramashri has quit IRC20:04
Riddhislicknik: i dint hear back from you about the freeze exception on https://review.openstack.org/#/c/110197/20:09
RiddhiSlickNik:^^20:09
Riddhiwould this be possible?20:09
kfox1111_odd. rdo set up nova and friends to use rabbitmq user/pass of guest. i did the same for trove, and am getting a bad password error.20:15
*** flaper87 is now known as flaper87|afk20:24
SlickNikkfox1111_: Trove still uses an older version of the messaging code from olso incubator, so the  config values to use are slightly different IIRC.20:28
SlickNikkfox1111_: The format to use is described in probably best described by the sample confs. eg: https://github.com/openstack/trove/blob/master/etc/trove/trove.conf.sample#L18-4220:29
kfox1111_yeah. I have rabbit_host,rabbit_port,rabbit_hosts,rabbit_use_ssl,rabbit_userid=guest,rabbit_password=guest,rabbit_virtual_host=/20:31
kfox1111_in the logs I see "AMQPLAIN login refused: user 'guest' - invalid credentials"20:32
kfox1111_its talking to the right host/port. I see the right username. its masking out the pw, but if userid's right, I'd expect password to be.20:33
openstackgerriticcha-sethi proposed a change to openstack/trove: Delete backup created during replication  https://review.openstack.org/11916920:37
*** kevinconway has quit IRC20:39
kfox1111_Any other ideas?20:39
*** radez is now known as radez_g0n320:40
openstackgerritamrith proposed a change to openstack/trove: Fix NoSuchOptError on Couchbase create  https://review.openstack.org/11963620:41
*** ViswaV has quit IRC20:45
*** ramashri has joined #openstack-trove20:53
*** ramashri has quit IRC20:54
*** ramashri has joined #openstack-trove20:55
*** tomblank has quit IRC20:55
SlickNikkfox1111_: Not quite sure what may be going on. Couple of things to look at:20:56
SlickNik1. Looks at the log to see that the cfg values loaded on startup have the correct connection parameters, and20:56
SlickNik2. perhaps try a manual connection from that server using those creds to see if that's successful.20:56
SlickNikLook*20:56
amcrnkfox1111_: ensure the control_exchange is set correctly as well20:57
kfox1111_the creds work since nova works.20:58
kfox1111_I'm not seeing much by way of rabbit in the logs when verbose and debug is turned up.20:58
kfox1111_how do I check for the control_exhange?20:58
SlickNikamcrn: good call.20:58
SlickNikkfox1111: amcrn was referring to - https://github.com/openstack/trove/blob/master/etc/trove/trove.conf.sample#L16720:58
kfox1111_yeah. control_exchange=trove.20:59
kfox1111_rabbitmqctl list_exchanges | grep trove shows nothing though. do I need to precreate the exchange somehow?21:00
SlickNikkfox1111_: No you shouldn't have to do that.21:01
kfox1111_k. didn't think so.21:01
*** ViswaV has joined #openstack-trove21:04
*** jasonb365 has quit IRC21:08
*** glucas has quit IRC21:08
*** IanGovett1 has quit IRC21:09
*** denis_makogon has joined #openstack-trove21:11
*** vigneshvar has quit IRC21:11
*** denis_makogon has quit IRC21:12
*** denis_makogon has joined #openstack-trove21:13
*** ruebenramirez has quit IRC21:13
*** amcrn_ has joined #openstack-trove21:16
kfox1111_interesting... "invalid literal for int() with base 10: '672....' seems like trove doens't like flavors that have uuid's.21:18
kfox1111_heh. someone beet me to it. bug #1333852.21:19
SlickNikkfox1111_: Yes that's a known issue with trove. — https://bugs.launchpad.net/trove/+bug/133385221:19
SlickNikyup, you found it.21:20
*** amcrn has quit IRC21:20
*** grapex has quit IRC21:21
kfox1111_am I reading the bug right? someone marked it as invalid?21:21
*** grapex has joined #openstack-trove21:21
openstackgerritAuston McReynolds proposed a change to openstack/trove: Custom Flavors For Config Servers and Routers  https://review.openstack.org/12067221:24
SlickNikkfox1111_: Someone also targeted it to the wrong project (tempest) and it's marked invalid in that project21:25
SlickNikkfox1111_: It's marked in progress in trove21:25
*** grapex has quit IRC21:26
*** adam_g has joined #openstack-trove21:26
*** adam_g has quit IRC21:27
*** adam_g has joined #openstack-trove21:27
*** amrith is now known as _amrith_21:27
openstackgerritA change was merged to openstack/trove-integration: Load cfg params conditionally  https://review.openstack.org/11988021:32
*** ViswaV has quit IRC21:35
*** robertmyers has quit IRC21:44
*** jcru has quit IRC21:50
*** achampion has quit IRC21:56
*** tomblank has joined #openstack-trove21:59
*** jdandrea has quit IRC21:59
kfox1111_SlickNik: ah. I see. thanks.22:02
*** iccha_ has quit IRC22:04
*** julienvey has joined #openstack-trove22:04
*** julienvey has quit IRC22:09
*** sgotliv has joined #openstack-trove22:12
*** ViswaV has joined #openstack-trove22:13
*** amcrn_ is now known as amcrn22:13
*** ramashri has quit IRC22:15
kfox1111_can you get a raw patch out of the review website?22:19
openstackgerritRiddhi Shah proposed a change to openstack/trove: Associate flavor types with datastore versions  https://review.openstack.org/10982422:20
kfox1111_there we go. taking the uuid patch, dropping the extra uuid field and altering the db to have flavor_id be varchar seems to work so far.22:21
*** jdandrea has joined #openstack-trove22:22
kfox1111_but it fails validation during create. :/22:25
openstackgerritAuston McReynolds proposed a change to openstack/trove: Miscellaneous Cluster Fixes  https://review.openstack.org/11925922:34
*** ramashri has joined #openstack-trove22:35
*** Riddhi has quit IRC22:36
kfox1111_is access to the rabbitmq/nova_proxy_admin creds still required in the instance image?22:38
*** openstackgerrit has quit IRC22:38
*** openstackgerrit_ has joined #openstack-trove22:38
*** openstackgerrit_ is now known as openstackgerrit22:40
*** mattgriffin has quit IRC22:56
*** achampion has joined #openstack-trove23:02
SlickNikkfox1111_: Access to rabbitmq is needed on the guest, since that's how it receives messages from taskmanager / how it communicates with the conductor.23:03
SlickNiknova_proxy_admin creds aren't required, and there's a bug in progress to remove them completely from the codebase.23:04
*** julienvey has joined #openstack-trove23:06
*** newb has quit IRC23:09
*** julienvey has quit IRC23:11
*** IanGovett has joined #openstack-trove23:24
kfox1111_SlickNik: Can you have a separate queue for api -> conductor/taskmanager and conductor/taskmanager -> guestagent? Right now rabbit is pretty locked down. Spawning a second one is almost easier then trying to make it possible to make it easily vm facing.23:24
*** ViswaV has quit IRC23:28
*** ViswaV has joined #openstack-trove23:29
kfox1111_OH... I figured out why conductor was authentication denied. arg... trove.conf and trove-conductor.conf. :/23:31
*** _amrith_ is now known as amrith23:40
kfox1111_hmm. now Iwhen I start taskmanager it fails with empty catalog. it doesn't ever seem to try and contact keystone though...23:42
*** ViswaV has quit IRC23:48
kfox1111_hmm... it really wanted a nova endpoint. :/23:52
openstackgerritamrith proposed a change to openstack/trove: Fix NoSuchOptError on Couchbase create  https://review.openstack.org/11963623:59

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