/srv/irclogs.ubuntu.com/2013/07/16/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== CyberJacob|Away is now known as CyberJacob
=== cmagina is now known as cmagina-away
=== CyberJacob is now known as CyberJacob|Away
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== CyberJacob|Away is now known as CyberJacob
AskUbuntuopenstack infrastructure help | http://askubuntu.com/q/32053806:44
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== CyberJacob is now known as CyberJacob|Away
negronjljcastro:  I may not able to finish it ... in London sprinting :/08:31
melmothhmmm, my charm.log says opened 123/udp, but i do not see any change in my vm security rules08:46
melmothhmm, probably because it s a subordinate charm.08:48
jcastronegronjl: we'll handle it here.12:29
marcoceppimelmoth: what provider?12:44
melmothmarcoceppi, openstack.12:45
melmothturned out it was related to the fact the charm is a subordinate12:45
melmothonce i exposed the container charm, i saw the security rules change12:45
marcoceppimelmoth: interesting13:08
melmothnot sure if it s a bug or a feature :)13:08
marcoceppimelmoth: probably a bug13:09
jcastromarcoceppi: liferay if you have time today13:18
jcastromarcoceppi: also if you do promulgate, rate it.13:19
jcastro*cough*13:19
marcoceppijcastro: I've carved out some time around lunch13:19
jcastroEXCELLENT.13:19
=== cmagina-away is now known as cmagina
jamespagemarcoceppi, do we have an agreed location for charm unit test?14:16
jamespageI think I'm correct in saying that the tests top-level directory is more charm integration testing type stuff right?14:17
marcoceppijamespage: Yes, so test(s)? directory in CHARM_DIR is functional testing, unit tests should live near the code of the file it's testing14:23
marcoceppijamespage: we've tossed a few ideas, but haven't agreed on anything yet, the idea was lib/<LIB_NAME>/tests14:23
jamespageaack14:23
pavelhow I can specify array type in config.yaml?14:29
marcoceppipavel: There are no array types in juju config14:31
pavelmarcoceppi, thanks14:31
marcoceppiTypically it's just string and you specify delimiter (, ; |) etc14:31
pavelyep14:31
=== cmagina is now known as cmagina-away
stokachuis it possible to have multiple subordinates related to one service15:15
stokachufor example i would like to expose my django app over gunicorn and have another webserver like monkey to serve the static files15:16
stokachuand all be on the same machine15:16
marcoceppistokachu: There is no limit to subordinates on a single machine, however becareful not to have them stomp on each other15:23
stokachumarcoceppi: yea i just ran into that and shutdown the whole unit15:25
stokachudoes it make sense to have a django application a subordinate to apache? reason I ask is im trying to figure out the best way to serve static files15:27
stokachucurrently apache is one instance, and django+gunicorn is another which is also where the static content is15:27
marcoceppistokachu: There's really no right or wrong answer, what works best for you and your charm/application is the right answer. Charms are designed to be opinionated reflections of how you/the serivces community does workloads15:29
stokachui gotcha15:29
marcoceppiPersonally, I'm not a fan of apache as a subordinate. It's too difficult to guess every possible workflow. When I need to be opinionated about web service to use in a charm I add it as a config option (many of my charms has an "engine" config option with apache2 and nginx being valid values)15:30
stokachumarcoceppi: with your setup do you install apache/nginx on the same system as the charm you are deploying?15:30
marcoceppistokachu: I will install either depending on the option provided by the user on the unit itself. That way I know what configuration files to place where, etc15:31
stokachumarcoceppi: ok cool that makes sense to me15:31
stokachuthat'll reduce my instance count too15:31
marcoceppistokachu: however, you don't even have to provide the option, if apache2 is the answer for you then use that. If someone else wants another web service they can add teh configuration option and submit a patch ;)15:32
marcoceppiIf you have a desire to use different engines, then I'd look for configuration options over subordinates15:32
stokachumarcoceppi: ok cool, i think ill look into that15:32
stokachumakes more sense to me than the subordinate does15:32
marcoceppiAgain, personally, I like to look at suborindates as a way to extend a service in to other unrelated services without the use of a relation. Like monitoring, shared file systems, etc15:33
jcastroyeah to me subordinates is "I need to tack on another service like backup"15:33
stokachuah so totally separate from the intention of the charm itself15:33
stokachuthat clears up a lot now15:33
marcoceppistokachu: gunicorn is of course the exception to my opinion, as it works quite well the way it's designed15:34
stokachumarcoceppi: agreed, ill just make note of it as being a 'special case'15:34
stokachuthanks guys you have just cleared up the rest of my confusion with the subordinates and relations15:35
marcoceppijuju's flexible to do most whatever you want, you just need to note of what makes sense for you and then shape that in to charms. We really don't have many conventions of what each type of charm should look like. It's very very lose and opinionated15:35
marcoceppicheers o/15:35
stokachumarcoceppi: yea i love the flexibility :D15:35
=== cmagina-away is now known as cmagina
=== defunctzombie_zz is now known as defunctzombie
=== cmagina is now known as cmagina-away
=== cmagina-away is now known as cmagina
_mup_Bug #1201879 was filed: Juju LXC deployment fails with abort error <juju:New> <https://launchpad.net/bugs/1201879>16:47
=== CyberJacob|Away is now known as CyberJacob
=== andreas__ is now known as ahasenack
jcastrohey adam_g17:58
jcastrodid you get my messages wrt. rating those 2 openstack charms?17:58
adam_gjcastro, dont think so. sorry, been out since thursday. still going thru inbox18:18
adam_gjcastro, not seeing it, when did you send18:20
jcastroIRC 2 days ago18:20
jcastroTLDR I need you to rate glance and cinder18:20
adam_gjcastro, oh, ok18:20
jcastroyou can either do that through manage.jujucharms.com18:20
jcastroor mail me the results for each one based on: https://juju.ubuntu.com/docs/authors-charm-quality.html18:21
jcastroand I'll rate them for you18:21
jcastroyou can basically just copy and paste to criteria into an email and then change the ones the charm doesn't do to +018:21
jcastroand I'll do the rest18:21
jcastrobut I need it by Friday EOD18:21
adam_gjcastro, email you the qualtiy assessment?18:21
jcastroyeah18:22
adam_gok18:22
jcastroI only need cinder and glance by Friday18:22
adam_gnote glance + cinder (and the other bash openstack charms) will have python rewrites proposed to charm store sooooon18:22
jcastrowill they be rewritten by OSCON?18:22
jcastroif no then I need the ratings before then. It should only take you like ~5min per charm to rate18:23
adam_gjcastro, we are targeting to have *most* of them at least done and ready for testing + review by this week EOW18:23
jcastroadam_g: ok then if you want to rate the new ones instead that's fine18:23
jcastroAs long as we have ratings for them for OSCON18:23
adam_gjcastro, i'll rate them as-is. the rewrites are functionally the same. the're just much cleaner and an improvement in terms of maintainability18:24
adam_goh, and not bas18:24
jcastroif you want to rate what they will support that's fine too18:24
adam_g*bash18:24
jcastroa few day discrepancy isn't a big deal18:24
marcoceppihazmat: is python-jujuclient packaged?18:25
marcoceppi"somewhere"18:25
adam_gmarcoceppi, https://launchpad.net/~ahasenack/+archive/python-jujuclient i think kapil mentioned this as a source last week18:26
marcoceppiadam_g: cool, thanks18:26
* rick_h still watches over here...19:34
arosalesjcastro, I don't see @ https://juju.ubuntu.com/docs/authors-charm-policy.html19:34
arosaleswhere it states a charm will be ack'ed if upstream is still not fully GA19:34
arosalesif the charm itself looks good why block it from the charm store?19:34
marcoceppiarosales: Well, with tests I don't see why we wouldn't let alpha services in19:35
arosalessorry I meant t say "where it states a charm will be _nacked" if upstream is still not full GA."19:36
marcoceppiit doesn't, but I dont' think it's a policy more an ethical thing19:36
jcastrothat's just a choice we decided19:36
arosalesmarcoceppi, if the charm itself looks good and follows the charm store guildlines then . .  .19:36
marcoceppiI don't want to say "DEPLOY DISCOURSE WITH THIS CHARM" then because of a change upstream (and there are a lot of changes) it doesn't deploy19:37
jcastrothe charm pulls from github, there's no guarantee it'll even deploy at any given point19:37
marcoceppiit makes juju look bad19:37
jcastroso we left it in ~marcoceppi19:37
marcoceppiSince the store is supposed to be golden19:37
jcastrowhen they hit 1.0 I think we should totally Feature it though19:37
marcoceppiSo, when testing gets better, I'd feel more confident saying "put it in the store"19:37
marcoceppibecause I'll know exactly when it starts failing to deploy19:38
marcoceppiOf if I can get sam & co to take over the charm upstream19:38
arosalesjcastro, marcoceppi what about the charm maintainer keeping a known good working version19:38
arosalesand the config option to pull from trunk19:38
marcoceppiarosales: it pulls "latest-stable" but that changes every week19:38
arosalesany charms that pulls directly from tip is at risk for a non-deploy19:38
marcoceppiso if it's pinned to a version that becomes out of date in a matter of days19:39
arosalesmarcoceppi, sure, but it deploys and I config change to get the latest19:39
marcoceppithey're seriously averaging 30+ commits to tip a day19:39
* arosales thinking about scenerio aside from discourse19:39
arosalesie when should the charm store not accept charms when upstram is moving to fast19:40
marcoceppiit's up to the maintainer at htat point19:40
marcoceppiI wouldn't halt a review because someone did that, I just don't have the time atm to keep up as a maintainer and truly offer a compelling charm experience with discourse + juju19:40
arosalesand thats fair19:40
arosalesit just sounded like jcastro was saying it was policy19:41
jcastrono, that was charm specific19:41
jcastrosorry, I didn't mean to imply that19:41
jcastroI mean, we could do the known-good-deploy thing, as soon as upstream does a release19:41
jcastrothey don't even really roll tarballs yet19:41
arosalesjcastro, gotcha. Thanks for clarifying.19:42
jcastrowe could do known-good github snapshops but I am pretty sure upstream wouldn't like that19:43
marcoceppiabout to roll out 0.4.0 of amulet with initial deployer support. Should have the rest of deployer integration ready by Thursday in time for next week19:43
jcastrothey want you on tip right now, so that's why we kept it out of the store for now19:43
arosalesmarcoceppi, made it good point of it being up to the maintainer wanting a good juju story.  Specifically, marcoceppi could push discourse into the charm store but would have to heavily maintain it am.19:44
arosaless/am/atm19:44
jcastromarcoceppi: hey I think I found a problem in your ninja CSS thing for the docs19:46
jcastrogo to http://juju.ubuntu.com/docs19:46
jcastroand check out the installation instructions19:47
marcoceppiI am checking them out19:47
jcastrothen click on "getting started" to get to the actual page then the proper instructions show up19:47
marcoceppiwat.19:47
marcoceppijcastro: OH19:47
jcastroyeah weird19:47
marcoceppithat's because there is two pages right now, index.html and getting-started.html19:47
marcoceppiI thought I commited a fix for that19:47
* marcoceppi checks19:47
jcastroalso did you see how I butchered the instructions19:47
jcastro2 lines.19:47
marcoceppijcastro: </319:48
arosalesjcastro, +119:48
marcoceppiI hope you moved the update-alternatives somewhere else19:48
jcastroto where?19:48
marcoceppipeople will ask, maybe a caveats section19:48
jcastroIS and m_3 know how to do it19:49
jcastrothat covers everyone right?19:50
marcoceppiROFL19:50
jcastroat this point if someone is like "I want local" we can say "wait a week"19:50
marcoceppijcastro: pushed index.html fix, will be out next doc build19:50
marcoceppi"I was using 0.7 and installed juju-core NOW EVERYTHING IS BROKEN"19:50
marcoceppimaybe it'll be a better question to link in the install page from Ask Ubuntu19:51
jcastroI can add a link but to what?19:51
marcoceppijcastro: put a link to AU in the docs19:51
jcastroIf you used Juju .7 and install 1.x it doesn't change the update-alternatives anyway19:51
jcastroyeah to which question?19:51
marcoceppijcastro: pretty sure it does?19:51
marcoceppijcastro: make one?19:51
marcoceppiOh, wait19:52
marcoceppiit's the other way around19:52
marcoceppiinstalling juju-core then installing juju pushes alternatives to 0.7 I think19:52
marcoceppinvm19:52
marcoceppiw/e mims knows19:52
jcastroyep19:52
* marcoceppi goes back to work19:52
jcastroand alternatives doesn't really work anyway19:52
jcastroeither way you need different environments.yaml19:52
jcastroso I don't think people are like just flipping it back and forth19:52
marcoceppijcastro: I've been flipping, but I have a different JUJU_HOME for juju-core, but yeah it's a much more advanced thing19:53
marcoceppithat will hopefully just go away soon19:53
jcastroyeah19:53
jcastrook so how about I point to this19:54
jcastrohttp://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage19:54
=== defunctzombie is now known as defunctzombie_zz
marcoceppijcastro: naw, I just wouldn't worry about it19:56
marcoceppiwhen local lands we'll just document it as a provider19:56
jcastrofixed it, a link won't hurt anybody19:56
=== defunctzombie_zz is now known as defunctzombie
=== thomi_ is now known as thomi
=== medberry is now known as med_
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== CyberJacob is now known as CyberJacob|Away
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie is now known as defunctzombie_zz

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