*** ulaanbaatar has joined #openstack-trove | 00:21 | |
*** harlowja has quit IRC | 01:32 | |
*** zhaochao has joined #openstack-trove | 01:44 | |
*** zhaochao has quit IRC | 01:51 | |
*** zhaochao has joined #openstack-trove | 01:54 | |
*** jwcroppe has joined #openstack-trove | 02:13 | |
*** ulaanbaatar has quit IRC | 02:31 | |
*** harlowja has joined #openstack-trove | 02:52 | |
*** amrith has quit IRC | 03:45 | |
*** amrith has joined #openstack-trove | 03:46 | |
*** ChanServ sets mode: +o amrith | 03:46 | |
*** Guest85080 has joined #openstack-trove | 04:02 | |
*** ChanServ sets mode: +o Guest85080 | 04:02 | |
*** amrith is now known as Guest75834 | 04:12 | |
*** Guest85080 is now known as amrith | 04:12 | |
*** amrith- has joined #openstack-trove | 04:12 | |
*** amrith has joined #openstack-trove | 04:12 | |
*** ChanServ sets mode: +o amrith | 04:12 | |
*** amrith has quit IRC | 04:13 | |
*** ChanServ sets mode: +o amrith- | 04:13 | |
*** amrith- is now known as amrith | 04:13 | |
*** amrith- has joined #openstack-trove | 04:13 | |
*** amrith is now known as Guest30664 | 04:13 | |
*** ChanServ sets mode: +o amrith- | 04:13 | |
*** Guest30664 has quit IRC | 04:13 | |
*** amrith- is now known as amrith | 04:13 | |
*** amrith- has joined #openstack-trove | 04:14 | |
*** amrith has quit IRC | 04:15 | |
*** ChanServ sets mode: +o amrith- | 04:16 | |
*** amrith- is now known as amrith | 04:16 | |
*** harlowja has quit IRC | 04:18 | |
*** chlong_ has joined #openstack-trove | 04:19 | |
*** harlowja has joined #openstack-trove | 04:30 | |
*** rcernin has joined #openstack-trove | 04:34 | |
*** amrith has quit IRC | 04:52 | |
*** amrith has joined #openstack-trove | 04:53 | |
*** ChanServ sets mode: +o amrith | 04:53 | |
*** chlong_ has quit IRC | 05:26 | |
*** harlowja has quit IRC | 05:33 | |
*** rcernin has quit IRC | 05:36 | |
*** gouthamr has quit IRC | 05:43 | |
*** jwcroppe has quit IRC | 05:44 | |
*** rcernin has joined #openstack-trove | 05:59 | |
*** chenying_ has joined #openstack-trove | 06:53 | |
*** chenying has quit IRC | 06:57 | |
*** itlinux has quit IRC | 07:04 | |
*** tesseract has joined #openstack-trove | 07:19 | |
*** chenying__ has joined #openstack-trove | 07:26 | |
*** chenying_ has quit IRC | 07:29 | |
*** magicboiz has quit IRC | 08:02 | |
*** gcb has joined #openstack-trove | 08:21 | |
*** magicboiz has joined #openstack-trove | 08:28 | |
*** hoonetorg has joined #openstack-trove | 09:10 | |
*** magicboiz has quit IRC | 09:48 | |
*** magicboiz has joined #openstack-trove | 09:54 | |
*** magicboiz has quit IRC | 09:59 | |
*** magicboiz has joined #openstack-trove | 10:05 | |
*** smatzek has joined #openstack-trove | 10:46 | |
*** hoonetorg has quit IRC | 10:52 | |
*** hoonetorg has joined #openstack-trove | 11:29 | |
*** pmackinn has joined #openstack-trove | 11:48 | |
*** hoonetorg has quit IRC | 12:03 | |
*** magicboiz has quit IRC | 12:05 | |
*** magicboiz has joined #openstack-trove | 12:06 | |
*** chlong_ has joined #openstack-trove | 12:16 | |
*** zhaochao has quit IRC | 12:27 | |
*** kylek3h has joined #openstack-trove | 12:52 | |
*** gcb has quit IRC | 13:02 | |
*** gcb has joined #openstack-trove | 13:03 | |
*** gouthamr has joined #openstack-trove | 13:17 | |
*** chlong_ has quit IRC | 13:40 | |
*** jwcroppe has joined #openstack-trove | 13:53 | |
*** trevormc has joined #openstack-trove | 14:27 | |
*** hoonetorg has joined #openstack-trove | 14:56 | |
*** hoonetorg has quit IRC | 14:57 | |
*** chlong_ has joined #openstack-trove | 14:57 | |
*** hoonetorg has joined #openstack-trove | 14:57 | |
*** chhavi has joined #openstack-trove | 14:58 | |
*** vkmc_ has joined #openstack-trove | 15:01 | |
*** chhavi has quit IRC | 15:08 | |
*** chhavi has joined #openstack-trove | 15:08 | |
*** rcernin has quit IRC | 15:25 | |
*** hoonetorg has quit IRC | 15:27 | |
*** hoonetorg has joined #openstack-trove | 15:35 | |
*** itlinux has joined #openstack-trove | 16:19 | |
*** chlong_ has quit IRC | 16:19 | |
*** itlinux has quit IRC | 16:21 | |
*** itlinux has joined #openstack-trove | 16:22 | |
*** tesseract has quit IRC | 16:32 | |
*** rcernin has joined #openstack-trove | 16:33 | |
*** smatzek has quit IRC | 16:36 | |
*** magicboiz has quit IRC | 17:00 | |
*** tesseract has joined #openstack-trove | 17:18 | |
*** chhavi has quit IRC | 17:28 | |
*** vkmc_ has quit IRC | 17:30 | |
*** chlong_ has joined #openstack-trove | 17:32 | |
*** smatzek has joined #openstack-trove | 17:32 | |
*** harlowja has joined #openstack-trove | 18:06 | |
*** taras_glek has joined #openstack-trove | 18:35 | |
taras_glek | hi, i'm trying to run trove. I setup devstack, but trove datastore-list is an empty list | 18:39 |
---|---|---|
taras_glek | how do i get datastores to show up in there | 18:39 |
trevormc | taras_glek, hey sounds like you need to use the integration project | 18:47 |
trevormc | have you looked at trove/integration | 18:47 |
taras_glek | have not | 18:48 |
trevormc | https://github.com/openstack/trove/tree/master/integration | 18:48 |
trevormc | especially for a development environment, this will be your friend. | 18:48 |
*** hoonetorg has quit IRC | 18:49 | |
taras_glek | does this need devstack or is this a standalone thing? | 18:49 |
trevormc | take a look at the following doc | 18:49 |
trevormc | https://github.com/openstack/trove/blob/master/doc/source/contributor/how_to_create_a_trove_instance.rst | 18:49 |
trevormc | it will clone devstack for you | 18:49 |
taras_glek | thank you trevormc | 18:49 |
trevormc | np, let me know if you get stuck.. im usually online around this time +- 3hrs | 18:50 |
taras_glek | working on it right now | 18:52 |
taras_glek | trevormc: [ERROR] /opt/stack/devstack/functions-common:1886 Plugin attempted to be enabled twice: trove git://git.openstack.org/openstack/trove.git master | 18:58 |
trevormc | yeah you get that too huh | 18:59 |
trevormc | .. its a bug. all you have to do is clear out your local.conf | 18:59 |
trevormc | but leave the header localrc thing | 18:59 |
taras_glek | trevormc: not sure what you mean. I only have local.conf.rc | 19:00 |
taras_glek | should i provide a local.conf? | 19:00 |
trevormc | yeah | 19:01 |
trevormc | just an empty one with [[local|localrc]] at the top | 19:01 |
taras_glek | ok | 19:01 |
taras_glek | trevormc: same error | 19:03 |
taras_glek | [[local|localrc]] is all i have in local.conf | 19:03 |
trevormc | hmm do you have a localrc file in there? | 19:04 |
trevormc | it may be using that instead.. you can remove that and it should use local.conf instead. | 19:04 |
taras_glek | sure do | 19:06 |
taras_glek | localrc.rc | 19:06 |
taras_glek | not "localrc" | 19:06 |
trevormc | right.. remove that. | 19:06 |
trevormc | devstack kept both for compatibility reasons.. I think it prioritizes local.conf but I don't remember | 19:07 |
taras_glek | got rid of local.conf.rc and localrc.rc | 19:07 |
taras_glek | same error | 19:07 |
trevormc | so whats happening is devstack is reading some conf and it has a directive to "enable_plugin trove" twice | 19:08 |
trevormc | so maybe grep for that and see where it appears twice in a file. You need to clear that file out and try again | 19:09 |
taras_glek | trevormc: ok, maybe you can answer a dev question too? | 19:11 |
taras_glek | i got here by trying to run part of trove myself | 19:11 |
taras_glek | but i'm confused by how notifications work | 19:11 |
taras_glek | https://gist.github.com/tarasglek/8ea39a6d943c1cd537e7b639c381d694 | 19:11 |
trevormc | oh boy.. notifications.. I haven't touched those. Last place I saw them was on the controller for a cluster. | 19:14 |
taras_glek | oh boy indeed :( | 19:15 |
trevormc | oh i think you are missing this https://github.com/openstack/trove/blob/master/trove/cluster/service.py#L127 | 19:16 |
trevormc | you have to set context.notification yourself. | 19:16 |
trevormc | maybe? | 19:16 |
taras_glek | thanks for the pointer, i see a few things i might be missing | 19:17 |
taras_glek | trevormc: ./localrc.rc:#enable_plugin trove <--only place this shows up | 19:17 |
taras_glek | but even if i nuke that file, no dice | 19:17 |
trevormc | it could have a cached file its using.. but the grep would have found it. | 19:18 |
trevormc | from the beginning.. i clone trove into /opt/stack directory | 19:19 |
trevormc | then I call ./trovestack install | 19:19 |
trevormc | .. it clones devstack.. injects the conf... and runs to completion | 19:19 |
trevormc | I would try deleting the devstack repo entirely.. not sure what the issue is. Are you able to reclone trove too or do you have some unsaved changes? | 19:20 |
trevormc | i dont have to do anything special to get trove up and running. The error you see are from concurrent runs of the install script.. this is becaues it injects the conf but doesn't clean up.. should be an easy fix if you're interested | 19:21 |
trevormc | there was a name change from redstack to trovestack and there was a comment that said something like "autogenerated by redstack" and if it didn't find that line it would re-inject the conf. | 19:22 |
taras_glek | ok | 19:24 |
trevormc | that may have something to do with it.. https://github.com/openstack/trove/blob/master/integration/scripts/trovestack#L407 | 19:24 |
taras_glek | ok cleaning stuff from /opt/stack helped | 19:30 |
taras_glek | moving along now | 19:30 |
*** jwcroppe has quit IRC | 19:31 | |
trevormc | nice | 19:33 |
*** jwcroppe_ has joined #openstack-trove | 19:34 | |
taras_glek | trevormc: https://gist.github.com/tarasglek/88580fc2c55eadb8ea7a0be558252768 | 19:35 |
taras_glek | oh i think i know why | 19:36 |
taras_glek | i had a pip install | 19:36 |
taras_glek | of trove-dashboard :( | 19:36 |
*** itlinux has quit IRC | 19:38 | |
taras_glek | fixed django | 19:38 |
taras_glek | trying again | 19:39 |
taras_glek | trevormc: "Notification %s must include 'request'" is an error if i dont pass the request parameter | 19:49 |
taras_glek | but i'm not sure how to construct that | 19:49 |
trevormc | I would just look in the current codebase for an example. I haven't used notification like that. request sounds like a class trove has for api requests maybe? | 19:53 |
trevormc | the source shows its looking for a key called request_id | 19:54 |
trevormc | http://git.openstack.org/cgit/openstack/trove/tree/trove/common/notification.py#n369 | 19:54 |
*** openstack has joined #openstack-trove | 19:57 | |
trevormc | so i think a request_id is generated somewhere in between, automatically rather than manually. | 19:57 |
*** gouthamr has quit IRC | 20:14 | |
taras_glek | trevormc: yeah i tried passing an id, that just caused havoc elsewhere | 20:16 |
taras_glek | it's really hard to trace this code manually without running it | 20:16 |
trevormc | quick google search shows this wiki https://wiki.openstack.org/wiki/Trove/trove-notifications | 20:17 |
trevormc | it has an example in there.. | 20:17 |
trevormc | not running the code i would agree is difficult.. the logs often have clues | 20:17 |
*** openstackgerrit has quit IRC | 20:17 | |
trevormc | how about you try creating a trove instance and do some database operations first and see the logs that are produced by the taskmanager | 20:18 |
trevormc | maybe some of my blog posts will help.. https://trevormccasland.wordpress.com/2017/05/31/how-to-create-a-database-and-user-for-a-mysql-datastore-on-a-trove-instance/ | 20:20 |
trevormc | i only have a couple but thats because I only started writing them a little bit ago.. | 20:20 |
trevormc | err months ago | 20:20 |
trevormc | yeah i just have the three posts and two of them are kind of the same.. I'm more of working on neutron at the moment. | 20:21 |
*** smatzek has quit IRC | 20:22 | |
trevormc | i have to go now.. but I'll be on tomorrow, good luck! | 20:25 |
*** gouthamr has joined #openstack-trove | 20:26 | |
taras_glek | thanks trevormc | 20:30 |
*** jwcroppe_ has quit IRC | 20:47 | |
*** jwcroppe has joined #openstack-trove | 20:51 | |
*** smatzek has joined #openstack-trove | 20:57 | |
*** jwcroppe has quit IRC | 21:12 | |
*** jwcroppe has joined #openstack-trove | 21:14 | |
*** chlong_ has quit IRC | 21:16 | |
*** itlinux has joined #openstack-trove | 21:19 | |
*** smatzek has quit IRC | 21:25 | |
*** gouthamr has quit IRC | 21:26 | |
*** trevormc has quit IRC | 21:42 | |
*** jwcroppe has quit IRC | 21:58 | |
*** kylek3h has quit IRC | 22:06 | |
*** tesseract has quit IRC | 22:37 | |
*** taras_glek has quit IRC | 22:45 | |
*** gouthamr has joined #openstack-trove | 23:08 | |
*** chhavi has joined #openstack-trove | 23:25 | |
*** chhavi has quit IRC | 23:29 | |
*** jwcroppe has joined #openstack-trove | 23:33 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!