Tuesday, 2015-10-13

*** kzaitsev_mb has quit IRC00:03
*** kzaitsev_mb has joined #openstack-app-catalog00:17
*** kzaitsev_mb has quit IRC00:34
*** kzaitsev_mb has joined #openstack-app-catalog00:46
*** kzaitsev_mb has quit IRC00:58
*** kebray has joined #openstack-app-catalog04:03
*** openstack has joined #openstack-app-catalog06:30
*** kebray has quit IRC07:01
*** openstack has joined #openstack-app-catalog08:49
*** kzaitsev_mb has joined #openstack-app-catalog09:32
*** kzaitsev_mb has quit IRC09:45
*** openstackgerrit has quit IRC10:01
*** openstackgerrit has joined #openstack-app-catalog10:02
*** kzaitsev_mb has joined #openstack-app-catalog10:59
*** kzaitsev_mb has quit IRC12:49
*** kzaitsev_mb has joined #openstack-app-catalog13:04
*** kzaitsev_mb has quit IRC15:02
*** kzaitsev_mb has joined #openstack-app-catalog15:06
kfox1111docaedo: +1 for more service catalog standardization. -1 for yet one more bloody change that takes years for everyone to implement, if at all. Really hurting the app catalog. (https://xkcd.com/927/)16:03
kfox1111rhagarty__: Here now. whats up?16:03
rhagarty__kfox1111, brb16:05
kfox1111k.16:05
docaedokfox1111: yeah I am not really trying to get into fixing the service catalog :) BUT wanted to use that as a way to highlight what is available on the openstack public clouds w/r/t orchestration and app distribution16:06
*** rhagarty__ has quit IRC16:06
kfox1111sure.16:07
kfox1111just thinking we should maybe start pushing back a little harder when folks want to "fix things" by completely changing protocols so that havana clouds and mitaka clouds are even farther apart. :/16:08
kfox1111the service catalog could use some standardization, slight enhancements, but the, lets throw out it all and start with dns thing seems extreme. :/16:09
*** rhagarty has joined #openstack-app-catalog16:10
docaedoyeah I have some thoughts about that for sure (but have to step away for a kid thing for a little bit so can't run my mouth :) )16:12
rhagartykfox1111, hey, we talked a while back about horizon plug-ins... was hoping to pick your brain for a couple minutes.16:16
rhagartykfox1111, I noticed a few of the plug-ins changed how they are installed into devstack - i.e. the enable_plugin feature. Is this the new standard?16:18
kfox1111sure.16:28
kfox1111not sure. I don't use devstack much unfortunately.16:28
kfox1111docaedo would know more about that then I would.16:29
rhagartykfox1111, so how do real users get your plug-in? Does it have to be packaged for an OpenStack distro?16:30
kfox1111thats part of the plan.16:30
kfox1111no production cloud should be running devstack.16:30
rhagartyhow is that initiated and managed?16:30
kfox1111docaedo got it packaged on debian, and I'm working on rdo packages.16:30
kfox1111sec...16:30
rhagartyoh, so each plug-in is responsible?16:31
kfox1111yeah. :/16:31
kfox1111debian instructions here: http://openstack.alioth.debian.org/16:31
rhagartydifficult?16:31
rhagartyok - thanks for link16:31
kfox1111rdo here: https://www.rdoproject.org/packaging/rdo-packaging.html16:31
kfox1111debian took about a week. seemed relatively easy.16:31
kfox1111I'm still waiting on RDO, months later. :/16:31
kfox1111way harder then it should be.16:32
kfox1111kind of grumpy about it. going to bring it up at the next rdo meeting.16:32
rhagartyand how would a user know that it is available?16:32
kfox1111the app catalog ui package is about as trivial a package as you can get.16:32
kfox1111via apt-search/yum list. or, we're going to put install information on the apps.openstack.org site.16:33
kfox1111also, theres:16:33
kfox1111http://docs.openstack.org/developer/horizon/plugins.html16:33
rhagartyso good idea to be on that list?16:34
kfox1111I think once we have a web page describing the install stuff, then we'll link to that.16:34
kfox1111couldn't hurt.16:34
rhagartywill you have "openstack" in your package name to show up in searches? Or maybe some other associations?16:35
kfox1111in rdo, I submitted it as openstack-app-catalog-ui so it would show up that way, yeah.16:35
kfox1111debian wantied it packaged python-app-catalog-ui, which I think's a bit odd, considering.16:36
rhagartyok - makes sense16:36
kfox1111it happens to be python, but thats an implementation detail that shouldn't leak into the package name IMHO.16:36
kfox1111a user won't care.16:36
rhagartyso, as far as you know, each plug-in is responsible for building their own package for each OpenStack distro?16:37
kfox1111yeah, or else getting the distro's to package it themselves.16:37
kfox1111same goes with the config management systems too. ansible/puppet/chef. :/16:38
rhagartyseems like yours would fall into that category (done by the distro)16:38
kfox1111I'd hope, but sometimes just getting it there in the first place, so they can manage afterwards greatly speeds up the process.16:38
docaedorhagarty: hi .. will answer some questions16:39
kfox1111getting it into the distro can be hard. keeping it updated is relatively easy.16:39
rhagartyoh, so there is a process to get on the "list"?16:39
docaedoregarding devstack - the ONLY supported thing is the plugins, method16:39
kfox1111meeting next... bbiab.16:40
rhagartydocaedo, hello - so did this just happen?16:40
docaedoNo it's been in process and available for a while - we're talking specifically about extending devstack here :)16:41
rhagartydocaedo, I recently noticed alot of the plug-ins suddenly added some devstack files16:41
docaedoyes, hold one sec there was a recent thread on the dev mailing list about this16:41
rhagartyk16:41
docaedohttp://lists.openstack.org/pipermail/openstack-dev/2015-October/076310.html16:42
docaedosince devstack isn't meant for production at all, it's pretty easy to write that plugin (as it can be kind of dumb and clunky, doesn't have to necessarily work nicely with anything else) - though issues with the devstack plugin will be exposed in the gate if you're including the tests I suppose16:43
rhagartyok - thanks for that.16:43
docaedoIn our case, as kfox1111 said we have a REALLY minimal plugin that doesn't depend on anything other than Horizon16:44
rhagartyyeah, mine is a bit more integrated. It extends some table/row options for volumes.16:44
docaedoso if you want people to be able to play with anything you're building via devstack, the only way to go is follow the plugin instructions (which amounts to a devstack subdirectory and a shell script basically, not much more than that)16:45
docaedounderstood ..16:45
rhagartyI originally had an overrides file (I know this is bad), and someone suggested I stick all of those classes in an __init__.py file so that they get loaded without having to specify an overrides file.16:46
rhagartythis stopped working16:46
rhagartyI wend back to the overrides and it works again16:47
rhagartyI went and looked at some other plug-ins and noticed the Cisco plug-in does the same thing (uses an overrides file). So I'm not sure what the real answer is..16:48
docaedoah sorry I am probably not going to be able to help too much on that front, other than saying if you can't get it to work in the confines of the devstack plugin framework, it will eventually stop working with devstack16:48
docaedowouldn't hurt to ask on the mailing list though :)16:48
docaedoyou'll likely get an answer from someone who knows what's up16:48
rhagartygood idea. appreciate your time16:48
docaedooh no problem, happy to help out and you can always ask, sometimes one of us knows the right answer16:49
docaedoon the packaging front16:49
docaedoyou are responsible for creating the packages, and keeping them up to date if you want them included in debian and RDO16:49
docaedoTHEN16:49
docaedoif you have the packages, you can work with chef and puppet communities to include manifests/recipes for deploying that package with the distro16:50
rhagartyyes, I need to start this process.16:50
docaedothat dramatically increases the odds of people being able to include your bits in their environments16:50
rhagartygood to know16:50
docaedoand from there you can go one step further up the chain and work with the deployment tools like fuel, ubuntu juju, rdo packstack (others as well) to try to get your package included as an installable option16:51
rhagartyso, how do you test your packages? Do you really stand up each of the openstack distros for testing?16:51
docaedoDepends on the depth of change I guess - in your case if I recall it's a plugin that works with an external storage array or something like that?  Or was it a neutron thing?16:52
rhagartyyes, it is storage related16:53
docaedodo you need a cinder driver to use it?16:53
rhagartymy question is more fundamental - I create a package. How do I know if can install correctly on each of the distros?16:54
rhagarty(yes, I need cinder and barbican)16:54
docaedoso when you have unique hardware in the mix, you need to have your own CI infrastructure that tests at a minimum the cinder stuff, and beyond that you can extend it as much as you want. But yes, if you want to say it works with Ubuntu/Juju environments, you have to deploy that environment (AFAIK nobody does testing on external hardware unless the hardware is supplied and they have some vendor16:56
docaedoagreement)16:56
rhagartyok - that makes sense, but was hoping each of the distros had some sort of certification lab where you could submit your package16:58
docaedothat would be nice but how could they certify your package without your hardware?17:02
rhagartyI was thinking more like "it loads successfully without errors, and it shows up in Horizon". Anything more detailed would fall on us.17:04
docaedoah OK I see what you're saying - but I think the closest you get to that is the gate tests, so you can included devstack/gate tests in your repo that validate the code loads successfully without errors17:06
docaedoand from there you can show the packages of that are based on the same codebase17:06
rhagartyok - looks like I need to look into those details.17:07
docaedoI would HIGHLY encourage you to get on #openstack-infra and chat up clarkb, fungi and others about this17:07
docaedothey can give you really good guidance here, as basically everyone who has wanted to do what you are talking about has gone through openstack infra team gate stuff17:08
rhagartygreat advise... thanks17:08
docaedoand I think they love to hep (in my experience they've done a ton of hand holding for me, and given me lots of pointers, and continue to do so all the time)17:08
rhagartynice17:08
docaedono problem - I actually think that IRC channel is the place everyone should lurk, as you get the view of how ALL the things come together there17:09
rhagartyand you guys are definitely my favorite channel!17:09
docaedohaha thanks! I'm angling to be an official openstack ambassador some day so you know, just trying to be consistently helpful and friendly :D17:10
docaedoalso to circle back to your distro certification17:11
docaedoI know Mirtantis has a plugin certification process, and they're happy to help with that stuff17:12
rhagartygood to know17:12
docaedoI am *pretty sure* RedHat and Ubuntu have similar programs, where they willingly help people - sometimes only requires donation of a little gear for their lab17:12
kfox1111rhagarty: might ask on the openstack-horizon channel about overrides like questions. they are usually quite responsive.17:13
rhagartyyeah, it seems like it would beneficial to both parties to have some shared testing17:13
rhagartykfox1111, will do.17:14
kfox1111last summit there was a push to get all the packagers to share a common repo.17:14
kfox1111its not there yet, but they have made a lot of progress.17:14
rhagartyany patches up yet to support that?17:14
kfox1111I'm going to try and sit in on that meeting again this comming summit if they have it again.17:15
kfox1111slower then that. I think there's an openstack-rpms channel now for communication between rdo & suse.17:15
kfox1111and I think the debian/ubuntu distro's are working closer together.17:15
kfox1111rdo's been getting building from trunk to be a thing. (delorean)17:16
kfox1111etc.17:16
kfox1111docaedo: we need to figure out ubunutu at some point too.17:16
kfox1111with the big tent, its getting much harder for the distro's not to share some of the work between them.17:17
rhagartywow... I have my head buried in devstack and never knew about this stuff. Glad I asked you guys...17:17
kfox1111devstack folks do point out its not for production, but not as loudly and in blinky letters as they should.17:17
docaedorhagarty: glad we could provide some scary information (in the spirit of Halloween and all!)17:17
kfox1111:)17:17
rhagartyok - back to work on my plug-in. Thanks again for all the info...17:19
kfox1111np. :)17:20
kfox1111we're still kind of figuring this stuff out ourselves.17:20
kfox1111happy to make it easier on other projects where we can. :)17:20
docaedoyep - glad we could help and definitely ping us here with questions. especially around debian packaging, that's very fresh in my mind as I just went through it :)17:21
rhagartycool. thanks17:21
kfox1111docaedo: do you know if ubunutu officially pulls from debian for openstack packages yet, or do we need to submit ubuntu packages too?17:23
kfox1111there are a lot more ubuntu clouds then debian ones right now. :/17:24
docaedo:)  Just asked that question on the Debian IRC channel17:24
kfox1111thx. :)17:24
docaedoInternet makes me think Ubuntu grabs up the debs and only makes changes for things they care about (http://www.ubuntu.com/about/about-ubuntu/ubuntu-and-debian) but really not sure.  Likely they curate all things around openstack because they have a vested interest in managing what openstack on ubuntu looks like17:25
kfox1111I know they were doing their own packages until debian started doing there's. so I'm not sure if tehy have broken down their own ubuntu process yet or not.17:26
docaedoyeah I wonder, though I suspect there's extra scrutiny around all things openstack, because they do their own packages for at least some of it. Like a juju deployed openstack has an ubuntu-themed horizon17:27
kfox1111ah. right.17:50
kfox1111in rdo, they make the theme a seperate package, but ubuntu might not of gotten that part working yet.17:51
docaedooh actually maybe that's how they do it too?  I did not scrutinize that piece closely because I was just doing a juju deployment as a comparison point, didn't do much peeling back of layers17:52
kfox1111ah.17:54
kfox1111haven't played with juju. it looks kind of cool, but I was turned off by the terminology and the ubuntu onlyness of it.17:54
kfox1111oh. wait. juju, not metal as a service.17:55
kfox1111just the ubunutu only ness of that one.17:55
kfox1111I don't understand metal as a service being created instead of contributing to ironic.17:56
kfox1111and juju seems to be kind of a competitor of heat's.17:56
docaedoyeah well .. juju is interesting, but solving problems that are already solved with just a smidge of difference (like chef puppet ansible salt, with slightly better orchestration parts)17:56
kfox1111yeah.17:57
kfox1111I think the one thing juju really has for it is a nice ui.17:57
kfox1111that could be contributed and adapted to those other things.17:57
docaedowell thing about heat is it only works in openstack, vs. juju (or the other config management approaches) work with linux (and somewhat with windows too)17:57
kfox1111yes,no? heat can deploy bare metal with ironic and manage linux and windows instances.17:58
docaedoand they can all be easily extended to work with an openstack environment17:58
kfox1111just in a bit different a way.17:58
kfox1111yeah.17:59
kfox1111the problem I have with most of the config management systems at the moment, is they assume they do everything.17:59
kfox1111IE, you want a load balancer, you have it stand up a machine using haproxy.17:59
kfox1111with openstack, it provides an api, that is abstract, that could do that exact thing, or could controll a hardware load balancer.17:59
kfox1111so the config management system needs openstack api support.18:00
kfox1111which none seem to have.18:00
docaedoright, but you are still limited to people with openstack environments18:00
kfox1111sure, but if all goes well, that will be everyone. ;)18:00
kfox1111openstack really needs to finish up the "its hard to deploy" issue though.18:00
kfox1111then that should get much better.18:00
kfox1111I think between merging TripleO and Kolla, there's a chance to finally make that part work smoothly.18:01
kfox1111though I think its probably another year out. :/18:01
kfox1111the, you start with a seed vm, then use it to deploy some real hardware, which becomes self hosting, and then you deploy everything else is a very compelling thing. so long as they iron out all the kinks.18:02
docaedowhen you say "needs openstack api support" do you mean ability to control things in an openstack environment via API?18:02
kfox1111like, the user said that there should be a load balancer in front of these servers, and the member list comes from this chef search: .....18:03
docaedo(sorry super laggy! my responses are delayed about 2 minutes!)18:03
kfox1111chef server should deploy the lb using a neutron lb, and then do the chef search and maintain the member list in openstack.18:03
docaedoTime to move my weechat client to a VM on vexxhost I think18:04
kfox1111rather then trying to setup a new vm using haproxy. in some clouds, you can't ever have a vm with haproxy be faster then what neutron lbaas can provide.18:04
kfox1111:)18:04
kfox1111chef for example is good at maintaining the software config of a node. it currently has no concept of non node things. like load balancers.18:05
kfox1111so they keep shoehorning concepts like load balancers through the only tool they have, node config's.18:05
kfox1111heat I think gets that part right.18:06
kfox1111orchistrate the deployment of all of the physical/virutal resources,18:06
kfox1111then leave it up to a config management piece to finish deploying nodes, since thats what they can do at present.18:07
kfox1111most of the config management systems dont play too nicely with heat though. they assume they are running the show, and not some other piece like heat. :/18:09
kfox1111so I haven't seen many things that play nicely with heat autoscaling for example.18:09
kfox1111which is the holy grail of cloud scaled apps.18:10
kfox1111I'm kind of wondering how long the traditional config management systems can stay unchanged while openstack api's, heat autoscaling, docker container orchestration, etc comes in and totally changes things.18:11
docaedoyeah my opinion is that heat doesn't do anything special that can't be replicated from ansible - ansible can be aware of what it's deployed, and manage the plumbing between the things it deployed, including scaling things up and down18:12
kfox1111totally disagree on that one. :)18:12
kfox1111heat stays running and can adapt to load. ansible is maintained on one machine and takes a user to do something.18:13
kfox1111(or stuck in a cron job).18:13
kfox1111I use ansible every day, and really like it, but it definatly is a different thing then heat.18:13
docaedothat's true :)18:13
kfox1111ansible still really only has the concept of machines last I looked. something you can ssh into and then run ansible stuff on.18:14
kfox1111has the same issues with lb's and such that chef and others have.18:14
kfox1111no dbaas, lbaas, securitygroup support, etc.18:15
kfox1111I'd like ansible or chef to manage security groups, since it knows which ones are appropriate to the software running on the node.18:15
kfox1111but having them done outside of the vm, inside the cloud is a much better security thing, then iptables inside the vm.18:16
kfox1111they only can do inside at the moment. :/18:16
kfox1111I'd really like a cloud aware config management system. :/18:16
kfox1111ansible's the closest I've found, just because through the dynamic inventory plugins, you can at least make ansible aware of the hosts/services that exist.18:17
kfox1111so, like: run this command on all vm's that use xyz glance image.18:17
kfox1111that part's awesome. :)18:17
kfox1111but what woudl be awesomer still is "deploy this webserver on this vm", and its smart enough to ensure the web security group is added to the vm too.18:18
kfox1111currently the only way to do something like that is two pass. deploy all the things with heat, then run asible across to do the rest. but that's a bit splitbrained for my tastes.18:19
docaedothere are tradeoffs and things ansible doesn't do - I guess my frustration is that heat aims to do a LOT of stuff, while much of the core base parts of openstack still need a lot of love, so I just get annoyed (like let's fix scheduler, image distribution, storage and networking - basic IaaS stuff to be GREAT at HUGE SCALE, then start worrying about all the things that tack on top of that)18:19
docaedorealistically though18:19
kfox1111its a open source thing though. the heat developers only care about developing on heat, not fixing those other things. Those other things will come in time.18:20
docaedokubernetes is going to do all the things, and get adopted on a much larger scale before Heat does all the things in a way everyone loves :)  (maybe)18:20
kfox1111in the mean time, I agree, its frustrating.18:20
kfox1111as an op/user.18:20
kfox1111yeah, kubernetes is interesting. but like all things hyped, it will settile into a nitch, and I think heat and kubernetes will coexist nicely.18:21
kfox1111I can totally see using heat to deploy cloud scaled apps that end up launching parts into kubernetes.18:22
kfox1111heat deploys a lb, and a set of containers into kubernetes managed vm's, and autoscales things.18:22
docaedoyes, they could coexist nicely that's true18:22
kfox1111one of the things I really like about heat, that I have'nt seen in many other systems,18:24
kfox1111is a relatively clean seperation between those who launch a stack (app user) and the developer of the stack (app developer).18:24
kfox1111the horizon form that lets users fill out settings to use to launch the instance.18:25
kfox1111chef/ansible/puppet/salt,etc all expect devops folks to be running the show. so, not as good for app catalog kinds of usage without some wrapers around them.18:25
kfox1111heat does seem well suited to having an application entry in a catalog, a user pics, fills out the form, and gets a working cloud app out of the other end, without having to be a dev.18:26
kfox1111there's huge value in that. more then I think the a lot of heat devs realize.18:26
*** kzaitsev_mb has quit IRC19:17
*** docaedo has quit IRC20:51
*** docaedo_ has joined #openstack-app-catalog20:56
*** docaedo_ is now known as docaedo20:56
*** kzaitsev_mb has joined #openstack-app-catalog21:32
*** kzaitsev_mb has quit IRC21:37
*** kebray has joined #openstack-app-catalog22:56
*** kzaitsev_mb has joined #openstack-app-catalog23:29

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