Tuesday, 2015-09-08

*** TravT_ has joined #openstack-searchlight01:29
*** TravT has quit IRC01:31
*** sballe has quit IRC01:46
*** david-ly_ has joined #openstack-searchlight01:51
*** david-lyle has quit IRC01:54
*** TravT_ has quit IRC02:03
*** TravT has joined #openstack-searchlight02:04
*** lakshmiS has joined #openstack-searchlight05:01
*** lakshmiS has quit IRC08:27
*** lakshmiS has joined #openstack-searchlight08:30
*** GB21 has joined #openstack-searchlight10:32
*** GB21 has quit IRC11:37
*** sigmavirus24_awa is now known as sigmavirus2414:11
*** sballe has joined #openstack-searchlight14:40
lakshmiSnikhil_k_: added a patch in glance for generating notifications for image members. Hopefully it can get in the release somewhere :)14:41
lakshmiShttps://bugs.launchpad.net/glance/+bug/144145314:41
openstackLaunchpad bug 1441453 in Glance "Image members CRUD doesn't generate notifications which impacts searchlight RBAC." [Undecided,In progress] - Assigned to Lakshmi N Sampath (lakshmi-sampath)14:41
nikhil_k_lakshmiS: thanks! will look14:46
*** david-ly_ is now known as david-lyle14:53
TravTawesome, thanks, lakshmiS15:06
nikhil_k_lakshmiS: patch looks good at first glance, I think we should be able to make it to rc1 (sept 25)15:08
*** TravT is now known as TravT_away15:08
lakshmiSnikhil_k: thanks15:09
*** GB21_ has joined #openstack-searchlight15:57
*** GB21 has joined #openstack-searchlight15:57
*** GB21 has quit IRC15:58
*** GB21_ is now known as GB2115:58
*** lakshmiS has quit IRC16:01
*** TravT_away is now known as TravT16:42
*** GB21 has quit IRC17:01
*** TravT_ has joined #openstack-searchlight17:21
*** TravT has quit IRC17:21
*** openstackgerrit has quit IRC18:31
*** openstackgerrit has joined #openstack-searchlight18:32
openstackgerritSteve McLellan proposed openstack/searchlight: Allow indexing of single type or index  https://review.openstack.org/21075920:37
*** ekarlso has quit IRC20:38
*** asahlin_ has quit IRC20:47
*** ekarlso has joined #openstack-searchlight20:57
*** ekarlso has quit IRC20:57
*** ekarlso has joined #openstack-searchlight20:57
ekarlsooii20:57
openstackgerritEndre Karlson proposed openstack/searchlight: Add Designate plugin.  https://review.openstack.org/19909920:58
ekarlsoTravT_: u got time to give ^ a go ?20:58
TravT_hey ekarlso20:59
TravT_sure, i'll look it over20:59
TravT_let me stash away something first.20:59
*** TravT_ is now known as TravT20:59
ekarlsoTravT: am I not 1st priority in your life ?!?!? :P21:15
sjmc7_:D21:19
TravTokay, stashed away work.21:22
TravT:D21:22
TravTwill look now21:22
TravTekarlso: i got the notification of zone create21:34
ekarlsoworked ?21:34
TravTbut doesn't look like i got anything for recordset create21:34
ekarlsouh21:34
ekarlsoit should!21:34
TravTwhat do i need in my config21:34
TravT?21:34
TravTfor designate?21:34
ekarlsonothing more then the usual21:34
ekarlsoas in what's in the changeset doc21:35
TravTwell, here's the behavior i'm seeing21:35
TravTi created a domain from horizon ui21:36
TravTin elasticsearch I see a zone record21:36
TravTbut no recordset records21:36
ekarlsolemme see in my env.21:36
TravTso, i did a complete searchlight-manage index sync21:36
TravTand then i see recordsets21:36
ekarlsohmmmms21:36
TravTi didn't actually put a breakpoint or anything.21:36
ekarlsook, i'll take a look21:36
TravTjust running under /opt/stack/searchlight21:37
TravTi did have a question on the relationship between recordsets and zones in my last set of comments21:37
ekarlsoTravT: a zone is the parent resource of a rs21:37
TravTare recordsets only related to a single zone?21:37
ekarlsoTravT: yes21:38
ekarlsoTravT: recordsets internally actually has a subresource called records..21:38
TravTwell, i'm wondering if you would want to index recordset as a nested type in a zone then21:39
TravTand not have a distinct type in ES21:39
TravTright now, you have the zone_id in recordset21:39
TravTwhich is good for relational mapping21:39
ekarlsoTravT: well a zone can have thousands of recordsets..21:39
TravThmm...21:40
ekarlsoand each recordset again can hold tens of records :p21:40
TravTsjmc7^21:40
ekarlsosince it's really in dns: zone travis.name. > A "recordset" travis.name > ["10.0.0.1", "10.0.0.2"]21:40
ekarlsoish21:40
ekarlsobut the API exposes just zones / sets21:40
ekarlsoor if you go the MX route21:40
TravTso, will people be looking to find a particular zone by the recordset?21:41
TravTor looking for particular recordset?21:41
ekarlsoTravT: might be21:41
ekarlsoTravT: find me any rs that's type A with address 10.0.0.121:41
ekarlsof ex21:41
TravTok.21:42
ekarlsototally valid usecase21:42
ekarlsoi checked it here TravT, listener is getting notifications on recordset create..21:43
TravTok. let me mess with it a bit.21:44
ekarlsoTravT: try this: openstack recordset create <domain name> www --type A --records 10.0.0.121:44
TravTany chance you don't receive it when creating a new zone?21:44
ekarlsothat should give u a notification21:44
ekarlsoTravT: receiving a notification or ?21:44
TravTyeah, so i just created a new zone21:44
TravTit showed up with two records21:44
TravTi didn't make a discrete call21:44
ekarlsothere's a dns.domain.create thing going out when creating a zone21:44
TravTlet me add a record to an already existing zone21:45
ekarlsobtw TravT we have v2 stuff underway for angular / horizon21:46
ekarlso:P21:46
TravTcool21:46
TravTso, i get a notification when adding a record to a zone21:47
ekarlsoyap :p21:47
ekarlsoexpected!21:47
ekarlsoi'd be *sadface* if not21:47
TravTbut when i create a new zone, the records in it aren't indexed it seems21:47
TravTvia the notification route21:47
ekarlsoTravT: well it might be that we woud need to add a call there to fetch the existing records..21:48
ekarlsobut it's the NS records to unsure how "necassary" it is21:48
TravTbut if i do index from CLI to update everything they get indexed21:48
TravTlooks like a NS and SOA record21:48
TravTlet me poke at the RBAC for a few minutes.  I saw that now you are remapping tenant_id to project_id.21:50
ekarlsoTravT: i'll put up a new PS tomorrow *again* to fetch the recordsets upon the initial indexation of the zone21:51
TravTThis is pretty awesome to see it this close21:51
ekarlso:p21:52
ekarlsoTravT: I was starting yesterday to poke at Cue stuff for ya as well21:52
TravTsweet!21:52
TravTI'll run through everything again and see if there's anything else for you.21:52
TravTi want to poke at a few queries on the recordsets21:52
TravTbut it seems that we are getting very close to saying it can go in and deal with bugs as they come.21:53
ekarlsoTravT: you are a horizon dev no ?21:58
TravTi spend a fair amount of time there22:01
ekarlsoTravT: so, in v2 of designate we have PRIMARY / SECONDARY zones, on the creation wizard I wanna do a conditional thing with the inputs22:08
ekarlsobased on the selected type, any clues ?22:08
ekarlsoI figured a radio button thing with pirmary / secondary but sjmc7_ said it wasn't that widely used in horizon22:08
TravTis this in angular or in the python based way?22:09
ekarlsoTravT: angular22:09
ekarlsov2 is gonna be angular I think ;22:09
TravTwell, the classic launch instance used a drop down for conditional inputs22:10
TravTe.g. source type of volume gave additional fields.22:10
sjmc7_i don't recall seeing any radio buttons in horizon22:10
ekarlsook :)22:10
ekarlsodropdown it is!22:10
TravTin the angular one, we used a radio button but styled more like mobile22:11
ekarlsobtw, you should really bundle the html files in a .js file..22:11
ekarlsoinstead of loading 1 by 122:11
TravToptimizing horizon loading is something to be discussed further i think...22:13
TravTbut let's not get into that here.22:13
TravTekarlso:22:13
ekarlsoTravT: ;P22:13
TravTyou might want to ask Piet to put up a mock for you22:13
TravTit will cost you a few days of time...22:14
TravTbut it can also be helpful22:15
*** sigmavirus24 is now known as sigmavirus24_awa22:30
*** TravT has quit IRC23:36
*** TravT has joined #openstack-searchlight23:39

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