Thursday, 2014-08-07

openstackgerritA change was merged to openstack/trove: guestagent/test_volume.py leaves a file in /tmp  https://review.openstack.org/11211800:01
*** ramishra has quit IRC00:04
*** ramishra has joined #openstack-trove00:05
*** ramishra has quit IRC00:10
amrithjcru: will take a look, in the midst of something else right now. I'll try my best to do it tonight.00:11
jcruamrith: all good dude, whenever you have time00:12
jcruamrith: appreciate the feedback00:12
*** annashen has quit IRC00:14
*** jcru has quit IRC00:16
*** tvoran has quit IRC00:16
*** dkehn__ is now known as dkehnx00:19
*** amcrn has quit IRC00:22
*** arborism has joined #openstack-trove00:22
*** eghobo has quit IRC00:27
*** Riddhi has joined #openstack-trove00:41
*** PeterSchwaller has quit IRC00:44
*** PeterSchwaller has joined #openstack-trove00:45
*** jasondotstar has quit IRC00:48
*** jasondotstar has joined #openstack-trove00:55
*** jasondotstar has quit IRC00:59
*** eghobo has joined #openstack-trove01:02
*** ramashri_ has quit IRC01:05
*** jasondotstar has joined #openstack-trove01:13
*** nosnos has joined #openstack-trove01:41
*** eghobo has quit IRC01:43
*** eghobo has joined #openstack-trove01:44
*** eghobo has quit IRC01:46
*** mattgriffin has joined #openstack-trove01:49
*** tvoran has joined #openstack-trove01:55
*** tvoran has quit IRC01:56
*** tvoran has joined #openstack-trove01:56
*** arborism has quit IRC02:18
*** haomaiw__ has quit IRC02:20
*** haomaiwang has joined #openstack-trove02:20
*** haomai___ has joined #openstack-trove02:29
*** mattgriffin has quit IRC02:32
*** haomaiwang has quit IRC02:32
*** Riddhi has quit IRC02:41
*** jasondotstar has quit IRC02:42
*** rushiagr has joined #openstack-trove03:02
*** ramishra has joined #openstack-trove03:12
*** robertmyers has joined #openstack-trove03:15
*** grapex has joined #openstack-trove03:29
*** rushiagr has quit IRC03:34
*** grapex has quit IRC03:37
*** topshare has joined #openstack-trove03:42
*** robertmyers has quit IRC03:44
*** eghobo has joined #openstack-trove03:50
openstackgerritLi Ma proposed a change to openstack/trove: lost pycrypto requirement leads to ImportError  https://review.openstack.org/11246403:50
*** mattgriffin has joined #openstack-trove03:55
*** mrsnivvel has joined #openstack-trove03:56
*** grapex has joined #openstack-trove03:56
*** nosnos has quit IRC03:56
*** grapex_ has joined #openstack-trove03:57
*** grapex has quit IRC04:00
*** mrsnivvel has quit IRC04:02
*** Longgeek has joined #openstack-trove04:05
*** rushiagr has joined #openstack-trove04:12
*** Longgeek has quit IRC04:12
*** Longgeek has joined #openstack-trove04:13
*** Longgeek has quit IRC04:14
*** Longgeek has joined #openstack-trove04:14
*** Longgeek has quit IRC04:16
*** mrsnivvel has joined #openstack-trove04:17
*** Longgeek has joined #openstack-trove04:17
*** Longgeek has quit IRC04:21
*** topshare has quit IRC04:25
*** mattgrif_ has joined #openstack-trove04:26
*** topshare has joined #openstack-trove04:29
*** jgriffit1 has joined #openstack-trove04:31
*** dougshelley66_ has joined #openstack-trove04:32
*** topshare has quit IRC04:33
*** nosnos has joined #openstack-trove04:34
*** mattgriffin has quit IRC04:35
*** Guest71676 has quit IRC04:35
*** anteaya has quit IRC04:35
*** madorn_ has quit IRC04:35
*** dougshelley66 has quit IRC04:35
*** dougshelley66_ is now known as dougshelley6604:35
*** madorn_ has joined #openstack-trove04:38
*** topshare has joined #openstack-trove04:40
*** ViswaV has joined #openstack-trove04:42
*** ViswaV_ has joined #openstack-trove04:43
*** anteaya has joined #openstack-trove04:44
*** topshare has quit IRC04:44
*** ViswaV has quit IRC04:47
*** Longgeek has joined #openstack-trove04:48
*** topshare has joined #openstack-trove04:48
*** juantwo has quit IRC04:49
*** k4n0 has joined #openstack-trove04:56
*** tvoran has quit IRC04:58
*** edmund has quit IRC05:10
*** Longgeek has quit IRC05:12
*** Longgeek has joined #openstack-trove05:12
*** Longgeek has quit IRC05:14
*** topshare has quit IRC05:16
*** cp16net_ has joined #openstack-trove05:17
*** grapex has joined #openstack-trove05:17
*** grapex_ has quit IRC05:20
*** mattgrif_ has quit IRC05:20
*** cp16net_ has quit IRC05:20
*** k4n0 has quit IRC05:21
*** cp16net_ has joined #openstack-trove05:21
*** cp16net_ has quit IRC05:24
*** cp16net_ has joined #openstack-trove05:25
*** topshare has joined #openstack-trove05:25
*** cp16net has quit IRC05:26
*** cp16net_ is now known as cp16net05:26
*** topshare has quit IRC05:28
*** topshare has joined #openstack-trove05:33
*** k4n0 has joined #openstack-trove05:34
*** grapex has quit IRC05:44
*** Longgeek has joined #openstack-trove05:45
*** Longgeek has quit IRC05:47
*** Longgeek has joined #openstack-trove05:47
*** Longgeek has quit IRC05:49
*** Longgeek has joined #openstack-trove05:53
*** Longgeek has quit IRC05:58
*** ajayaa has joined #openstack-trove06:03
*** rushiagr has quit IRC06:11
*** rushiagr has joined #openstack-trove06:11
*** k4n0 has quit IRC06:12
*** denis_makogon_ has joined #openstack-trove06:18
*** sgotliv has joined #openstack-trove06:22
*** ViswaV_ has quit IRC06:24
*** ViswaV has joined #openstack-trove06:26
*** k4n0 has joined #openstack-trove06:28
*** ViswaV has quit IRC06:32
*** ajayaa has quit IRC06:33
*** ajayaa has joined #openstack-trove06:45
*** eghobo has quit IRC06:46
*** tushar has quit IRC06:48
*** Longgeek has joined #openstack-trove06:58
*** Longgeek has quit IRC07:03
*** flaper87|afk is now known as flaper8707:05
*** ramishra_ has joined #openstack-trove07:15
*** ramishra has quit IRC07:15
*** sgotliv has quit IRC07:25
*** ramishra_ has quit IRC07:25
*** ramishra has joined #openstack-trove07:26
*** boblebauce has joined #openstack-trove07:28
*** haomai___ has quit IRC07:30
*** haomaiwang has joined #openstack-trove07:31
*** rushiagr has quit IRC07:33
*** topshare has quit IRC07:35
*** flaper87 is now known as flaper87|afk07:36
*** topshare has joined #openstack-trove07:40
*** grapex has joined #openstack-trove07:46
*** haomai___ has joined #openstack-trove07:46
*** haomaiwang has quit IRC07:48
*** grapex has quit IRC07:50
*** rushiagr has joined #openstack-trove07:57
*** georgelorch has quit IRC07:57
*** georgelorch has joined #openstack-trove07:58
*** Longgeek has joined #openstack-trove07:59
*** Longgeek has quit IRC08:04
*** haomai___ has quit IRC08:07
*** haomaiwang has joined #openstack-trove08:08
openstackgerritboden proposed a change to openstack/trove: Load trove API extensions using stevedore  https://review.openstack.org/11171408:09
*** flaper87|afk is now known as flaper8708:27
*** denis_makogon_ has quit IRC08:34
*** ramishra has quit IRC08:46
*** grapex has joined #openstack-trove08:46
*** grapex has quit IRC08:50
*** haomaiw__ has joined #openstack-trove08:53
*** haomaiwang has quit IRC08:56
*** ajayaa has quit IRC09:16
openstackgerritvigneshvar proposed a change to openstack/trove-integration: Carrys the proxy variable while installing trove-integration  https://review.openstack.org/11253209:28
*** flaper87 is now known as flaper87|afk09:28
*** Longgeek has joined #openstack-trove09:30
*** ajayaa has joined #openstack-trove09:31
*** Longgeek has quit IRC09:35
*** georgelorch has quit IRC09:39
*** georgelorch has joined #openstack-trove09:40
*** topshare has quit IRC09:42
*** tushar has joined #openstack-trove09:43
tusharhi all09:43
*** grapex has joined #openstack-trove09:46
*** grapex has quit IRC09:51
ajayaadenis_makogon, hi10:23
denis_makogonajayaa, hello =)10:23
ajayaaToday, I started the trove-guestagent manually in the nova instance.10:24
denis_makogonajayaa, unfortunatly it wouldn't work10:24
ajayaaWhy?10:24
ajayaaI can see that, I can do database-list but not user-list10:24
denis_makogonajayaa, guest requires specific configurations that are available through file injection10:24
ajayaarsync thing?10:25
denis_makogonajayaa, no, hypervisor file injection10:25
ajayaaI did all the operations specified in  /etc/init/guestagent.conf10:26
ajayaaThat involved copying trove and trove-guestagent.conf and starting trove-guestagent10:26
denis_makogonajayaa, so, do you have guest_id in conf files ?10:26
ajayaaWhat is hypervisor file injection and what does it do?10:26
denis_makogonajayaa, nova takes as parameter a dict of files content and their location10:27
denis_makogonajayaa, https://github.com/openstack/trove/blob/master/trove/taskmanager/models.py#L333-L33710:27
*** rushiagr has quit IRC10:28
*** rushiagr has joined #openstack-trove10:28
ajayaaYes I have a guest_id in /etc/guest_info10:29
ajayaaBut I see some weird behaviours now.10:29
denis_makogonajayaa, can you describe it?10:30
ajayaa[DEFAULT]10:30
ajayaaguest_id=018d810d-1157-4df0-bc44-cd2b26e892e810:30
ajayaadatastore_manager=mysql10:30
ajayaatenant_id=a883feb3950949c9857511046c26944b10:30
ajayaaBut It seems that I can't do all the operations. For e.g. I can do a database-list but not user-list10:35
denis_makogonajayaa, any specific exception appears to take place ?10:36
ajayaahttp://collabedit.com/x4w9n10:38
denis_makogonajayaa, log says that passed host is invalid10:39
denis_makogonajayaa, can you share command that you're executing?10:39
ajayaatrove user-list 018d810d-1157-4df0-bc44-cd2b26e892e810:39
ajayaai.e. trove user-list <ID>10:40
*** boden has joined #openstack-trove10:42
ajayaaThis is the output from dmesg "[   42.177911] init: trove-guest pre-start process (817) terminated with status 1210:43
ajayaa"10:43
ajayaaHad it not been killed while starting I would have had a vm with trove-guestagent already.10:44
denis_makogonajayaa, and this happens inside redstack?10:45
ajayaayes.10:45
denis_makogonajayaa, i bet you've got problems with connectivity, from VM to compute host10:45
ajayaaJust after creating a trove instance, I shhed into the machine.10:46
ajayaaI can ssh into the vm.10:46
denis_makogonajayaa, try to recreate whole environment10:46
ajayaaSo I am sure I don't have connectivity problem.10:46
denis_makogonajayaa, can you ssh from VM to compute host?10:46
ajayaadenis_makogon, I have done that four times already since two days.10:46
ajayaaYes.10:46
denis_makogonajayaa, strange ...10:47
*** grapex has joined #openstack-trove10:47
ajayaaI can do that with the key in trove-integration/scripts/files/keys/id_rsa10:47
ajayaaBoth ways I can do.10:48
denis_makogonhave you checked cloudinit scripts?10:48
denis_makogoni mean logs10:48
denis_makogonwhat type of OS have you used?10:49
ajayaadenis_makogon, Earlier it was not there because trove-guestagent could not start in the vm altogether.10:49
ajayaaAfter starting trove-guestagent it is ther.10:50
ajayaathere*10:50
*** grapex has quit IRC10:51
denis_makogonajayaa, let me try to build new env and see if i can verify you problem10:52
ajayaadenis_makogon, that would be very helpful.10:53
*** Longgeek has joined #openstack-trove11:01
*** haomaiw__ has quit IRC11:02
*** haomaiwang has joined #openstack-trove11:02
*** Longgeek has quit IRC11:06
*** Longgeek has joined #openstack-trove11:10
*** nosnos has quit IRC11:23
*** IanGovett has joined #openstack-trove11:28
*** rushiagr has quit IRC11:29
*** rushiagr has joined #openstack-trove11:29
*** tkatarki has joined #openstack-trove11:36
*** tkatarki has quit IRC11:38
*** tkatarki has joined #openstack-trove11:39
*** boblebauce has quit IRC11:41
*** tkatarki has quit IRC11:49
*** tushar has quit IRC11:49
*** juantwo has joined #openstack-trove12:05
*** denis_makogon has quit IRC12:07
*** tkatarki has joined #openstack-trove12:09
*** pdmars has joined #openstack-trove12:10
*** pdmars has quit IRC12:11
*** pdmars has joined #openstack-trove12:11
*** tkatarki has quit IRC12:16
*** boblebauce has joined #openstack-trove12:24
*** miqui has joined #openstack-trove12:40
*** tkatarki has joined #openstack-trove12:52
*** tkatarki has quit IRC12:55
*** k4n0 has quit IRC12:59
*** jasondotstar has joined #openstack-trove13:03
*** tushar has joined #openstack-trove13:07
*** tkatarki has joined #openstack-trove13:21
*** GoT has joined #openstack-trove13:22
*** tvoran has joined #openstack-trove13:25
*** tvoran has quit IRC13:26
*** tvoran has joined #openstack-trove13:26
*** tushar has left #openstack-trove13:26
*** tkatarki has quit IRC13:27
*** Barker has joined #openstack-trove13:30
*** robertmyers has joined #openstack-trove13:37
*** tkatarki has joined #openstack-trove13:37
*** georgelorch has quit IRC13:42
*** rushiagr has quit IRC13:44
*** georgelorch has joined #openstack-trove13:44
*** edmund1 has joined #openstack-trove13:47
*** grapex has joined #openstack-trove13:48
*** shakamunyi has joined #openstack-trove13:49
*** grapex has quit IRC13:53
*** shakamunyi has quit IRC14:23
*** jcru has joined #openstack-trove14:27
*** grapex has joined #openstack-trove14:29
*** grapex_ has joined #openstack-trove14:30
*** georgelorch has quit IRC14:31
*** james_li has joined #openstack-trove14:31
*** georgelorch has joined #openstack-trove14:33
*** grapex has quit IRC14:34
*** rushiagr has joined #openstack-trove14:34
*** shakamunyi has joined #openstack-trove14:37
*** ruebenramirez has joined #openstack-trove14:37
*** ajayaa has quit IRC14:50
*** denis_makogon has joined #openstack-trove14:53
*** kevinconway has joined #openstack-trove14:57
*** redthrux has joined #openstack-trove14:57
*** GoT is now known as PierreRambaud15:02
*** georgelorch has quit IRC15:03
*** georgelorch has joined #openstack-trove15:04
*** james_li has quit IRC15:21
*** georgelorch has quit IRC15:24
*** georgelorch has joined #openstack-trove15:24
*** ramishra has joined #openstack-trove15:26
*** mattgriffin has joined #openstack-trove15:32
*** ruebenramirez has quit IRC15:35
*** ramishra has quit IRC15:40
*** ramishra has joined #openstack-trove15:40
*** james_li has joined #openstack-trove15:41
*** rushiagr_ has joined #openstack-trove15:45
*** rushiagr has quit IRC15:46
*** eghobo has joined #openstack-trove15:50
*** eghobo has quit IRC15:51
*** eghobo has joined #openstack-trove15:51
*** shakamunyi has quit IRC15:51
glucasdenis_makogon: question about your comment on https://review.openstack.org/#/c/98147/19/trove/taskmanager/models.py15:52
*** ramashri has joined #openstack-trove15:53
glucasdenis_makogon: that's a cast (not call) so we won't get timeouts or errors back from the guest. Are you suggesting handling any arbitary exception there?15:54
*** ruebenramirez has joined #openstack-trove15:54
*** Barker has quit IRC15:57
*** Barker has joined #openstack-trove16:02
openstackgerritFelipe Reyes proposed a change to openstack/trove: Add support to detect SUSE  https://review.openstack.org/10839416:02
glucasdenis_makogon: oh, I see cast can raise a GuestError we could handle.16:06
denis_makogonglucas, give me 5 mins to take a look16:07
*** ramishra_ has joined #openstack-trove16:08
*** ramishra_ has quit IRC16:08
*** ramishra_ has joined #openstack-trove16:08
denis_makogonglucas, each call (no matter cast or call) needs to be wrapped because there's possible network issues, AMPQ service could be turned off, queue was deleted, etc ... that would lead to RemoteError(as i can recall)16:09
*** ramishra has quit IRC16:10
glucasdenis_makogon: looks like RemoteError gets converted to GuestError in _cast.16:11
glucasdenis_makogon: OK. Looking at how errors are handled elsewhere during create, seems we should basically call log_and_raise to log the error and put set the task status to indicate the error. I'll propose a new patch set shortly for this and the other minor comments. Thx.16:15
*** shakamunyi has joined #openstack-trove16:20
*** shakamunyi has quit IRC16:20
*** coolsvap has quit IRC16:26
denis_makogonglucas, correct16:30
denis_makogonglucas, in future i'd refactor that code to become something like decorator to reduce code duplication16:30
*** coolsvap has joined #openstack-trove16:32
*** jmontemayor has joined #openstack-trove16:32
*** tkatarki has quit IRC16:33
*** boblebauce has quit IRC16:35
*** james_li has quit IRC16:42
*** james_li has joined #openstack-trove16:44
*** ramishra_ has quit IRC16:47
*** boden has quit IRC16:49
*** boden has joined #openstack-trove16:50
*** tkatarki has joined #openstack-trove16:52
*** ramishra has joined #openstack-trove16:53
*** shayneburgess has joined #openstack-trove16:55
*** tkatarki has quit IRC17:03
*** coolsvap has quit IRC17:04
*** Longgeek has quit IRC17:05
*** tkatarki has joined #openstack-trove17:05
*** tkatarki has quit IRC17:08
*** coolsvap has joined #openstack-trove17:09
*** ViswaV has joined #openstack-trove17:09
*** rushiagr_away has joined #openstack-trove17:12
*** tkatarki has joined #openstack-trove17:13
*** ViswaV has quit IRC17:14
*** jmontemayor has quit IRC17:15
openstackgerritamrith proposed a change to openstack/trove: recent audit log change broke this LOG.debug message  https://review.openstack.org/11263417:31
*** esp has joined #openstack-trove17:35
*** htrmeira has joined #openstack-trove17:35
*** juantwo_ has joined #openstack-trove17:38
*** redthrux has left #openstack-trove17:40
*** juantwo has quit IRC17:42
*** ViswaV has joined #openstack-trove17:46
*** ViswaV_ has joined #openstack-trove17:48
*** ViswaV_ has quit IRC17:48
*** ViswaV has quit IRC17:48
*** rushiagr_ has quit IRC17:48
*** tkatarki has quit IRC17:49
*** ViswaV has joined #openstack-trove17:49
*** ramishra has quit IRC17:57
*** georgelorch has quit IRC18:05
*** georgelorch has joined #openstack-trove18:05
*** tkatarki has joined #openstack-trove18:11
*** ViswaV has quit IRC18:14
*** ViswaV has joined #openstack-trove18:19
*** esp_ has joined #openstack-trove18:21
*** saurabhs has joined #openstack-trove18:25
*** tkatarki has quit IRC18:31
*** tkatarki has joined #openstack-trove18:31
*** james_li has quit IRC18:34
*** rushiagr_ has joined #openstack-trove18:34
*** ajayaa has joined #openstack-trove18:34
*** ViswaV_ has joined #openstack-trove18:35
*** ViswaV has quit IRC18:36
*** rushiagr_ has quit IRC18:41
*** boden has quit IRC18:43
*** james_li has joined #openstack-trove18:43
*** georgelorch has quit IRC18:45
*** georgelorch has joined #openstack-trove18:46
*** ViswaV_ has quit IRC18:50
openstackgerritRamashri Umale proposed a change to openstack/trove: Adds backup/restore support for mongodb  https://review.openstack.org/7833919:03
ajayaaHi Trove devs, I have been struggling with this error since few days. i.e. "guest timeout agent error"19:08
ajayaadmesg | grep trove yields "[   27.190194] init: trove-guest pre-start process (791) terminated with status 1219:08
ajayaa"19:08
ajayaainside the vm created by nova.19:09
hub_capajayaa: how are you building the image?19:11
hub_capare you using the dib stuff trove has provided?19:11
ajayaahub_cap, I am using trove-integration project.19:11
ajayaaAfter doing ./redstack install, I am doing ./redstack kick-start mysql19:12
hub_capah icic, cool, so all of this is a local install ya? not a full blown opesntack install.19:12
hub_capok cool19:12
ajayaanope.19:12
ajayaaOn a vm for development purpose. :)19:12
hub_capyupyup19:12
hub_capok so, trove does some stuff up front, u may need to run that manually to see wtf is going on19:12
hub_caplet me try to find it in t-i19:13
hub_capit mightbe in the dib elements tho19:13
hub_capiirc SlickNik did the work there19:13
ajayaaI can manually replicate things done by /etc/init/trove-guest.conf and start the trove-guestagent process19:14
hub_capoya?19:14
ajayaaBut then I get some weird behaviours.19:14
hub_capsure i read earlier19:15
hub_capwhat image are you using? ubuntu/fedora?19:15
ajayaaubuntu19:15
ajayaaubuntu+mysql qcow219:15
hub_capcan you show me what /etc/init/trove-guest.conf contents are?19:16
hub_capin a gist19:16
ajayaasure.19:16
hub_capfwiw, its been ages since i bulit one of these images, and SlickNik will be yer best bet when hes around19:17
hub_capbut ill def continue to test it out19:18
ajayaahttps://gist.github.com/anonymous/4960a7c6d50ebd41ef2d19:18
hub_capso on a new build, befure u manually run this19:18
hub_capyou should be able to guestimate where this fails19:19
hub_capas in, stat those directories/files to see if they have been chown'd and chmod'd19:19
ajayaahub_cap, I thought this would be the easiest way to run trove. But it turns out that it is the hardest.19:19
hub_capHAHA19:19
hub_capajayaa: its typically the easiest19:19
hub_capyou might have found a bug tho19:19
hub_capand tehese bugs are the hardest to find ;)19:19
ajayaa:(19:19
hub_capyea but we will get to th bottom of it and itll make the install all the better19:20
hub_capso spin up a new instance19:20
ajayaaWhy is has to be me?19:20
hub_capHAH19:20
ajayaasure19:20
hub_capcuz yer the lucky one!!!19:20
hub_capyou might also reconsider rebuilding the image19:20
hub_capit should be in ~/images or .images or something of the like19:21
hub_capif you delete that it should rebuild it19:21
hub_capor just start everything fresh :)19:22
*** ViswaV has joined #openstack-trove19:24
*** james_li has quit IRC19:25
*** james_li has joined #openstack-trove19:25
ajayaaThe directory and file permissions are as expected19:25
hub_capok so19:26
hub_capdoes /etc/trove exist?19:26
hub_capand does ~ubuntu/trove exist?19:26
hub_capalso does /etc/guest_info exist?19:27
ajayaaetc/trove  -no-19:27
ajayaa~ubuntu/trove -no-19:27
hub_cap /ect or etc/ ?19:27
hub_capso if /etc/trove doesnt exist, the only thing it could be failing on is the rsync19:28
ajayaayes19:28
hub_capcuz there is a directory test, if it fails, it does the rsync and then mkdir -p the folder19:28
hub_capand if you ran just the rsync now it wont fail rigth?19:28
ajayaaWhen I am doing manually rsync, it is asking for password of the ubuntu user.19:28
hub_capoh well there ya go19:28
hub_capthat should not be the case19:28
hub_capcheck the .ssh/ directory19:29
ajayaaYes.19:29
hub_capthere should be a keypair there19:29
ajayaayes19:29
ajayaathey are there19:29
hub_capand on the _host_ vm, there should be an entry in .ssh/authorized_keys for that id_rsa.pub19:29
hub_capso what it does is puts the key on the vm of the user on the host19:29
glucascurrently rsync only works if you have an ubuntu user on your local host, with .ssh configured...19:30
hub_capbut it then needs to use that key to talk _back_ to the host19:30
glucas(unless you did a kick-start)19:30
hub_capit uses the same user as the host vm19:30
ajayaaYes. I created that user.19:30
hub_capand t-i will set this up for you19:30
hub_capif you make sure your rsync back to the host works w/ the guest .ssh/id_rsa.pub, then trove will work19:31
hub_capwell the development evnironment will work ;)19:31
hub_capso on your host vm, do you have a .ssh/authorized_keys?19:31
*** ramashri has quit IRC19:31
hub_capif so, does it have the guest's id_rsa.pub in it?19:31
hub_capif not, there is possibly a bug in t-i19:31
hub_capthat might just skip that step if, say, you created the key manually19:31
hub_capor something of the like, im just guessing19:32
glucasalso need the key to not require a pass phrase.19:32
hub_capright19:32
hub_capgood call glucas ;)19:32
hub_capremember ajayaa this is only a throwaway guest environemnt19:32
glucasajayaa: sorry I missed the beginning.. are you using trove-integration + kick-start here?19:32
hub_capin a real system youd put the guest code on the vm in a different way, like via packaging or the like19:32
hub_capglucas: yea he is19:32
ajayaaNo, they don't match.19:32
ajayaaglucas, yes19:32
hub_capajayaa: what do u mean by they dont match?19:33
hub_capthe host id_rsa.pub and the guest id_rsa.pub19:33
hub_capor the host authorized_keys and the guest id_rsa.pb19:33
hub_cap*pub19:33
ajayaahost authorized_keys and the guest id_rsa.pb19:33
hub_capahh ok19:33
ajayaaBecause we are making connection from guest to host.19:34
hub_caphttps://github.com/openstack/trove-integration/blob/cf2d316b54177877f2b7a9098f8ce180b6005e9f/scripts/files/elements/ubuntu-guest/install.d/62-ssh-key19:34
ajayaaHost's authorised_keys should containd guest's pub key.19:34
hub_capso my guess is that the key got regenerated from when you created the guest image19:34
hub_capagain just a guess, no telling what acutally happened19:34
hub_capif you put the guests id_rsa.pub in the hosts authorized_keys19:35
hub_capyou should be able to rsync w/o a password19:35
hub_capand that will cause the init to finish properly19:35
hub_capand set up the other things needed to get trove running in the guest vm19:35
hub_capand then u can rejoice19:35
hub_capand find more bugs for us :)19:35
hub_capalternatively you can blow away the guest image and try it again19:36
hub_capbut the fastest approach would be to copy in that id_rsa.pub from the guest19:36
hub_cap;)19:36
hub_capif nothing else, test it out, see what happens on the next trove create call19:37
ajayaahub_cap, I can do that.19:37
hub_capcool! tell us how it goes19:38
hub_capill bet a shiny quarter that it works19:38
ajayaaOne more thing, what is the recommended way to set up a dev environment?19:38
hub_capbring up an ubuntu image, w/o doing much of anythign to it19:38
hub_capno key generation no nuttin19:38
hub_capand just instal git and run t-i19:38
ajayaahub_cap, guess what! That's what I have been doing.19:39
hub_capsrrrrsly?!?!?19:39
ajayaa;)19:39
hub_capthen we have a bug19:39
ajayaayes19:39
hub_capyou didnt install the ssh key on the host vm right?19:39
ajayaanope19:39
ajayaaI did nothing literally.19:39
ajayaaSomebody can even try this now. :)19:40
ajayaahubcap, I have the log of "redstack build-image mysql"19:45
hub_capajayaa: plz create a bug report and attach that19:46
hub_capit will be useful in debugging19:46
ajayaaCan you tell me whether the guest vm will use ssh keys present in redstack/scripts/files/keys/?19:46
hub_capcuz something is obvi wrong19:46
hub_capoh man ajayaa that i dont know anymore... i wrote the original stuff but i dont know how it works now19:46
hub_capglucas: do u know ?19:46
ajayaahub_cap, I will try to find out. Thanks. That was really helpful.19:48
hub_capnpnp19:49
hub_capdid it work ajayaa ?19:49
hub_capdid u try to prov another yet?19:49
hub_capim curious to know how things went :)19:49
ajayaaone sec. I got lost. I will delete my host vm's .ssh directory and run "build-image mysql"19:51
hub_capajayaa: ok but you also have to dleete the image19:51
hub_capi think its in like ~/images19:51
hub_capor ~/.images19:51
hub_capor something along the lines19:51
ajayaaokay19:52
hub_capif you find ~ -name '*.qcow2'19:52
*** ViswaV has quit IRC19:52
hub_capit should find it19:52
ajayaaWhy do I need to delete the image?19:52
hub_capthere used to be a bug where you had to delete its directory as well19:52
hub_capcuz the image is built, it already has a ssh key in it19:52
hub_capthat file i showed you in t-i is done on image create time19:52
ajayaaBut if I am doing "./redstack build-image mysql"19:52
hub_capso it wont put whatever new key in there19:52
ajayaait will rebuild the image19:52
hub_capbuild-image is really19:52
hub_capgrab cached image or build image19:53
hub_capunless thats different from when i wrote it MANY moons ago19:53
ajayaaokay. cool19:53
hub_capit takes so long to build an image19:53
hub_capso we cache it for subsequent redstack runs on the same vm ;)19:53
*** Barker has quit IRC19:53
*** tkatarki has quit IRC19:54
ajayaahub_cap, you want me to delete devstack/files/ubuntu_mysql.qcow219:58
ajayaa???19:58
*** denis_makogon_ has joined #openstack-trove19:59
hub_caphmmm ajayaa i think so20:01
hub_capits not under version control right?20:01
*** robertmyers has quit IRC20:02
hub_capif thats not under version control its pretty safe to delete it i'd say :)20:02
*** Barker has joined #openstack-trove20:03
*** Barker_ has joined #openstack-trove20:04
openstackgerritGreg Lucas proposed a change to openstack/trove: Mysql guest agent functionality for replication  https://review.openstack.org/9814720:05
openstackgerritamrith proposed a change to openstack/trove: In some cases, guest agents may leave temporary config files  https://review.openstack.org/11267220:05
*** ramashri has joined #openstack-trove20:05
*** tkatarki has joined #openstack-trove20:05
*** Barker has quit IRC20:07
*** georgelorch has quit IRC20:09
*** georgelorch has joined #openstack-trove20:10
openstackgerritamrith proposed a change to openstack/trove: recent audit log change broke this LOG.debug message  https://review.openstack.org/11263420:10
ajayaahub_cap, I think I found the bug.20:14
ajayaadiff .ssh/id_rsa.pub .ssh/authorized_keys gives nothing20:14
openstackgerritamrith proposed a change to openstack/trove: In some cases, guest agents may leave temporary config files  https://review.openstack.org/11267220:14
hub_capso that id_rsa.pub should also be in the guest ajayaa20:14
hub_capwhen you prov a new instance, check to see if the _same_ key on the host is in the guest as well20:15
ajayaaSo host vm's authorised_keys and id_rsa.pub are same.20:15
ajayaaAnd it's the same in guest vm as well.20:16
hub_capgood20:16
hub_capthats how it should be20:16
hub_capnow the rsync works w/o a password20:16
hub_capdid you find that error in dmesg this time?20:17
ajayaayes.20:17
hub_capWHAT?!20:17
hub_capand does the rsync work w/o a password?20:17
hub_capso the guest and the host have the same id_rsa.pub, correct? AND they both have that id_rsa.pub in their authorized_keys file?20:18
ajayaahub_cap, guest_vm's id_rsa.pub should be in host vm's authorised_keys.20:20
ajayaahub_cap, They don't have same id_rsa.pub20:21
ajayaaone's id_rsa.pub should be in another's authorised_keys.20:21
ajayaaAnd that is not the case now.20:21
ajayaaWhen I changes to reflect the above condition, rsync works without a password20:22
ajayaaSo there is bug.20:22
ajayaa:)20:22
ajayaaWhen I *made changes to reflect the above condition, rsync works without a password.20:23
hub_capyup20:23
hub_capthat sounds like a bug to me sir20:23
hub_capcan you document that and talk to SlickNik a bit about it when hes around20:24
hub_caphe was mucking with those files recently20:24
hub_capi assume now that you have the guest ssh key in the hosts authorized keys, you have working trove instances?20:24
ajayaalet me spin off an instance.20:29
*** tkatarki has quit IRC20:29
*** tkatarki has joined #openstack-trove20:29
*** Riddhi has joined #openstack-trove20:30
*** Riddhi has quit IRC20:30
hub_capplz do ajayaa20:30
ajayaaIt's still in BUILD stage. but trove guest-agent started properly. yay. :)20:31
ajayaain guest vm20:31
hub_capAWWWWWW YEAAAAAAAHHHH!20:32
hub_capnow fix that bug ;)20:32
*** ViswaV has joined #openstack-trove20:33
ajayaahub_cap, you are awesome man! I will fix it.20:33
ajayaa*active*20:33
ajayaaNow I can sleep peacefully.20:33
hub_capAWWWWWW YEAHHHHHHHH!!!!!20:34
* hub_cap dusts off those trove troubleshooting skills20:34
hub_capSlickNik: u owe me a beer when u see this20:34
denis_makogon_almighty hub_cap  =)20:45
*** ViswaV has quit IRC20:47
hub_capHEYO20:48
* hub_cap runs away so the legacy will survive20:48
*** ViswaV has joined #openstack-trove20:48
espsup hub_cap :)20:55
*** grapex_ has quit IRC20:56
hub_capyo esp20:56
hub_capu never answerd me the other day20:56
esphub_cap: sorry dude, was on vacation20:56
hub_capAWWW MAN20:56
*** ViswaV has quit IRC20:58
*** htrmeira has quit IRC20:58
*** ViswaV has joined #openstack-trove20:58
*** fifieldt_ has joined #openstack-trove20:59
*** pdmars has quit IRC21:02
vgnbkrHey all: FYI: I'm about to push a patchset.  The code is complete but I have yet to add the tests.  I'm pushing it up so others (esp. in Tesora) can see it while I write the tests.  I'll be adding tests next.21:02
*** fifieldt has quit IRC21:02
espthx vgnbkr :)21:02
openstackgerritMorgan Jones proposed a change to openstack/trove: Snapshot component for replication  https://review.openstack.org/10968721:02
openstackgerritMorgan Jones proposed a change to openstack/trove: Mysql guest agent functionality for replication  https://review.openstack.org/9814721:03
openstackgerritMorgan Jones proposed a change to openstack/trove: Augment Mysql status checking for replication  https://review.openstack.org/11268921:03
espwill try to carve out some time to play with the replication stuff soon21:03
*** jasondotstar has quit IRC21:04
*** jedix has joined #openstack-trove21:06
jedixhi21:06
jedixDoes trove need keystone to be using mod_wsgi?21:07
*** Riddhi has joined #openstack-trove21:08
*** Riddhi has quit IRC21:11
glucasesp: may want to hold off a tad longer... I think we just hit some gerrit / rebase confusion.21:11
glucaswith chained change sets.21:11
*** miqui has quit IRC21:12
*** juantwo_ has quit IRC21:21
*** ruebenramirez has quit IRC21:22
*** kevinconway has quit IRC21:22
*** denis_makogon_ has quit IRC21:30
*** mattgriffin has quit IRC21:32
*** jmontemayor has joined #openstack-trove21:33
openstackgerritSteve Leon proposed a change to openstack/trove: Make storage strategy available for trove API and TM  https://review.openstack.org/8624221:34
*** jmontemayor_ has joined #openstack-trove21:34
*** denis_makogon_ has joined #openstack-trove21:35
*** jmontemayor has quit IRC21:38
*** mattgriffin has joined #openstack-trove21:40
*** tkatarki has quit IRC21:42
*** ajayaa has quit IRC21:44
*** julienvey has joined #openstack-trove21:46
*** julienvey has quit IRC21:47
*** julienvey has joined #openstack-trove21:47
*** grapex has joined #openstack-trove21:50
*** grapex_ has joined #openstack-trove21:51
*** ViswaV has quit IRC21:52
*** julienvey has quit IRC21:54
*** tkatarki has joined #openstack-trove21:54
*** grapex has quit IRC21:54
*** arist has quit IRC22:02
*** mattgriffin has quit IRC22:02
*** arist has joined #openstack-trove22:03
*** mattgriffin has joined #openstack-trove22:05
*** mattgriffin has quit IRC22:09
*** rwsu has quit IRC22:10
*** Barker_ has quit IRC22:14
*** rwsu has joined #openstack-trove22:15
*** denis_makogon_ has quit IRC22:16
*** esp has left #openstack-trove22:17
*** rushiagr_away has quit IRC22:19
*** rushiagr_away has joined #openstack-trove22:21
*** mattgriffin has joined #openstack-trove22:23
*** mattgriffin has quit IRC22:24
*** ramashri has quit IRC22:29
*** tvoran has quit IRC22:29
*** tkatarki has quit IRC22:29
*** tkatarki has joined #openstack-trove22:32
*** esp has joined #openstack-trove22:36
*** ramashri has joined #openstack-trove22:50
*** saurabhs has quit IRC22:53
openstackgerritJoe Cruz proposed a change to openstack/trove: Add instance metadata functionality to trove  https://review.openstack.org/8212322:55
*** jmontemayor_ has quit IRC22:55
*** tkatarki has quit IRC22:58
*** jmontemayor has joined #openstack-trove22:59
*** juantwo has joined #openstack-trove23:09
*** jcru has quit IRC23:10
*** georgelorch has quit IRC23:21
*** georgelorch has joined #openstack-trove23:22
*** shayneburgess has quit IRC23:25
*** james_li has quit IRC23:29
*** IanGovett has quit IRC23:37

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