16:00:22 #startmeeting Storyboard 16:00:25 Meeting started Mon Jan 12 16:00:22 2015 UTC and is due to finish in 60 minutes. The chair is krotscheck. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:27 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:29 The meeting name has been set to 'storyboard' 16:00:30 hi 16:00:33 o/ 16:00:35 Agenda: https://wiki.openstack.org/wiki/StoryBoard#Agenda 16:00:36 ohai 16:00:47 #topic Actions from Last Week 16:01:02 #topic Actions From Last Week (storyboard-dev.openstack.org) 16:01:05 * fungi is lurking 16:01:38 https://storyboard-dev.openstack.org/ appears to be up, with a bit of a gotcha on how we built it. 16:01:56 (DNS may not be there yet, the IP is at 104.130.158.229 16:02:09 yeah, i think the review to add it still needs approval. i thought i deleted the server though after we confirmed it worked 16:02:11 helo helo 16:02:19 * krotscheck may be lying. 16:02:21 last i looked, i was the only +2 on the review still 16:02:23 Yeah, it’s gone. 16:02:23 o/ 16:02:54 now that we've tested that it's sufficient, once the review merges i'll launch another from the tip of master in that repo 16:03:01 and add it to dns, et cetera 16:03:38 The issue in question is that the SSL certificate for the server is the snakeoil cert, which requires manual approval. Unfortunately, when consuming the API from docs-draft.openstack.org (our client draft build) the user will not be presented with the browser’s approval dialog, and the API calls will silently fail. 16:03:58 huh 16:04:03 what? 16:04:06 Because all those calls are AJAX. 16:04:33 so we need to generate a valid cert? 16:04:37 oh, so that's what you were trying to explain last week 16:04:39 o/ 16:04:43 fungi: Yep. 16:04:43 you skipped those words 16:04:49 or is there any option in the api to bypass cert validation? 16:04:57 That’s a browser thing. 16:05:08 fungi: I was drawing scrabble letters at the time :) 16:05:12 k 16:05:26 ah, krotscheck, i remember that 16:05:35 and not tricky to make that trust, right? 16:05:40 Yep. 16:06:03 but yeah, that makes sense that serving the web front-end from one server and then doing ajax to a separate server without a trusted cert could pose an issue 16:06:05 Now, we could ourselves just all add it to our operating system’s insert-keychain-implementation-here, and not hve to worry about it. 16:06:19 But that’s a manual step that I’m not a huge fan of. 16:06:45 krotscheck, maybe documenting that would help 16:06:54 so end users know that this problem exists 16:07:10 well, we could buy a cert for it if we really need to. just trying to think of alternatives 16:07:19 Second option is we issue a cert from https://www.cacert.org/ 16:07:28 it'll be the same issue 16:07:35 And have everyone install that root certificate. 16:07:41 Third option is just do API calls via HTTP 16:07:48 i was thinking about that 16:07:53 Which I’m mostly ok with, because it’s dev. 16:08:03 do we serve the current draft webui via https? 16:08:10 +1 for http 16:08:18 there is some option to run chrome ignoring certificate issues 16:08:23 Checking 16:08:26 even for ajax 16:08:35 i think there are even extensions for that 16:08:39 if we grab a cert from a not general trusted CA, we'll have same problem 16:08:42 if the front-end is http, then doing the ajax over https is sort of silly anyway 16:08:47 fungi: Looks that way 16:08:53 http://docs-draft.openstack.org/18/145918/1/check/gate-storyboard-webclient-js-draft/96dcd7c//dist/#!/ 16:08:56 i remember using something similar on Firefox for this problem, MiTM was called or smth like that 16:09:51 yeah, let's switch storyboard-dev to support api over http then 16:10:01 That seems sane. 16:10:11 we can leave it serving the https front-end too and just drop the redirect 16:10:12 I'm ok with that 16:10:15 https://addons.mozilla.org/en-US/firefox/addon/mitm-me/ 16:10:38 Any disagreements? 16:10:42 niet 16:10:45 i'm cool with HTTP 16:10:49 it's dev after all 16:11:08 #agreed Have storyboard-dev.openstack.org serve up http to avoid x-domain cert approval issues. 16:11:19 since authentication for docs-draft is redirecting to https at launchpad.net it's not like it's exposing your credentials anyway 16:11:27 nod 16:11:40 #topic Actions from Last Week: Streaming API 16:11:43 rcarrillocruz: How’s it going? 16:12:04 so 16:12:14 i can now auth with a bearer token 16:12:22 w00t 16:12:32 i modified websocket-client to accept request headers 16:12:37 and now the websocket opens 16:12:40 it checks for bearer 16:12:42 if ok, go on 16:12:46 if not, websocket is closed 16:12:49 action items for me: 16:13:00 1. handle expired token 16:13:24 2. subscription engine (krotscheck i've seen you worked on some event api this week, don't want to step into your work) 16:13:41 rcarrillocruz: Yeah, I’ll talk about that later. 16:13:47 3. handle the case where a connection is dropped and client requests to replay history ( just saw your update on the spec) 16:13:59 rcarrillocruz: Thanks :D 16:14:08 3 will be interesting :P 16:14:20 i assume we need a persistent queue or something 16:14:31 and have client queues to pull events from that one or something 16:14:35 rcarrillocruz: yeah, I don’t know how I’d do that either. 16:14:37 that or put some caching 16:15:06 i'm leaving the ops stuff of handling tornado behind apache to pass thru websockets for later 16:15:21 when i have the whole thing i'll create a puppet change for that if that is ok 16:15:27 Absolutely 16:15:32 cool 16:15:37 rcarrillocruz: long time ago there was an idea to set up distributed caching for tokens, to reduce the db requests amount 16:16:05 maybe it't time to have one for keeping some latest events 16:16:32 hmm, ok, i'll check later with you on #storyboard for that spec if it's around, it may help me to get ideas 16:16:39 kk 16:17:15 It might just be easiest to expose the rabbit sockets and let third party clients declare their queue parameters themsevels. 16:18:42 #topic Actions from Last Week: Event API Documentation 16:18:48 So, i went down a rabbit hole with that one. 16:19:04 After writing 800 lines of tests, I realized that nobody in their right mind is ever going to review that. 16:19:09 So I started breaking it up. 16:19:10 haha 16:19:30 Mind you, the coverage is AMAZING 16:20:01 So I started to pull the individual pieces of that patch into separate patches. 16:20:18 krotscheck, much easier to review now, yes 16:20:26 Things start here: https://review.openstack.org/#/c/145874/ 16:20:35 krotscheck: are you working on the data that is returned per event? right now we don't return the data expected per the pubsub spec, e.g. timestamp, resource parents, etc 16:21:05 rcarrillocruz: Not yet, no. In fact I’m not even thinking of the pubsub spec. 16:21:25 ok, so can i work on that? 16:21:33 don't want to duplicate efforts if you will... 16:21:34 What would that involve? 16:22:01 mainly the data returned. From what I see your change is about the interface exposed 16:22:23 before starting the subscription engine, i need events to print out actors, timestamps, parents, etc 16:22:32 so i can subscribe to interesting things 16:22:35 rcarrillocruz: Right. The original patch assumed that the event would also contain any entity content _before_ it was modified, as well as what it looks like afterwards. 16:22:46 rather than just 'subscribe to tasks' or 'subscribe to stories' as is now... 16:22:57 ah, gotcha 16:23:36 But I ran into a problem with that, because our db sessions are created/destroyed per query rather than per http request, and thus resolving the current resource would add yet another DB call. 16:23:55 And I don’t really think that’s sustainable over the long run. 16:25:01 Anyway, that’s the update on that. 16:25:18 I’m actually going to suspend work on this until I get email out the door. 16:25:27 Because that’s WAY overdue now and I feel super guilty about it. 16:26:13 #topic Urgent Items 16:26:20 Anyone have any major problems that need work? 16:26:55 Oh yeah: Go vote for the Board. We need quorum. Vote for whoever you want, but we need quorum. 16:26:56 i found some issue this week in the token UI screen, i generate a token and it's shown, reload page and it's no longer there 16:27:09 i need to confirm that's a bug or something i'm missing 16:27:17 rcarrillocruz: Do you have more than 10 tokens? 16:27:26 (expired ones) 16:27:30 i see a bunch of them, yeah, expired 16:27:43 In the past, issues like that have been because we don’t have paging yet. 16:27:45 but if i delete all expired 16:27:49 i don't see the valid ones 16:27:54 huhn. 16:27:55 rcarrillocruz: I'll check that 16:27:56 anyways, not really urgent 16:28:09 Got it. Can you file a story? 16:28:10 i'll look into more detail, i just took the token from the accesstoken table and moved on 16:28:14 i will 16:28:51 Cool. 16:28:51 also, i suspect we do some sort of truncate on token validation 16:28:53 i.e. 16:28:57 on my websocket tests 16:29:08 i passed an entire token string as request header 16:29:12 and got authenticated 16:29:23 i removed last char from token to force an auth fail 16:29:26 and i got authed! 16:29:30 .... 16:29:34 That’s not good. 16:29:36 so i suspect we look at the beginning of the token or something 16:29:40 not good at all 16:29:47 i will also file a story on that 16:29:53 Yeah, I think that’s an urgent item. 16:29:58 the tokens are checked as full string 16:30:06 at least should be 16:30:35 * NikitaKonovalov checking 16:31:44 Ok, let’s move on to user feedback while he’s doing that. 16:31:49 #topic User Feedback. 16:31:54 Anyone get user feedback? 16:32:15 niet 16:32:27 no 16:32:50 kk 16:33:06 krotscheck , NikitaKonovalov, yolanda: apart from websocket, is there any pending task that I could have a look at ? 16:34:10 rcarrillocruz: Check the roadmap. Maybe task ordering? 16:34:18 #link https://wiki.openstack.org/wiki/StoryBoard/Roadmap 16:34:32 Also, we’ve got two specs almost ready for development. 16:34:37 so there's a roadmap! 16:34:40 * rcarrillocruz bookmarks 16:34:47 rcarrillocruz: Yep :) 16:34:57 #topic Discussion Topic 16:35:02 rcarrillocruz: there is even a Vision! 16:35:13 I’m going to bump ttx up on this, because of what rcarrillocruz just said. 16:35:14 We just need a mission statement now. 16:35:15 heh 16:35:22 ttx: And a statement of values. 16:35:27 krotscheck: that too! 16:35:42 #topic Discussion: Milestones 16:35:44 #link https://review.openstack.org/#/c/139626 16:35:47 LGTM 16:36:28 My only question on it is whether a mileston’s branch_id is optional, but that’s really an implementation detail. 16:36:31 +1 16:36:51 * krotscheck read it this morning. 16:37:40 Given all the +1’s on it I feel this spec’s ready. Any disagreements? 16:39:01 lgtm 16:39:12 Coolio 16:39:22 #agreed https://review.openstack.org/#/c/139626 is ready 16:39:27 #topic Discussion: Paging 16:39:28 yeepee 16:40:19 jedimike: We’re getting a lot of UI bugs on the lack of paging controls in the UI. If I put a pager onto our search results, are you ok with your paging changes having additional UI scope? 16:40:34 i.e. If I fix the short term pain point, do you mind updating things later? 16:40:46 krotscheck, fine with me! 16:40:52 Coolio. 16:41:06 jedimike: Back from being on call? :) 16:41:32 jedimike, nearly :) still dealing with some tickets from last week that I got into the middle of but couldn't resolve 16:42:21 jedimike: Righto. Well, we should be expecting big things from you by the end of the week, right? 16:42:32 jedimike: You’ll have storybaord ported to go by then I expect. 16:42:37 haha 16:42:42 go? no, rust! 16:43:23 Rust it is! 16:43:28 #topic Discussion: Story Types 16:43:42 ttx: Now that we know what Milestones are, and what branches are, time to talk about types again! 16:44:28 yay 16:45:06 was waiting for more comments on my patchset3 16:45:49 Anything you want to highlight? 16:46:48 krotscheck: instead of hardcoding story types, the spec is now determining a set of attributes that story types may have 16:46:57 which is way more flexible 16:47:06 Just from that description I really like it. 16:47:56 Alright, sounds like no real discussion to be had there, we’ll just keep it on gerrit. 16:48:08 ack 16:48:22 yolanda, rcarrillocruz, NikitaKonovalov, we’ll need to review https://review.openstack.org/#/c/129267/ soon. 16:48:23 #link https://review.openstack.org/#/c/129267/ 16:48:34 agreed, will do 16:48:45 actually i filed some comments 16:48:54 #topic In progress work (email) 16:49:06 * NikitaKonovalov added reviewers 16:49:12 We finally have all the data in events so I can build build all the things. 16:49:33 So I think I finally have all the pieces I need. Yay spam! 16:49:44 See more updates this week :) 16:49:50 awesome! 16:49:56 := 16:49:59 #topic In progress: User Auth Token 16:49:59 :) 16:50:05 Done! Apprently bugg. 16:50:07 *buggy 16:50:11 Will look into that. 16:50:23 #topic In Progress: Tags 16:50:28 NikitaKonovalov: How’s that coming? 16:50:33 oh 16:50:43 finalyy rebased that after all conflicts 16:50:45 is that putting stories 'low-hanging-fruit' and the likes? 16:50:54 rcarrillocruz: Yep. 16:50:56 testing coverage in progress as ruhe asked 16:50:57 nice 16:51:20 * krotscheck likes how we’re getting dilligent about tests. 16:51:46 #topic In Progress: Python SDK 16:51:47 * NikitaKonovalov is trying not to forget tests in client 16:51:58 teams with nested users on review 16:52:07 NikitaKonovalov: Neat! 16:52:11 base classes are also waiting for feedback 16:52:35 ttx: Are you aware of python-storyboardclient 16:52:37 ? 16:53:15 * NikitaKonovalov will try storyboad-core to reviewers all at onece. Hope that works 16:53:21 #link https://review.openstack.org/#/c/138092/ 16:53:28 krotscheck: no... 16:53:36 ttx: More code to review :D 16:53:43 sounds like a project I should add to my watchlist :) 16:54:45 ttx: Yep 16:55:10 Also, yolanda’s +lots on core, so we’re just waiting on jeblair to get around to updating gerrit. 16:55:15 So that should also speed things up. 16:55:25 krotscheck, willing to help 16:55:39 #topic In Progress: Configurable Task Status 16:55:41 yolanda: ? 16:55:49 on core tasks 16:56:28 this needs review 16:56:48 i was adding incremental changes to it, i got +2 from ttx today 16:57:14 Neat! 16:57:16 Lik? 16:57:18 Link? 16:57:23 https://review.openstack.org/#/c/138389/ 16:57:28 looks as i need to rebase it 16:57:59 Cool. 16:58:24 #topic In Progress: backend preferences 16:58:25 Also yolanda :) 16:58:32 pending on review as well 16:58:43 https://review.openstack.org/137798 16:58:50 and needs rebase 16:59:07 Neat. 16:59:20 krotscheck, actually we needed to talk about best way to manage prefs here 16:59:31 We’re running out of time. Channel? 16:59:37 sure 16:59:52 Cool 16:59:58 That’s it, everyone, thanks! 17:00:01 #endmeeting