*** kzaitsev_mb has joined #openstack-app-catalog | 10:17 | |
kzaitsev_mb | kfox1111: fiddling with the code right about now. | 10:51 |
---|---|---|
kfox1111 | cool. :) | 13:29 |
openstackgerrit | Kevin Fox proposed stackforge/apps-catalog: Add a test server https://review.openstack.org/209933 | 13:30 |
openstackgerrit | Kevin Fox proposed stackforge/apps-catalog-ui: Magic Search, Local server, updates. https://review.openstack.org/209973 | 14:54 |
openstackgerrit | Merged stackforge/apps-catalog-ui: Magic Search, Local server, updates. https://review.openstack.org/209973 | 14:59 |
*** kzaitsev_mb has quit IRC | 15:11 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 16:50 | |
docaedo | 8 minutes to the weekly meeting! Hope we have decent turnout :) | 16:53 |
reed | docaedo, i'll lurk :) | 18:00 |
docaedo | reed: if you're going to lurk now, you missed it :) | 18:01 |
reed | at the logs :) | 18:01 |
docaedo | haha | 18:01 |
reed | docaedo, I was looking at ways dreamhost could use the app catalog but we have a hard dependency on RAW format for the images | 18:01 |
docaedo | reed: makes sense (considering the ceph backend I assume) | 18:02 |
reed | do you think there is a way to add multiple formats to the catalog? | 18:02 |
docaedo | reed: I don't think there's anyting that prevents the app-catalog from having a link to a RAW glance image | 18:02 |
reed | docaedo, exactly, it's all ceph's fault :) | 18:02 |
reed | docaedo, only bandwidth I guess :) | 18:03 |
docaedo | multiple formats for glance images is something we've talked about actually | 18:03 |
reed | we talked internally about using glance to switch formats but it's hard to do and also seems to be not fully baked in glance itself | 18:03 |
docaedo | no solid solution (one consideration was actually hosting one format, but letting users ask the catalog to send it back in a converted format) | 18:04 |
docaedo | yeah, doesn't work all the time | 18:04 |
docaedo | and worse | 18:04 |
docaedo | you usually don't know it didn't work until after you've sat around waiting for 15gb to download, import, transfer to the compute node, and then try to launch | 18:04 |
reed | lol | 18:04 |
reed | typical :) | 18:04 |
docaedo | BUT it's a great topic to talk about and consider | 18:04 |
docaedo | if not automated conversion, still useful to have multiple formats for glance images | 18:05 |
docaedo | technically it's possible right now just by overloading the name with the image type, but that's not the best | 18:05 |
docaedo | something really good to think about though, thanks for bringing this up | 18:06 |
*** kzaitsev_mb has quit IRC | 18:06 | |
docaedo | (and generally, glad to see dreamhost thinking about this, I talked to Simon a little bit when he was up here for OSCON and I think he's definitely interested in supporting the app catalog) | 18:06 |
reed | cool | 18:07 |
reed | i'll add a story to our backlog, maybe besides Simon's interest we can put some dev time on it :) | 18:07 |
docaedo | that would be excellent | 18:07 |
docaedo | when your portland office opens I'll stop by and harass whoever is there :) | 18:08 |
kfox1111 | reed: I personally think the ceph backends alittle broken. | 19:02 |
kfox1111 | it should accept a qcow image, and raw it on ingest. | 19:02 |
kfox1111 | qemu-img can do it, so it should be possible to hook up. | 19:02 |
reed | kfox1111, looks like Red Hat just released something like that... in PR form, maybe there is code too | 19:03 |
kfox1111 | I really prefer to post qcow2 images because it supports compression. raw images don't. :( | 19:03 |
kfox1111 | awesome. :) | 19:03 |
reed | http://www.redhat.com/en/about/blog/red-hat-pushes-envelope-openstack-storage-again | 19:03 |
reed | "Volume conversion" | 19:03 |
reed | kfox1111, there are also patches from openstack side... stuck in review queue | 19:04 |
kfox1111 | ah. nice. thanks for the link. :) | 19:04 |
reed | we'll upgrade soon, maybe the problem will go away | 19:05 |
kfox1111 | reed: https://youtu.be/2UQ6xa6uDQY something i'm working on. :) | 19:06 |
kfox1111 | Is dream host using horizon? | 19:06 |
reed | kfox1111, yes, regrettably at times :) | 19:07 |
kfox1111 | another glance image flag we may want to add is some kind of hypervisor type. | 19:07 |
kfox1111 | you may include the kvm guest agent or vmware one. so you might want to filter by that. | 19:08 |
reed | kfox1111, looks neat | 19:08 |
kfox1111 | thx. still a long way to go, but its starting to shape up. :) | 19:08 |
kfox1111 | reed: does dreamhost use keystone and/or barbican too? | 19:29 |
reed | no barbican, yes keystone | 19:29 |
reed | bbl, lunch | 19:30 |
kfox1111 | k. | 19:30 |
*** kzaitsev_mb has joined #openstack-app-catalog | 20:22 | |
kfox1111 | kzaitsev_mb: does the code kind of make sense? | 20:42 |
kfox1111 | Its not very pretty a the moment, I'm afraid. Still trying to get the nag of angular and gettint rough functionality working. | 20:43 |
kfox1111 | s/nag/hang/ | 20:43 |
*** reed_ has joined #openstack-app-catalog | 21:23 | |
kfox1111 | kzaitsev_mb: have you done anything with murano and the plugin yet, or just looking over the code? | 21:51 |
*** reed_ has quit IRC | 21:54 | |
kzaitsev_mb | huh, sorry for not answering =( haven't really done anything significant yet. got really carried away, debugging strange heat behaviour on my lab.. I have several stacks, that hang in Update In Progress like... forever | 22:06 |
kfox1111 | anyone with murano installed awake? | 22:06 |
kfox1111 | good timing. :) | 22:06 |
kzaitsev_mb | so yep, I'm postponing that heat thing | 22:06 |
kfox1111 | np. just was working on a feature and didn't want to step on your toes. | 22:06 |
kfox1111 | I got service autodetection working just now. | 22:06 |
kfox1111 | need to know what 'name' murano uses in the service catalog to detect it though. | 22:06 |
kzaitsev_mb | hm. let me check | 22:07 |
kfox1111 | very strange. I don't do updates very often so don't know how much I can help with that. :/ | 22:07 |
kzaitsev_mb | application_catalog it is | 22:07 |
kfox1111 | I tend to just delete/add. | 22:07 |
kfox1111 | so, 'name' = 'application_catalog'? what's type=? | 22:08 |
kzaitsev_mb | name=murano, service=application_catalog | 22:08 |
kfox1111 | ah. ok. thanks. | 22:08 |
kzaitsev_mb | reading from system info in horizon panel =) | 22:09 |
kzaitsev_mb | about heat — yeah, I m performing a rather unusual, but valid set of actions. make a stack fail, than update and redeploy it | 22:09 |
kfox1111 | strange. :/ | 22:11 |
kfox1111 | ok. that took very little tweaks to get the entries to show up in the ui... | 22:13 |
kzaitsev_mb | hm, with the -ui I'm getting Error: [$injector:unpr] Unknown provider: horizon.openstack-service-api.heatProvider <- horizon.openstack-service-api.heat <- appCatalogModel | 22:14 |
kzaitsev_mb | any idea what I might have done wrong? | 22:14 |
kfox1111 | I'll get that committed, and then most of the rest I can't do. but it should just take a template edit. | 22:14 |
kfox1111 | yeah. that seems to be an older version. are you running trunk? | 22:14 |
kzaitsev_mb | let me update everything | 22:16 |
kfox1111 | wait just one sec. | 22:16 |
openstackgerrit | Kevin Fox proposed stackforge/apps-catalog-ui: Autodetect services https://review.openstack.org/210138 | 22:17 |
openstackgerrit | Merged stackforge/apps-catalog-ui: Autodetect services https://review.openstack.org/210138 | 22:17 |
kfox1111 | ok. now. :) | 22:18 |
kzaitsev_mb | ahh, I wish django would collectstatic automatically, on reload, just as it does with the code... =) | 22:19 |
kfox1111 | that should get all the murano entries into the ui. | 22:19 |
kfox1111 | the last bit, which I can't do, | 22:19 |
kfox1111 | is edit app_catalog/static/dashboard/project/app_catalog/main_panel.html | 22:19 |
kfox1111 | and add a ng-switch-when="murano" | 22:20 |
kfox1111 | oh. and some code in app_catalog/static/dashboard/project/app_catalog/app_catalog.js to detect if its installed or not. | 22:21 |
kfox1111 | so you can swith between install and launch buttons. | 22:21 |
kzaitsev_mb | ok, I've updated horizon and app catalog and get a steady 500 =) wonder if it's horizons fault | 22:25 |
kfox1111 | 500? hmm.. | 22:26 |
kzaitsev_mb | yeah TypeError: coercing to Unicode: need string or buffer, __proxy__ found =) | 22:26 |
kfox1111 | wha? odd... | 22:26 |
kfox1111 | your using the runserver stuff? pointed to a local cloud, or a remote one? | 22:27 |
kzaitsev_mb | local runserver | 22:27 |
kzaitsev_mb | pointed to a remote cloud | 22:27 |
kfox1111 | whats the cloud version? | 22:28 |
kfox1111 | I haven't known horizon to are much. but maybe. | 22:28 |
kfox1111 | care | 22:28 |
kzaitsev_mb | kilo, but that's not app-catalog-ui's fault, | 22:29 |
kfox1111 | I'll try and pull a fresh copy too. just double check. | 22:29 |
kzaitsev_mb | just removed plugins and the error is still there | 22:29 |
kfox1111 | My test setup here's a kilo cloud too. just local. | 22:29 |
kfox1111 | k. | 22:29 |
kzaitsev_mb | hmm | 22:34 |
kfox1111 | k. just got a totally fresh checkout. testing... | 22:35 |
kzaitsev_mb | damn, I hate it when removing pyc files fixes the problem =( | 22:36 |
kfox1111 | (Just doublechecking since horizon's been refactoring a lot of code recently. | 22:36 |
kfox1111 | bleh. | 22:36 |
kzaitsev_mb | ok, but I'm still getting a js error with injector | 22:36 |
kfox1111 | hmm.... apps.openstack.org doesn't seem to support https... | 22:38 |
kfox1111 | just double checking it isn't a file or something I failed to commit. | 22:39 |
kfox1111 | I'm not seeing an injector error though. | 22:40 |
kfox1111 | can you please pastebin it? | 22:40 |
kzaitsev_mb | http://paste.openstack.org/show/411764/ | 22:41 |
kfox1111 | did you follow the instructions in the readme with reguards to which branch/patch to apply? | 22:42 |
kfox1111 | I'm working to get those things merged to trunk, but they arn't there yet. :/ | 22:43 |
openstackgerrit | Kevin Fox proposed stackforge/apps-catalog-ui: http, not https https://review.openstack.org/210148 | 22:43 |
kzaitsev_mb | oh wait, right | 22:43 |
kzaitsev_mb | I hadn't applied your custom horizon patches, damn! | 22:44 |
openstackgerrit | Merged stackforge/apps-catalog-ui: http, not https https://review.openstack.org/210148 | 22:45 |
kfox1111 | ok. with that ^---- in, it works from a fresh checkout. | 22:48 |
kzaitsev_mb | shame on me | 22:48 |
kzaitsev_mb | yep, got it working | 22:49 |
kfox1111 | cool. :) | 22:49 |
kzaitsev_mb | I guess we can make all murano apps just installable for now. | 22:53 |
kfox1111 | yeah. thats probably the easiest thing. | 22:53 |
kfox1111 | that would only take a template change I think. | 22:54 |
kzaitsev_mb | Well, techically murano has quick-launch button, which we probably might be able to reuse, but I'm not 100% sure | 22:55 |
kfox1111 | yeah. similar to what heat/glance does? | 22:56 |
kzaitsev_mb | almost, there's not much value in it though, cause murano aims at more complex setups, and treats apps like bricks to build a house | 22:57 |
kzaitsev_mb | is there a way to not hardcode the urls, btw? | 22:58 |
kfox1111 | well, there's got to be a way to start a new app workflow? | 22:58 |
kfox1111 | which hardcoded urls are you refering to? | 22:58 |
kfox1111 | you mean in the template ui for the dialogs? | 22:59 |
kzaitsev_mb | href="/project/stacks/select_template?template_source=url... | 22:59 |
kzaitsev_mb | main_panel.html | 22:59 |
kfox1111 | yeah. I think those are... more magical then you might think. | 22:59 |
kfox1111 | there's some special classes on the link that make it... do things... :) | 23:00 |
kzaitsev_mb | the html is static but I guess, there should be a way to transfer those to some {% url %} templatetags, or does horizon allow to handle it differently? | 23:00 |
kfox1111 | the ajax-model class intercepts the click and pops up the right dialog. | 23:01 |
kfox1111 | all the {? .. ?} is angular.js stuff interpreted on the client side. | 23:01 |
kfox1111 | same with the ng- stuff. | 23:02 |
kzaitsev_mb | yeah, the file itself is static, so that means, that it's fetched by js and interpreted by js, that's easy | 23:02 |
kfox1111 | this plugin barely touches the horizon server. mostly its just javascript. | 23:02 |
kzaitsev_mb | I usually did such tricks, by setting some js-variables in the script inside the html, that is rendered by django | 23:04 |
kzaitsev_mb | (not a separate files) | 23:04 |
kfox1111 | ah. yeah. the angular stuff changes a lot of what horizon use to do. | 23:05 |
kzaitsev_mb | later any subsequent js is able to access those variables. wonder if horizon has a different approach | 23:05 |
kzaitsev_mb | also. (since I'm only good at linting stuff =(() | 23:05 |
kfox1111 | which vars are you trying to push from python to js? | 23:05 |
kzaitsev_mb | take a look at jp angular style guid | 23:05 |
kfox1111 | yeah. Like I said before, its horible code. :) | 23:06 |
kzaitsev_mb | https://github.com/johnpapa/angular-styleguide =) | 23:06 |
kfox1111 | we need to finish getting the base functionality roughed in, tests and lint code added, and then clean it way up. :) | 23:06 |
kzaitsev_mb | horizon has tons of activity tossing the code around | 23:06 |
kfox1111 | yeah. its biting me every day right now. :( | 23:06 |
kzaitsev_mb | ok =) just glad you're aware. | 23:07 |
kzaitsev_mb | although there's no way you would not be aware | 23:07 |
kzaitsev_mb | you've submitted js-patch to horizon +) | 23:07 |
kfox1111 | I had to rebase a patch set like 4 times yesterday. :_( | 23:07 |
kfox1111 | arg. the murano stuff doesn't have any licenses attached. :( | 23:10 |
kzaitsev_mb | I'm afraid they might be inside the zip files themselves | 23:12 |
kfox1111 | there's source links to some of them.... | 23:12 |
kfox1111 | are all mirantis provided wrappings apache2? | 23:14 |
kzaitsev_mb | I'm pretty sure that's the case. most (if not all) of them come from https://github.com/openstack/murano-apps and they all have apache2 | 23:15 |
kfox1111 | I've been erroring in the side of caution, and marking most things Multi-licensed OpenSource, since things like vm images and docker containers very rarely contain just one license of stuff. | 23:26 |
kfox1111 | arg... murano's app catalog entries are particuarly bad about putting things all over the yaml file. :/ | 23:33 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!