openstackgerrit | A change was merged to openstack/trove: guestagent/test_volume.py leaves a file in /tmp https://review.openstack.org/112118 | 00:01 |
---|---|---|
*** ramishra has quit IRC | 00:04 | |
*** ramishra has joined #openstack-trove | 00:05 | |
*** ramishra has quit IRC | 00:10 | |
amrith | jcru: will take a look, in the midst of something else right now. I'll try my best to do it tonight. | 00:11 |
jcru | amrith: all good dude, whenever you have time | 00:12 |
jcru | amrith: appreciate the feedback | 00:12 |
*** annashen has quit IRC | 00:14 | |
*** jcru has quit IRC | 00:16 | |
*** tvoran has quit IRC | 00:16 | |
*** dkehn__ is now known as dkehnx | 00:19 | |
*** amcrn has quit IRC | 00:22 | |
*** arborism has joined #openstack-trove | 00:22 | |
*** eghobo has quit IRC | 00:27 | |
*** Riddhi has joined #openstack-trove | 00:41 | |
*** PeterSchwaller has quit IRC | 00:44 | |
*** PeterSchwaller has joined #openstack-trove | 00:45 | |
*** jasondotstar has quit IRC | 00:48 | |
*** jasondotstar has joined #openstack-trove | 00:55 | |
*** jasondotstar has quit IRC | 00:59 | |
*** eghobo has joined #openstack-trove | 01:02 | |
*** ramashri_ has quit IRC | 01:05 | |
*** jasondotstar has joined #openstack-trove | 01:13 | |
*** nosnos has joined #openstack-trove | 01:41 | |
*** eghobo has quit IRC | 01:43 | |
*** eghobo has joined #openstack-trove | 01:44 | |
*** eghobo has quit IRC | 01:46 | |
*** mattgriffin has joined #openstack-trove | 01:49 | |
*** tvoran has joined #openstack-trove | 01:55 | |
*** tvoran has quit IRC | 01:56 | |
*** tvoran has joined #openstack-trove | 01:56 | |
*** arborism has quit IRC | 02:18 | |
*** haomaiw__ has quit IRC | 02:20 | |
*** haomaiwang has joined #openstack-trove | 02:20 | |
*** haomai___ has joined #openstack-trove | 02:29 | |
*** mattgriffin has quit IRC | 02:32 | |
*** haomaiwang has quit IRC | 02:32 | |
*** Riddhi has quit IRC | 02:41 | |
*** jasondotstar has quit IRC | 02:42 | |
*** rushiagr has joined #openstack-trove | 03:02 | |
*** ramishra has joined #openstack-trove | 03:12 | |
*** robertmyers has joined #openstack-trove | 03:15 | |
*** grapex has joined #openstack-trove | 03:29 | |
*** rushiagr has quit IRC | 03:34 | |
*** grapex has quit IRC | 03:37 | |
*** topshare has joined #openstack-trove | 03:42 | |
*** robertmyers has quit IRC | 03:44 | |
*** eghobo has joined #openstack-trove | 03:50 | |
openstackgerrit | Li Ma proposed a change to openstack/trove: lost pycrypto requirement leads to ImportError https://review.openstack.org/112464 | 03:50 |
*** mattgriffin has joined #openstack-trove | 03:55 | |
*** mrsnivvel has joined #openstack-trove | 03:56 | |
*** grapex has joined #openstack-trove | 03:56 | |
*** nosnos has quit IRC | 03:56 | |
*** grapex_ has joined #openstack-trove | 03:57 | |
*** grapex has quit IRC | 04:00 | |
*** mrsnivvel has quit IRC | 04:02 | |
*** Longgeek has joined #openstack-trove | 04:05 | |
*** rushiagr has joined #openstack-trove | 04:12 | |
*** Longgeek has quit IRC | 04:12 | |
*** Longgeek has joined #openstack-trove | 04:13 | |
*** Longgeek has quit IRC | 04:14 | |
*** Longgeek has joined #openstack-trove | 04:14 | |
*** Longgeek has quit IRC | 04:16 | |
*** mrsnivvel has joined #openstack-trove | 04:17 | |
*** Longgeek has joined #openstack-trove | 04:17 | |
*** Longgeek has quit IRC | 04:21 | |
*** topshare has quit IRC | 04:25 | |
*** mattgrif_ has joined #openstack-trove | 04:26 | |
*** topshare has joined #openstack-trove | 04:29 | |
*** jgriffit1 has joined #openstack-trove | 04:31 | |
*** dougshelley66_ has joined #openstack-trove | 04:32 | |
*** topshare has quit IRC | 04:33 | |
*** nosnos has joined #openstack-trove | 04:34 | |
*** mattgriffin has quit IRC | 04:35 | |
*** Guest71676 has quit IRC | 04:35 | |
*** anteaya has quit IRC | 04:35 | |
*** madorn_ has quit IRC | 04:35 | |
*** dougshelley66 has quit IRC | 04:35 | |
*** dougshelley66_ is now known as dougshelley66 | 04:35 | |
*** madorn_ has joined #openstack-trove | 04:38 | |
*** topshare has joined #openstack-trove | 04:40 | |
*** ViswaV has joined #openstack-trove | 04:42 | |
*** ViswaV_ has joined #openstack-trove | 04:43 | |
*** anteaya has joined #openstack-trove | 04:44 | |
*** topshare has quit IRC | 04:44 | |
*** ViswaV has quit IRC | 04:47 | |
*** Longgeek has joined #openstack-trove | 04:48 | |
*** topshare has joined #openstack-trove | 04:48 | |
*** juantwo has quit IRC | 04:49 | |
*** k4n0 has joined #openstack-trove | 04:56 | |
*** tvoran has quit IRC | 04:58 | |
*** edmund has quit IRC | 05:10 | |
*** Longgeek has quit IRC | 05:12 | |
*** Longgeek has joined #openstack-trove | 05:12 | |
*** Longgeek has quit IRC | 05:14 | |
*** topshare has quit IRC | 05:16 | |
*** cp16net_ has joined #openstack-trove | 05:17 | |
*** grapex has joined #openstack-trove | 05:17 | |
*** grapex_ has quit IRC | 05:20 | |
*** mattgrif_ has quit IRC | 05:20 | |
*** cp16net_ has quit IRC | 05:20 | |
*** k4n0 has quit IRC | 05:21 | |
*** cp16net_ has joined #openstack-trove | 05:21 | |
*** cp16net_ has quit IRC | 05:24 | |
*** cp16net_ has joined #openstack-trove | 05:25 | |
*** topshare has joined #openstack-trove | 05:25 | |
*** cp16net has quit IRC | 05:26 | |
*** cp16net_ is now known as cp16net | 05:26 | |
*** topshare has quit IRC | 05:28 | |
*** topshare has joined #openstack-trove | 05:33 | |
*** k4n0 has joined #openstack-trove | 05:34 | |
*** grapex has quit IRC | 05:44 | |
*** Longgeek has joined #openstack-trove | 05:45 | |
*** Longgeek has quit IRC | 05:47 | |
*** Longgeek has joined #openstack-trove | 05:47 | |
*** Longgeek has quit IRC | 05:49 | |
*** Longgeek has joined #openstack-trove | 05:53 | |
*** Longgeek has quit IRC | 05:58 | |
*** ajayaa has joined #openstack-trove | 06:03 | |
*** rushiagr has quit IRC | 06:11 | |
*** rushiagr has joined #openstack-trove | 06:11 | |
*** k4n0 has quit IRC | 06:12 | |
*** denis_makogon_ has joined #openstack-trove | 06:18 | |
*** sgotliv has joined #openstack-trove | 06:22 | |
*** ViswaV_ has quit IRC | 06:24 | |
*** ViswaV has joined #openstack-trove | 06:26 | |
*** k4n0 has joined #openstack-trove | 06:28 | |
*** ViswaV has quit IRC | 06:32 | |
*** ajayaa has quit IRC | 06:33 | |
*** ajayaa has joined #openstack-trove | 06:45 | |
*** eghobo has quit IRC | 06:46 | |
*** tushar has quit IRC | 06:48 | |
*** Longgeek has joined #openstack-trove | 06:58 | |
*** Longgeek has quit IRC | 07:03 | |
*** flaper87|afk is now known as flaper87 | 07:05 | |
*** ramishra_ has joined #openstack-trove | 07:15 | |
*** ramishra has quit IRC | 07:15 | |
*** sgotliv has quit IRC | 07:25 | |
*** ramishra_ has quit IRC | 07:25 | |
*** ramishra has joined #openstack-trove | 07:26 | |
*** boblebauce has joined #openstack-trove | 07:28 | |
*** haomai___ has quit IRC | 07:30 | |
*** haomaiwang has joined #openstack-trove | 07:31 | |
*** rushiagr has quit IRC | 07:33 | |
*** topshare has quit IRC | 07:35 | |
*** flaper87 is now known as flaper87|afk | 07:36 | |
*** topshare has joined #openstack-trove | 07:40 | |
*** grapex has joined #openstack-trove | 07:46 | |
*** haomai___ has joined #openstack-trove | 07:46 | |
*** haomaiwang has quit IRC | 07:48 | |
*** grapex has quit IRC | 07:50 | |
*** rushiagr has joined #openstack-trove | 07:57 | |
*** georgelorch has quit IRC | 07:57 | |
*** georgelorch has joined #openstack-trove | 07:58 | |
*** Longgeek has joined #openstack-trove | 07:59 | |
*** Longgeek has quit IRC | 08:04 | |
*** haomai___ has quit IRC | 08:07 | |
*** haomaiwang has joined #openstack-trove | 08:08 | |
openstackgerrit | boden proposed a change to openstack/trove: Load trove API extensions using stevedore https://review.openstack.org/111714 | 08:09 |
*** flaper87|afk is now known as flaper87 | 08:27 | |
*** denis_makogon_ has quit IRC | 08:34 | |
*** ramishra has quit IRC | 08:46 | |
*** grapex has joined #openstack-trove | 08:46 | |
*** grapex has quit IRC | 08:50 | |
*** haomaiw__ has joined #openstack-trove | 08:53 | |
*** haomaiwang has quit IRC | 08:56 | |
*** ajayaa has quit IRC | 09:16 | |
openstackgerrit | vigneshvar proposed a change to openstack/trove-integration: Carrys the proxy variable while installing trove-integration https://review.openstack.org/112532 | 09:28 |
*** flaper87 is now known as flaper87|afk | 09:28 | |
*** Longgeek has joined #openstack-trove | 09:30 | |
*** ajayaa has joined #openstack-trove | 09:31 | |
*** Longgeek has quit IRC | 09:35 | |
*** georgelorch has quit IRC | 09:39 | |
*** georgelorch has joined #openstack-trove | 09:40 | |
*** topshare has quit IRC | 09:42 | |
*** tushar has joined #openstack-trove | 09:43 | |
tushar | hi all | 09:43 |
*** grapex has joined #openstack-trove | 09:46 | |
*** grapex has quit IRC | 09:51 | |
ajayaa | denis_makogon, hi | 10:23 |
denis_makogon | ajayaa, hello =) | 10:23 |
ajayaa | Today, I started the trove-guestagent manually in the nova instance. | 10:24 |
denis_makogon | ajayaa, unfortunatly it wouldn't work | 10:24 |
ajayaa | Why? | 10:24 |
ajayaa | I can see that, I can do database-list but not user-list | 10:24 |
denis_makogon | ajayaa, guest requires specific configurations that are available through file injection | 10:24 |
ajayaa | rsync thing? | 10:25 |
denis_makogon | ajayaa, no, hypervisor file injection | 10:25 |
ajayaa | I did all the operations specified in /etc/init/guestagent.conf | 10:26 |
ajayaa | That involved copying trove and trove-guestagent.conf and starting trove-guestagent | 10:26 |
denis_makogon | ajayaa, so, do you have guest_id in conf files ? | 10:26 |
ajayaa | What is hypervisor file injection and what does it do? | 10:26 |
denis_makogon | ajayaa, nova takes as parameter a dict of files content and their location | 10:27 |
denis_makogon | ajayaa, https://github.com/openstack/trove/blob/master/trove/taskmanager/models.py#L333-L337 | 10:27 |
*** rushiagr has quit IRC | 10:28 | |
*** rushiagr has joined #openstack-trove | 10:28 | |
ajayaa | Yes I have a guest_id in /etc/guest_info | 10:29 |
ajayaa | But I see some weird behaviours now. | 10:29 |
denis_makogon | ajayaa, can you describe it? | 10:30 |
ajayaa | [DEFAULT] | 10:30 |
ajayaa | guest_id=018d810d-1157-4df0-bc44-cd2b26e892e8 | 10:30 |
ajayaa | datastore_manager=mysql | 10:30 |
ajayaa | tenant_id=a883feb3950949c9857511046c26944b | 10:30 |
ajayaa | But It seems that I can't do all the operations. For e.g. I can do a database-list but not user-list | 10:35 |
denis_makogon | ajayaa, any specific exception appears to take place ? | 10:36 |
ajayaa | http://collabedit.com/x4w9n | 10:38 |
denis_makogon | ajayaa, log says that passed host is invalid | 10:39 |
denis_makogon | ajayaa, can you share command that you're executing? | 10:39 |
ajayaa | trove user-list 018d810d-1157-4df0-bc44-cd2b26e892e8 | 10:39 |
ajayaa | i.e. trove user-list <ID> | 10:40 |
*** boden has joined #openstack-trove | 10:42 | |
ajayaa | This is the output from dmesg "[ 42.177911] init: trove-guest pre-start process (817) terminated with status 12 | 10:43 |
ajayaa | " | 10:43 |
ajayaa | Had it not been killed while starting I would have had a vm with trove-guestagent already. | 10:44 |
denis_makogon | ajayaa, and this happens inside redstack? | 10:45 |
ajayaa | yes. | 10:45 |
denis_makogon | ajayaa, i bet you've got problems with connectivity, from VM to compute host | 10:45 |
ajayaa | Just after creating a trove instance, I shhed into the machine. | 10:46 |
ajayaa | I can ssh into the vm. | 10:46 |
denis_makogon | ajayaa, try to recreate whole environment | 10:46 |
ajayaa | So I am sure I don't have connectivity problem. | 10:46 |
denis_makogon | ajayaa, can you ssh from VM to compute host? | 10:46 |
ajayaa | denis_makogon, I have done that four times already since two days. | 10:46 |
ajayaa | Yes. | 10:46 |
denis_makogon | ajayaa, strange ... | 10:47 |
*** grapex has joined #openstack-trove | 10:47 | |
ajayaa | I can do that with the key in trove-integration/scripts/files/keys/id_rsa | 10:47 |
ajayaa | Both ways I can do. | 10:48 |
denis_makogon | have you checked cloudinit scripts? | 10:48 |
denis_makogon | i mean logs | 10:48 |
denis_makogon | what type of OS have you used? | 10:49 |
ajayaa | denis_makogon, Earlier it was not there because trove-guestagent could not start in the vm altogether. | 10:49 |
ajayaa | After starting trove-guestagent it is ther. | 10:50 |
ajayaa | there* | 10:50 |
*** grapex has quit IRC | 10:51 | |
denis_makogon | ajayaa, let me try to build new env and see if i can verify you problem | 10:52 |
ajayaa | denis_makogon, that would be very helpful. | 10:53 |
*** Longgeek has joined #openstack-trove | 11:01 | |
*** haomaiw__ has quit IRC | 11:02 | |
*** haomaiwang has joined #openstack-trove | 11:02 | |
*** Longgeek has quit IRC | 11:06 | |
*** Longgeek has joined #openstack-trove | 11:10 | |
*** nosnos has quit IRC | 11:23 | |
*** IanGovett has joined #openstack-trove | 11:28 | |
*** rushiagr has quit IRC | 11:29 | |
*** rushiagr has joined #openstack-trove | 11:29 | |
*** tkatarki has joined #openstack-trove | 11:36 | |
*** tkatarki has quit IRC | 11:38 | |
*** tkatarki has joined #openstack-trove | 11:39 | |
*** boblebauce has quit IRC | 11:41 | |
*** tkatarki has quit IRC | 11:49 | |
*** tushar has quit IRC | 11:49 | |
*** juantwo has joined #openstack-trove | 12:05 | |
*** denis_makogon has quit IRC | 12:07 | |
*** tkatarki has joined #openstack-trove | 12:09 | |
*** pdmars has joined #openstack-trove | 12:10 | |
*** pdmars has quit IRC | 12:11 | |
*** pdmars has joined #openstack-trove | 12:11 | |
*** tkatarki has quit IRC | 12:16 | |
*** boblebauce has joined #openstack-trove | 12:24 | |
*** miqui has joined #openstack-trove | 12:40 | |
*** tkatarki has joined #openstack-trove | 12:52 | |
*** tkatarki has quit IRC | 12:55 | |
*** k4n0 has quit IRC | 12:59 | |
*** jasondotstar has joined #openstack-trove | 13:03 | |
*** tushar has joined #openstack-trove | 13:07 | |
*** tkatarki has joined #openstack-trove | 13:21 | |
*** GoT has joined #openstack-trove | 13:22 | |
*** tvoran has joined #openstack-trove | 13:25 | |
*** tvoran has quit IRC | 13:26 | |
*** tvoran has joined #openstack-trove | 13:26 | |
*** tushar has left #openstack-trove | 13:26 | |
*** tkatarki has quit IRC | 13:27 | |
*** Barker has joined #openstack-trove | 13:30 | |
*** robertmyers has joined #openstack-trove | 13:37 | |
*** tkatarki has joined #openstack-trove | 13:37 | |
*** georgelorch has quit IRC | 13:42 | |
*** rushiagr has quit IRC | 13:44 | |
*** georgelorch has joined #openstack-trove | 13:44 | |
*** edmund1 has joined #openstack-trove | 13:47 | |
*** grapex has joined #openstack-trove | 13:48 | |
*** shakamunyi has joined #openstack-trove | 13:49 | |
*** grapex has quit IRC | 13:53 | |
*** shakamunyi has quit IRC | 14:23 | |
*** jcru has joined #openstack-trove | 14:27 | |
*** grapex has joined #openstack-trove | 14:29 | |
*** grapex_ has joined #openstack-trove | 14:30 | |
*** georgelorch has quit IRC | 14:31 | |
*** james_li has joined #openstack-trove | 14:31 | |
*** georgelorch has joined #openstack-trove | 14:33 | |
*** grapex has quit IRC | 14:34 | |
*** rushiagr has joined #openstack-trove | 14:34 | |
*** shakamunyi has joined #openstack-trove | 14:37 | |
*** ruebenramirez has joined #openstack-trove | 14:37 | |
*** ajayaa has quit IRC | 14:50 | |
*** denis_makogon has joined #openstack-trove | 14:53 | |
*** kevinconway has joined #openstack-trove | 14:57 | |
*** redthrux has joined #openstack-trove | 14:57 | |
*** GoT is now known as PierreRambaud | 15:02 | |
*** georgelorch has quit IRC | 15:03 | |
*** georgelorch has joined #openstack-trove | 15:04 | |
*** james_li has quit IRC | 15:21 | |
*** georgelorch has quit IRC | 15:24 | |
*** georgelorch has joined #openstack-trove | 15:24 | |
*** ramishra has joined #openstack-trove | 15:26 | |
*** mattgriffin has joined #openstack-trove | 15:32 | |
*** ruebenramirez has quit IRC | 15:35 | |
*** ramishra has quit IRC | 15:40 | |
*** ramishra has joined #openstack-trove | 15:40 | |
*** james_li has joined #openstack-trove | 15:41 | |
*** rushiagr_ has joined #openstack-trove | 15:45 | |
*** rushiagr has quit IRC | 15:46 | |
*** eghobo has joined #openstack-trove | 15:50 | |
*** eghobo has quit IRC | 15:51 | |
*** eghobo has joined #openstack-trove | 15:51 | |
*** shakamunyi has quit IRC | 15:51 | |
glucas | denis_makogon: question about your comment on https://review.openstack.org/#/c/98147/19/trove/taskmanager/models.py | 15:52 |
*** ramashri has joined #openstack-trove | 15:53 | |
glucas | denis_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-trove | 15:54 | |
*** Barker has quit IRC | 15:57 | |
*** Barker has joined #openstack-trove | 16:02 | |
openstackgerrit | Felipe Reyes proposed a change to openstack/trove: Add support to detect SUSE https://review.openstack.org/108394 | 16:02 |
glucas | denis_makogon: oh, I see cast can raise a GuestError we could handle. | 16:06 |
denis_makogon | glucas, give me 5 mins to take a look | 16:07 |
*** ramishra_ has joined #openstack-trove | 16:08 | |
*** ramishra_ has quit IRC | 16:08 | |
*** ramishra_ has joined #openstack-trove | 16:08 | |
denis_makogon | glucas, 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 IRC | 16:10 | |
glucas | denis_makogon: looks like RemoteError gets converted to GuestError in _cast. | 16:11 |
glucas | denis_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-trove | 16:20 | |
*** shakamunyi has quit IRC | 16:20 | |
*** coolsvap has quit IRC | 16:26 | |
denis_makogon | glucas, correct | 16:30 |
denis_makogon | glucas, in future i'd refactor that code to become something like decorator to reduce code duplication | 16:30 |
*** coolsvap has joined #openstack-trove | 16:32 | |
*** jmontemayor has joined #openstack-trove | 16:32 | |
*** tkatarki has quit IRC | 16:33 | |
*** boblebauce has quit IRC | 16:35 | |
*** james_li has quit IRC | 16:42 | |
*** james_li has joined #openstack-trove | 16:44 | |
*** ramishra_ has quit IRC | 16:47 | |
*** boden has quit IRC | 16:49 | |
*** boden has joined #openstack-trove | 16:50 | |
*** tkatarki has joined #openstack-trove | 16:52 | |
*** ramishra has joined #openstack-trove | 16:53 | |
*** shayneburgess has joined #openstack-trove | 16:55 | |
*** tkatarki has quit IRC | 17:03 | |
*** coolsvap has quit IRC | 17:04 | |
*** Longgeek has quit IRC | 17:05 | |
*** tkatarki has joined #openstack-trove | 17:05 | |
*** tkatarki has quit IRC | 17:08 | |
*** coolsvap has joined #openstack-trove | 17:09 | |
*** ViswaV has joined #openstack-trove | 17:09 | |
*** rushiagr_away has joined #openstack-trove | 17:12 | |
*** tkatarki has joined #openstack-trove | 17:13 | |
*** ViswaV has quit IRC | 17:14 | |
*** jmontemayor has quit IRC | 17:15 | |
openstackgerrit | amrith proposed a change to openstack/trove: recent audit log change broke this LOG.debug message https://review.openstack.org/112634 | 17:31 |
*** esp has joined #openstack-trove | 17:35 | |
*** htrmeira has joined #openstack-trove | 17:35 | |
*** juantwo_ has joined #openstack-trove | 17:38 | |
*** redthrux has left #openstack-trove | 17:40 | |
*** juantwo has quit IRC | 17:42 | |
*** ViswaV has joined #openstack-trove | 17:46 | |
*** ViswaV_ has joined #openstack-trove | 17:48 | |
*** ViswaV_ has quit IRC | 17:48 | |
*** ViswaV has quit IRC | 17:48 | |
*** rushiagr_ has quit IRC | 17:48 | |
*** tkatarki has quit IRC | 17:49 | |
*** ViswaV has joined #openstack-trove | 17:49 | |
*** ramishra has quit IRC | 17:57 | |
*** georgelorch has quit IRC | 18:05 | |
*** georgelorch has joined #openstack-trove | 18:05 | |
*** tkatarki has joined #openstack-trove | 18:11 | |
*** ViswaV has quit IRC | 18:14 | |
*** ViswaV has joined #openstack-trove | 18:19 | |
*** esp_ has joined #openstack-trove | 18:21 | |
*** saurabhs has joined #openstack-trove | 18:25 | |
*** tkatarki has quit IRC | 18:31 | |
*** tkatarki has joined #openstack-trove | 18:31 | |
*** james_li has quit IRC | 18:34 | |
*** rushiagr_ has joined #openstack-trove | 18:34 | |
*** ajayaa has joined #openstack-trove | 18:34 | |
*** ViswaV_ has joined #openstack-trove | 18:35 | |
*** ViswaV has quit IRC | 18:36 | |
*** rushiagr_ has quit IRC | 18:41 | |
*** boden has quit IRC | 18:43 | |
*** james_li has joined #openstack-trove | 18:43 | |
*** georgelorch has quit IRC | 18:45 | |
*** georgelorch has joined #openstack-trove | 18:46 | |
*** ViswaV_ has quit IRC | 18:50 | |
openstackgerrit | Ramashri Umale proposed a change to openstack/trove: Adds backup/restore support for mongodb https://review.openstack.org/78339 | 19:03 |
ajayaa | Hi Trove devs, I have been struggling with this error since few days. i.e. "guest timeout agent error" | 19:08 |
ajayaa | dmesg | grep trove yields "[ 27.190194] init: trove-guest pre-start process (791) terminated with status 12 | 19:08 |
ajayaa | " | 19:08 |
ajayaa | inside the vm created by nova. | 19:09 |
hub_cap | ajayaa: how are you building the image? | 19:11 |
hub_cap | are you using the dib stuff trove has provided? | 19:11 |
ajayaa | hub_cap, I am using trove-integration project. | 19:11 |
ajayaa | After doing ./redstack install, I am doing ./redstack kick-start mysql | 19:12 |
hub_cap | ah icic, cool, so all of this is a local install ya? not a full blown opesntack install. | 19:12 |
hub_cap | ok cool | 19:12 |
ajayaa | nope. | 19:12 |
ajayaa | On a vm for development purpose. :) | 19:12 |
hub_cap | yupyup | 19:12 |
hub_cap | ok so, trove does some stuff up front, u may need to run that manually to see wtf is going on | 19:12 |
hub_cap | let me try to find it in t-i | 19:13 |
hub_cap | it mightbe in the dib elements tho | 19:13 |
hub_cap | iirc SlickNik did the work there | 19:13 |
ajayaa | I can manually replicate things done by /etc/init/trove-guest.conf and start the trove-guestagent process | 19:14 |
hub_cap | oya? | 19:14 |
ajayaa | But then I get some weird behaviours. | 19:14 |
hub_cap | sure i read earlier | 19:15 |
hub_cap | what image are you using? ubuntu/fedora? | 19:15 |
ajayaa | ubuntu | 19:15 |
ajayaa | ubuntu+mysql qcow2 | 19:15 |
hub_cap | can you show me what /etc/init/trove-guest.conf contents are? | 19:16 |
hub_cap | in a gist | 19:16 |
ajayaa | sure. | 19:16 |
hub_cap | fwiw, its been ages since i bulit one of these images, and SlickNik will be yer best bet when hes around | 19:17 |
hub_cap | but ill def continue to test it out | 19:18 |
ajayaa | https://gist.github.com/anonymous/4960a7c6d50ebd41ef2d | 19:18 |
hub_cap | so on a new build, befure u manually run this | 19:18 |
hub_cap | you should be able to guestimate where this fails | 19:19 |
hub_cap | as in, stat those directories/files to see if they have been chown'd and chmod'd | 19:19 |
ajayaa | hub_cap, I thought this would be the easiest way to run trove. But it turns out that it is the hardest. | 19:19 |
hub_cap | HAHA | 19:19 |
hub_cap | ajayaa: its typically the easiest | 19:19 |
hub_cap | you might have found a bug tho | 19:19 |
hub_cap | and tehese bugs are the hardest to find ;) | 19:19 |
ajayaa | :( | 19:19 |
hub_cap | yea but we will get to th bottom of it and itll make the install all the better | 19:20 |
hub_cap | so spin up a new instance | 19:20 |
ajayaa | Why is has to be me? | 19:20 |
hub_cap | HAH | 19:20 |
ajayaa | sure | 19:20 |
hub_cap | cuz yer the lucky one!!! | 19:20 |
hub_cap | you might also reconsider rebuilding the image | 19:20 |
hub_cap | it should be in ~/images or .images or something of the like | 19:21 |
hub_cap | if you delete that it should rebuild it | 19:21 |
hub_cap | or just start everything fresh :) | 19:22 |
*** ViswaV has joined #openstack-trove | 19:24 | |
*** james_li has quit IRC | 19:25 | |
*** james_li has joined #openstack-trove | 19:25 | |
ajayaa | The directory and file permissions are as expected | 19:25 |
hub_cap | ok so | 19:26 |
hub_cap | does /etc/trove exist? | 19:26 |
hub_cap | and does ~ubuntu/trove exist? | 19:26 |
hub_cap | also does /etc/guest_info exist? | 19:27 |
ajayaa | etc/trove -no- | 19:27 |
ajayaa | ~ubuntu/trove -no- | 19:27 |
hub_cap | /ect or etc/ ? | 19:27 |
hub_cap | so if /etc/trove doesnt exist, the only thing it could be failing on is the rsync | 19:28 |
ajayaa | yes | 19:28 |
hub_cap | cuz there is a directory test, if it fails, it does the rsync and then mkdir -p the folder | 19:28 |
hub_cap | and if you ran just the rsync now it wont fail rigth? | 19:28 |
ajayaa | When I am doing manually rsync, it is asking for password of the ubuntu user. | 19:28 |
hub_cap | oh well there ya go | 19:28 |
hub_cap | that should not be the case | 19:28 |
hub_cap | check the .ssh/ directory | 19:29 |
ajayaa | Yes. | 19:29 |
hub_cap | there should be a keypair there | 19:29 |
ajayaa | yes | 19:29 |
ajayaa | they are there | 19:29 |
hub_cap | and on the _host_ vm, there should be an entry in .ssh/authorized_keys for that id_rsa.pub | 19:29 |
hub_cap | so what it does is puts the key on the vm of the user on the host | 19:29 |
glucas | currently rsync only works if you have an ubuntu user on your local host, with .ssh configured... | 19:30 |
hub_cap | but it then needs to use that key to talk _back_ to the host | 19:30 |
glucas | (unless you did a kick-start) | 19:30 |
hub_cap | it uses the same user as the host vm | 19:30 |
ajayaa | Yes. I created that user. | 19:30 |
hub_cap | and t-i will set this up for you | 19:30 |
hub_cap | if you make sure your rsync back to the host works w/ the guest .ssh/id_rsa.pub, then trove will work | 19:31 |
hub_cap | well the development evnironment will work ;) | 19:31 |
hub_cap | so on your host vm, do you have a .ssh/authorized_keys? | 19:31 |
*** ramashri has quit IRC | 19:31 | |
hub_cap | if so, does it have the guest's id_rsa.pub in it? | 19:31 |
hub_cap | if not, there is possibly a bug in t-i | 19:31 |
hub_cap | that might just skip that step if, say, you created the key manually | 19:31 |
hub_cap | or something of the like, im just guessing | 19:32 |
glucas | also need the key to not require a pass phrase. | 19:32 |
hub_cap | right | 19:32 |
hub_cap | good call glucas ;) | 19:32 |
hub_cap | remember ajayaa this is only a throwaway guest environemnt | 19:32 |
glucas | ajayaa: sorry I missed the beginning.. are you using trove-integration + kick-start here? | 19:32 |
hub_cap | in a real system youd put the guest code on the vm in a different way, like via packaging or the like | 19:32 |
hub_cap | glucas: yea he is | 19:32 |
ajayaa | No, they don't match. | 19:32 |
ajayaa | glucas, yes | 19:32 |
hub_cap | ajayaa: what do u mean by they dont match? | 19:33 |
hub_cap | the host id_rsa.pub and the guest id_rsa.pub | 19:33 |
hub_cap | or the host authorized_keys and the guest id_rsa.pb | 19:33 |
hub_cap | *pub | 19:33 |
ajayaa | host authorized_keys and the guest id_rsa.pb | 19:33 |
hub_cap | ahh ok | 19:33 |
ajayaa | Because we are making connection from guest to host. | 19:34 |
hub_cap | https://github.com/openstack/trove-integration/blob/cf2d316b54177877f2b7a9098f8ce180b6005e9f/scripts/files/elements/ubuntu-guest/install.d/62-ssh-key | 19:34 |
ajayaa | Host's authorised_keys should containd guest's pub key. | 19:34 |
hub_cap | so my guess is that the key got regenerated from when you created the guest image | 19:34 |
hub_cap | again just a guess, no telling what acutally happened | 19:34 |
hub_cap | if you put the guests id_rsa.pub in the hosts authorized_keys | 19:35 |
hub_cap | you should be able to rsync w/o a password | 19:35 |
hub_cap | and that will cause the init to finish properly | 19:35 |
hub_cap | and set up the other things needed to get trove running in the guest vm | 19:35 |
hub_cap | and then u can rejoice | 19:35 |
hub_cap | and find more bugs for us :) | 19:35 |
hub_cap | alternatively you can blow away the guest image and try it again | 19:36 |
hub_cap | but the fastest approach would be to copy in that id_rsa.pub from the guest | 19:36 |
hub_cap | ;) | 19:36 |
hub_cap | if nothing else, test it out, see what happens on the next trove create call | 19:37 |
ajayaa | hub_cap, I can do that. | 19:37 |
hub_cap | cool! tell us how it goes | 19:38 |
hub_cap | ill bet a shiny quarter that it works | 19:38 |
ajayaa | One more thing, what is the recommended way to set up a dev environment? | 19:38 |
hub_cap | bring up an ubuntu image, w/o doing much of anythign to it | 19:38 |
hub_cap | no key generation no nuttin | 19:38 |
hub_cap | and just instal git and run t-i | 19:38 |
ajayaa | hub_cap, guess what! That's what I have been doing. | 19:39 |
hub_cap | srrrrsly?!?!? | 19:39 |
ajayaa | ;) | 19:39 |
hub_cap | then we have a bug | 19:39 |
ajayaa | yes | 19:39 |
hub_cap | you didnt install the ssh key on the host vm right? | 19:39 |
ajayaa | nope | 19:39 |
ajayaa | I did nothing literally. | 19:39 |
ajayaa | Somebody can even try this now. :) | 19:40 |
ajayaa | hubcap, I have the log of "redstack build-image mysql" | 19:45 |
hub_cap | ajayaa: plz create a bug report and attach that | 19:46 |
hub_cap | it will be useful in debugging | 19:46 |
ajayaa | Can you tell me whether the guest vm will use ssh keys present in redstack/scripts/files/keys/? | 19:46 |
hub_cap | cuz something is obvi wrong | 19:46 |
hub_cap | oh man ajayaa that i dont know anymore... i wrote the original stuff but i dont know how it works now | 19:46 |
hub_cap | glucas: do u know ? | 19:46 |
ajayaa | hub_cap, I will try to find out. Thanks. That was really helpful. | 19:48 |
hub_cap | npnp | 19:49 |
hub_cap | did it work ajayaa ? | 19:49 |
hub_cap | did u try to prov another yet? | 19:49 |
hub_cap | im curious to know how things went :) | 19:49 |
ajayaa | one sec. I got lost. I will delete my host vm's .ssh directory and run "build-image mysql" | 19:51 |
hub_cap | ajayaa: ok but you also have to dleete the image | 19:51 |
hub_cap | i think its in like ~/images | 19:51 |
hub_cap | or ~/.images | 19:51 |
hub_cap | or something along the lines | 19:51 |
ajayaa | okay | 19:52 |
hub_cap | if you find ~ -name '*.qcow2' | 19:52 |
*** ViswaV has quit IRC | 19:52 | |
hub_cap | it should find it | 19:52 |
ajayaa | Why do I need to delete the image? | 19:52 |
hub_cap | there used to be a bug where you had to delete its directory as well | 19:52 |
hub_cap | cuz the image is built, it already has a ssh key in it | 19:52 |
hub_cap | that file i showed you in t-i is done on image create time | 19:52 |
ajayaa | But if I am doing "./redstack build-image mysql" | 19:52 |
hub_cap | so it wont put whatever new key in there | 19:52 |
ajayaa | it will rebuild the image | 19:52 |
hub_cap | build-image is really | 19:52 |
hub_cap | grab cached image or build image | 19:53 |
hub_cap | unless thats different from when i wrote it MANY moons ago | 19:53 |
ajayaa | okay. cool | 19:53 |
hub_cap | it takes so long to build an image | 19:53 |
hub_cap | so we cache it for subsequent redstack runs on the same vm ;) | 19:53 |
*** Barker has quit IRC | 19:53 | |
*** tkatarki has quit IRC | 19:54 | |
ajayaa | hub_cap, you want me to delete devstack/files/ubuntu_mysql.qcow2 | 19:58 |
ajayaa | ??? | 19:58 |
*** denis_makogon_ has joined #openstack-trove | 19:59 | |
hub_cap | hmmm ajayaa i think so | 20:01 |
hub_cap | its not under version control right? | 20:01 |
*** robertmyers has quit IRC | 20:02 | |
hub_cap | if thats not under version control its pretty safe to delete it i'd say :) | 20:02 |
*** Barker has joined #openstack-trove | 20:03 | |
*** Barker_ has joined #openstack-trove | 20:04 | |
openstackgerrit | Greg Lucas proposed a change to openstack/trove: Mysql guest agent functionality for replication https://review.openstack.org/98147 | 20:05 |
openstackgerrit | amrith proposed a change to openstack/trove: In some cases, guest agents may leave temporary config files https://review.openstack.org/112672 | 20:05 |
*** ramashri has joined #openstack-trove | 20:05 | |
*** tkatarki has joined #openstack-trove | 20:05 | |
*** Barker has quit IRC | 20:07 | |
*** georgelorch has quit IRC | 20:09 | |
*** georgelorch has joined #openstack-trove | 20:10 | |
openstackgerrit | amrith proposed a change to openstack/trove: recent audit log change broke this LOG.debug message https://review.openstack.org/112634 | 20:10 |
ajayaa | hub_cap, I think I found the bug. | 20:14 |
ajayaa | diff .ssh/id_rsa.pub .ssh/authorized_keys gives nothing | 20:14 |
openstackgerrit | amrith proposed a change to openstack/trove: In some cases, guest agents may leave temporary config files https://review.openstack.org/112672 | 20:14 |
hub_cap | so that id_rsa.pub should also be in the guest ajayaa | 20:14 |
hub_cap | when you prov a new instance, check to see if the _same_ key on the host is in the guest as well | 20:15 |
ajayaa | So host vm's authorised_keys and id_rsa.pub are same. | 20:15 |
ajayaa | And it's the same in guest vm as well. | 20:16 |
hub_cap | good | 20:16 |
hub_cap | thats how it should be | 20:16 |
hub_cap | now the rsync works w/o a password | 20:16 |
hub_cap | did you find that error in dmesg this time? | 20:17 |
ajayaa | yes. | 20:17 |
hub_cap | WHAT?! | 20:17 |
hub_cap | and does the rsync work w/o a password? | 20:17 |
hub_cap | so 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 |
ajayaa | hub_cap, guest_vm's id_rsa.pub should be in host vm's authorised_keys. | 20:20 |
ajayaa | hub_cap, They don't have same id_rsa.pub | 20:21 |
ajayaa | one's id_rsa.pub should be in another's authorised_keys. | 20:21 |
ajayaa | And that is not the case now. | 20:21 |
ajayaa | When I changes to reflect the above condition, rsync works without a password | 20:22 |
ajayaa | So there is bug. | 20:22 |
ajayaa | :) | 20:22 |
ajayaa | When I *made changes to reflect the above condition, rsync works without a password. | 20:23 |
hub_cap | yup | 20:23 |
hub_cap | that sounds like a bug to me sir | 20:23 |
hub_cap | can you document that and talk to SlickNik a bit about it when hes around | 20:24 |
hub_cap | he was mucking with those files recently | 20:24 |
hub_cap | i assume now that you have the guest ssh key in the hosts authorized keys, you have working trove instances? | 20:24 |
ajayaa | let me spin off an instance. | 20:29 |
*** tkatarki has quit IRC | 20:29 | |
*** tkatarki has joined #openstack-trove | 20:29 | |
*** Riddhi has joined #openstack-trove | 20:30 | |
*** Riddhi has quit IRC | 20:30 | |
hub_cap | plz do ajayaa | 20:30 |
ajayaa | It's still in BUILD stage. but trove guest-agent started properly. yay. :) | 20:31 |
ajayaa | in guest vm | 20:31 |
hub_cap | AWWWWWW YEAAAAAAAHHHH! | 20:32 |
hub_cap | now fix that bug ;) | 20:32 |
*** ViswaV has joined #openstack-trove | 20:33 | |
ajayaa | hub_cap, you are awesome man! I will fix it. | 20:33 |
ajayaa | *active* | 20:33 |
ajayaa | Now I can sleep peacefully. | 20:33 |
hub_cap | AWWWWWW YEAHHHHHHHH!!!!! | 20:34 |
* hub_cap dusts off those trove troubleshooting skills | 20:34 | |
hub_cap | SlickNik: u owe me a beer when u see this | 20:34 |
denis_makogon_ | almighty hub_cap =) | 20:45 |
*** ViswaV has quit IRC | 20:47 | |
hub_cap | HEYO | 20:48 |
* hub_cap runs away so the legacy will survive | 20:48 | |
*** ViswaV has joined #openstack-trove | 20:48 | |
esp | sup hub_cap :) | 20:55 |
*** grapex_ has quit IRC | 20:56 | |
hub_cap | yo esp | 20:56 |
hub_cap | u never answerd me the other day | 20:56 |
esp | hub_cap: sorry dude, was on vacation | 20:56 |
hub_cap | AWWW MAN | 20:56 |
*** ViswaV has quit IRC | 20:58 | |
*** htrmeira has quit IRC | 20:58 | |
*** ViswaV has joined #openstack-trove | 20:58 | |
*** fifieldt_ has joined #openstack-trove | 20:59 | |
*** pdmars has quit IRC | 21:02 | |
vgnbkr | Hey 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 IRC | 21:02 | |
esp | thx vgnbkr :) | 21:02 |
openstackgerrit | Morgan Jones proposed a change to openstack/trove: Snapshot component for replication https://review.openstack.org/109687 | 21:02 |
openstackgerrit | Morgan Jones proposed a change to openstack/trove: Mysql guest agent functionality for replication https://review.openstack.org/98147 | 21:03 |
openstackgerrit | Morgan Jones proposed a change to openstack/trove: Augment Mysql status checking for replication https://review.openstack.org/112689 | 21:03 |
esp | will try to carve out some time to play with the replication stuff soon | 21:03 |
*** jasondotstar has quit IRC | 21:04 | |
*** jedix has joined #openstack-trove | 21:06 | |
jedix | hi | 21:06 |
jedix | Does trove need keystone to be using mod_wsgi? | 21:07 |
*** Riddhi has joined #openstack-trove | 21:08 | |
*** Riddhi has quit IRC | 21:11 | |
glucas | esp: may want to hold off a tad longer... I think we just hit some gerrit / rebase confusion. | 21:11 |
glucas | with chained change sets. | 21:11 |
*** miqui has quit IRC | 21:12 | |
*** juantwo_ has quit IRC | 21:21 | |
*** ruebenramirez has quit IRC | 21:22 | |
*** kevinconway has quit IRC | 21:22 | |
*** denis_makogon_ has quit IRC | 21:30 | |
*** mattgriffin has quit IRC | 21:32 | |
*** jmontemayor has joined #openstack-trove | 21:33 | |
openstackgerrit | Steve Leon proposed a change to openstack/trove: Make storage strategy available for trove API and TM https://review.openstack.org/86242 | 21:34 |
*** jmontemayor_ has joined #openstack-trove | 21:34 | |
*** denis_makogon_ has joined #openstack-trove | 21:35 | |
*** jmontemayor has quit IRC | 21:38 | |
*** mattgriffin has joined #openstack-trove | 21:40 | |
*** tkatarki has quit IRC | 21:42 | |
*** ajayaa has quit IRC | 21:44 | |
*** julienvey has joined #openstack-trove | 21:46 | |
*** julienvey has quit IRC | 21:47 | |
*** julienvey has joined #openstack-trove | 21:47 | |
*** grapex has joined #openstack-trove | 21:50 | |
*** grapex_ has joined #openstack-trove | 21:51 | |
*** ViswaV has quit IRC | 21:52 | |
*** julienvey has quit IRC | 21:54 | |
*** tkatarki has joined #openstack-trove | 21:54 | |
*** grapex has quit IRC | 21:54 | |
*** arist has quit IRC | 22:02 | |
*** mattgriffin has quit IRC | 22:02 | |
*** arist has joined #openstack-trove | 22:03 | |
*** mattgriffin has joined #openstack-trove | 22:05 | |
*** mattgriffin has quit IRC | 22:09 | |
*** rwsu has quit IRC | 22:10 | |
*** Barker_ has quit IRC | 22:14 | |
*** rwsu has joined #openstack-trove | 22:15 | |
*** denis_makogon_ has quit IRC | 22:16 | |
*** esp has left #openstack-trove | 22:17 | |
*** rushiagr_away has quit IRC | 22:19 | |
*** rushiagr_away has joined #openstack-trove | 22:21 | |
*** mattgriffin has joined #openstack-trove | 22:23 | |
*** mattgriffin has quit IRC | 22:24 | |
*** ramashri has quit IRC | 22:29 | |
*** tvoran has quit IRC | 22:29 | |
*** tkatarki has quit IRC | 22:29 | |
*** tkatarki has joined #openstack-trove | 22:32 | |
*** esp has joined #openstack-trove | 22:36 | |
*** ramashri has joined #openstack-trove | 22:50 | |
*** saurabhs has quit IRC | 22:53 | |
openstackgerrit | Joe Cruz proposed a change to openstack/trove: Add instance metadata functionality to trove https://review.openstack.org/82123 | 22:55 |
*** jmontemayor_ has quit IRC | 22:55 | |
*** tkatarki has quit IRC | 22:58 | |
*** jmontemayor has joined #openstack-trove | 22:59 | |
*** juantwo has joined #openstack-trove | 23:09 | |
*** jcru has quit IRC | 23:10 | |
*** georgelorch has quit IRC | 23:21 | |
*** georgelorch has joined #openstack-trove | 23:22 | |
*** shayneburgess has quit IRC | 23:25 | |
*** james_li has quit IRC | 23:29 | |
*** IanGovett has quit IRC | 23:37 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!