Thursday, 2015-10-01

openstackgerritSteve McLellan proposed openstack/searchlight: Make use of config options for indexer plugins  https://review.openstack.org/22331800:09
sjmc7ok, with that giant patch, i'm out00:11
TravThasta00:17
*** TravT changes topic to "OpenStack Searchlight - https://wiki.openstack.org/wiki/Searchlight"00:29
*** itisha has quit IRC01:13
*** GB21 has joined #openstack-searchlight05:08
*** GB21 has quit IRC05:14
*** lakshmiS has joined #openstack-searchlight05:38
*** lakshmiS has quit IRC05:59
*** openstackgerrit has quit IRC07:46
*** itisha has joined #openstack-searchlight07:47
*** openstackgerrit has joined #openstack-searchlight07:47
*** lakshmiS has joined #openstack-searchlight08:42
*** GB21 has joined #openstack-searchlight09:03
*** lakshmiS has quit IRC09:13
*** lakshmiS has joined #openstack-searchlight09:14
*** GB21 has quit IRC10:08
*** akanksha_ has joined #openstack-searchlight10:48
itishahey, so any ideas on how i can fix the error i was getting?11:22
lakshmiSitisha: which error you are referring to?11:23
itishalakshmiS: I had gotten an error while running stack.sh: http://paste.openstack.org/show/474950/11:23
lakshmiSekarlso: do you know?11:25
lakshmiSwhats the DESIGNATE_BACKEND_DRIVER in your localrc11:29
ekarlsosorry ?11:30
lakshmiSdevstack install of designate gives powerDNS start error http://paste.openstack.org/show/474950/11:31
lakshmiS^ ekarlso11:31
ekarlsolakshmiS: not sure really..11:32
itishalakshmiS: there isn't one defined11:32
ekarlsotry setting it to powerdns11:32
itishaok, i'll try that :)11:35
itishai still get the same error11:37
lakshmiSdo you have other errors before that in devstack install11:39
itishano, that's the first one11:41
lakshmiSekarlso: do you have /etc/powerdns/pdns.d on your devstack install?11:46
ekarlsolakshmiS: dont have devstack up atm :(11:53
openstackgerritLakshmi N Sampath proposed openstack/searchlight: Fix for Scrub references to glance in searchlight  https://review.openstack.org/22984211:57
lakshmiSitisha:  i will retry my stack.sh to see what happens with the latest devstack11:57
itishalakshmiS: ok, thanks! :)11:58
*** GB21 has joined #openstack-searchlight13:06
*** GB21_ has joined #openstack-searchlight13:06
*** GB21_ has quit IRC13:06
sjmc7i modified ekarlso's patch last night to allow enabling/disabling plugins in config; the patch was close enough that it was as quick to modify it then start over14:04
sjmc7https://review.openstack.org/#/c/223318/14:04
*** david-lyle has quit IRC14:11
*** sigmavirus24_awa is now known as sigmavirus2414:12
*** david-lyle has joined #openstack-searchlight14:13
openstackgerritMerged openstack/searchlight: Fix for Scrub references to glance in searchlight  https://review.openstack.org/22984214:30
openstackgerritTravis Tripp proposed openstack/searchlight: Make use of config options for indexer plugins  https://review.openstack.org/22331814:35
TravTekarlso: are you around?14:39
TravTcould you look over Steve's changes on the above patch? https://review.openstack.org/22331814:40
sjmc7i need to change the devstack config on that, TravT14:50
sjmc7to disable designate by default14:50
TravTok, that makes sense.14:53
lakshmiSI also had other comments on that patch earlier for ekarlso:14:55
*** TravT has quit IRC14:58
sjmc7lakshmiS i tried to take them into account, i may have missed some stuff15:00
sjmc7in particular, the plugin.py file - it's necessary to avoid some weird circular imports15:00
sjmc7and it also keeps a load of configuration logic out of the plugin15:01
*** lakshmiS has quit IRC15:01
sjmc7meeting time15:01
*** TravT has joined #openstack-searchlight15:01
TravTCourtesy Searchlight meeting reminder in #openstack-meeting-4: lakshmiS, mclaren, nikhil_k, rosmaita, sigmavirus24, TravT, krykowski, david-lyle, wokuma, kragniz, sjmc7, ekarlso, abhijeetm, itisha15:02
*** lakshmiS has joined #openstack-searchlight15:03
*** lakshmiS_ has joined #openstack-searchlight15:09
*** lakshmiS has quit IRC15:13
*** lakshmiS_ has quit IRC15:22
*** lakshmiS has joined #openstack-searchlight15:23
lakshmiSsorry my netconnection is choppy today15:23
TravTnow to get my devstack running again...15:50
TravTvm crashed this morning.15:51
TravTitisha: are you around?15:51
itishaTravT: hey15:52
TravThey, i have a low hanging fruit bug that you could tackle...15:52
TravThttps://bugs.launchpad.net/searchlight/+bug/150179115:52
openstackLaunchpad bug 1501791 in OpenStack Search (Searchlight) "Glance Exceptions should be removed" [Low,New]15:52
TravTbasically searchlight was separated from glance this release.15:53
TravTand we took a bunch of code15:53
TravTand i came across several exceptions that could be deleted from searchlight...15:53
TravTso, would just need to get through them and see which ones are actually being used in searchlight and get rid of the others.15:53
itishaoh ok, cool, i'll get started on this right away :)15:54
TravT:)15:54
lakshmiSby looking at it. atleast UploadException shouldn't be there15:54
TravTgit review -d 22959315:56
TravToops wrong window15:56
*** lakshmiS has quit IRC16:03
*** lakshmiS has joined #openstack-searchlight16:10
openstackgerritSteve McLellan proposed openstack/searchlight: Add 'limit_terms' to facets  https://review.openstack.org/23000916:33
TravTwell the tags one is an easy fix...16:35
TravTbecause it doesn't need to be fixed16:36
TravTmust have been done already.16:36
TravTso, i'll close that bug as invalid.16:36
lakshmiSyou mean dynamic mapping16:36
TravTwell, adding and deleting tags work and it is already in the mapping16:36
TravTmaybe we just forgot to close it16:37
lakshmiScool16:37
lakshmiSi guess you beat me to the testing16:38
lakshmiSi didnt see tags in mapping16:38
lakshmiShttps://github.com/openstack/searchlight/blob/master/searchlight/elasticsearch/plugins/glance/images.py#L4316:38
TravTline 5516:38
TravThttps://github.com/openstack/searchlight/blob/master/searchlight/elasticsearch/plugins/glance/images.py#L5516:38
lakshmiSoh there it is.16:38
TravTyeah...16:38
lakshmiSdidnt see it hiding16:38
TravTone thing quite curious i did just find16:39
TravTwhy are we ignoring kernel_id and ramdisk_id?16:39
TravThttps://github.com/openstack/searchlight/blob/master/searchlight/elasticsearch/plugins/glance/__init__.py#L6716:39
TravTthat's not right16:39
TravTi think i'm going to add those back in.16:40
TravTi can't think of any good reason to ignore them16:40
sjmc7i'm sure there was one, in the sands of time16:40
lakshmiSno idea16:40
TravTwell, i'll try adding them back in and see if i encounter anything.16:40
openstackgerritSteve McLellan proposed openstack/searchlight: Make use of config options for indexer plugins  https://review.openstack.org/22331816:53
lakshmiSare we waiting for ekarlso to check the patch tomorrow - 22331817:39
lakshmiSwill check back tomorrow morning17:44
*** lakshmiS has quit IRC17:44
openstackgerritTravis Tripp proposed openstack/searchlight: Add kernel_id and ramdisk_id to indexed images  https://review.openstack.org/23004417:55
ekarlsowhat patch ?18:14
*** openstackgerrit has quit IRC18:31
*** openstackgerrit has joined #openstack-searchlight18:32
sjmc7TravT - you want me to abandon 230009 ?18:33
sjmc7or at least defer it18:33
TravTlet met see wtf you are talking about18:33
sjmc7facet term limit18:33
TravTwell, just change the facet limit default to 018:34
sjmc7that's already the limit.. i'm not seeing the benefit of adding it18:35
TravTyou can send it through18:35
sjmc7mm. ok18:36
TravTthe facet terms are being limited by rbac right?18:38
sjmc7should be, yes18:38
TravTok, it is.18:45
TravTjust gets a little funky when logged in as admin18:46
TravTyou get facets for other projects18:46
TravTrunning another check to see if i'm right18:47
sjmc7oh, the all tenants thing maybe :(18:47
openstackgerritSteve McLellan proposed openstack/searchlight: Add 'limit_terms' to facets  https://review.openstack.org/23000918:48
sjmc7need to add all_projects to facets as well i think18:48
TravTyep, same thing18:52
TravTi do see this happening.18:53
TravTi create security group in demo project.  add to demo instance18:53
TravTswitch to admin project18:54
TravTget facet options for security group with demo security group18:54
sjmc7yeah18:54
sjmc7ok. (another) fairly simple fix. cramming stuff in at the end of the cycle is not a good habit :)18:55
TravTthis is basically coming from rc1 testing.18:56
sjmc7ok, another bug! :)18:59
sjmc7my git branch listing almost fills the screen now19:00
sjmc7lemme get a cup o tea, then i'll knock this one out. 15-20 minutes i think19:00
TravTgit branch | grep -v "master" | sed 's/^[ *]*//' | sed 's/^/git branch -D /' | bash19:01
TravTdeletes everything but master19:01
sjmc7no fun in that!19:04
TravTekarlso: any feedback on this one: 22331819:09
TravThttps://review.openstack.org/#/c/223318/19:09
openstackgerritItisha Dewan proposed openstack/searchlight: Glance exceptions should be removed:  https://review.openstack.org/23008619:11
*** david-lyle has quit IRC19:18
*** david-lyle has joined #openstack-searchlight19:27
*** GB21 has quit IRC19:31
openstackgerritItisha Dewan proposed openstack/searchlight: Glance exceptions should be removed  https://review.openstack.org/23008619:48
openstackgerritSteve McLellan proposed openstack/searchlight: Apply RBAC to facets for admin unless all_projects  https://review.openstack.org/23012420:25
itishasjmc7: hey, are you still working on this bug? https://bugs.launchpad.net/searchlight/+bug/149397520:39
openstackLaunchpad bug 1493975 in OpenStack Search (Searchlight) "Need separate config sections for api and listener" [Medium,New] - Assigned to Steve McLellan (sjmc7)20:39
itishaOr can I take it?20:40
sjmc7itisha - it's next on my list, but if you want to take a crack at it, be my guest. the main driver was so that log_file can be specified differently20:41
sjmc7take a look at the top of https://etherpad.openstack.org/p/searchlight-plugin-config-options20:41
sjmc7yeah, go for it20:44
sjmc7the way configuration is handled is a bit confusing20:44
sjmc7i suspect that separate configuration files might actually be the right way to do it20:45
itishasjmc7: ok, great, i'll take a look at it20:46
*** ekarlso has quit IRC20:55
*** ekarlso has joined #openstack-searchlight20:58
TravTitisha, that bug should use this patch as a base: https://review.openstack.org/#/c/223318/21:23
sjmc7i'm not sure they're that connected21:23
sjmc7it doesn't hurt, but i don't think it'll make much difference21:24
*** david-lyle has quit IRC21:43
*** david-lyle has joined #openstack-searchlight21:56
openstackgerritSteve McLellan proposed openstack/searchlight: Make use of config options for indexer plugins  https://review.openstack.org/22331821:57
sjmc7ok, last one from me on that one21:57
TravTsjmc7: just tried out facet all_projects.  just need a doc blurb on21:58
TravTsee comments21:58
sjmc7k21:58
openstackgerritSteve McLellan proposed openstack/searchlight: Apply RBAC to facets for admin unless all_projects  https://review.openstack.org/23012422:06
TravTsjmc7: to test out the config options...22:06
sjmc7yeah.. look at the devstack plugin.sh change for an example22:06
sjmc7or the plugin docs22:06
sjmc7you can change index_names and stuff22:06
sjmc7i did just test it with a fresh devstack22:07
TravTyeah, i was debating whether to muck up my devstack or not...22:07
sjmc7you don't need to start fresh i don't think22:07
TravTguess that's what snapshots are for.22:07
TravTi think i can just follow some of the setup instructions.22:08
sjmc7i just checked the two 'enableds' (which is why i had to do the patch a few minute ago22:08
sjmc7you can modify the settings file by hand22:08
openstackgerritSteve McLellan proposed openstack/searchlight: Add 'limit_terms' to facets  https://review.openstack.org/23000922:09
TravTi just heckled you over whitespace22:11
sjmc7:|22:11
sjmc7i'm gonna add more22:11
sjmc7IN A DOC FILE?22:11
sjmc7i'm getting all john macenroe22:11
TravT-1 for you22:11
openstackgerritSteve McLellan proposed openstack/searchlight: Apply RBAC to facets for admin unless all_projects  https://review.openstack.org/23012422:13
TravTi see what you did... you made the example less valid...22:13
TravTaccidentally trimmed the closing }22:13
sjmc7when? who? what?22:14
TravT-1 for you22:15
sjmc7STOP THAT22:15
* TravT is glad i'm not close enough for you to through books, chairs, or raccoons at me22:15
TravT(*22:15
TravTthrow22:15
openstackgerritSteve McLellan proposed openstack/searchlight: Apply RBAC to facets for admin unless all_projects  https://review.openstack.org/23012422:16
sjmc7i'll try22:16
sjmc7right, done22:16
TravT:)22:16
openstackgerritTravis Tripp proposed openstack/searchlight: Make use of config options for indexer plugins  https://review.openstack.org/22331822:28
TravTsjmc7^ just updated commit message to get right tracking info22:28
sjmc7ok22:29
TravTi just kicked off a reclone = no run with that patch applied22:29
TravTwould rather test it more fully22:29
sjmc7ok. i'm reaching the end of my productive day i think22:31
TravTgreat work today.22:31
sjmc7you mean when i started removing brackets from documentation? :)22:32
TravTyeah, i guess you secretly like -122:32
sjmc7i do22:32
TravTdid you see my note about the merge conflict on the facet limits?22:32
sjmc7yeah, i'll rebase22:34
sjmc7i knew that'd conflict22:34
*** sigmavirus24 is now known as sigmavirus24_awa22:59
openstackgerritSteve McLellan proposed openstack/searchlight: Add 'limit_terms' to facets  https://review.openstack.org/23000923:28
*** TravT has quit IRC23:37

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