Wednesday, 2015-09-09

kfox1111ok... css working again.00:01
openstackgerritKevin Fox proposed stackforge/apps-catalog-ui: Fix static url's.  https://review.openstack.org/22154900:02
kfox1111docaedo: I'm not sure if this will fix the dialogs or not. should fix everything else though.00:03
docaedoexcellent, I'll try it later on00:03
kfox1111I think there is a pretty simple fix for the dialogs if that one's broken too.00:04
kfox1111just need to know if I need to apply it.00:04
kfox1111thanks.00:04
kfox1111lattice's website just broke.00:06
kfox1111still there?00:08
docaedohe, I am just sort of barely here ATM :)00:14
kfox1111just curous, can you drop to a js console from in the app catalog page and type: console.log(WEBROOT);00:15
docaedowith the new stuff? or just whatever is running right now?00:15
kfox1111either.00:16
docaedook one sec00:16
docaedo"undefined"00:18
kfox1111wha?00:19
docaedoactually sorry, full output was00:19
docaedoconsole.log(WEBROOT);00:19
docaedoundefined00:19
docaedo/dashboard/00:19
kfox1111oh. odd..00:19
kfox1111well, that does explain that I think...00:19
kfox1111console.log(STATIC_URL);00:19
kfox1111I think that one's probably /dashboard/static ?00:20
docaedoyeah I mean, devstack spins up and tells you go to http://IP/dashboard/ to see horizon...00:20
docaedo/dashboard/static/00:20
kfox1111ok. I'm thinking I'll have to patch the dialogs then too...00:20
openstackgerritKevin Fox proposed stackforge/apps-catalog-ui: Fix static/dashboard url's.  https://review.openstack.org/22154900:26
kfox1111docaedo: Ok. I think that one will fix everything.00:26
docaedokfox1111: do I need to re-run the installer too?  Or just copy the static stuff?00:41
docaedo404 on GET http://192.168.122.97/static/dashboard/project/app_catalog/details_panel.html00:50
docaedoBUT don't hold me to any of that, going to unstack and start clean tomorrow00:50
*** kebray has joined #openstack-app-catalog03:13
*** kebray has quit IRC03:15
*** kebray has joined #openstack-app-catalog04:13
*** kebray has quit IRC04:14
*** kebray has joined #openstack-app-catalog04:14
*** kebray has quit IRC06:33
*** kebray has joined #openstack-app-catalog14:21
*** kebray has quit IRC14:22
*** kebray has joined #openstack-app-catalog14:23
*** kebray has quit IRC14:23
kfox1111probably have to rerun the installer.15:35
kfox1111shouldn't have to update the enable files though.15:35
*** kebray has joined #openstack-app-catalog16:27
*** kebray has quit IRC16:35
*** kebray has joined #openstack-app-catalog17:00
*** kebray has quit IRC17:45
*** kebray has joined #openstack-app-catalog18:03
kfox1111docaedo: get a chance to retry the installer yet?18:11
docaedokfox1111: not yet, but aiming to get to it really soon18:21
kfox1111k.18:24
docaedowoot!!18:44
*** kebray has quit IRC18:44
kfox1111works? :)18:44
docaedoworks great, only had one "issue", I got an error when I logged back in that compression was enabled but something was missing, had to "cd /opt/stack/horizon; python manage.py compress"18:45
docaedothen worked, yes, the app catalog stuff is working great18:45
kfox1111ah. yeah. horizon thing.18:45
kfox1111may need to do that in the install hook for devstack.18:45
docaedoyep, seems like it wouldn't hurt.18:46
openstackgerritMerged stackforge/apps-catalog-ui: Fix static/dashboard url's.  https://review.openstack.org/22154918:47
kfox1111:)18:47
kfox1111btw, we may need another repo.18:51
docaedook, what for?19:02
docaedo(ah stepping away for a meeting, back in a bit)19:03
kfox1111thinking sooner rather then later we need to figure out how to share some files between the website and the horizon plugin.19:21
kfox1111probably belongs in its own repo.19:21
* kfox1111 sighs19:27
kfox1111https://review.openstack.org/#/c/221906/19:27
kfox1111why is it so hard to contribute in horizon?19:27
*** kebray has joined #openstack-app-catalog21:04
*** kebray has quit IRC21:16
*** kebray has joined #openstack-app-catalog21:21
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197021:35
kfox1111looking good. :)21:39
docaedohah, I don't know if I'd go that far :) untested, but easiest way to test it is to put up the plugin subdir in the repo, and then add a config line to my devstack21:39
kfox1111few things maybe...21:40
kfox1111is the sudo needed?21:40
docaedoAFAIK it is, devstack runs as a stack user, but then sudos a bunch of stuff. It's definitely not meant to be run on a machine you care about, as there are tons of things it does that will wreck it21:41
docaedo(and every now and then someone runs it on their laptop and is very very sad after that - should always be run in a VM :) )21:41
docaedobut .. can tweak it relatively easily now21:41
kfox1111k.21:41
kfox1111I would have figured they were running in a venv so wouldn't need the sudo.21:42
kfox1111yeah, I've heard it can be.. dangerous...21:42
kfox1111I'd also add a --force to the manage.py compress21:42
kfox1111just to make sure. :)21:42
docaedo'k21:44
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197021:52
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197021:54
kfox1111cool. does it work? :)21:55
docaedonot yet - did not call the function from where I meant to (supposed to be post-config), so patch 3 might make it good21:56
docaedoso now .. I wait a few minutes and watch closely to see if it blows up21:57
kfox1111:)21:58
* docaedo starts over with the waiting22:10
docaedohad seriously dirtied up the environment I was playing in with lots of random manual stuff - so reverted to clean snapshot, and running devstack again for the first time22:11
docaedotakes a little longer first time as it gets all the packages - but will let you know what happens. No reason to think I won't have this working today - when it's good, I'll also update the readme with "how to test this with devstack"22:11
kfox1111k.22:12
kfox1111cool. :)22:12
kfox1111It would be nice to update the website too somehow with plugin knowlege as we're getting closer.22:12
kfox1111something like, in the how to use section, links to some install instructions based on distro or something, or alternately, here's how you use the site manually...22:13
docaedogood idea22:14
kfox1111We've got those Murano Packages/Heat Templates/Glance Images blue boxes on the front page. Maybe one on top pointing at the app catalog ui and instructions.22:16
*** kebray has quit IRC22:18
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197022:39
docaedoit works!22:47
docaedogoing to reset VM one last time, and if it works second time through I'll add the instructions to the patch and we can merge :)22:48
docaedoif anyone wants to try, just add this to your devstack/local.conf:22:48
docaedoenable_plugin app-catalog-ui git://git.openstack.org/stackforge/apps-catalog-ui refs/changes/70/221970/422:48
kfox1111awesome. :)22:49
kfox1111should be able to drop the refs I think?22:49
kfox1111might default to http instead of git as well, if that works.22:49
kfox1111git://'s blocked at some sites...22:50
* kfox1111 grumbles.... :)22:50
docaedoah, just following the example in devstack but yeah, should work.  The refs are required until this merges (so the instructions will not include the refs)22:50
kfox1111oh... duh... right. :)22:52
docaedoI'll have it use https in the instructions, that's a good suggestion22:53
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197023:19
docaedoIt's good to go!  I'll give it my +2, you can give it a workflow if you like (or feedback if you dont)23:20
kfox1111awesome! Thanks. :)23:23
openstackgerritMerged stackforge/apps-catalog-ui: Add devstack plugin bits  https://review.openstack.org/22197023:23
kfox1111now we just gota convince devstack to default it on... :)23:29
openstackgerritChristopher Aedo proposed stackforge/apps-catalog-ui: Fix minor README typo  https://review.openstack.org/22199323:32
openstackgerritMerged stackforge/apps-catalog-ui: Fix minor README typo  https://review.openstack.org/22199323:33
kfox1111ah. good catch.23:42
kfox1111oh... another typo. :)23:44
docaedooh man :/23:44
kfox1111no, mine this time. :)23:45
docaedoI don't think devstack will default this, as the horizon you get from default devstack is the reference version basically (don't believe they do horizon+an external repo)23:45
openstackgerritKevin Fox proposed stackforge/apps-catalog-ui: Fix typo in README file  https://review.openstack.org/22199423:46
docaedobut we can add a devstack CI job to app-catalog-ui to prove nothing in app-catalog breaks other stuff23:46
kfox1111but developers use devstack to test all sorts of things themselves, right?23:46
kfox1111wont they want to use the dashboard to possibly pull in glance images to do their own testing?23:47
kfox1111I would. :)23:47
docaedoyes, but all the "extra" stuff that people use to test is driven from extra things in the config file23:47
kfox1111is horizon extra?23:47
kfox1111if not, why not? :)23:47
kfox1111if so, ok, I buy your argument.23:47
docaedoyou will have to take that one up with the devstack folks ;)23:48
docaedohorizon, glance, nova, oslo, um. .. not sure what else is "default"23:48
kfox1111I think we should. :)23:48
kfox1111worst they can say is no.23:48
kfox1111I think as a developer quickly being able to pull in test images is a compelling reason to add it.23:49
openstackgerritMerged stackforge/apps-catalog-ui: Fix typo in README file  https://review.openstack.org/22199423:50
kfox1111there we go. :)23:50
kfox1111nice nice nice.23:50
kfox1111now still gota wait for rdo to upgrade django. :/23:50
kfox1111and figure out how to start submitting the rpm. :/23:51
docaedobah, skip RDO, always too slow :)23:51
kfox1111;)23:52
docaedobut need RPM and DEB, then chef and puppet bits (so it's just a flag for deployers)23:52
kfox1111yeah.23:53
kfox1111hmm..... maybe what we need to do is reach out to the dev folks and see if we can get help.23:53
docaedoand will try to kiss a lot of hands and shake a lot of babies in Tokyo amongst the horizon folk, maybe get them on-board with including this by default23:53
kfox1111cause there's ansible, puppet, chef, kolla, yeah....23:53
kfox1111+1.  but horizon? you mean all the destro's/config systems?23:54
docaedoI mean rather than having this stand off as a plugin for horizon, include it in trunk23:55
kfox1111-123:55
kfox11112 reasons.23:56
docaedowell, would slow development for sure (but we want it eventually I think)23:56
kfox11111. we're developing fast right now, and their development cycle is much much slower.23:56
kfox11112. as we progress, we probably want our plugin to be backported to older horizons if we can get a way with it.23:56
kfox1111horizon doesn't backport.23:57
kfox1111after some time where we get really stable, then I think it would be good to merge.23:57
docaedoah good points23:57
kfox1111I think we're going to rewrite a lot of code once we start working on v2.23:58
docaedothats true23:58
docaedook I'll hold off of on the hand kissing, but will still shake some babies23:58
kfox1111and it woudl be a shame if that only worked on mitaka clouds.23:58
kfox1111hehe.23:58
kfox1111minumum rquirement of liberty is bad enough in some ways. :/   but I really don't want to rewrite it all in python right now. :/23:59
kfox1111and require patches to horizon.23:59

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