/srv/irclogs.ubuntu.com/2011/10/28/#juju.txt

perlsteinhello00:48
perlsteinare there juju charms that automatically deploy openstack for some common uses?00:49
perlsteini'm going by the openstack guide, but others on my team are suggesting that there's some charms i can check out to make it easier?00:49
perlsteini am having zero lucki finding them00:49
sumanahhazmat: m_3: got a moment?03:58
sumanahI'm writing up https://www.mediawiki.org/wiki/NOLA_Hackathon#Topics.2C_Goals.2C_.26_Outcomes03:59
sumanah(nice photo: https://commons.wikimedia.org/wiki/File:NOLA_Hackathon_13.jpg ) :)03:59
* sumanah emails you both04:11
SpamapSperlstein: the charms are at http://code.launchpad.net/charm04:46
SpamapSperlstein: there's some info on how to use them spread out on wikis.. we're working on consolidating it04:47
=== _mup__ is now known as _mup_
SpamapSjamespage: hey, so, charm testing..11:17
jamespageSpamapS: hey11:18
jamespageany thoughts on my email from last month?11:18
SpamapSjamespage: we had a fairly deep conversation about it yesterday.. and we came up with something not at all compatible with what you guys have done. :p11:18
jamespageSpamapS, w00t11:18
jamespagewhats the thinking then?11:19
SpamapSjamespage: we can likely use any of the tests you've already written, but the relation to a testing service has problems for automation of testing the entire graph of combinations of charms, which we very much want to do.11:19
jamespageSpamapS, I agree11:20
SpamapShttps://blueprints.launchpad.net/ubuntu/+spec/servercloud-p-juju-charm-testing11:20
SpamapSjamespage: the whiteboard details the way that we'll do it..11:21
SpamapSjamespage: we'll have to blacklist any charms that have no sane defaults (like the recently submitted ELB charm that needs an AWS account #)11:21
jamespageTBH this is really what I wanted to see11:23
jamespagebut I think that this is something a little different to the complex deployment testing objective we have11:24
SpamapSThe idea behind this one is simply to ensure that testing happens automatically on all charms in the charm store.11:25
jamespagewhich I agree is v. important and fulfills a clear objective for juju and the charm store11:25
SpamapSI don't think the test runner will actually be that complex to write.11:27
jamespageit would be nice if this work could hook into the complex deployment testing stuff11:27
SpamapSThe dependency resolution bits are actually already done in an older branch of juju.. so its just wrapping that around the right sequencing.11:27
jamespagei.e. we could use the internal charm tests as part of testing an specific stack of charms11:28
jamespageas well as testing it from the outside as well11:28
jamespageopenstack being a case in point11:28
SpamapSIndeed11:29
jamespageSpamapS: are 'stacks' expected to be delivered soon i.e. the ability to specify which charms, how many units and relationships without scripts11:30
SpamapSjamespage: hazmat sent out a proposal for a near term roadmap that included import/export11:30
jamespageso with complex deployment testing the stuff I have today works around not having that11:31
jamespagethe internal charm testing is broadly equivalent to __install__ tests11:31
SpamapSjamespage: right11:31
jamespageso I can probably bin that11:31
jamespageand just provide a nice way to hook in a set of black box system tests once the environment is fully deployed11:32
jamespageSpamapS: so with the charm testing I think we need a way to pull out test results and report on what passed and failed.11:33
jamespagean overall status is good - we can use that for acceptance into the charm store11:33
jamespagebut details of what went wrong are important as well11:33
jamespage(sure that you already discussed this)11:33
SpamapSglossed over the details, but yes, the idea is to provide help for fixing whatever broke11:34
jamespagethis is so lining up to become a jenkins plugin :-)11:34
SpamapSI'm hoping its just a script that one runs in jenkins. :)11:34
jamespage(have been holding off as I did not want to re-invent the wheel)11:34
jamespageyeah - but think about this11:35
jamespagean deployed juju environment is just a test fixture11:35
SpamapSI was thinking about it and really we can just have a thing that watches all branches for a commit, when it sees one, it merges that into a single bzr branch that is "the charms".. and then runs the test runner for the affected charm.11:35
jamespageso having a nice way to manage (import/export) and environment setup would be sweet11:36
SpamapSjamespage: right.. I could see it working as a jenkins plugin, but I couldn't see myself writing a jenkins plugin. ;)11:36
* jamespage is up for that challenge11:36
jamespageheck you can even write them in python these days11:36
jamespage*experimental only11:37
SpamapSjamespage: I'm not sure I fully understand the value in making it a jenkins plugin vs. just running things in response to a bzr commit.11:37
jamespageso for the charm testing that is sufficient11:37
jamespageI was more thinking about complex deployment testing TBH11:37
jamespagei.e. set me up this environment11:38
jamespageI'll then test/run/build in it11:38
jamespageand then tear it down again11:38
jamespageit needs more thinking about11:38
SpamapSIt feels odd when I think about how a juju env relates to jenkins.11:39
jamespagecan we make sure that servercloud-p-juju-charm-testing happens before servercloud-p-complex-deployment-testing.11:39
SpamapSA general juju plugin would make a lot of sense.. since as you say, juju envs are just test fixtures. But how it would work.. I'm really not sure.11:39
SpamapSjamespage: yeah good idea11:40
SpamapSjamespage: as of last night it was before11:40
jamespageI'll add a deps11:40
jamespagedone11:41
SpamapSahh very nice11:42
SpamapSI forget that deps exist ;)11:42
roghey guys, i'm off now for the afternoon. flight to UDS 6.30am tomorrow. looking fwd to seeing you there.11:43
SpamapSheh, I'm in Orlando airport waiting to fly home for the weekend. ;)11:45
SpamapSbe back on Tuesday morning. :)11:45
SpamapSrog: see you here then. ;)11:45
rogSpamapS: great, hope all went well this week11:46
SpamapSrog: indeed, very productive (stayed almost completely focused on the charm store)11:52
SpamapShrm, why doesn't our bot tell us about trunk commits? :-P12:34
hazmatSpamapS, yeah.. it would be nice if the commits weren't client side14:58
hazmater. messages about them14:58
_mup_juju/expose-refactor r414 committed by jim.baker@canonical.com15:31
_mup_Fix interaction of watch setup and retry test15:31
* SpamapS awaits flight attendant rebuke and continues deleting... err.. reading email17:02
_mup_juju/expose-refactor r415 committed by jim.baker@canonical.com17:47
_mup_Docstrings, cleanup17:47
_mup_txzookeeper/session-and-conn-fail r60 committed by kapil.foss@gmail.com19:57
_mup_2nd refactor, simplify retry impl, remove magic instance rebinding, just simple delegator methods19:57
_mup_txzookeeper/session-and-conn-fail r61 committed by kapil.foss@gmail.com20:13
_mup_refactor core tests for less exposed surface.20:13
_mup_juju/unlocalize-network r409 committed by kapil.thangavelu@canonical.com21:17
_mup_merge trunk21:17
_mup_juju/security-agents-with-identity r315 committed by kapil.thangavelu@canonical.com21:21
_mup_exposed grant access api, exists check on acl21:21
_mup_juju/trunk-merge r277 committed by kapil.thangavelu@canonical.com21:23
_mup_merge trunk21:23
_mup_juju/trunk r411 committed by kapil.thangavelu@canonical.com21:26
_mup_merge unlocalize-network [r=bcsaller,jimbaker][f=873335]21:26
_mup_Force explicit "C" locale to normalize output parsing of the libvirt cli.21:26

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