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

=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== CyberJacob|Away is now known as CyberJacob
AskUbuntuJuju and no default VPC on AWS | http://askubuntu.com/q/46947306:40
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== Beret- is now known as Beret
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== vladk is now known as vladk|offline
=== jono is now known as Guest73754
=== 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
=== cory_fu2 is now known as cory_fu
=== roadmr is now known as roadmr_afk
AskUbuntujuju deployment error on manually provisioned machine | http://askubuntu.com/q/46961813:58
=== roadmr_afk is now known as roadmr
=== hatch__ is now known as hatch
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
AskUbuntuGlance and ceph hook-failed "ceph-relation chaged" | http://askubuntu.com/q/46966115:02
=== vladk is now known as vladk|offline
gnuoySo, adding structure to amulet tests for charms.15:38
gnuoyI started out and ended up with something that looks a lot like nose I guess15:39
gnuoyso maybe I should in fact be using that15:39
mattywmarcoceppi, are you on reddit?15:39
marcoceppimattyw: I am, I saw your email15:40
marcoceppimattyw: my only concern is, why not post to r/ubuntu or other established communities?15:40
mattywmarcoceppi, I  guess there's no reason - I just thought I'd start it and see what happened15:41
marcoceppiI mean, it's cool don't get me wrong15:41
marcoceppinot sure if we're /that/ big yet15:41
marcoceppiso we should be cross posting still to larger communities that would be interested in juju15:42
mattywthat totally makes sense15:44
jamespagegnuoy, https://code.launchpad.net/~openstack-charmers/+activereviews15:45
jamespagewoser15:45
gnuoyjamespage, I can grab those jacken ones in the morning for a start15:47
jamespagegnuoy, just wondering how many of those should target /next instead of stable15:48
gnuoyjamespage, the top 4 might be suitable for stable but the others aren't bug fixes so I don't think they're eligible ?15:49
jamespagegnuoy, not sure your top4 are the same as mine15:50
gnuoyjamespage, on reflection just the louis-bouchard ones look like fixes I think15:51
jamespagegnuoy, I think tribaals are as well but they sweep alot of charm-helpers in15:51
gnuoyah, ok. I thought they were housekeeping15:51
jamespagegnuoy, he fixed up apt local caching and block device detection15:52
jamespagegnuoy, this is where stable is tricky15:52
jamespagewe really need to branch charm-helpers on release of the charms15:52
jamespageand then backport selected fixes15:52
gnuoyyeah15:52
jamespagegnuoy, I added a "publish" target to the makefiles in most openstack charms btw15:55
jamespageit pushes to precise and trusty branches15:55
gnuoyah, good to know.15:56
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== vladk|offline is now known as vladk
coreycbgnuoy, jamespage, beisner:  I think we would benefit a lot if we find a way to deploy an environment once with amulet, and run several individual tests on that env where, if one test fails the rest will continue to run.16:52
coreycbI'm not sure amulet is designed to do that though.  it looks to be designed to run one test per file, and raise a condition on failure.  e.g. amulet.raise_status(amulet.FAIL, ...)16:53
lazyPowercoreycb: Kind of. Amulet is great at deploying a topology and making assertions about whats transmitted over the wire, and validating system assertions (Eg: did this vhost get deployed, is this mounted, is a service responding when i query this port)16:59
lazyPowercoreycb: there's a pattern to build a test suite in a single file per topology - its all about method encapsulation. cory_fu wrote a great test template that exhibits that in the Apache Allura charm.17:00
lazyPowercoreycb: http://bazaar.launchpad.net/~johnsca/charms/precise/apache-allura/refactoring-with-tests/view/head:/tests/101-deploy.py17:01
=== roadmr_afk is now known as roadmr
coreycblazyPower, ok yeah that looks nice but I'm not sure it continues to execute all the tests if one fails17:07
lazyPowercoreycb: it will halt if you specify --fail-fast on the command line, otherwise it continues as expected in nose-test style.17:08
lazyPowerand --set-e may also be used to halt on first failure17:08
coreycblazyPower, hmm, even if amulet.raise_status(amulet.FAIL, ..) is called?17:08
lazyPowercorrect. that should print to stderr and continue executing unless teh default behavior has been changed since the 1.3 series.17:08
coreycblazyPower, awesome sauce17:09
coreycblazyPower, thanks, that's great17:09
lazyPowernp, happy to help17:10
sebas5384hey lazyPower! O/17:25
lazyPowero/ sebas538417:25
lazyPowerhow goes the vagrant journey?17:25
sebas5384fine! but I didn't continue using the juju trusty box17:26
sebas5384that error is still happening for me :(17:26
lazyPowerabout cloning a running container?17:26
sebas5384but anyways i have the other one hehe17:26
sebas5384yep17:26
lazyPowerInteresting... I'm otherwise preoccupied with other items in my queue but I'll make sure I circle back to that before the end of the week. I'd like to compare notes between what i've done and what you've done17:27
sebas5384sure!! :)17:27
lazyPowersebas5384: yeah our Precise box is pretty solid though - i use it every day17:27
sebas5384ping me :)17:27
lazyPowerSure thing :)17:28
sebas5384yeah probably i should use it (the precise)17:28
sebas5384oh! something that i'm doing, deploying openstack with juju all-in-one, but i was wondering if you have some neat bundle that I can use to use with juju after17:29
lazyPowerThere's a few openstack bundles in the charm store you can model off of17:29
sebas5384i planning to change the --to of the nova-compute-node to 017:29
lazyPower    bundle:~makyo/openstack/2/openstack  is the one i use for demo deployments.17:30
sebas5384oohh great lazyPower! thanks17:30
sebas5384i will give it a look17:30
lazyPowersebas5384: make sure you pass a config option to cinder for the block device, otherwise it'll red out on your deployment and cause the bundle to not fully deploy.17:31
lazyPowerthats my word of advice :)17:31
sebas5384hmmm get it, thanks! but i don't know what to set17:33
sebas5384yet17:33
sebas5384hehe17:33
lazyPowerniedbalski: (rehashing) Greetings. Have a moment to talk about your python_debugger merge for charm helpers? Great!17:38
lazyPowerThe use case here is to basically eliminate breaking your install hook to debug that first leg of the charm run, right?17:38
niedbalski_lazyPower, right. Actually i'm using that simple helper for jumping into a trace remotely without breaking the install hook17:40
niedbalski_also could be a decorator @break, or something like that.17:40
lazyPowerniedbalski: interesting. So it spins up a remote debugger, what about in the instance of public clouds where that port 12345 isn't open by default?17:41
lazyPowerAh wait, i see it imports open_port17:41
niedbalski_yep, it first opens the public port, then register a close_port callback @atexit17:42
lazyPowerinteresting. Let me import this and give it a run - what would i need to execute on my workstation to connect? Is this provided by pdb out of the box or do i need a supporting package?17:42
niedbalski_should works out of the box17:42
lazyPowerniedbalski: pdb hostname:port?17:43
niedbalski_lazyPower, telnet, netcat also works17:43
lazyPowerOH! I don't even need to invoke a debugger, this spins up a server for any TCP capable consumer?17:44
niedbalski_lazyPower, yep.  In fact, i'm using emacs TcpClient17:45
lazyPowerthis sounds pretty spiffy17:46
mbruzekniedbalski_, wow17:46
=== vladk is now known as vladk|offline
lazyPowerniedbalski: dude, this is *awesome*18:13
niedbalski_lazyPower, cool. I would like to integrate that on my soon-to-be-released emacs charms minor mode18:26
=== CyberJacob|Away is now known as CyberJacob
lazyPowerniedbalski: I'm going to +1 this18:34
lazyPowerniedbalski: it shifts you a bit lower in the queue, but i'll make it a point to circle back to this if nobody has gotten to it by end of week18:36
lazyPowermbruzek: https://code.launchpad.net/~niedbalski/charm-helpers/python-set_trace/+merge/217956 <-- LGTM. Its got a marco assignee, so depending on if you want to cowboy this or not :)18:37
=== vladk|offline is now known as vladk
mbruzekThanks lazyPower I am in the middle of a review right now, but I will add that to my list.18:40
niedbalski_mbruzek, :]18:40
=== vladk is now known as vladk|offline
mbruzekniedbalski_, What is the difference between pdb and ipdb?18:41
mbruzeknevermind, google found it18:42
rick_h_mbruzek: yea, ipython ftw (although I like bpython but there's no bpdb18:42
rick_h_)18:42
mbruzekThanks rick_h_18:43
mbruzekniedbalski_, This pdb is great because it does not need a specific debugger to attach.  A generic TCP client will do!  Impressive.18:44
* mbruzek has only used ipdb before, so was not sure.18:51
mrjazzcatmarcoceppi:  Hey.  Is the charm-helper-sh package just for Precise?  I can't find it from my18:54
mrjazzcatmachine :)18:54
marcoceppimrjazzcat: yes, it's only precise, it's been obseleted for lp:charm-helpers instead18:55
=== vladk|offline is now known as vladk
mrjazzcatmarcoceppi:  cool thanks.  But, that means there must be a Trusty version of the Wordpress charm, as it relies on that package18:56
marcoceppimrjazzcat: the latest version of the charm no longer relies on that, the pieces it did need were moved inside the charm18:56
mrjazzcatmarcoceppi:  ok, thanks.  I just have to go find that version.18:57
mrjazzcatmarcoceppi:  strange housekeeping.  It looks like this is the trusty WP code:  lp:~justin-fathomdb/charms/trusty/wordpress/trunk19:01
mrjazzcatmarcoceppi:  sorry, I'm wrong.  That's the same version.  Arg.  Do you know where the Trusty WP charm source is?  Sorry to be a dork :)19:05
AskUbuntuJuju bootstraping gomaasapi timestamp error | http://askubuntu.com/q/46977819:06
marcoceppimrjazzcat: well, it's not been moved to trusty yet, so there might still be a few broken things19:06
mrjazzcatmarcoceppi:  ah, that's why I can't find it!  OK, if it's not released, I'll live with what I have.19:07
marcoceppimrjazzcat: file bugs when you get errors!19:07
mrjazzcatmarcoceppi:  ok, will do.19:07
AskUbuntuJUJU MAAS Bootstrap all on VM | http://askubuntu.com/q/46981020:20
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
AskUbuntuCan't Deploy Wordpress | http://askubuntu.com/q/46984822:22

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