/srv/irclogs.ubuntu.com/2015/04/03/#juju.txt

=== scuttlemonkey is now known as scuttle|afk
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
* dimitern seems to be the only one here today :o)08:42
=== urulama is now known as urulama|lunch
=== urulama|lunch is now known as urulama
=== lp|away is now known as lazyPower
lazyPowerLots of good announcements yesterday :)13:11
lazyPowerdimitern: at least we're going out on a high note for the week :D13:11
dimiternlazyPower,  :) oh yeah\14:06
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== lazyPower is now known as lp|away
redelmannhi, is safe to deploy block-storage-broker to machine0??19:06
redelmanncreate one instance just to manage credential is overkilling19:07
skaywhen trying to run bundletester in johnsca/charmbox I have this problem http://paste.ubuntu.com/10732721/19:26
tvansteenburgh1skay: try installing bzr19:30
tvansteenburgh1in the container, ie `sudo apt-get install bzr`19:30
skaytvansteenburgh1: bzr is installed.19:30
tvansteenburgh1hrm19:30
skayit's installed in the container, and I've also done some rounds of doing bzr launchpad-login, copying some ssh keys that I have with lp19:31
skayand I'm giving up and want to start from ground 0 with troubleshooting19:31
tvansteenburgh1can you `bzr branch lp:charmers/precise/python-django` manually?19:31
skaydid I miss any steps?19:31
marcoceppi_tvansteenburgh1: that's not the righ command, should be lp:charms/precise/python-django19:32
skaytvansteenburgh1: no, but I can bzr branch lp:charms/python-django19:32
tvansteenburgh1skay: try bundletester with lp:charms/precise/python-django19:33
tvansteenburgh1(assuming you actually want precise)19:33
lp|awayredelmann: thats an acceptable colocation use case.19:33
skaytvansteenburgh1: I just did, and the same thing happened19:34
lp|awayredelmann: however this is with the assumption that it's going to be a precise bootstrap node - hopefully that wont cause you any headaches?19:34
lp|awaya nice alternative would be to deploy it to a LXC container, colocated somewhere :) juju deploy --to lxc:# cs:precise/block-storage-broker19:35
redelmannlp|away: actually im using trusty/block-storag-broker19:35
redelmannlp|away: simple cloning it into local/trusty19:35
tvansteenburgh1skay: pastebin the contents of the django.yaml in the traceback19:36
lp|awayredelmann: right, it hasn't been pushed to trusty as its pending amulet tests19:36
lp|awaycarry on then :)19:36
redelmannlp|away: im in testing enrimont for the moment, everithing look fine for now19:36
skaytvansteenburgh1: http://paste.ubuntu.com/10732802/19:39
skaytvansteenburgh1: I'm presuming that the trunk python-django charm passes tests19:39
skaytvansteenburgh1: I'm trying to get to a spot where I can run bundletester successfully so that I can start running it on my branches19:39
tvansteenburgh1skay: the branches in that bundle file are wrong19:39
tvansteenburgh1lp:charmers/precise/python-django19:40
skaytvansteenburgh1: does that mean trunk is failing?19:40
skaytvansteenburgh1: oh, I ran against lp:charms/precise/python-django19:40
=== kadams54 is now known as kadams54-away
skaytvansteenburgh1: that doesn't even start for me. bundletester -t lp:charmers/precise/python-django complains about my launchpad id19:42
marcoceppi_skay: lp:charmers/ is not a thing19:42
tvansteenburgh1skay: correct, that is the wrong branch19:42
skaytvansteenburgh1: does your ci thing do some extra stuff I'm missing?19:42
tvansteenburgh1that's what i mean, those need to be changed the yaml file19:42
tvansteenburgh1skay: no19:42
tvansteenburgh1s/charmers/charms/ in those lp branch paths19:43
skayokay19:43
* skay wonders how the charm isn't failing currently19:43
tvansteenburgh1skay if you submit a patch i'll merge it19:43
skaytvansteenburgh1: if I managed to get it working I'll submit a mr19:44
tvansteenburgh1fair enough19:44
=== tvansteenburgh1 is now known as tvansteenburgh
skaytvansteenburgh1: I'm afraid of wasting your time on my bundltester learning curve19:45
tvansteenburghskay: no worries man, here to help19:45
tvansteenburghit's not really a bundle tester issue though, the charm is just wrong19:47
skayyes, but since I've never successfuly done bundletester stuff one won't know whether anything else fails due to an environment problem or a real problem19:47
tvansteenburghas to why it's not failing it CI, it probably hasn't been run. i'm about to kick off tests for it19:48
=== kadams54-away is now known as kadams54
skaytvansteenburgh: okay, trying out a run now. lp:~codersquid/charms/precise/python-django/fix-test-branches I'll make a MR when it passes19:50
tvansteenburghskay: cool19:51
skayoh foo. I think it failed due to some missing dependencies19:54
lp|awaythats fun :)19:54
lp|awayyaaay docker isolation catching dependency problems19:54
skayyeah19:55
tvansteenburghskay: missing pyyaml i presume?19:55
skaythank one I remembered to install (and would be asking... about now)19:55
skaytvansteenburgh: how would one specify dependencies for bundletester and/or CI?19:55
tvansteenburghneed to specify for the charm itself19:56
skayI will install them by hand just to see if the rest works but I want to fix that19:56
tvansteenburghis there a Makefile?19:56
skayyes19:56
skayit doesn't do that19:56
skaytvansteenburgh: I guess I could add a step19:56
tvansteenburghyeah, like a deps target that the other targets depend on19:57
skaytvansteenburgh: what is safe to assume for CI. that ppa:juju/stable is installed?19:59
tvansteenburghyeah19:59
tvansteenburghalso bundletester and flake820:00
skaytvansteenburgh: the current repo has a script to install deps and checks for version 12.04. should I worry about supporting that?20:00
skaycan I do trusty instead?20:00
tvansteenburghwhich script?20:01
skayactually, I think I can just leave it alone and add it as something make calls20:01
skaytvansteenburgh: http://bazaar.launchpad.net/~codersquid/charms/precise/python-django/fix-test-branches/view/head:/dev/ubuntu-deps20:02
skayI haven't changed that20:02
tvansteenburghskay: i'd ignore that file, it won't be run in CI20:06
skaytvansteenburgh: what will CI run?20:07
tvansteenburghin that case, make lint, and anything +x in the tests/ dir20:07
tvansteenburghs/that/this/20:07
skayare there any other make targets it calls?20:08
tvansteenburghby default it looks for make test and make lint20:08
skayok, I could make test have a dependency on dep and that target could call the script20:08
tvansteenburghyou could i guess, but you really only need pyyaml, everything else is already installed in the container20:10
skaytvansteenburgh: it complained about curl20:10
tvansteenburghheh, fair enough, curl too then20:10
skaynot sure how much thought was put in to that script. I might just ignore it20:11
skayit's probably bitrotted by now20:11
tvansteenburghagree20:12
tvansteenburghskay: i just realized that it's not lint that needs the deps, it's the stuff in tests/20:18
skaytvansteenburgh: I'm running through without installing anything until something fails so that I can have a list of what tests/ requires20:19
tvansteenburghso you could just make a tests/00-setup file (+x) and install deps there20:19
skayoh, okay20:19
skayI'd prefer that than to changing a makefile20:19
skayis it safe to assume that CI will be running from an account with sudo privs?20:22
skayoh derp, I can go look at the dockerfile20:22
skaysince that's now the way you do things20:23
tvansteenburghskay: yeah20:35
tvansteenburghpasswordless sudo even20:35
skaytvansteenburgh: how did the tests fair for trunk that you kicked off?20:35
tvansteenburghhttp://reports.vapour.ws/charm-test-details/charm-bundle-test-parent-20920:36
skaytvansteenburgh: so far I've only installed python3-yaml and curl and the first few tests run20:36
tvansteenburghcool20:37
=== brandon is now known as Guest47398
redelmannlp|away: Juju stable (1.22) has support for lxc?20:52
=== kadams54 is now known as kadams54-away
marcoceppi_redelmann: juju has had lxc support since some of the very first few versions20:56
redelmannmarcoceppi_: but you cant expose lxc services? im right?20:57
redelmannmarcoceppi_: or it cant handle iptables?20:57
skaytvansteenburgh: would you consider kicking off a ci run for https://code.launchpad.net/~codersquid/charms/precise/python-django/fix-test-branches/+merge/255214 ?21:15
tvansteenburghskay: sure21:15
skaymy laptop is underpowered21:16
tvansteenburghin progress21:16
tvansteenburghcontainer can't do merges since on bzr user is set, so i'm running against your branch directly21:21
tvansteenburghs/on/no/21:21
skayokay21:22
tvansteenburghyou can follow along here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/36/console21:22
tvansteenburgh(lxc)21:22
skayoh thanks!21:22
roadmrjuju-ci cool!21:24
tvansteenburghskay: fair warning, i gotta go in about 20 min21:24
skaytvansteenburgh: no worries. and I am wanting to EOD myself.21:25
tvansteenburghit's beer brewing night21:25
skayoh pleasant21:25
=== jw4 changed the topic of #juju to: Juju
=== marcoceppi_ changed the topic of #juju to: #juju to: "Welcome to Juju! || Office Hours, here 16 April 2000UTC || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP
=== marcoceppi_ changed the topic of #juju to: Welcome to Juju! || Office Hours, here 16 April 2000UTC || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP
jw4thanks marcoceppi_21:38
marcoceppi_jw4: yeah, didn't notice until you changed it21:39
jw4heh21:39
=== urulama is now known as urulama__
tvansteenburghskay: gotta run, but i'll assuming the tests pass i'll get your branch merged later21:46
skaytvansteenburgh: o/21:46
skayokay, thanks21:46
tvansteenburghsure thing21:47
=== tvansteenburgh is now known as tvan-afk
=== kadams54-away is now known as kadams54

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