Tuesday, 2016-05-17

*** yingjun has joined #openstack-searchlight00:16
openstackgerritTravis Tripp proposed openstack/searchlight: Enable setting listener thread pool size  https://review.openstack.org/31713800:46
*** bpokorny_ has joined #openstack-searchlight01:03
*** bpokorny has quit IRC01:07
*** bpokorny_ has quit IRC01:08
*** itisha has quit IRC01:29
*** shu-mutou-AFK is now known as shu-mutou01:40
openstackgerritLakshmi N Sampath proposed openstack/searchlight: Resource types for reference and parent id  https://review.openstack.org/31716702:27
*** lakshmiS has quit IRC02:31
*** bpokorny has joined #openstack-searchlight04:11
*** lakshmiS has joined #openstack-searchlight04:12
*** bpokorny has quit IRC04:20
openstackgerritLakshmi N Sampath proposed openstack/searchlight: Resource types for reference and parent id  https://review.openstack.org/31716704:37
*** lakshmiS has quit IRC04:45
*** GB21 has joined #openstack-searchlight04:56
*** GB21 has quit IRC05:04
*** GB21 has joined #openstack-searchlight05:09
*** GB21 has quit IRC05:31
*** yingjun has quit IRC09:39
*** shu-mutou is now known as shu-mutou-AFK09:48
*** TravT has quit IRC11:06
*** TravT has joined #openstack-searchlight11:07
*** TravT_ has joined #openstack-searchlight11:49
*** TravT has quit IRC11:51
*** yingjun has joined #openstack-searchlight13:01
*** openstackgerrit has quit IRC13:32
*** openstackgerrit has joined #openstack-searchlight13:34
*** sigmavirus24_awa is now known as sigmavirus2413:54
*** jasongalyon has joined #openstack-searchlight13:56
openstackgerritOpenStack Proposal Bot proposed openstack/searchlight: Updated from global requirements  https://review.openstack.org/31695714:10
openstackgerritSteve McLellan proposed openstack/searchlight: Add totals to facets  https://review.openstack.org/30858215:24
*** TravT_ is now known as TravT15:25
*** tyr_ has joined #openstack-searchlight15:29
*** tyr__ has joined #openstack-searchlight15:30
*** tyr_ has quit IRC15:30
openstackgerritTravis Tripp proposed openstack/searchlight: Enable setting listener thread pool size  https://review.openstack.org/31713815:33
*** yingjun has quit IRC15:45
*** yingjun has joined #openstack-searchlight15:45
*** lakshmiS has joined #openstack-searchlight15:46
*** yingjun has quit IRC15:50
*** bpokorny has joined #openstack-searchlight15:52
TravTsjmc7: if you have a second, can you weigh in on this patch?15:55
TravThttps://review.openstack.org/#/c/317138/15:56
TravTneed to decide whether to keep it or abandon it15:56
tyr__morning all! I'm working on untangling searchlight-ui's use of events, and the horrible event system in magic search. It makes searchlight-ui and magic search MUCH easier to work with and use in creative ways.15:56
tyr__The works will come in as a series of about 5 patches. I could use some help clearing the first easy ones.15:56
sjmc7yeah, will do - although that messiness made me realize that the nova problem was more complicated than i thought :)15:56
tyr__First easy one: https://review.openstack.org/31707315:57
tyr__Second easy one: https://review.openstack.org/31712115:57
TravTtyr__: i was just about to look at the easy ones.  thanks!15:58
sjmc7TravT: the executor_thread_pool_size option from oslo will end up under DEFAULT?16:01
sjmc7yeah, looks like it16:03
TravTyes16:10
TravTi'm not sure if that also effects API or not16:10
TravTsjmc7: it looks like we won't be getting any help from nova versioned notifications providing any more data.16:18
TravThttps://review.openstack.org/#/c/286675/1616:18
TravTGibi seems to be actively advocating against putting more data in them16:19
TravTso, they will continue to be problematic.16:19
openstackgerritLakshmi N Sampath proposed openstack/searchlight: Resource types for reference and parent id  https://review.openstack.org/31716716:21
sjmc7ok. so there’s not really any benefit in them16:24
TravTas far as i can tell, there doesn't seem to be much16:27
TravTonly that you will be able to tell when they break you16:27
TravTusing version16:28
TravTand the schema will give you the mapping16:28
TravTfor string or what not16:28
TravTi'm tempted to go to the meeting and tell them that i've lost sight of what value the versioned notifications bring16:28
sjmc7what can break if they’re not adding stuff?16:28
sjmc7unless they’re going to remove things16:29
sjmc7in which case they should just do it16:29
TravTin theory the notifications follow semver16:29
TravTi need to re-read their use cases.16:29
TravTthis is all part of their rolling upgrade work somehow16:30
sjmc7on a happier note, i took a look at messaging pools earlier and i think it can simplify deployment16:33
*** tyr_ has joined #openstack-searchlight16:41
*** tyr__ has quit IRC16:43
*** tyr_ has quit IRC16:54
*** tyr_ has joined #openstack-searchlight16:55
lakshmiSTravT: hey17:07
TravThey lakshmiS17:07
lakshmiSfor https://bugs.launchpad.net/searchlight/+bug/156948517:08
openstackLaunchpad bug 1569485 in OpenStack Search (Searchlight) "Image type should be a facet - Can't select snapshots vs images" [High,In progress] - Assigned to Lakshmi N Sampath (lakshmi-sampath)17:08
lakshmiSImage based on snapshot has these additional fields17:08
lakshmiS"image_state": "available",17:08
lakshmiS"user_id": "82b5649a53bf4794bc464bbf3db93a57",17:08
lakshmiS"image_type": "snapshot",17:08
lakshmiS"base_image_ref": "62c26a7b-fd5c-4619-869e-5fd87d69eb2f",17:08
lakshmiS"image_location": "snapshot",17:08
lakshmiS"instance_uuid": "e60db0b7-052e-4f18-9a67-88ef20166682",17:08
lakshmiSI will add image_type and base_image_ref(link) for mapping17:08
lakshmiSdo you see anything else here useful?17:09
TravThmmm... all of those look useful.17:09
lakshmiSi meant for facet listing17:09
lakshmiSbeing dynamic mapping they are indexed anyway17:10
lakshmiSbut would UI users search based on user_id or instance_id?17:10
lakshmiSimage_state/user_id/instance_uuid would default to null if its a non-snapshot image17:13
TravThey, just a sec... i'm in the nova notification meeting and they just started talking about the comments i left on the spec17:13
lakshmiSk17:13
TravTlakshmiS: that is really interesting re: facets17:35
TravTreally makes me wonder if we should break the mold and have OS::Glance::Snapshot17:35
lakshmiShmm.. its not completely different either since we will still handle same notification event and api for both17:37
TravTso, openstack client has snapshot list17:39
TravTin addition to image list17:39
TravTlakshmiS: I don't think image_location is worth indexing of the above17:40
lakshmiSyeah i removed it17:40
lakshmiSalso image_state might get confusing with 'status' field17:41
lakshmiSi think its good to differentiate image vs snapshot from user point of view but from our code perspective its same code for mapping/notfications/etc except for those 5 fields17:42
lakshmiSI can give it a try by extending ImageIndex17:43
TravTrosmaita are you around?17:44
TravTlakshmiS: openstack client snapshot list doesn't return anything17:47
TravTi wonder if that is a volume snapshot17:47
lakshmiScould be. let me check code17:47
TravTmy image snapshot still comes back from image list17:47
lakshmiSwell even if glance doesn't treat it separately, we could still have OS::Glance::Snapshot17:48
rosmaitaTravT: hello17:49
TravThey rosmaita we were just debating on the merits of keeping images and snapshots under one resource type OS::Glance::Image vs also having OS::Glance::Snapshot17:51
TravTthe available facets differ based on which one you care about.17:51
rosmaitaglance doesn't recognize a difference17:52
lakshmiSseems like those fields are just metadata added to glance image17:52
TravTyeah, we probably should just keep as image then.17:52
rosmaitai think so17:52
rosmaitasome of those fileds lakshmiS quoted above look non-standard to me17:53
lakshmiSthen we should accept null value for snapshot fields in image data and UI users will have some confusion over snapshot fields :(17:53
rosmaitalakshmiS: what exactly are "snapshot fields"?17:53
lakshmiSthe list mentioned above which are part of API result only if image is based on a snapshot17:54
rosmaitaimage_type i think is defined in the compute api17:54
rosmaitafor nova, you can have base, snapshot, or backup17:54
rosmaitaat rackspace, we also put 'import' on imported images17:55
lakshmiSinteresting, we were thinking of adding 'image' as default value for vanilla imagews17:55
rosmaitai think in most clouds all you'll see are 'base' or 'snapshot'17:56
lakshmiSrosmaita: do you know what is 'image_state' possible values? and i guess this is completely different from 'status' field on glance image17:56
TravTrosmaita: FYI, this is the bug being referenced: https://bugs.launchpad.net/searchlight/+bug/156948517:57
openstackLaunchpad bug 1569485 in OpenStack Search (Searchlight) "Image type should be a facet - Can't select snapshots vs images" [High,In progress] - Assigned to Lakshmi N Sampath (lakshmi-sampath)17:57
TravTmaybe you could add your thoughts on there?17:57
rosmaitaok, will do17:57
rosmaitabase_image_ref is definitely useful17:58
lakshmiSyes17:58
lakshmiSTravT: only hit for OS::Glance::Snapshot on google is Graffit :)18:00
TravThaha18:00
TravTyeah, so let's stay with OS::Glance::Image18:00
TravTand just give facets.18:01
rosmaitaTravT: added a comment to that bug18:14
*** tyr_ has quit IRC18:27
*** tyr_ has joined #openstack-searchlight18:27
lakshmiSthanks18:32
*** jasongalyon has quit IRC19:31
*** jasongalyon has joined #openstack-searchlight19:31
*** bpokorny has quit IRC20:03
*** jasongalyon has quit IRC20:12
*** jasongalyon has joined #openstack-searchlight20:57
*** bpokorny has joined #openstack-searchlight21:17
openstackgerritLakshmi N Sampath proposed openstack/searchlight: WIP: Image type should be a facet  https://review.openstack.org/31774121:28
*** lakshmiS has quit IRC21:35
*** jasongalyon has quit IRC21:53
*** sigmavirus24 is now known as sigmavirus24_awa22:08
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Searchlight version of Magic Search  https://review.openstack.org/31713322:30
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Searchlight version of Magic Search  https://review.openstack.org/31713322:59
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Searchlight version of hz-expand-detail  https://review.openstack.org/31712123:00
openstackgerritTyr Johanson proposed openstack/searchlight-ui: WIP Integrating sl-magic-search and searchlight-ui  https://review.openstack.org/31776023:02
*** tyr_ has quit IRC23:06
*** lakshmiS has joined #openstack-searchlight23:08

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