/srv/irclogs.ubuntu.com/2014/05/30/#juju.txt

AskUbuntuHow can I get the file from local server on my intranet instead of internet in hook install | http://askubuntu.com/q/47417800:08
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== tris- is now known as tris
=== roadmr_afk is now known as roadmr
=== isviridov is now known as isvirido
=== isvirido is now known as isviridov
=== isviridov is now known as isviridov|away
=== vladk|offline is now known as vladk
=== Ursinha-afk is now known as Ursinha
=== tedg is now known as ted
=== ted is now known as tedg
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== CyberJacob is now known as CyberJacob|Away
=== lazyPower is now known as lazypower-travel
=== vladk|offline is now known as vladk
vbnhttp://vk.com/away.php?to=http%3A%2F%2Fhaxxjp.net09:59
vbnhttps://zhovner.com/tmp/killwebkit.html hack for TELE09:59
sarnoldvbn: ?09:59
vbn?10:00
=== niemeyer_ is now known as niemeyer
vbnhttp://vk.com/club4323773210:01
vbnpaludis/monkey/arachnist ddos10:02
vbnhttp://vk.com/videos-43237732?z=video-43237732_168162885%2Fclub4323773210:03
vbnH@h@H@H@Hh210:03
vbnporno10:03
sarnoldperhaps you're not where you think you are.10:05
sarnoldinfo #juju10:05
bloodearnesttvansteenburgh: fyi, after the tmpdir change, this is what I get: http://paste.ubuntu.com/7550440/10:12
bloodearnesttvansteenburgh: what's doubly odd is that I have added local bzr repo to the two charms that didn't have it10:12
=== tris- is now known as tris
mthaddoncan anyone help with a local provider issue? http://paste.ubuntu.com/7550592/10:42
=== Ursinha is now known as Ursinha-afk
=== vladk is now known as vladk|offline
vbnporno11:05
vbnporno11:05
=== Ursinha-afk is now known as Ursinha
=== tedg is now known as ted
=== ted is now known as tedg
=== isviridov|away is now known as isviridov
=== vladk|offline is now known as vladk
tvansteenburghbloodearnest: hey, just starting my day12:03
* tvansteenburgh reads pastes12:03
bloodearnesttvansteenburgh: no problem, I'm switching to another task for now, but let me know if you need me to test anything12:07
tvansteenburghbloodearnest: cool, will do. should be fairly easy to repro locally (i hope)12:08
bloodearnesttvansteenburgh: fwiw, the 2 "inverse" charms are autogenerated from the charm-under-test's metadata.yaml, in order to only have to deploy 1 extra unit rather than n when testing.12:11
bloodearnestand to reduce external dependency count12:12
tvansteenburghbloodearnest: are you running HEAD from marcoceppi/amulet?12:32
bloodearnesttvansteenburgh: yes, installed via pip3 install --user git+git://github.com/marcoceppi/amulet.git12:33
tvansteenburghok thanks12:33
marcoceppisounds like we have a bug, also, we should do another release12:33
bloodearnesttvansteenburgh: only diff is that one line patch you said yesterday12:36
tvansteenburghokay12:36
bloodearnestmthaddon: I've seen that a few times in local on trusty. The juju state server stops taking connections. A destroy and rebootstrap usually fixes, but don't know the root cause. I think I saw a bug on it somewhere...12:38
mthaddonbloodearnest: thx, will try looking for a bug report12:46
tvansteenburghbloodearnest: when you have a min, undo the patch from yesterday and try this instead (works for me): http://pastebin.ubuntu.com/7551446/13:15
bloodearnesttvansteenburgh: ok13:27
bloodearnesttvansteenburgh: \o/13:34
bloodearnesttvansteenburgh: I still got an error, but that was in my charm13:35
tvansteenburghbloodearnest: suhweet.13:35
tvansteenburghbloodearnest: i'll get a PR submitted for this13:36
bloodearnesttvansteenburgh: is odd, I did try with an explicit abs path, but maybe that was before trying HEAD13:37
tvansteenburghyeah, you may have run into the vcs problem prior to being on head13:38
=== jcastro_ is now known as jcastro
khussmarcoceppi: i am getting error error: cannot run instances: gomaasapi: got error back from       server: 409 CONFLICT (No matching node is available. while running juju status14:58
khussnodes are in the ready state14:58
bloodearnestmarcoceppi: tvansteenburgh: so, next hurdle - I am trying to use amulet to deploy a "fat charm" that requires a build step before deploying15:09
bloodearnestI tried running the build step before running amulet, but it seems that if amulet finds a bzr repo in the charm, it checks out the latest revision, rather than copying the directory with it's local changes?15:11
tvansteenburghbloodearnest: i think it's deployer doing that, not amulet (not that is solves your problem)15:17
hazmatbloodearnest, deployer will do buildsteps automatically..15:18
bloodearnesttvansteenburgh: ah, right. But we use deployer to do exactly that in production deploy15:18
hazmatbloodearnest, if you have a build hook15:18
bloodearnesthazmat: we have a "make charm-payload" convention15:18
bloodearnesthazmat: are there docs on build hooks15:19
hazmatbloodearnest, build: path_to_script in each service15:19
hazmater in each charm15:19
hazmatbloodearnest, not really re docs.. it was a feature add from your team a while back afaicr15:20
hazmatported over from pyjuju days15:20
bloodearnesthazmat: really? I never heard of it15:20
bloodearnestmaybe from is15:21
bloodearnestIS15:21
hazmatbloodearnest, tvansteenburgh that does sound like an amulet issue wrt15:21
hazmatbloodearnest, oh.. yeah. from is15:21
hazmatsorry mixed streams15:21
bloodearnesthazmat: makes sense, but we still didn't know about it. It's a really good idea, will start to use it15:21
bloodearnesthazmat: so, the the charm's metadata needs a build: step?15:22
hazmatbloodearnest, if you skipped the make charm-payload  and had a build script that does the same ref' it from your deployer config you'd be good15:22
hazmatbut amulet's generating deployer config, so have to patch amulet15:22
hazmatbloodearnest, yup15:22
hazmatbloodearnest, not exactly..15:22
hazmatbloodearnest, each service referencing a charm in a deployer config, needs a build: relative_path_in_charm15:22
hazmatwhich specifies an exec to call to build the charm15:22
hazmatie. its deployer config not charm metadata.15:23
bloodearnesthazmat: amulet supports loading a deployer config, which it then modifies with the sentries as needed AIUI15:23
bloodearnesthazmat: right15:23
hazmatbloodearnest, you can also use db inspect plugin.. to bypass the need for sentries entirely..15:23
bloodearnesthazmat: do you still need an actually deployed service to relate your charm to when using db plugin? Or can it fake the whole relation?15:25
* bloodearnest would love to be able to fake relations15:25
hazmatbloodearnest, no you need the actual relations15:25
hazmatbloodearnest, fake for speed?15:26
bloodearnesthazmat: yeah15:26
hazmatbloodearnest, lxc + btrfs + apt-http-proxy is the speediest combo atm15:26
hazmater.. s/lxc/local15:26
bloodearnesthazmat: yep, that's what I'm running15:26
tvansteenburghbloodearnest: fwiw if you want to use Deployment.load() in amulet right now, you'll have to use https://github.com/tvansteenburgh/amulet/tree/lp-132427215:27
tvansteenburghfixes queued up here: https://github.com/marcoceppi/amulet/pull/3615:28
bloodearnesttvansteenburgh: thanks, good to know15:28
hazmattvansteenburgh, so what's the value add of amulet?15:29
bloodearnesthazmat: but a bootstrap/deploy/settle/test/destroy-environment per test adds up15:29
hazmatbloodearnest, oh.. that's test framework idiocy15:29
hazmatbloodearnest, i've patched to just do juju-deployer -TW15:29
hazmatwhich saves the bootstrap node15:29
bloodearnesthazmat: nice15:29
bloodearnesthazmat: which reminds me - juju-deployer defaults to the use the default juju api port, but if you have multiple local environments, with non-standard api server ports, is there a way to tell juju this?15:32
bloodearnests/tell juju/tell juju-deployer/15:32
hazmatbloodearnest, which version of deployer you using?15:32
hazmatbloodearnest, latest versions of deployer detect all of this correctly..15:33
* hazmat wonders if it did before anyways.. 15:33
hazmatit was parsing the jenv file for the exact state server address and port15:33
bloodearnest0.3.6, from stable ppa15:33
bloodearneston trusty15:34
hazmat0.3.8 is latest stable in pypi.. i don't generally push to ppas. there's a daily recipe though15:34
bloodearnestwill try from pypi15:34
bloodearnesthazmat: installing 0.3.8 with pip install --user -U juju-deployer, I get:15:37
bloodearnestImportError: cannot import name ErrorExit15:37
hazmatintersting15:38
hazmatbloodearnest, full traceback pastebin?15:38
hazmatbloodearnest, just did it in a virtualenv.. works fine15:39
bloodearnesthazmat: http://paste.ubuntu.com/7552241/15:40
hazmatbloodearnest, i get http://pastebin.ubuntu.com/7552245/15:41
hazmatbloodearnest, likely your package versions are interferring15:42
hazmatbloodearnest, that's why i'd recommend a virtualenv15:42
bloodearnestyeah, just tried in venv, got a different error, no bzrlib15:42
bloodearnestthis is fresh trusty vm, so could be missing some base stuff15:43
hazmatbloodearnest, re bzrlib.. you have to install bzr separately due to new pip insanity..15:43
hazmatbloodearnest, pip install bzr --allow-external bzr --allow-unverified bzr15:44
bloodearnestyeah15:44
hazmatthere's an extant bug for that one against deployer.. its a bit lame though.15:44
hazmati'm hoping this will fix the pip insanity.. http://lwn.net/SubscriberLink/599793/a595880fa4546f4c/15:44
hazmateither that or we get bzr uploaded to pypi15:45
bloodearnesthazmat: et voila. Will use this env for further testing, thanks15:48
hazmatbloodearnest,fwiw  re test without reboot lp:~hazmat/charm-tools/dont-waste-my-time15:59
rbasakmgz, sinzui: did you say that bug 1320891 shouldn't be able to happen again? Or is it exactly the same as the external dependency change/availability issue?16:16
_mup_Bug #1320891: make-release-tarball.bash fails with godeps failure <juju-release-tools:Fix Released by sinzui> <https://launchpad.net/bugs/1320891>16:16
sinzuirbasak, it is less likely to happen16:17
sinzuirbasak, since we go over the network to get deps. a failure can always happen and it will fail because there are unmet deps16:17
rbasaksinzui: OK, so let's say that in the future we eliminate the network failure possibility by caching all dependencies locally. In this case, is it possible that something like bug 1320891 could recur, or is that fixed now?16:24
_mup_Bug #1320891: make-release-tarball.bash fails with godeps failure <juju-release-tools:Fix Released by sinzui> <https://launchpad.net/bugs/1320891>16:24
sinzuirbasak, locally for whom?16:25
rbasaksinzui: whoever is running make-release-tarball.bash16:25
sinzuirbasak, understood. there are several competing projects try to solve go's love ovf tip16:26
sinzuirbasak, the issue remains that if you have never run the script before, you don't have a cache. As I/jenkins are origins of source packages, do you mean that we should be using a cache?16:27
rbasaksinzui: I think so, yes. We should (in the long term) maintain a cache somehow, whether that is via a vendor branch or something else.16:28
sinzuirbasak, yeah, go wont accept that16:28
rbasakIf I then wanted to run make-release-tarball.bash myself, I'd be able to (ideally) get access to that same cache.16:28
mgzwe could just generate tarballs on jenkins...16:28
sinzuithough I have used proxies and falsified certs to make that happen on closed networks16:28
rbasakThis is basically what we have already in the Debian world of source packages and build dependencies.16:29
rbasak(but that doesn't apply to go here because of how it is different)16:29
* sinzui is not saying he is proud of that, but putting together a https file server claiming to be someone else to make juju work is awesome16:29
rbasak:)16:29
mgzsinzui: what do I still need to do to plug in all the git builder bits...16:42
sinzuiA script that calls or sources the make-release-tarball script, then calls the run-unit-tests script16:43
mgzsinzui: I can just do that in place in the job, right?16:44
mgzand I set up the gui tool on the cron16:44
=== Ursinha is now known as Ursinha-afk
mgzsinzui: I'll get to it.16:44
sinzuiyou can to prove what you want to do. I think a proper script can be written later (version controlled)16:44
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
josearosales, mbruzek: ping17:03
mbruzekjose, we are just finishing up our other meeting.17:03
josenp17:03
arosalesjose: sorry on my way17:05
james_w`hi17:33
james_w`I have a local juju env, and one of the units has started failing17:33
james_w`it's failing to talk with 127.0.0.1:3701717:33
james_w`what is supposed to be running there?17:33
sebas5384james_w`: mongodb i think...17:34
sebas5384jcastro: do you know what else than change the storage port is needed to bootstrap more than one local env?17:41
sebas5384can't find anything more about that17:41
jcastroI believe we don't specifically support multiple local environments17:41
jcastrojames_w`, do all subsequent units also fail to talk? or just the one?17:42
sebas5384jcastro: oh... i see..17:43
jcastrosebas5384, I know some people have gotten it to work17:44
jcastrosebas5384, but it seems to be very "here be dragons"17:44
jcastrosebas5384, I think splitting it into say, 2 VMs with one LXC environment in each would be cleaner17:45
sebas5384jcastro: hehe i imagine is not an easy task17:45
sebas5384jcastro: tell me more about that, so you are talking about having one vm with the juju(client) and in the other vm the lxc ?17:46
sebas5384that's possible???17:46
sebas5384because that would be really awesome, like having a juju-remote thingy hehe17:47
jcastrono I mean 2 vm's, and inside you have the LXC containers17:47
jcastrobut they'd be 2 different environments17:48
jcastroso like, take 2 vagrant boxes ... with the LXC containers in each one17:48
sebas5384so a vm for each juju-local?17:48
sebas5384ok17:48
=== roadmr is now known as roadmr_afk
jcastroyeah17:54
sebas5384jcastro: in the doc haves something like "Override the shared storage port if you have multiple local providers, or if the default port is used by another program."17:56
=== alexisb is now known as alexisb_lunch
khussjuju status shows error: cannot run instances: gomaasapi: got error back from       server: 409 CONFLICT18:03
khussthe nodes are in ready state18:04
jcastrosebas5384, yeah that conflicts with what thumper told me as to what they support.18:04
sebas5384jcastro: http://askubuntu.com/questions/470917/can-i-have-multiple-local-juju-environments18:05
jcastrosebas5384, can you ask on the list what the status of support is on multiple local providers?18:05
sebas5384i'm trying that approach18:05
jcastrook18:05
sebas5384jcastro: of course :)18:05
jcastroalso, we're having the Ubuntu Online Summit in 2 weeks18:05
sebas5384uhuu18:05
sebas5384where?18:05
jcastroif you want to join in on the hangouts, we're going to do like a bunch of classes, etc.18:05
jcastroit'll be online, on g+ and here18:06
sebas5384great!! jcastro i'll be online then18:06
sebas5384jcastro: if there's any thing i can help :)18:06
jcastroI'm sending an announcement to the list18:06
jcastrosebas5384, yeah people can submit sessions for whatever they want, I'll put the instructions in the email18:07
sebas5384some folks here are now using the drupal charm with a juju-local :)18:07
sebas5384great! i will be waiting the info18:07
=== roadmr_afk is now known as roadmr
=== CyberJacob|Away is now known as CyberJacob
khusshas anybody seen this error message while trying to deploy a service?18:27
khussRROR 2014-05-30 13:26:36,274 maasserver ################################ Exception: No matching node is available. ################################ ERROR 2014-05-30 13:26:36,274 maasserver Traceback (most recent call last):   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response     response = wrapped_callback(request, *callback_args, **callback_kwargs)   File "/usr/lib/python2.7/dist-packages/dj18:27
james_w`jcastro: it appears to have spread to all units20:08
james_w`(sorry, had to dash to the dentist)20:08
james_w`I thought mongo would be run on the bootstrap machine, rather than each individual unit20:09
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
arosalesJuju is a finalist at IBM's App ThrowDown21:21
arosaleshttp://ibmappthrowdown.tumblr.com/21:21
arosalesfeel free to browse the selctions and cast your vote21:22
=== Ursinha-afk is now known as Ursinha
=== alexisb_lunch is now known as alexisb
sebas538_more than one juju-local running in the same machine, hell yeah!22:41
=== sebas538_ is now known as sebas5384
* sebas5384 is happy22:42
=== hatch__ is now known as hatch
=== CyberJacob is now known as CyberJacob|Away
designateddoes anyone know if juju charms have a problem accepting a bonded, vlan tagged interface as opposed to something like eth0?  I created a 2x10Gbe bond with 802.1q tagging, will referencing bond0.10 for example, present a problem for charms?23:12
=== sebas538_ is now known as sebas5384
sebas538_hey!23:59

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