Thursday, 2017-07-20

*** ulaanbaatar has joined #openstack-trove00:21
*** harlowja has quit IRC01:32
*** zhaochao has joined #openstack-trove01:44
*** zhaochao has quit IRC01:51
*** zhaochao has joined #openstack-trove01:54
*** jwcroppe has joined #openstack-trove02:13
*** ulaanbaatar has quit IRC02:31
*** harlowja has joined #openstack-trove02:52
*** amrith has quit IRC03:45
*** amrith has joined #openstack-trove03:46
*** ChanServ sets mode: +o amrith03:46
*** Guest85080 has joined #openstack-trove04:02
*** ChanServ sets mode: +o Guest8508004:02
*** amrith is now known as Guest7583404:12
*** Guest85080 is now known as amrith04:12
*** amrith- has joined #openstack-trove04:12
*** amrith has joined #openstack-trove04:12
*** ChanServ sets mode: +o amrith04:12
*** amrith has quit IRC04:13
*** ChanServ sets mode: +o amrith-04:13
*** amrith- is now known as amrith04:13
*** amrith- has joined #openstack-trove04:13
*** amrith is now known as Guest3066404:13
*** ChanServ sets mode: +o amrith-04:13
*** Guest30664 has quit IRC04:13
*** amrith- is now known as amrith04:13
*** amrith- has joined #openstack-trove04:14
*** amrith has quit IRC04:15
*** ChanServ sets mode: +o amrith-04:16
*** amrith- is now known as amrith04:16
*** harlowja has quit IRC04:18
*** chlong_ has joined #openstack-trove04:19
*** harlowja has joined #openstack-trove04:30
*** rcernin has joined #openstack-trove04:34
*** amrith has quit IRC04:52
*** amrith has joined #openstack-trove04:53
*** ChanServ sets mode: +o amrith04:53
*** chlong_ has quit IRC05:26
*** harlowja has quit IRC05:33
*** rcernin has quit IRC05:36
*** gouthamr has quit IRC05:43
*** jwcroppe has quit IRC05:44
*** rcernin has joined #openstack-trove05:59
*** chenying_ has joined #openstack-trove06:53
*** chenying has quit IRC06:57
*** itlinux has quit IRC07:04
*** tesseract has joined #openstack-trove07:19
*** chenying__ has joined #openstack-trove07:26
*** chenying_ has quit IRC07:29
*** magicboiz has quit IRC08:02
*** gcb has joined #openstack-trove08:21
*** magicboiz has joined #openstack-trove08:28
*** hoonetorg has joined #openstack-trove09:10
*** magicboiz has quit IRC09:48
*** magicboiz has joined #openstack-trove09:54
*** magicboiz has quit IRC09:59
*** magicboiz has joined #openstack-trove10:05
*** smatzek has joined #openstack-trove10:46
*** hoonetorg has quit IRC10:52
*** hoonetorg has joined #openstack-trove11:29
*** pmackinn has joined #openstack-trove11:48
*** hoonetorg has quit IRC12:03
*** magicboiz has quit IRC12:05
*** magicboiz has joined #openstack-trove12:06
*** chlong_ has joined #openstack-trove12:16
*** zhaochao has quit IRC12:27
*** kylek3h has joined #openstack-trove12:52
*** gcb has quit IRC13:02
*** gcb has joined #openstack-trove13:03
*** gouthamr has joined #openstack-trove13:17
*** chlong_ has quit IRC13:40
*** jwcroppe has joined #openstack-trove13:53
*** trevormc has joined #openstack-trove14:27
*** hoonetorg has joined #openstack-trove14:56
*** hoonetorg has quit IRC14:57
*** chlong_ has joined #openstack-trove14:57
*** hoonetorg has joined #openstack-trove14:57
*** chhavi has joined #openstack-trove14:58
*** vkmc_ has joined #openstack-trove15:01
*** chhavi has quit IRC15:08
*** chhavi has joined #openstack-trove15:08
*** rcernin has quit IRC15:25
*** hoonetorg has quit IRC15:27
*** hoonetorg has joined #openstack-trove15:35
*** itlinux has joined #openstack-trove16:19
*** chlong_ has quit IRC16:19
*** itlinux has quit IRC16:21
*** itlinux has joined #openstack-trove16:22
*** tesseract has quit IRC16:32
*** rcernin has joined #openstack-trove16:33
*** smatzek has quit IRC16:36
*** magicboiz has quit IRC17:00
*** tesseract has joined #openstack-trove17:18
*** chhavi has quit IRC17:28
*** vkmc_ has quit IRC17:30
*** chlong_ has joined #openstack-trove17:32
*** smatzek has joined #openstack-trove17:32
*** harlowja has joined #openstack-trove18:06
*** taras_glek has joined #openstack-trove18:35
taras_glekhi, i'm trying to run trove. I setup devstack, but trove datastore-list is an empty list18:39
taras_glekhow do i get datastores to show up in there18:39
trevormctaras_glek, hey sounds like you need to use the integration project18:47
trevormchave you looked at trove/integration18:47
taras_glekhave not18:48
trevormchttps://github.com/openstack/trove/tree/master/integration18:48
trevormcespecially for a development environment, this will be your friend.18:48
*** hoonetorg has quit IRC18:49
taras_glekdoes this need devstack or is this a standalone thing?18:49
trevormctake a look at the following doc18:49
trevormchttps://github.com/openstack/trove/blob/master/doc/source/contributor/how_to_create_a_trove_instance.rst18:49
trevormcit will clone devstack for you18:49
taras_glekthank you trevormc18:49
trevormcnp, let me know if you get stuck.. im usually online around this time +- 3hrs18:50
taras_glekworking on it right now18:52
taras_glektrevormc: [ERROR] /opt/stack/devstack/functions-common:1886 Plugin attempted to be enabled twice: trove git://git.openstack.org/openstack/trove.git master18:58
trevormcyeah you get that too huh18:59
trevormc.. its a bug. all you have to do is clear out your local.conf18:59
trevormcbut leave the header localrc thing18:59
taras_glektrevormc: not sure what you mean. I only have local.conf.rc19:00
taras_glekshould i provide a local.conf?19:00
trevormcyeah19:01
trevormcjust an empty one with [[local|localrc]] at the top19:01
taras_glekok19:01
taras_glektrevormc: same error19:03
taras_glek[[local|localrc]] is all i have in local.conf19:03
trevormchmm do you have a localrc file in there?19:04
trevormcit may be using that instead.. you can remove that and it should use local.conf instead.19:04
taras_gleksure do19:06
taras_gleklocalrc.rc19:06
taras_gleknot "localrc"19:06
trevormcright.. remove that.19:06
trevormcdevstack kept both for compatibility reasons.. I think it prioritizes local.conf but I don't remember19:07
taras_glekgot rid of local.conf.rc and localrc.rc19:07
taras_gleksame error19:07
trevormcso whats happening is devstack is reading some conf and it has a directive to "enable_plugin trove" twice19:08
trevormcso maybe grep for that and see where it appears twice in a file. You need to clear that file out and try again19:09
taras_glektrevormc: ok, maybe you can answer a dev question too?19:11
taras_gleki got here by trying to run part of trove myself19:11
taras_glekbut i'm confused by how notifications work19:11
taras_glekhttps://gist.github.com/tarasglek/8ea39a6d943c1cd537e7b639c381d69419:11
trevormcoh boy.. notifications.. I haven't touched those. Last place I saw them was on the controller for a cluster.19:14
taras_glekoh boy indeed :(19:15
trevormcoh i think you are missing this https://github.com/openstack/trove/blob/master/trove/cluster/service.py#L12719:16
trevormcyou have to set context.notification yourself.19:16
trevormcmaybe?19:16
taras_glekthanks for the pointer, i see a few things i might be missing19:17
taras_glektrevormc: ./localrc.rc:#enable_plugin trove <--only place this shows up19:17
taras_glekbut even if i nuke that file, no dice19:17
trevormcit could have a cached file its using.. but the grep would have found it.19:18
trevormcfrom the beginning.. i clone trove into /opt/stack directory19:19
trevormcthen I call ./trovestack install19:19
trevormc.. it clones devstack.. injects the conf... and runs to completion19:19
trevormcI 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
trevormci 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 interested19:21
trevormcthere 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_glekok19:24
trevormcthat may have something to do with it.. https://github.com/openstack/trove/blob/master/integration/scripts/trovestack#L40719:24
taras_glekok cleaning stuff from /opt/stack helped19:30
taras_glekmoving along now19:30
*** jwcroppe has quit IRC19:31
trevormcnice19:33
*** jwcroppe_ has joined #openstack-trove19:34
taras_glektrevormc: https://gist.github.com/tarasglek/88580fc2c55eadb8ea7a0be55825276819:35
taras_glekoh i think i know why19:36
taras_gleki had a pip install19:36
taras_glekof trove-dashboard :(19:36
*** itlinux has quit IRC19:38
taras_glekfixed django19:38
taras_glektrying again19:39
taras_glektrevormc: "Notification %s must include 'request'" is an error if i dont pass the request parameter19:49
taras_glekbut i'm not sure how to construct that19:49
trevormcI 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
trevormcthe source shows its looking for a key called request_id19:54
trevormchttp://git.openstack.org/cgit/openstack/trove/tree/trove/common/notification.py#n36919:54
*** openstack has joined #openstack-trove19:57
trevormcso i think a request_id is generated somewhere in between, automatically rather than manually.19:57
*** gouthamr has quit IRC20:14
taras_glektrevormc: yeah i tried passing an id, that just caused havoc elsewhere20:16
taras_glekit's really hard to trace this code manually without running it20:16
trevormcquick google search shows this wiki https://wiki.openstack.org/wiki/Trove/trove-notifications20:17
trevormcit has an example in there..20:17
trevormcnot running the code i would agree is difficult.. the logs often have clues20:17
*** openstackgerrit has quit IRC20:17
trevormchow about you try creating a trove instance and do some database operations first and see the logs that are produced by the taskmanager20:18
trevormcmaybe 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
trevormci only have a couple but thats because I only started writing them a little bit ago..20:20
trevormcerr months ago20:20
trevormcyeah 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 IRC20:22
trevormci have to go now.. but I'll be on tomorrow, good luck!20:25
*** gouthamr has joined #openstack-trove20:26
taras_glekthanks trevormc20:30
*** jwcroppe_ has quit IRC20:47
*** jwcroppe has joined #openstack-trove20:51
*** smatzek has joined #openstack-trove20:57
*** jwcroppe has quit IRC21:12
*** jwcroppe has joined #openstack-trove21:14
*** chlong_ has quit IRC21:16
*** itlinux has joined #openstack-trove21:19
*** smatzek has quit IRC21:25
*** gouthamr has quit IRC21:26
*** trevormc has quit IRC21:42
*** jwcroppe has quit IRC21:58
*** kylek3h has quit IRC22:06
*** tesseract has quit IRC22:37
*** taras_glek has quit IRC22:45
*** gouthamr has joined #openstack-trove23:08
*** chhavi has joined #openstack-trove23:25
*** chhavi has quit IRC23:29
*** jwcroppe has joined #openstack-trove23:33

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