Thursday, 2015-09-17

*** csoukup has joined #openstack-trove00:00
*** devlaps has quit IRC00:15
openstackgerritPetr Malik proposed openstack/trove: Add MySQL int-test helper client  https://review.openstack.org/22436300:20
*** mingdang1 has joined #openstack-trove00:33
*** mingdang1 has quit IRC00:42
*** tomblank has joined #openstack-trove00:46
*** imandhan has quit IRC00:54
*** imandhan has joined #openstack-trove00:54
*** imandhan has quit IRC00:59
cp16netmvandijk: you around?01:04
* cp16net doubts it....01:05
peterstacedmondk, ok, I'll take another look01:16
cp16netpeterstac: you have any idea how to deal with the grow cluster for mongo?01:17
* cp16net way confused...01:18
cp16netERROR: Replica instance does not have required field(s) ['related_to', 'name']. (HTTP 400)01:18
cp16netbut i did provide related_to....01:18
peterstaccp16net, I was trying to test that a few days ago01:18
cp16netany luck?01:18
peterstacI ran into some issues then got sidetracked (by my real job ;) )01:19
cp16nethehe no worries01:19
cp16netjust hoping for some help :_P01:19
peterstacUnfortunately I didn't get far enough to figure out the syntax for grow ... sorry01:20
cp16netLOL....01:35
*** 7F1AALPHR has joined #openstack-trove01:43
*** _amrith_ is now known as amrith01:45
*** c_soukup has joined #openstack-trove01:45
*** chlong has joined #openstack-trove01:46
*** ashleigh has quit IRC01:47
*** csoukup has quit IRC01:49
*** chlong_ has joined #openstack-trove01:53
*** 7F1AALPHR has quit IRC02:01
*** haomaiwang has joined #openstack-trove02:01
*** mingdang1 has joined #openstack-trove02:05
*** amrith is now known as _amrith_02:28
*** _amrith_ is now known as amrith02:32
*** david-lyle has joined #openstack-trove02:34
*** chlong_ has quit IRC02:50
*** haomaiw__ has joined #openstack-trove02:52
*** haomaiwang has quit IRC02:53
*** haomaiw__ has quit IRC03:01
*** haomaiwa_ has joined #openstack-trove03:02
*** amrith is now known as _amrith_03:10
*** _amrith_ is now known as amrith03:11
*** coolsvap is now known as coolsvap|holiday03:17
*** amrith is now known as _amrith_03:24
*** haomaiwa_ has quit IRC04:01
*** haomaiwa_ has joined #openstack-trove04:02
*** sgotliv has joined #openstack-trove04:15
*** chlong has quit IRC04:16
*** chlong has joined #openstack-trove04:32
*** chlong has quit IRC04:48
*** haomaiwa_ has quit IRC05:01
openstackgerritPetr Malik proposed openstack/trove: Add MySQL int-test helper client  https://review.openstack.org/22436305:02
*** haomaiw__ has joined #openstack-trove05:04
*** imandhan has joined #openstack-trove05:05
*** haomaiw__ has quit IRC05:15
*** haomaiwang has joined #openstack-trove05:15
*** c_soukup has quit IRC05:31
*** tomblank has quit IRC05:49
*** haomaiwang has quit IRC06:01
*** haomaiwang has joined #openstack-trove06:01
*** imandhan has quit IRC06:04
*** imandhan has joined #openstack-trove06:04
*** imandhan has quit IRC06:09
*** chlong has joined #openstack-trove06:17
*** pmackinn has quit IRC06:40
*** haomaiwang has quit IRC06:51
*** haomaiwang has joined #openstack-trove06:53
*** haomaiwang has quit IRC07:01
*** haomaiwang has joined #openstack-trove07:01
*** haomaiwang has quit IRC08:01
*** haomaiwa_ has joined #openstack-trove08:01
-openstackstatus- NOTICE: Gate is currently stuck, failing grenade upgrade tests due the release of oslo.utils 1.4.1 for Juno.08:02
*** haomaiwa_ has quit IRC09:01
*** haomaiwang has joined #openstack-trove09:01
*** tosky has joined #openstack-trove09:39
*** IanGovett has joined #openstack-trove09:47
*** haomaiwang has quit IRC10:01
*** haomaiwang has joined #openstack-trove10:01
-openstackstatus- NOTICE: Gate back to normal, thanks to the backlisting of the problematic version10:16
*** haomaiwang has quit IRC10:18
*** haomaiwang has joined #openstack-trove10:18
*** mingdang1 has quit IRC11:00
*** haomaiwang has quit IRC11:01
*** haomaiwang has joined #openstack-trove11:01
*** timbyr_ has joined #openstack-trove11:02
*** timbyr_ has quit IRC11:03
*** _amrith_ is now known as amrith11:04
*** amrith is now known as _amrith_11:28
*** _amrith_ is now known as amrith11:36
*** haomaiwang has quit IRC11:54
*** amrith is now known as _amrith_12:06
*** haomaiwang has joined #openstack-trove12:23
*** _mattf is now known as mattf12:27
*** _crobertsrh is now known as crobertsrh12:38
*** pmackinn has joined #openstack-trove12:41
*** haomaiwang has quit IRC13:01
*** haomaiwang has joined #openstack-trove13:01
*** mingdang1 has joined #openstack-trove13:21
*** tomblank has joined #openstack-trove13:27
*** openstackgerrit has quit IRC13:31
*** openstackgerrit has joined #openstack-trove13:31
*** sabeen has joined #openstack-trove13:35
*** _amrith_ is now known as amrith13:52
*** haomaiwang has quit IRC14:01
*** 5EXAB5K66 has joined #openstack-trove14:01
*** mattf is now known as _mattf14:15
*** mingdang_ has joined #openstack-trove14:24
*** mingdang1 has quit IRC14:24
*** jwiles_ has joined #openstack-trove14:32
*** amrith is now known as _amrith_14:33
*** ashleigh has joined #openstack-trove14:39
*** ashleigh has quit IRC14:44
*** mingdang_ has quit IRC14:46
*** _mattf has quit IRC14:52
*** bhunter71 has joined #openstack-trove14:54
*** 5EXAB5K66 has quit IRC15:01
*** haomaiwang has joined #openstack-trove15:01
vkmccongrats to the new Trove PTL!15:13
*** csoukup has joined #openstack-trove15:25
*** devlaps has joined #openstack-trove15:40
*** haomaiwang has quit IRC16:01
*** ashleigh has joined #openstack-trove16:01
*** haomaiwang has joined #openstack-trove16:01
*** sabeen has quit IRC16:02
*** tomblank_ has joined #openstack-trove16:05
*** tomblank has quit IRC16:06
*** tomblank_ is now known as tomblank16:06
*** imandhan has joined #openstack-trove16:35
*** david-lyle has quit IRC16:36
*** tomblank has quit IRC16:41
*** IanGovett has quit IRC16:43
*** IanGovett has joined #openstack-trove16:44
*** IanGovett1 has joined #openstack-trove16:46
*** david-lyle has joined #openstack-trove16:47
*** IanGovett has quit IRC16:48
*** _amrith_ is now known as amrith16:54
*** haomaiwang has quit IRC17:01
*** haomaiwa_ has joined #openstack-trove17:01
*** david-lyle has quit IRC17:03
*** tosky has quit IRC17:14
*** tomblank has joined #openstack-trove17:17
*** haomaiwa_ has quit IRC17:28
*** jwiles_ has quit IRC17:29
*** imandhan has quit IRC17:39
*** imandhan has joined #openstack-trove17:41
*** lhcheng has joined #openstack-trove17:43
lhchenghello trove folks17:45
lhchengthere is a horizon patch to add support db clustering17:45
lhchenghttps://review.openstack.org/#/c/110411/17:45
lhchengI fixed some of the comments that I had in the patch17:46
lhchengAkihiro have some more questions about the patch17:46
lhchengjust a reminder for those working on it - hopefully we can get this into horizon rc1.17:48
*** jwiles_ has joined #openstack-trove17:52
*** tosky has joined #openstack-trove17:56
*** tomblank_ has joined #openstack-trove18:02
*** tomblank has quit IRC18:03
*** tomblank_ is now known as tomblank18:03
*** bhunter71 has quit IRC18:04
*** sabeen1 has joined #openstack-trove18:12
*** sabeen3 has joined #openstack-trove18:17
*** bhunter71 has joined #openstack-trove18:18
*** sabeen1 has quit IRC18:19
*** sabeen3 has quit IRC18:34
*** sabeen1 has joined #openstack-trove18:34
imandhanHas anyone had trouble with redstack install recently?18:39
SlickNikimandhan: The last time I tried was a few days ago and it worked okay. Are you hitting something in particular? Can you paste the logs of the failure?18:55
imandhannova-api isn't starting and I tried it a couple times. Here's the log- http://paste.openstack.org/show/466692/18:56
pmackinnSlickNik, ping https://review.openstack.org/#/c/193010/1/trove/common/single_tenant_remote.py18:58
SlickNikpmackinn: funny you should mention that — I'm working on that patch as we speak.19:06
SlickNikWhat's up?19:06
pmackinnSlickNik, no I'M working on that patch!19:07
SlickNikoh, you are?19:07
pmackinnSlickNik, has this been tested? if so, what topology did you assume?19:07
pmackinnSlickNik, actually trying to review it19:08
*** devlaps has quit IRC19:08
pmackinn"from trove.common.remote import create_nova_client"19:08
pmackinnthese are littered in the code and circumvent the remote drop-in as described19:09
pmackinne.g., remote_nova_client = trove_ext.cloudos.remote.nova_client_trove_admin19:09
pmackinnSlickNik, i guess i'm wondering why the existing remote.py can't be modified to make use of the conf vars for tenant isolation19:11
SlickNikpmackinn: You shouldn't have to change the create_nova_client call since that picks up the remote_clients from the conf valuse.19:11
SlickNikvalues*19:11
*** bhunter71 has quit IRC19:11
*** david-lyle has joined #openstack-trove19:11
SlickNikI'm updating the doc strings on that patch to make this a little more clear.19:12
pmackinnSlickNik, so no diff between your version and existing?19:12
* pmackinn looks19:12
SlickNikBut all you should have to do is set the values in the config file:19:15
SlickNikremote_nova_client = trove.common.single_tenant_remote.nova_client_trove_admin19:15
SlickNikremote_cinder_client = trove.common.single_tenant_remote.cinder_client_trove_admin19:15
SlickNikremote_neutron_client = trove.common.single_tenant_remote.neutron_client_trove_admin19:15
pmackinni'm saying that won't work for (say) creating a security group from trove create19:16
SlickNikAny calls in the code to "from trove.common.remote import create_nova_client" for example will look at the config file and instantiate the correct overridden client.19:17
SlickNikpmackinn: https://github.com/openstack/trove/blob/master/trove/common/remote.py#L19219:18
SlickNikThe call to the common remote.py delegates to any overridden remotes based on what values are specified in the conf.19:18
SlickNikso for the above example, even though the create security group code is instantiating "create_nova_client" from trove.common.remote, that is internally creating the novaclient from  trove.common.single_tenant_remote.nova_client_trove_admin and returning that as the client to use.19:21
pmackinnsomething's wrong somewhere...19:23
pmackinnConnectionError: ('Connection aborted.', error(111, 'ECONNREFUSED'))19:24
*** bhunter71 has joined #openstack-trove19:25
*** david-lyle has quit IRC19:25
pmackinnSlickNik, nova_compute_url has to be set maybe?19:35
*** tosky has quit IRC19:35
*** tosky has joined #openstack-trove19:36
*** mattgriffin has joined #openstack-trove19:39
openstackgerritPetr Malik proposed openstack/trove: Add MySQL int-test helper client  https://review.openstack.org/22436319:40
openstackgerritPetr Malik proposed openstack/trove: Fix Postgres services management  https://review.openstack.org/22487919:42
pmackinnSlickNik, yeah sorry my CONF was missing nova_compute_url; maybe add to doc strings?19:43
pmalikHello.19:52
pmalikLooking for some reviews and feedback: https://review.openstack.org/#/c/224879/19:52
pmalikI pushed up a fix for bug 1492526 (Postgresql not waiting for database to start/stop).19:52
pmalikI added generic code to start/stop/wait/cleanap, like other datastores do. It was added to the status base-class, so that we can eventually reuse it elsewhere. Postgres now just calls that generic implementation.19:52
openstackbug 1492526 in Trove "Fix Postgres services management" [Low,In progress] https://launchpad.net/bugs/1492526 - Assigned to Petr Malik (pmalik)19:52
pmalikI also added unit tests for the generic parts so that we don't have to retest those code-paths for each singe datastore.19:52
pmalikThanks. :-)19:52
pmalik^^^ SlickNik cp16net edmondk sushilkm vkmc peterstac amrith19:52
openstackgerritPetr Malik proposed openstack/trove: Add MySQL int-test helper client  https://review.openstack.org/22436319:58
*** amrith is now known as _amrith_20:03
edmondkpeterstac, going to look into that manual restart of trove-guest that was a good edge case to tryu20:05
*** sabeen1 has quit IRC20:13
*** bhunter71 has quit IRC20:15
*** fifieldt has quit IRC20:19
*** fifieldt has joined #openstack-trove20:20
peterstacedmondk, sounds good.  Let me know if you get a different result20:26
edmondkpeterstac, yeah I will thinking about this issue of restarting trove-guest manually this fix may not work and we have to step back and think about a larger update to fix this issue20:27
edmondkpeterstac, for images I built I can add a datastore.stop() in the cloudinit which resolve it per image20:27
edmondkbut it wouldn't then be resolved upstream20:27
SlickNikpmackinn: Yes, nova_compute_url needs to be set in that case. I will add that info to the doc string update that I'm making.20:29
*** haomaiwang has joined #openstack-trove20:29
*** jwiles_ has quit IRC20:29
peterstacedmondk, Yeah, I started on a changeset to do a tiny refactor to the manager to address this issue, but it was hard to keep the scope down20:29
pmackinnSlickNik, awesome20:29
peterstacI may revisit it - see if it can be kept narrow enough to just address this without causing too much pain elsewhere20:30
peterstac(Unfortunately it invokes the dreaded 'base manager class' refactoring ;) )20:32
*** haomaiwang has quit IRC20:33
*** tosky has quit IRC20:35
*** mattgriffin has quit IRC20:36
*** miqui has quit IRC20:36
*** tosky has joined #openstack-trove20:37
edmondkpeterstac, I am going to abandon the change for now, and we will look into more for the M release. An easy change would be to initialize self.status to BUILDING or NEW status for BaseDbStatus vs None20:42
edmondkbut we can look into it more later20:43
*** crobertsrh is now known as _crobertsrh20:48
*** arist has quit IRC20:53
*** arist has joined #openstack-trove20:54
*** david-lyle has joined #openstack-trove21:06
edmondkpeterstac, I am going to test initializing status to BUILDING and see if that fixes all these issues.21:06
peterstacedmondk, sure, it's worth a shot21:06
edmondkyeah its on my mind now lol21:07
edmondkhave to know21:07
*** david-lyle has quit IRC21:09
*** tomblank has quit IRC21:11
*** _amrith_ is now known as amrith21:26
*** tosky has quit IRC21:35
*** tosky has joined #openstack-trove21:36
*** bhunter71 has joined #openstack-trove21:54
*** sabeen1 has joined #openstack-trove21:59
*** tosky has quit IRC22:05
*** tosky has joined #openstack-trove22:06
*** bhunter71 has quit IRC22:09
*** csoukup has quit IRC22:15
edmondkpeterstac, tried some things still the same issue with trove-guest restart22:38
edmondkwe need to design a mechanism that we have some type of flag that we can use that tells us if prepare has finished running22:38
*** lhcheng has left #openstack-trove22:39
edmondknot sure what that would be yet, it could be as simple as writing a file guest_prepare in begin_install, etc will have to discuss in a wed meeting sometime22:39
peterstacedmondk, That's what my changeset does (writes a file)22:41
edmondkyeah nikhil and I discussed that kind of fix awhile back but we both thought as did you that it was too heavy weight for liberty22:41
peterstacI've taken another look at it, and it might be small enough to not cause too many waves22:41
edmondkthere is also writing to nova metadata22:42
edmondkversus a file22:42
edmondkthat prepare has ran22:42
peterstacYeah, that might be the case either way - we'll see about getting it ready, then we can decide whether to use it and/or when it should go in22:42
edmondkwhich if it worked would actually be nice because you could nova show and see when prepare finishes22:42
peterstacCan the guest write to nova metadata?22:43
edmondkyes22:43
edmondkremember that's how my hotpools words22:43
edmondkworks*22:43
peterstacright22:43
peterstacEither way, that's the simple part of the fix (swapping out the file write for metadata would be pretty simple)22:44
edmondkcurl http://localhost:8775/latest/meta-data/22:44
edmondkyou can do tsoemthign like that22:44
edmondkto access it on guest22:44
edmondkyeah22:44
*** csoukup has joined #openstack-trove22:55
*** david-lyle has joined #openstack-trove22:59
*** csoukup has quit IRC23:23
*** IanGovett1 has quit IRC23:28
*** mingdang1 has joined #openstack-trove23:52
*** tosky has quit IRC23:55

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