/srv/irclogs.ubuntu.com/2014/11/18/#juju.txt

=== kadams54 is now known as kadams54-away
=== CyberJacob is now known as CyberJacob|Away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== Spads_ is now known as Spads
=== kadams54-away is now known as kadams54
=== urulama___ is now known as urulama
=== kadams54 is now known as kadams54-away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== fuzzy_ is now known as Fuzai
rick_h_juju gui release love http://jujugui.wordpress.com/2014/11/18/juju-gui-1-3-0-released-now-with-added-services-view-2/ and https://plus.google.com/116120911388966791792/posts/7TAs5UiubKj and https://plus.google.com/116120911388966791792/posts/cbnGW5iw2Hy11:17
stubAre there any magic filenames that are ignored when juju packages a charm for deployment? I want to have a Python virtualenv in my charm directory containing pip installed package dependencies, which all goes well until deployment fails due to it containing symlinks outside of the charm.13:31
rick_h_stub: we build them in the charm13:50
rick_h_stub: you might be interested in our 'make deploy' target stuff http://bazaar.launchpad.net/~juju-gui-charmers/charms/trusty/juju-gui/trunk/view/head:/Makefile#L6813:50
rick_h_stub: we use that so from our dev checkout we can rerun that and redeploy the charm and have it build/etc.13:51
stubrick_h_: That seems to be what I'm doing, except when things get as far as amulet invoking juju-deployer invoking juju, it explodes because the charm contains the .venv containing symlinks outside of the charm directory.13:52
stubrick_h_: Do you repackage your charm without the .venv and deploy that instead?13:52
rick_h_stub: I'm double checking what the deploy target does. I believe so.13:53
rick_h_stub: because when we do a real release the charm builds the venv from a local download cache of the python deps13:53
rick_h_stub: so that way it mirrors a real deploy13:53
stubMy .venv is being used to install dependencies the amulet tests need, so I don't need it pushed as part of the charm.13:54
rick_h_stub: yea, we split that into test-requirements and actual requirements13:54
rick_h_stub: so we've got the  server-requirements.pip vs test-requirements.pip13:56
=== skay_afk is now known as skay
=== skay is now known as Guest13534
lazyPowercargill_: cheers on your mail to the list, thanks for the follow up14:06
stubI'm getting very confused.14:11
stubOn one hand, my amulet tests fail to deploy if they contain symlinks outside of the charm. These are not under revision control.14:12
stubIf I remove the symlink issue, I have a different problem where only the version of my charm that has been committed is being tested, with uncommitted changes ignored.14:13
stubis this explainable, or do I just need to try again tomorrow with a freshly caffeinated brain?14:14
jcastromarcoceppi, ping14:15
lazyPowerstub: do you have 2 copies ofthe charm in your juju_repository?14:16
rick_h_stub: ok, so there's something there in that. I know we hit an issue because amulet bzr'ifies your stuff? We hit issues with our git charm because of amulet trying to do bzr things but we wre using bzr-git and there was no .bzr. So I wonder if amulet is messing with you14:17
stublazyPower: I no longer have $JUJU_REPOSITORY set (separate bug - amulet packaging up the charm I'm development and stuffing it in there without permission)14:17
stubrick_h_: I suspect it is actually juju-deployer hiding in there, but yeah, sounds familiar14:18
=== skay_afk is now known as skay
lazyPowerstub: just making sure you weren't hitting this: https://bugs.launchpad.net/juju-core/+bug/126017014:20
mupBug #1260170: local charms are not deploy by filename <charms> <deploy> <juju-core:Fix Released> <https://launchpad.net/bugs/1260170>14:20
lazyPowertvansteenburgh: How much bzr magic are we still doing in amulet?14:25
* tvansteenburgh reads scrollback14:25
lazyPowerstarts at 9:11:5914:26
lazyPowero, no it goes further back, my b14:26
tvansteenburghstub: yes this is a limitation of amulet, b/c it's a limitation of deployer14:26
stubta14:27
stubI can probably stuff my charm through tar into a tempdir and have amulet test that instead14:28
tvansteenburghi noticed recently that we pass -L to deployer from amulet; removing that may solve the "doesn't deploy uncommitted changes" prob14:28
stubI'll look at that tomorrow, maybe a patch to amulet is possible.14:28
* stub wanders off in search of late dinner.14:29
=== roadmr is now known as roadmr_afk
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== roadmr_afk is now known as roadmr
=== kadams54 is now known as kadams54-away
mbruzekHey lazyPower someone opened a bug for a new charm, but it is not yet ready for review.  What is the correct state for the bug to keep it from going in the review queue?15:27
mbruzekI was thinking "In Progress" but there is also "Incomplete"15:28
lazyPowerIIRC we just need to set the bug to "in progress" or "incomplete" and leave a follow up15:28
lazyPowerthe status + comment combo will do its due dilligence to put it in teh proper bin in the queue15:28
lazyPowerwhen the bug author makes an update, it will see activity and move it back into the active state in the queue15:29
lazyPowerrick_h_: quick update - worked on the first load, reloading the page brought the breakage to ff15:31
lazyPowergah wrong channel - sorry :(15:32
rick_h_lazyPower: it's ok, I'll find you whereever you hide15:32
lazyPowerabandon thread!15:33
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
hazmatstub, tvansteenburgh, deployer uses the standard bzr api... it should work with plugins .. but its only going to do it if you specify vcs for the charm16:08
hazmattvansteenburgh, oh.. uncommitted changes, yeah -L should do it16:09
hazmatstub, tvansteenburgh, the alternative is don't use branch: to pull the charm.. not sure if amulet is doing something around that16:10
tvansteenburghhazmat: in a deployer file is it possible to specify a local charm w/o using branch: ?16:16
hazmattvansteenburgh, definitely .. just set JUJU_REPOSITORY   and use charm: charm_name16:16
tvansteenburghhazmat: ok cool, i may be able to make amulet handle this better then16:17
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
mgzgnuoy: bug 139260216:55
mupBug #1392602: local provider agent fails to restart on reboot of host - log dir missing <local-provider> <lxc> <regression> <juju-core:In Progress by wallyworld> <juju-core 1.21:In Progress by wallyworld> <https://launchpad.net/bugs/1392602>16:55
jcastrohey lazyPower16:59
lazyPoweryo yo jcastro17:00
jcastroany videos from last week worth posting on insights? are they reusable or were they specific?17:00
lazyPowerjcastro: everything from day 1 was instructional17:02
lazyPowerspecifically the first 5 minutes charming, and charm testing17:02
jcastrook so I can reuse those?17:02
lazyPoweryep17:02
lazyPowercharm helpers didn't do as deep of a dive as I would think useful - we covered a lot of what is in there, and how to get into it + some of the future of charm helpers17:03
lazyPowermaybe give that one a watch and make a yey/ney vote - but i'm leaning towards ney17:03
lazyPowerjcastro: also the open feedback session was stellar17:06
jcastromight want to post a link to it to the list?17:06
jcastroI'm looking for the reusable ones for the website.17:06
=== Spads_ is now known as Spads
=== kadams54 is now known as kadams54-away
mgzgnuoy: you can find the lxc-specific log for start issues in for eg /var/lib/juju/containers/ubuntu-local-machine-1/container.log17:40
=== kadams54-away is now known as kadams54
gnuoymgz, http://paste.ubuntu.com/9075776/18:07
mgzgnuoy: first ERROR line in that paste seems the relevent part, not sure why you're getting that18:13
mgzgnuoy: check your lxc mount settings?18:14
=== CyberJacob|Away is now known as CyberJacob
skayis anyone around who works on the python-django charm?18:50
josercj: ping18:54
joseskay: hey, what's up? probably can give you a hand18:54
skayjose: there are some changes I'd like to propose, but it looks like there is a big merge request about to land. does Patrick hang out here? I was wondering when it might land18:55
skayjose: I'd like to have an option to pip install from local files18:56
joseavoine: ^18:57
skayjose: so basically, for example, pass --no-index --find-links=wheelhouse -r requirements/ci.txt18:57
josehe hasn't been around for about 4h, so probably not here18:57
joseif the MP is open, then it should be landing soon (if no errors are found)18:57
skayand while I was looking at that, I see that you can import some things from pip, and maybe could call it directly. on the otherhand, it's not a public api so that could be a bad idea18:58
skayjose: there's a failing test for hte merge request, and I don't know where he is on fixing that. no new comments18:59
joseskay: lemme check, one sec!18:59
skayI could clone his branch and do what I need and then hop the merge request lands soon, then propose changes18:59
skaybut I'd rather not19:00
joseskay: that will probably create a merge conflict, since the lander is usually someone different and revisions and stuff19:00
joseskay: could you PM me your email address? I'm going to send an email to Patrick and CC you in, asking for the status. sounds good to you?19:00
skaysure19:00
josecool :)19:01
avoineskay: hi19:22
skayavoine: hi19:23
skayavoine: I'm interested in having python-django be able to install dependencies from local files. is this something that you'd like in python-django?19:24
avoineskay: you could probably use the pip_extra_args config variable19:24
* avoine is reading the backlog19:24
skayavoine: oh thanks, I missed that! that may be all I need!19:25
* skay is looking through source code19:26
avoineskay: hmm, It won't with the charm currently in the store I think19:27
avoinewon't work19:27
skayokay, looking through pure-python branch now (that one?)19:27
avoineyeah this is the target for charm store19:28
skayavoine: I'll go ahead with using that one for now and maybe post to the juju mailing list if I need help (or chat here)19:29
josemarcoceppi: is there any way to force-update the review queue? it's taking me through several items that have already been promoted19:30
avoineskay: the pip_extra_args was added in an other version of the charm but the code was never backported to the pure-python branch19:31
avoinebut that would not be too hard to do19:31
skayavoine: oh. I see the config file with the option is in the pure-python branch. (I just checked)19:32
skayI haven't checked the source code yet to verify that it uses it though19:32
skayI guess if it is not backported, I could make my own branch and use that for now?19:32
=== kadams54 is now known as kadams54-away
avoineskay: yes you could do that19:35
skayavoine: which branch is using the extra args feature?19:35
avoineskay: this one: http://bazaar.launchpad.net/~patrick-hetu/charms/precise/python-django/ansible/files19:36
josewhit: ping19:37
whithey jose19:37
josewhit: have a min?19:37
whitjose, kinda in the middle of something19:37
josewhit: was just wondering where you had found the typos on https://bugs.launchpad.net/charms/+bug/1374085/comments/5, since I cannot find them19:38
whitjose, ah, whatever. what's up?19:38
mupBug #1374085: New Shoutcast Charm <Juju Charms Collection:In Progress by lazypower> <https://launchpad.net/bugs/1374085>19:38
jose:P19:38
josefound the '(p)assword' one, but cannot find the admin one19:39
whitjose, in the readme?19:39
lazyPoweroh my, i put assword as a config options. Clever19:39
jose:P19:40
whitiirc, I noticed it because it broke cutting and pasting19:40
josehehe19:40
joseerm, let's check...19:40
josefound it19:40
whitcool19:40
josethanks :)19:40
whitnw19:40
=== kadams54-away is now known as kadams54
skayavoine: from a cursory glance, it seems only people who are using ansible in conjunction with juju will be able to use the pip_extra_args feature19:53
skayavoine: please let me know if I've misread things19:53
avoineskay: no your right19:53
skayavoine: maybe I could fork teh pure-python branch and then make a change so that I can use that with the hook.py code. would that be something helpful to contribute later? or perhaps someone is doing that already19:54
* skay wants to use a charm store charm, ultimately19:55
avoineskay: I'll merge your changes for sure19:56
joselazyPower, mbruzek, marcoceppi: authorization to promulgate shoutcast (https://bugs.launchpad.net/charms/+bug/1374085), haven't found any errors19:57
avoineskay: as soon as the branch is merge in the store we could add feature to it19:57
mupBug #1374085: New Shoutcast Charm <Juju Charms Collection:In Progress by lazypower> <https://launchpad.net/bugs/1374085>19:57
lazyPowerI'll defer to mbruzek as i'm the author19:58
joseack19:58
lazyPowerjose: did you fix up those typos for me?19:58
lazyPoweri dont think we want end users looking for ***word19:58
joselazyPower: I did, don't worry. people won't have to set that config option :P19:58
lazyPowersolid19:58
rcjjose, I'm at a sprint this week but I can't get to work on the nrpe charm test failure next week if not sooner.19:59
josercj: sounds good, thanks :)19:59
rcjjose, that was the question, right?  not sure now reading the backlog if I confused this with conversation you were having about the  python-django charm.20:00
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== wendar_ is now known as wendar
=== kadams54 is now known as kadams54-away
=== Spads_ is now known as Spads
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== Spads_ is now known as Spads
mgzgnuoy: try deleting /var/lib/lxc/juju-trusty-template or similar, Ian suggests21:34
gnuoyack, will do21:35
gnuoymgz, wallyworld_ fixed !21:38
gnuoythank you21:38
wallyworld_gnuoy: that's good news, and highlights something we should deal with21:39
gnuoytip top21:39
wallyworld_thanks for finding the issue21:39
jrwren150% faster mongodb deploys: https://code.launchpad.net/~evarlast/charms/trusty/mongodb/trunk/+merge/242136  eco folks ;]21:40
=== Spads_ is now known as Spads
=== kadams54 is now known as kadams54-away
rcjjose, Just re-read my earlier comment and realized that I mis-typed.  I can't get to work on the nrpe charm until next week most likely.22:42
lazyPowerjrwren: merged22:46
=== CyberJacob is now known as CyberJacob|Away
jrwrenlazyPower: ! thanks!23:03

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