Wednesday, 2016-08-24

*** spzala has quit IRC00:00
*** docaedo4 has quit IRC00:25
*** docaedo4 has joined #openstack-app-catalog00:26
*** docaedo4 has quit IRC00:31
*** docaedo4 has joined #openstack-app-catalog00:31
*** docaedo4 has quit IRC00:41
*** pvaneck has quit IRC00:46
*** kzaitsev_mb has quit IRC00:53
*** docaedo4 has joined #openstack-app-catalog01:08
*** kzaitsev_mb has joined #openstack-app-catalog01:49
*** kzaitsev_mb has quit IRC02:11
*** spzala has joined #openstack-app-catalog02:25
*** kzaitsev_mb has joined #openstack-app-catalog02:37
*** kzaitsev_mb has quit IRC02:53
*** spzala has quit IRC03:50
*** kzaitsev_mb has joined #openstack-app-catalog03:50
*** kzaitsev_mb has quit IRC05:10
*** kzaitsev_mb has joined #openstack-app-catalog06:07
*** kzaitsev_mb has quit IRC06:30
*** kzaitsev_mb has joined #openstack-app-catalog07:27
zynzelguys, im working on automation for app-catalog deployment (especially for appcatalog glare backend/plugin). https://review.openstack.org/#/c/359029/08:09
zynzelThe biggest problem i see currently is lack of app-catalog pip packages, i think that we should have pip package for app-catalog + pip package for app-catalog/contrib/glare, otherwise our automation will look like puppet-monster (use vcsrepo to get code + exec with pip)08:10
zynzelthis is not way to deploy any software on production08:10
zynzelmoreover i think that we should create some cli wrapper over manage.py (ex. appcatalog-manage), which will handle all app-catalog maintenance actions (collectstatic, compress, update_assets, move_to_glare)08:11
zynzelwe should not force user to go /usr/local/lib/python2.7/dist-packages/openstack_catalog and perform some manual executions of manage.py :)08:11
kzaitsev_mbzynzel: sorry, but this sounds wrong ) does nova or glance has a pip package?08:11
zynzelkzaitsev_mb: they have *.deb/*.rpm packages, so you can also create *.deb/*.rpm08:12
kzaitsev_mbhow do you deploy nova or glance? =)08:12
zynzelbut pip is much easier (a few lines of code)08:12
kzaitsev_mbzynzel: exactly =) a deb/rpm package is the way08:13
kzaitsev_mbI would argue, that prod developments don't use pypi08:13
zynzelkzaitsev_mb: for me, no difference if i will deploy software with *.deb/*.rpm or pip :)08:13
zynzelonly request for production is to have any kind of package :)08:13
zynzeland pip is simpliest :)08:13
zynzelkzaitsev_mb: please show me SINGLE ONE, automation tool which will deploy software from sources on production :)08:14
zynzelevery manifest/cookbook will install software from some kind of packages08:14
zynzeland not from git+pip on directory08:14
kzaitsev_mbzynzel: I'm not saying that you should install from source08:15
zynzelkzaitsev_mb: so how you want to install this?08:15
zynzelif not packages and not from source?08:15
kzaitsev_mbI'm saying that pip is not a reliable source of installation, while deb/rpm are08:15
kzaitsev_mbI never said you should not install from packages, good sir =)08:15
zynzelagree, but im trying to find price-to-performance solution :)08:15
zynzelpip would be much better than current approach, and much faster than *.deb :)08:16
zynzelbut if community will choose *.deb, im more than happy :)08:16
kzaitsev_mbzynzel: well, there is a reason there is no nova on pypi (actually there is but it's kilo)08:16
zynzelso in general, we agree that we should have some kind of package, not necessary pip :)08:17
zynzeland what do you think about cli wrapper for manage.py?08:17
kzaitsev_mbI'm not sure what you're talking about. what cli wrapper do you want?08:18
kzaitsev_mbHaving a pypi package is actually quite easy with current infra — you won't even need to package anything I believe. I'm just sayin that none of the non-client/non-lib projects does that. And there is probably a reason behind that08:21
kzaitsev_mbzynzel: also are you talking about backend catalog stuff or app-catalog-ui?08:22
zynzelkzaitsev_mb: everything, app-catalog-ui and app-catalog-backend (we will probably prepare also automation for glare)08:23
zynzelkzaitsev_mb: wrapper over /usr/local/lib/python2.7/dist-packages/openstack_catalog/manage.py08:23
zynzelwe should not force user to execute any commands from python module source dir08:24
zynzelex. compress, update_assets or move_to_glare script08:24
kzaitsev_mbfyi: app-catalog-ui is already packaged by debian https://packages.debian.org/search?keywords=python-app-catalog-ui08:25
kzaitsev_mbthese pacakges can be transfered to UCA (I just haven't had the time to figure out the whole procedure)08:26
zynzelok, but we need to package app-catalog itself + package app-catalog/contrib/glare to dedicated package08:26
kzaitsev_mbzynzel: do you really need that — a copy of the apps.openstack.org? =)08:28
kzaitsev_mbnot saying you dont08:28
kzaitsev_mbjust wondering the use case )08:28
zynzeli can imaginate consumers for that, moreover this will be also ued by infra team08:29
zynzelpackages would be much easier to maintenance/install by automation tools08:29
*** pcaruana has joined #openstack-app-catalog08:29
zynzelyou can check current implementation for installing app-catalog (https://review.openstack.org/#/c/359029/4/manifests/init.pp)08:30
zynzeland this looks like creap, because of vscrepo+exec(s)08:30
zynzelpuppet automation should use package{} provider to install software, and not custom execs :)08:30
zynzelexec{} should be treated only as "i dont know how to do this properly in puppet" :)08:30
kzaitsev_mbzynzel: both the package and the code should be smart enough to replace (at the very least) all occurrances of app.openstack.org to smth new. And probably the 'how to contribute thing' also08:32
kzaitsev_mbzynzel: oh, btw, you should ping docaedo and sskripnick — they're currently working on adding glare backend there )08:33
kzaitsev_mbzynzel: sorry if I sound dull =) it's actually great to see a newcomer eager to make app-catalog better =)08:33
zynzelkzaitsev_mb: i already discussed this, we agree with docaedo that we should also discuss this with community08:33
zynzeland on with priv messages :)08:34
zynzeland not with priv*08:34
kzaitsev_mbso my thoughts — we need to see why folks like nova/glance doesn have pypi packages. We should probably use deb/rpm. App-cat code should be smart enough to allow launching it on domens other than app.o.o08:36
zynzelagree :)08:37
zynzelif i will have packages, probably automation can be delivered in less than 2weeks08:38
zynzelmaybe not all possibles scenarios will be handled, but it will allow to deploy this by infra, and by 3rd party as standalone service on own infra08:38
zynzelif anybody have share any thoughts on this, i will be more than happy to discuss :)08:41
*** kzaitsev_mb has quit IRC08:49
*** kzaitsev_mb has joined #openstack-app-catalog08:50
*** kzaitsev_mb has quit IRC09:01
*** kzaitsev_mb has joined #openstack-app-catalog10:52
openstackgerritNikolay Mahotkin proposed openstack/app-catalog: Updating description of CI/CD application  https://review.openstack.org/35980511:27
*** openstackgerrit has quit IRC13:26
*** openstackgerrit has joined #openstack-app-catalog13:27
*** kzaitsev_mb has quit IRC13:56
*** kzaitsev_mb has joined #openstack-app-catalog14:04
docaedoI have not caught up with the backscroll, but I can say making debian packages is a gigantic pain in the ass :)14:57
docaedoand since the community app catalog was not meant to be a local catalog that could be installed in any environment, we've never been focused on making it something easy to consume14:58
docaedothink of it like ask.openstack.org - that's intended to bring together a community, and managed by OpenStack foundation, but they do not package that up so that other people can easily create their own copy of ask.openstack.org14:59
docaedoapps.openstack.org is not something that will be deployed thousands of times, it will generally only be deployed when the VM hosting it needs to be re-deployed .. so in that context I would argue having it on pypi would be sufficient packaging15:00
docaedozynzel: "we should not force user to execute any commands from python module source dir" .. in this case we are talking about a single user, and that user is OpenStack Infra team who will deploy the site. We should get their opinion on this, I do not think they mind, as that's kind of how things work already15:01
docaedozynzel: the reason the site installs from master/vcsrepo right now is because it's a very simple site that actually does re-deploy from master every time a new commit merges15:03
docaedozynzel: that requirement will go away when all assets are stored in glare, so the importing into glare is a thing that should happen one time (when we are ready to transition to glare backend)15:03
docaedozynzel: but that doesn't mean we need to work on building packages that can be distributed.  .. In fact if we continue to deploy from master, that makes it a lot easier for us to make changes to the site without requiring operator intervention15:05
docaedoI'm fine with pip packages, but I will argue against spending time and effort to make apps.openstack.org something that can be easily deployed and works on every platform (no reason to test this on RHEL since we'll always be hosted on Ubuntu for instance)15:06
docaedozynzel: app-catalog-ui is the thing that needs improvement and packaging - and that would be awesome if you could work on making that something as easy as apt|yum install app-catalog-ui :)15:06
openstackgerritVitaly Lopatkin proposed openstack/app-catalog: Add io.iron.IronWorker to catalog  https://review.openstack.org/35994515:11
openstackgerritMerged openstack/app-catalog: Updating description of CI/CD application  https://review.openstack.org/35980515:24
*** kzaitsev_mb has quit IRC17:29
openstackgerritMerged openstack/app-catalog: Add io.iron.IronWorker to catalog  https://review.openstack.org/35994518:29
*** pvaneck has joined #openstack-app-catalog18:32
*** kzaitsev_mb has joined #openstack-app-catalog19:09
*** kzaitsev_mb has quit IRC19:46
*** kzaitsev_mb has joined #openstack-app-catalog20:27
*** zigo has quit IRC22:56
*** zigo has joined #openstack-app-catalog22:57
*** kzaitsev_mb has quit IRC23:20

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