Thursday, 2013-03-07

*** jrodom_ has joined #openstack-meeting-alt00:07
*** jrodom_ has quit IRC00:12
*** jrodom has quit IRC00:12
*** vipul is now known as vipul|away00:54
*** vipul|away is now known as vipul00:54
*** vipul is now known as vipul|away01:09
*** vipul|away is now known as vipul01:25
*** kagan has quit IRC01:38
*** bdpayne has quit IRC01:38
*** grapex has quit IRC02:18
*** jrodom has joined #openstack-meeting-alt02:23
*** westmaas has quit IRC02:42
*** westmaas has joined #openstack-meeting-alt02:43
*** jrodom has quit IRC02:52
*** vipul has quit IRC02:59
*** vipul has joined #openstack-meeting-alt03:02
*** sacharya has quit IRC03:07
*** demorris has joined #openstack-meeting-alt03:07
*** kagan has joined #openstack-meeting-alt03:50
*** kagan has quit IRC03:52
*** kagan_ has joined #openstack-meeting-alt03:52
*** jrodom has joined #openstack-meeting-alt04:31
*** jrodom has joined #openstack-meeting-alt04:31
*** vipul is now known as vipul|away05:03
*** demorris has quit IRC05:17
*** vipul|away is now known as vipul05:22
*** jrodom has quit IRC05:26
*** amyt has joined #openstack-meeting-alt05:34
*** kagan_ has quit IRC05:44
*** amyt has quit IRC06:06
*** vipul is now known as vipul|away06:51
*** demorris has joined #openstack-meeting-alt13:25
*** imsplitbit has joined #openstack-meeting-alt13:35
*** jrodom has joined #openstack-meeting-alt14:06
*** dhellmann-afk is now known as dhellmann14:39
*** jrodom has quit IRC14:42
*** jcru has joined #openstack-meeting-alt14:44
*** djohnstone has joined #openstack-meeting-alt15:12
*** sacharya has joined #openstack-meeting-alt15:16
*** demorris has quit IRC15:25
*** amyt has joined #openstack-meeting-alt15:26
*** sacharya has quit IRC15:35
*** jcru is now known as jcru|away15:46
*** sacharya has joined #openstack-meeting-alt16:06
*** jcru|away is now known as jcru16:10
*** imsplitbit has quit IRC16:19
*** imsplitbit has joined #openstack-meeting-alt16:20
*** vipul|away is now known as vipul16:26
*** vipul is now known as vipul|away16:26
*** vipul|away is now known as vipul16:35
*** grapex has joined #openstack-meeting-alt16:39
*** bdpayne has joined #openstack-meeting-alt16:47
*** jrodom has joined #openstack-meeting-alt16:50
*** vipul is now known as vipul|away16:56
*** vipul|away is now known as vipul16:56
*** jrodom has quit IRC17:02
*** jrodom has joined #openstack-meeting-alt17:02
*** amyt has quit IRC17:04
*** amyt has joined #openstack-meeting-alt17:17
*** yidclare has quit IRC17:24
*** jcooley_ has joined #openstack-meeting-alt17:44
*** jcooley has quit IRC17:45
*** jcooley_ is now known as jcooley17:45
*** esp1 has joined #openstack-meeting-alt17:49
*** esp1 has left #openstack-meeting-alt17:51
*** bdpayne has quit IRC17:56
*** bdpayne has joined #openstack-meeting-alt17:57
*** yidclare has joined #openstack-meeting-alt18:01
*** esp1 has joined #openstack-meeting-alt18:04
*** esp1 has left #openstack-meeting-alt18:09
*** amyt has quit IRC18:14
*** amyt has joined #openstack-meeting-alt18:14
*** yidclare has quit IRC18:17
*** yidclare has joined #openstack-meeting-alt18:35
*** kagan has joined #openstack-meeting-alt18:36
*** edsrzf has joined #openstack-meeting-alt18:44
*** yidclare has left #openstack-meeting-alt18:49
*** kgriffs has joined #openstack-meeting-alt19:00
*** bryansd has joined #openstack-meeting-alt19:02
kgriffsWe'll be starting the Marconi meeting shortly19:03
kgriffshttps://wiki.openstack.org/wiki/Meetings/Marconi19:03
*** vipul is now known as vipul|away19:04
kgriffs#startmeeting marconi19:05
openstackMeeting started Thu Mar  7 19:05:40 2013 UTC.  The chair is kgriffs. Information about MeetBot at http://wiki.debian.org/MeetBot.19:05
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.19:05
*** openstack changes topic to " (Meeting topic: marconi)"19:05
openstackThe meeting name has been set to 'marconi'19:05
kgriffs#topic Process update19:06
*** openstack changes topic to "Process update (Meeting topic: marconi)"19:06
kgriffsSo, we've been hard at work setting up tasks and adding blueprints to organize everything that needs to be done before the Portland summit19:07
*** flaper87 has joined #openstack-meeting-alt19:07
kgriffs#info Smaller work items are tracked in Trello: https://trello.com/b/7NLODgbr19:08
flaper87o/19:08
kgriffsfor larger work items/complicated stuff we will continue adding blueprints in the next couple of weeks.19:09
kgriffsflaper87: welcome!19:09
* flaper87 thought the meeting was at 21:00 his time.....19:09
flaper87so, what's the current topic?19:09
kgriffsprocess update19:10
*** malini has joined #openstack-meeting-alt19:10
kgriffsalso, I just want to let everyone know we now have a HACKING file and there is enough code in the repo for folks to start getting the lay of the land.19:11
* flaper87 dances19:11
kgriffsanyway, does anyone have any questions about the current state of Marconi?19:11
flaper87o/19:12
flaper87about the message post api19:12
* flaper87 wonders if that's off-topic19:12
kgriffsno worries, let's move on19:13
*** jcru is now known as jcru|away19:13
kgriffs#topic API - Post Message19:13
*** openstack changes topic to "API - Post Message (Meeting topic: marconi)"19:13
flaper87cool19:13
flaper87so19:14
kgriffs#info API working draft - https://etherpad.openstack.org/queuing-api19:14
flaper87the current spec says that when a message is posted, marconi returns an empty response with the Location header! But, when multiple messages are posted (bulk) it just doesn't return anything19:14
*** jcru|away is now known as jcru19:15
flaper87hopefully I didn't miss-read any of that19:15
flaper87so, That doesn't feel right and I think we should give a consistent response either case19:16
kgriffswell, as written, it will return just the location of the messages resource19:16
kgriffsagreed19:16
flaper87here's my thought19:16
flaper87What about *always* returning a list of dicts containing the location of the messages and other information (some metadata related to the message)? OR19:17
flaper87just returning a list of ids / locations19:17
flaper87thoughts?19:19
kgriffsso, the list of id's would be returned in the same order as messages posted?19:19
edsrzfI think it would be good to get the IDs of all the messages posted, one way or another19:19
flaper87edsrzf: +119:19
kgriffsor does that matter?19:19
flaper87kgriffs: mmh, good point, I think that matters19:19
flaper87I mean19:19
flaper87it doesn't but having that small "coolness" is certainly good19:20
flaper87but, clients should already know in what order messages where inserted19:20
flaper87since they did the request19:20
flaper87I think returning the list of ids is good enough19:21
kgriffsan alternative to returning the ids in the body would be something like19:21
flaper87I can't think, right now, about a case where we'd need more info19:21
edsrzfIf the list is unordered, how can the client associate an ID with a message? Or are you saying you don't think that's necessary?19:21
flaper87the idea of just returning the ids is to save bandwith19:21
kgriffsLocation: .../messages/id1,id2,id319:21
flaper87edsrzf: the list wouldn't be un-ordered but I don't think the association is an issue in that case19:22
*** Oz_Akan has joined #openstack-meeting-alt19:23
bryansdkgriffs: Then that would mean the GET endpoint would need to support that syntax, too, correct?19:23
flaper87kgriffs: and will it be possible to call that url? I like that Location format and I've used it in other projects with good results19:23
kgriffsbryansd: correct19:23
flaper87bryansd is faster than me19:23
kgriffsI think it would be interesting to use that syntax for bulk queries across multiple queues as well, but that's a discussion for another day19:23
flaper87yep19:24
flaper87so, ordered list of ids?19:25
kgriffs#startvote return id's in header or body? Header, Body19:25
openstackBegin voting on: return id's in header or body? Valid vote options are Header, Body.19:25
openstackVote using '#vote OPTION'. Only your last vote counts.19:25
flaper87#vote Body19:26
kgriffs#vote Header19:26
bryansd#vote Header19:26
bryansd(in the name of reducing payload)19:27
* flaper87 assumes we all agreed on returning a list of ids19:27
bryansdflaper87: agreed19:27
kgriffsso, we will return a list of IDs, the question is do we do it in the body as a document or in the Location header19:28
flaper87bryansd: mmh might be, but I think that headers are not meant to be used like that19:28
flaper87they should contain parameters need for the communication but not the actual response19:28
kgriffswell, if we were trying to return more than the id, I would agree19:28
flaper87anyway, I'm ok with it as well19:28
flaper87so, endvote?19:29
kgriffsactually, it is Best Practice™ to return the location of the newly created resource.19:29
kgriffs#endvote19:29
openstackVoted on "return id's in header or body?" Results are19:29
openstackBody (1): flaper8719:29
openstackHeader (2): bryansd, kgriffs19:29
flaper87kgriffs: agreed on that19:29
flaper87so, that would be a list of , separated ids ?19:30
kgriffsI think we can list the IDs in the URI and if we ever decide we need to return more data than that, we can also add a body19:30
flaper87that will need to be splited in the client side ?19:30
flaper87kgriffs: +119:30
flaper87for teh uri stuff19:30
flaper87kgriffs: place an #agree on that19:30
flaper87:)19:31
kgriffsi guess so. We could define a URI template that would allow the client to do know what to expect and parse it.19:31
* flaper87 doesn't know how to do the f#@$@$ TM symbol19:31
bryansdAnd with regards to ordering, we ARE guaranteeing messages are posted in the order received, correct? With the stipulation it's possible other clients may have inserted their own messages in the middle.19:32
*** edsrzf has left #openstack-meeting-alt19:32
*** edsrzf has joined #openstack-meeting-alt19:32
kgriffs#agree Response to Post Message will be the full path to the message or messages created19:33
flaper87bryansd: we guarantee the order but not that the'll be sequential19:33
kgriffs#agree Extend messages URI template to allow for multiple message_id's19:33
bryansdflaper87: Nice verbiage :-)19:34
* flaper87 deserves a pop-tart19:34
bryansdSo the list of IDs returned should be in the correct order as well19:34
kgriffsbryansd: I imagine we can guarantee that the node will send the messages to storage in the order received, but I'm not sure that means a lot since messages can be posted in parallel.19:34
flaper87kgriffs: bryansd yes, what really matters there is that we respect the order of the current requests19:35
kgriffsalthough, that node should be able to return the list of ids to the client in the same order they were in the body of the POST19:35
flaper87the rest is up to the god of the Race Conditions!19:35
*** kagan has quit IRC19:36
kgriffsOK, so I guess we need to specify that in the transport blueprint19:36
flaper87kgriffs: +119:36
* flaper87 will add that to the base class as well19:36
*** esp1 has joined #openstack-meeting-alt19:36
kgriffsflaper87: do you want to take care of the blueprint or shall I?19:37
flaper87kgriffs: I'll take care of that as well19:37
kgriffs#action flaper87 to update Transport blueprint and base class with info about returning ids in same order that messages are written to storage19:38
* flaper87 ™ <- cool19:38
* bryansd gives flaper87 a Pop-Tart™19:38
kgriffsok, moving on?19:38
flaper87yes19:38
kgriffsso, same topic, but different tangent19:39
*** esp1 has left #openstack-meeting-alt19:39
kgriffsAny objections to allowing per-message TTLs?19:39
*** kagan has joined #openstack-meeting-alt19:39
kgriffsAnd if the TTL is not specified, it defaults to the setting in the queue metadata?19:39
flaper87that sounds good to me19:40
flaper87so no objections so far19:40
bryansdI was thinking about that. Just wondering if that's adding an extra layer of complexity to a v1.0 release. Any compelling reason we need it?19:40
kgriffsmostly to be consistent with the way claims work19:40
flaper87bryansd: thinking about how the current implementation is moving on, that'd be really easy to implement19:40
kgriffsalthough, we could just say for both claims and queues, you set the global value and can't change it per-claim or per-message.19:40
flaper87so, a few "implementative" words about that (just to be sure it makes sense to have it in v1)19:41
flaper87In order to post a message we need to have the queue where it will be posted (kind of model like) which should (i guess it depends on the storage backend as well) contain the per-queue ttl already19:42
flaper87that would allow us to manage per-message ttl when it is not specified19:43
flaper87so, I guess what I'm trying to say is that at the end, we'll just manage per-message ttl and putting it in the queue meta or directly in the message just changes the level where the parameter is stored19:43
flaper87does that make sense?19:43
flaper87the element that expires is the message, not the queue19:44
flaper87again, that could definitely vary when it comes to the final implementation (which involves the storage backend)19:45
flaper87thoughts?19:45
kgriffsit seems to me that assuming the same TTL for all messages in a given queue might lead choices in the storage driver implementation that make it hard to do different TTLs for each message later on.19:46
kgriffsre storage model, I think "queues" are really just a metadata collection, indexed by queue name.19:47
flaper87kgriffs: wow, you expressed that way simpler than what I did19:47
flaper87kgriffs: +1, that's what I meant19:47
flaper87:P19:47
kgriffssweet19:47
kgriffswe need to be careful that we don't tightly couple the abstract notion of a "queue" to a physical resource that is expensive to create/manage, since we want to support gazillions of queues.19:48
kgriffsanyway, that's a discussion for another day.19:48
flaper87kgriffs: agreed19:49
bryansdOkay, I was only concerned with getting to a minimum viable product. Sounds like it won't be too much of a concern.19:49
kgriffs#topic API - Create Queue - Metadata Format19:49
*** openstack changes topic to "API - Create Queue - Metadata Format (Meeting topic: marconi)"19:49
kgriffsso, couple of questions I had on this19:50
flaper87shot19:50
kgriffsfirst, do we allow arbitrary metadata with some space limit (say, 64K)19:50
kgriffssecond, do we say that only simple key-value's are allowed, or are nested docs OK?19:51
flaper87so, first, I honestly don't think that arbitrary metadata is needed in the queue19:52
flaper87mmhh, wait19:53
flaper87no no, I guess it's not needed19:53
flaper87Is there a case where a client could need to store arbitrary metadata to a queue for later use?19:54
bryansdI guess I'm the Debbie Downer of features but I vote no. Agree with flaper8719:54
kgriffsWell, metadata can be stored out-of-band by the app that's using the queue, I suppose. There may be a useful reason for it, but we can add it later if the need arises.19:55
bryansd+1 for adding it later based on demand19:55
kgriffsDo Swift containers allow arbitrary metadata?19:55
* kgriffs can't remember19:55
flaper87kgriffs: if there are use cases for that, then cool!!! +1 for adding it later19:56
flaper87mmh, don't remember either19:56
flaper87mhh, wait again19:57
flaper87I think it could be useful19:57
flaper87for example19:57
kgriffshttp://docs.rackspace.com/files/api/v1/cf-devguide/content/Update_Container_Metadata-d1e1900.html19:57
flaper87thinking about SNS, if a message get's published to a specific queue and it has to be notified to X plugin based on queue metadata (filtering or whatever)19:58
flaper87I now think it is useful. It isn't for the *actual* work the queue should do but it could be for other stuff19:59
kgriffsI guess my point is, TTL is probably just the beginning of other stuff we want to store, so if we are building a mechanism for storing multiple config items, essentially, it is trivial to allow arbitrary metadata19:59
flaper87indeed19:59
flaper87I agree on allowing arbitrary metadata20:00
kgriffsI guess, as long as we build a JSON schema that can allow some kind of nested docs or we just use X-headers like Swift20:00
flaper87dunno if it is worth it to add a limit on the size of it20:00
flaper87and I agree on allowing nested objects as well20:01
kgriffswell, it could be really high, we just need to sanity-check it so someone isn't upload a few gigs worth of metadta20:01
flaper87lol20:02
kgriffsre nested objects, that may change the way the controller base classes are defined - maybe should take a single dict or something20:02
* flaper87 thinks about someone saving a movie in a last_seen metadata field20:02
flaper87kgriffs: why should it change it?20:03
flaper87it all goes inside the same metadata field20:03
kgriffs#agreed The tentative plan is to allow custom metadata, as long as it isn't much more work than just doing TTL.20:03
kgriffswell, does metadata need to be a kwargs?20:03
flaper87kind of, I think of metadata as a dictionary of key-object20:03
kgriffsI guess you would decompose the top-level keys in the document.20:04
*** jcru has quit IRC20:04
kgriffsso, messages={"ttl":30}20:04
kgriffsor something like that20:04
kgriffswell, looks like we are about out of time.20:04
flaper87lets discuss about this in the next meeting20:05
*** djohnstone1 has joined #openstack-meeting-alt20:05
*** djohnstone has quit IRC20:05
kgriffsfinal thing20:06
kgriffslooking at the etherpad, which document type do you guys prefer as the body of the PUT?20:07
kgriffs(not type, schema)20:07
* flaper87 looking20:09
bryansdI like the nested messages -> ttl20:09
bryansdThat way if we have more messages-related metadata we throw it in that collection20:09
bryansdAnd we could make another similar section for claims if need be20:09
flaper87yeah, I guess that's kind of how metadata will be stored as well20:10
flaper87something like "queues have a message field"20:10
flaper87messages*20:10
flaper87where all messages configs are stored20:11
kgriffsOK, well, sleep on it and let me know in openstack-marconi20:11
* kgriffs needs to run20:11
flaper87kk20:11
kgriffsthanks everyone20:11
bryansdthanks!20:11
* flaper87 thanks everyone20:11
kgriffs#endmeeting20:11
*** openstack changes topic to "OpenStack meetings (alternate) || Development in #openstack-dev || Help in #openstack"20:11
openstackMeeting ended Thu Mar  7 20:11:49 2013 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)20:11
openstackMinutes:        http://eavesdrop.openstack.org/meetings/marconi/2013/marconi.2013-03-07-19.05.html20:11
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/marconi/2013/marconi.2013-03-07-19.05.txt20:11
openstackLog:            http://eavesdrop.openstack.org/meetings/marconi/2013/marconi.2013-03-07-19.05.log.html20:11
*** bryansd has left #openstack-meeting-alt20:12
*** flaper87 has left #openstack-meeting-alt20:12
kgriffsNotes added to: https://wiki.openstack.org/wiki/Meetings/Marconi#Previous_meetings20:16
*** kgriffs has left #openstack-meeting-alt20:16
*** grapex has quit IRC20:18
*** grapex has joined #openstack-meeting-alt20:20
*** grapex has quit IRC20:20
*** grapex has joined #openstack-meeting-alt20:20
*** bdpayne has quit IRC20:49
*** grapex has quit IRC20:59
*** grapex has joined #openstack-meeting-alt21:00
*** vipul|away is now known as vipul21:11
*** dhellmann is now known as dhellmann-afk21:14
*** dhellmann-afk is now known as dhellmann21:23
*** dhellmann is now known as dhellmann-afk21:24
*** amyt has quit IRC21:41
*** djohnstone has joined #openstack-meeting-alt22:49
*** djohnstone1 has quit IRC22:51
*** jrodom has quit IRC22:52
*** jrodom has joined #openstack-meeting-alt22:59
*** Oz_Akan has quit IRC23:01
*** jrodom has quit IRC23:07
*** jrodom has joined #openstack-meeting-alt23:07
*** sacharya has quit IRC23:13
*** djohnstone has quit IRC23:18

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