Wednesday, 2016-03-16

*** spzala has joined #openstack-app-catalog00:17
*** spzala has quit IRC00:22
*** openstack has joined #openstack-app-catalog00:26
*** toddjohn has joined #openstack-app-catalog00:52
*** docaedo has quit IRC00:55
*** toddjohn has quit IRC00:57
*** docaedo has joined #openstack-app-catalog01:01
*** spzala has joined #openstack-app-catalog01:18
*** spzala has quit IRC01:23
*** docaedo has quit IRC01:24
*** docaedo has joined #openstack-app-catalog01:30
*** dfflanders has joined #openstack-app-catalog01:46
*** rmoe_ has quit IRC02:18
*** spzala has joined #openstack-app-catalog02:19
*** spzala has quit IRC02:22
*** spzala has joined #openstack-app-catalog02:22
*** ativelkov_ has quit IRC02:32
*** rmoe has joined #openstack-app-catalog02:35
*** ativelkov has joined #openstack-app-catalog02:36
*** spzala has quit IRC03:39
*** rmoe has quit IRC05:11
*** rmoe has joined #openstack-app-catalog05:19
*** rmoe has quit IRC05:26
*** rmoe has joined #openstack-app-catalog05:35
*** rmoe has quit IRC05:41
*** rmoe has joined #openstack-app-catalog05:42
*** rmoe has quit IRC05:46
*** rmoe has joined #openstack-app-catalog05:52
*** toddjohn has joined #openstack-app-catalog05:57
*** toddjohn has quit IRC06:02
*** rmoe has quit IRC06:02
*** rmoe has joined #openstack-app-catalog06:05
*** rmoe has quit IRC06:12
*** rmoe has joined #openstack-app-catalog06:20
*** rmoe has quit IRC06:29
*** rmoe has joined #openstack-app-catalog06:31
*** rmoe has quit IRC06:37
*** rmoe has joined #openstack-app-catalog06:41
*** rmoe has quit IRC06:49
*** rmoe has joined #openstack-app-catalog06:53
*** rmoe has quit IRC07:04
*** rmoe has joined #openstack-app-catalog07:06
*** rmoe has quit IRC07:08
*** rmoe has joined #openstack-app-catalog07:13
*** rmoe has quit IRC07:16
*** rmoe has joined #openstack-app-catalog07:17
*** rmoe has quit IRC07:23
*** rmoe has joined #openstack-app-catalog07:27
*** rmoe has quit IRC07:33
*** rmoe has joined #openstack-app-catalog07:34
*** rmoe has quit IRC07:39
*** rmoe has joined #openstack-app-catalog07:40
*** rmoe has quit IRC07:47
*** rmoe has joined #openstack-app-catalog07:48
*** rmoe_ has joined #openstack-app-catalog07:56
*** rmoe has quit IRC07:57
*** toddjohn has joined #openstack-app-catalog07:58
*** toddjohn has quit IRC08:03
*** rmoe_ has quit IRC08:05
*** rmoe has joined #openstack-app-catalog08:06
*** rmoe has quit IRC08:12
*** rmoe has joined #openstack-app-catalog08:14
*** rmoe has quit IRC08:19
*** rmoe has joined #openstack-app-catalog08:20
*** rmoe has quit IRC08:24
*** rmoe has joined #openstack-app-catalog08:30
*** rmoe has quit IRC08:36
*** ig0r_ has quit IRC08:39
*** rmoe has joined #openstack-app-catalog08:41
*** rmoe has quit IRC08:45
*** rmoe has joined #openstack-app-catalog08:45
*** rmoe has quit IRC08:52
*** rmoe has joined #openstack-app-catalog08:52
*** rmoe has quit IRC08:59
*** toddjohn has joined #openstack-app-catalog09:00
*** rmoe has joined #openstack-app-catalog09:02
*** toddjohn has quit IRC09:05
*** rmoe has quit IRC09:12
*** rmoe has joined #openstack-app-catalog09:13
*** rmoe has quit IRC09:21
*** kzaitsev_mb has joined #openstack-app-catalog09:24
*** dfflanders has quit IRC09:25
*** rmoe has joined #openstack-app-catalog09:26
*** rmoe has quit IRC09:36
*** rmoe has joined #openstack-app-catalog09:41
*** rmoe has quit IRC09:45
*** rmoe has joined #openstack-app-catalog09:46
openstackgerritKonstantin Snihyr proposed openstack/app-catalog: Implement UI for listing artifact drafts for glare assets  https://review.openstack.org/29285409:53
*** openstackgerrit has quit IRC09:53
*** openstackgerrit_ is now known as openstackgerrit09:53
*** openstackgerrit has quit IRC09:53
*** openstackgerrit_ has joined #openstack-app-catalog09:54
*** openstackgerrit_ is now known as openstackgerrit09:54
*** openstackgerrit_ has joined #openstack-app-catalog09:55
*** openstackgerrit has quit IRC09:55
*** openstackgerrit has joined #openstack-app-catalog09:56
*** rmoe has quit IRC10:01
*** rmoe has joined #openstack-app-catalog10:10
*** rmoe has quit IRC10:13
*** rmoe has joined #openstack-app-catalog10:15
*** rmoe has quit IRC10:19
*** rmoe has joined #openstack-app-catalog10:20
*** rmoe has quit IRC10:27
*** rmoe has joined #openstack-app-catalog10:28
*** rmoe has quit IRC10:33
*** rmoe has joined #openstack-app-catalog10:33
*** rmoe has quit IRC10:38
*** rmoe has joined #openstack-app-catalog10:40
*** rmoe has quit IRC10:45
*** rmoe has joined #openstack-app-catalog10:48
*** rmoe has quit IRC10:52
*** rmoe has joined #openstack-app-catalog10:53
*** toddjohn has joined #openstack-app-catalog10:53
*** rmoe has quit IRC10:57
*** rmoe has joined #openstack-app-catalog10:58
*** toddjohn has quit IRC10:58
*** kzaitsev_mb has quit IRC10:59
*** rmoe has quit IRC11:06
*** rmoe has joined #openstack-app-catalog11:06
*** rmoe has quit IRC11:13
*** rmoe has joined #openstack-app-catalog11:15
*** openstackgerrit has quit IRC11:18
*** openstackgerrit has joined #openstack-app-catalog11:18
*** rmoe has quit IRC11:20
*** rmoe has joined #openstack-app-catalog11:21
*** rmoe has quit IRC11:32
*** rmoe has joined #openstack-app-catalog11:39
*** kzaitsev_mb has joined #openstack-app-catalog11:44
*** rmoe has quit IRC11:51
*** rmoe has joined #openstack-app-catalog11:52
*** rmoe has quit IRC11:57
*** rmoe has joined #openstack-app-catalog11:57
*** rmoe has quit IRC12:05
*** rmoe has joined #openstack-app-catalog12:07
*** rmoe has quit IRC12:11
*** rmoe has joined #openstack-app-catalog12:11
*** rmoe has quit IRC12:16
*** rmoe has joined #openstack-app-catalog12:19
*** kzaitsev_mb has quit IRC12:24
*** kzaitsev_mb has joined #openstack-app-catalog12:25
*** pcaruana has quit IRC12:28
*** rmoe has quit IRC12:29
*** rmoe has joined #openstack-app-catalog12:30
*** rmoe has quit IRC12:38
*** rmoe has joined #openstack-app-catalog12:39
*** rmoe has quit IRC12:43
*** rmoe has joined #openstack-app-catalog12:44
*** rmoe has quit IRC12:49
*** rmoe has joined #openstack-app-catalog12:53
*** rmoe has quit IRC12:59
*** rmoe has joined #openstack-app-catalog13:00
*** rmoe has quit IRC13:05
*** rmoe has joined #openstack-app-catalog13:05
*** rmoe has quit IRC13:11
*** rmoe has joined #openstack-app-catalog13:12
*** rmoe has quit IRC13:17
*** rmoe has joined #openstack-app-catalog13:19
*** ig0r_ has joined #openstack-app-catalog13:24
*** rmoe has quit IRC13:31
*** rmoe has joined #openstack-app-catalog13:35
*** rmoe has quit IRC13:43
*** rmoe has joined #openstack-app-catalog13:44
*** rmoe has quit IRC13:51
*** rmoe has joined #openstack-app-catalog13:56
*** toddjohn has joined #openstack-app-catalog13:56
*** rmoe has quit IRC14:04
*** rmoe has joined #openstack-app-catalog14:05
*** rmoe has quit IRC14:10
*** rmoe has joined #openstack-app-catalog14:10
*** rmoe has quit IRC14:20
*** rmoe has joined #openstack-app-catalog14:24
*** rmoe has quit IRC14:29
*** rmoe has joined #openstack-app-catalog14:31
*** rmoe has quit IRC14:36
*** rmoe has joined #openstack-app-catalog14:45
*** rmoe has quit IRC14:51
*** rmoe has joined #openstack-app-catalog14:51
*** rmoe has quit IRC14:58
*** rmoe has joined #openstack-app-catalog14:58
*** rmoe has quit IRC15:03
*** rmoe_ has joined #openstack-app-catalog15:21
kfox1111docaedo: awake?15:31
kfox1111kzaitsev_mb: you too?15:31
kzaitsev_mbpong15:32
docaedokfox1111: am awake, but in a few days of meetings :)15:32
kzaitsev_mbI've just finished mine15:32
kfox1111heh. I hear you.15:32
kzaitsev_mb=)15:32
kfox1111was wondering about where we slide in glare....15:32
kfox1111so, we have our v1 server as part of our webserver.15:32
kzaitsev_mbfor today at least. have been digging into CORS support in glare15:32
kfox1111I'm kind of thinking v2 should be exposed through that same server on the v2 endpoint.15:33
kzaitsev_mbit's was a bit weird there, but managed to make it work15:33
kfox1111not nessisarliy because of CORS, but because I think we should have a unified api server?15:33
docaedoI'm generally uncomfortable bringing glare in to production until we have the broader concernes like authentication worked out, such that we won't need to add new assets via gerrit review15:34
kfox1111every other service does it that way.15:35
kfox1111yeah. it would allow us to adopt glare for v2 (or not), and let us have an option for a v3 that wasn't glare, if that ended up needing to be a thing.15:35
docaedoI agree v2 endpoint should be exposed through the same server15:35
kfox1111k.15:37
kfox1111should I suggest this as part of the UI review, or something seperate? It would require changes to the ui review either way.15:57
kfox1111http://flask.pocoo.org/snippets/118/ looks like it might do what we'd need.15:57
kfox1111we also need a set of dependencies for glare, and to tweak the runserver script to start up a test glare.16:02
docaedoWe need to work out how we expect/plan to deploy this - the review kzaitsev_mb shared with a readme on deploying glare (after checking glare out on its own) worked for me16:04
docaedoah but to be clear, I agree with tweaking runserver (like --runserver-v2) to have it get and deploy glare16:12
kzaitsev_mbdo you mean having a script, that would fetch the latest glare and start it if it's not started yet?16:18
docaedokzaitsev_mb: that's what I'm thinking but not sure if kfox1111 was thinking the same thing16:20
kzaitsev_mbyep =) glare is not yet in the glance-puppet yet and there are no deb/rpm packages16:21
kzaitsev_mbthe prociess is set in motion though16:21
*** toddjohn has quit IRC16:21
kzaitsev_mbhttps://review.openstack.org/#/c/293524/ here the puppet commit16:22
docaedoalso though the app-catalog server is basically a snowflake, so it does not necessarily require packaging or common tooling16:22
kzaitsev_mbSo, in my mind *ideally* we would only have to say apt-get install glance-glare16:22
docaedo(though making it easy to stand up is good)16:22
docaedokzaitsev_mb: I think that's a decent plan16:23
kfox1111was thinking adding it in requirements, then tweaking --runserver to start/stop a test version fo glare, with maybe a sqlite db backend?16:37
kfox1111runserver's just for testing, kind of like a tiny devstack.16:38
docaedo+10 for using sqlite16:38
*** toddjohn has joined #openstack-app-catalog16:38
docaedoif that's at all possible I would love it - would be nice to test/play locally rather than spinning up a VM16:38
kfox1111runserver should also populate the sqlite db with some test data just so that when we want to run runserver and then play with the ui to improve it, we can see the changes work.16:39
docaedo(which is what I did because test-requirements needed both mysql and psql(?!))16:39
kfox1111meeting. bbiab.16:40
*** kzaitsev_mb has quit IRC16:42
*** spzala has joined #openstack-app-catalog16:45
*** kzaitsev_mb has joined #openstack-app-catalog16:55
*** spzala has quit IRC16:55
*** spzala has joined #openstack-app-catalog16:56
*** spzala has quit IRC16:57
*** spzala has joined #openstack-app-catalog17:03
*** spzala has quit IRC17:07
*** kzaitsev_mb has quit IRC17:14
*** toddjohn has quit IRC17:57
*** toddjohn has joined #openstack-app-catalog17:58
*** spzala has joined #openstack-app-catalog18:04
*** kzaitsev_mb has joined #openstack-app-catalog18:10
kfox1111kzaitsev_mb: alive?18:15
kfox1111there was a review somewhere I think for switching v1 to use your glare stuff. have a link handy?18:15
kfox1111I'm having a hard time finding it.18:15
kzaitsev_wshttps://review.openstack.org/#/c/290932/ this one18:16
kfox1111yeah, that one. thanks.18:16
kfox1111hmm.. ok. this is scoped tightly... so not the one I want to comment on either...18:17
kfox1111we need another patch for having a proxy for v2...18:17
kfox1111do we have a blueprint for this work?18:18
kfox1111https://blueprints.launchpad.net/app-catalog/+spec/glance-backend is close, but not really applies anymore.18:19
kfox1111we need a blueprint to track all of these different parts.18:19
kzaitsev_wsis it a good idea to update ^^^ one. or are you speaking about a separate one,regarding v1/v2 api's?18:30
kfox1111I'm making a new one for now...18:31
kfox1111if it will actually submit...18:31
kfox1111Timeout error... :/18:31
openstackgerritOmar Shykhkerimov proposed openstack/app-catalog: Create form for making assets  https://review.openstack.org/29364418:45
kfox1111https://blueprints.launchpad.net/app-catalog/+spec/glare-work18:49
kfox1111can we tag reviews with partially implements for that?18:49
kzaitsev_mbsure, I'll update =)18:53
kfox1111the new create asset thing looks much better.18:54
kfox1111though I think now we have two different folks working on things that overlap?18:54
kfox1111This one: https://review.openstack.org/#/c/292854/18:55
kfox1111and this one: https://review.openstack.org/29364418:55
kfox1111and they depend on https://review.openstack.org/#/c/290932/18:56
kfox1111and there's not one for the proxying, which the first two should also depend on.18:56
kzaitsev_mbkfox1111: yes and no. The thing is that I managed to get some dev time from my teams pool for the app catalog and pushed a couple of tasks. Initially it was a big CRUD ui task, but we decided to split it into smaller ones.19:00
kzaitsev_mbsince they're parallellable =)19:01
kfox1111yeah. thats fine. but was just curious of there mighte be some overlap, like, you can have an angular resource that interacts with the rest api and provides a javascript wrapper.19:02
kfox1111then the wrapper could be used both to list drafts, and to submit new ones.19:02
kzaitsev_mbI'm planning to stich those together and help Omar with his part (he's our intern, so I guess he requires certain amount of handholding)19:03
kfox1111k.19:03
kfox1111the code's much better now.19:03
kfox1111we may want to try and merge it directly into index though with a modal popup?19:03
kzaitsev_mbyou mean the upload form? probably yes. we already have the 'Add new content' btn19:07
kfox1111yeah. right now its a seperate html file, with a uri/view link for it.19:07
kfox1111we can probably just merge the code directly into index.html, and drop the need for url/view .py changes.19:07
kfox1111kzaitsev_mb: do you, or your team have time to write the v2 endpoint proxy code?19:09
kfox1111I think it can be a pretty simple variant of http://flask.pocoo.org/snippets/118/19:10
kzaitsev_mbDo you want v2 to just proxy requests to glare for now?19:12
*** toddjohn has quit IRC19:12
kfox1111yeah.19:12
kfox1111so probably can reuse the settings code from the v1 patch,19:12
kfox1111and make the v2 endpoint proxy to that address too.19:13
kzaitsev_mbI was planning to do so, but was a bit concerned about whether we would want to proxy everything as v2. And maybe a bit concerned about changes to API, that glare's about to make19:13
kzaitsev_mbalthough their v0.1 is going to be the way it is19:13
kfox1111I think we'd probably map v2 to their eventual v1.19:13
kfox1111if they ever come out with a v2, we can do a v3 if we decide to support it, etc.19:14
kfox1111so maybe we tweak settings to be their root url. no version number,19:14
kfox1111and then in the v1/v2 code, we hard code v0.1 for now.19:15
kfox1111then v1.0 when thats ready?19:15
kzaitsev_mbyep, I'll add a follow-up to v1 patch for proxying19:15
kzaitsev_mbI believe mfedosin wanted to have smth for the summit19:15
kfox1111awesome. thanks. Then I'll suggest the other patches depend on the v1 patch.19:15
kzaitsev_mbit's actually pretty easy to rebase patches in gerrit with it's new interface19:16
kfox1111nice. :)19:16
kfox1111thats aways been a bit of a pain.19:16
kfox1111added some work items: https://blueprints.launchpad.net/app-catalog/+spec/glare-work19:27
kfox1111can you give it a sniff test and see if its missing anything?19:28
kzaitsev_mbprobably auth?19:29
* kfox1111 smacks his head19:29
kfox1111of cource. :)19:29
kfox1111done. thx. :)19:29
*** toddjohn has joined #openstack-app-catalog19:49
*** kzaitsev_mb has quit IRC19:50
kfox1111heh.... thats a lot of stuff that I just reviewed. didn't realize how much had piled up. :/19:51
*** toddjohn has quit IRC19:54
*** ig0r_ has quit IRC19:55
*** toddjohn has joined #openstack-app-catalog20:15
*** kzaitsev_mb has joined #openstack-app-catalog20:16
*** spzala has quit IRC20:25
*** toddjohn has quit IRC20:28
*** toddjohn has joined #openstack-app-catalog20:29
*** toddjohn has quit IRC20:34
kzaitsev_mbkfox1111: there is a slight problem with proxying — glare gives us full urls in it's responses21:19
kzaitsev_mbwonder if it would be possible to configure glare so that it would either return relative urls or return smth specific21:21
*** kebray has joined #openstack-app-catalog21:24
kfox1111hmm... yeah. so either we'd have to do some reverse proxy logic,21:26
kfox1111or we set the reverse proxy headers to inform glare to do it.21:26
kfox1111the latter being benifitial when stuck behind haproxy for example too.21:26
kzaitsev_mb+1 to headers approach, although I'm 99% sure glare won't honor them right now.21:30
openstackgerritKirill Zaitsev proposed openstack/app-catalog: Add proxying v2 api to glare  https://review.openstack.org/29372121:31
kfox1111yeah. so we'd have to write a patch for their side.21:31
kfox1111darn. you did that as a seperate patch...21:31
kzaitsev_mbI can squash those if you want )21:31
kfox1111I commented on the angular patches requesting to link to the v1 as a dep.21:32
kfox1111either way is ok. would just have to update the request to point to the v2 one instead.21:32
kzaitsev_mblet's squash then to reduce that work21:32
kfox1111k.21:32
*** kebray has quit IRC21:32
kfox1111be careful with that cors_allow thing...21:32
kfox1111its usually fine with read only data, but we have to consider things when there is writable stuff.21:33
kfox1111are they planning on cors enabling their service? if so, the headers should just pass through.21:33
kfox1111the rest looks good. :)21:35
kzaitsev_mbkfox1111: actually you're right. I've been digging into CORS middleware in glare today and managed to enable it, so that code is probably redundant21:36
kfox1111cool.21:37
openstackgerritKirill Zaitsev proposed openstack/app-catalog: Allow using glare for v1 API call and add v2 proxy  https://review.openstack.org/29093221:37
kfox1111oh... btw. the cors stuff would only be needed for the horizon plugin, or javascript not hosted on the same server.21:45
kfox1111so for the changes to the website, it should just work with the v2 proxy patch in place.21:45
kzaitsev_mbkfox1111: yep, but different port == different server. so I got cought up in that one, when playing with angular forms21:46
kfox1111yeah, but with the proxy, its the same port.21:47
kfox1111so shoudln't need cors.21:47
*** toddjohn has joined #openstack-app-catalog22:30
*** toddjohn has quit IRC22:35
docaedokzaitsev_mb: let me know if you need a public place to run the glare PoC (in case you're still having trouble getting that public IP)22:54
*** toddjohn has joined #openstack-app-catalog23:30
*** toddjohn has quit IRC23:35
*** toddjohn has joined #openstack-app-catalog23:35
kfox1111need to figure out asap how to run it with runserver. then it won't be an issue.23:39
*** toddjohn has quit IRC23:40

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