/srv/irclogs.ubuntu.com/2013/05/16/#juju.txt

AskUbuntuJuju and MAAS: ERROR No matching node is available - with Ready nodes | http://askubuntu.com/q/29599200:41
AskUbuntuMAAS JUJU still get bad archive mirror | http://askubuntu.com/q/29599901:05
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== koolhead17|afk is now known as koolhead17
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== jcsackett_ is now known as jcsackett
=== defunctzombie is now known as defunctzombie_zz
=== stevanr_ is now known as stevanr
=== ubot5` is now known as ubot5
epic_I made the mistake of installing raring, that means I cannot utilize juju right?10:39
epic_or is there a repo somewhere with charms for raring?10:39
jamespageepic_, most charms target precise officially, but will work with raring10:45
jamespagealso you can use juju to manage a precise environment from raring10:46
jamespagei.e. juju client on raring - deployed environment == precise10:46
epic_ok11:17
epic_but I have a maas cluster of two raring machines, and I wanted to use juju to deploy openstack onto them, is there a way ? :)11:18
=== jppiiroi1en is now known as jppiiroinen|afk
=== rogpeppe1 is now known as rogpeppe
marcoceppiepic_: You can "force" juju to deploy the precise version of your charm on to raring machines. set default series in your environments.yaml to raring then use juju deploy cs:precise/<charm-name> There's no guarentee every charm will work with raring but it might be easier than re-provisioning everything :)12:50
=== wedgwood_away is now known as wedgwood
=== jppiiroinen|afk is now known as jppiiroinen
sidneihazmat: ping13:33
jcastro~20 minutes until UDS, first session is on Juju Docs!13:37
jcastrohttp://summit.ubuntu.com/uds-1305/meeting/21699/servercloud-s-juju-docs/13:37
jcastroarosales: we can probaly remove the session for social pages on charms13:38
jcastrorick has the assets from design, they just need to implement it, there's really nothing to discuss13:39
hazmatsidnei, pong13:42
sidneihazmat: see pvt13:42
=== Makyo|out is now known as Makyo
=== rbasak-test is now known as rbasak
jcastrohttps://plus.google.com/hangouts/_/10bbba04970621a9233d57c88c7d469acc185e86?authuser=0&hl=en14:12
jcastromarcoceppi: arosales marcoceppi ^^14:12
marcoceppievilnickveitch: ^14:12
arosalesjcastro, the social pages for Juju we still may want to have as there are some additional feedback loops some folks wanted to discuss. May be a quick session though.14:12
jcastrook14:13
jcastroarosales: http://youtu.be/E2peuYklMxw14:13
=== victorp_ is now known as victorp-uds
hazmatjamespage, vmaas vms vs juju vms group thing starting up if you've got a few.. https://plus.google.com/hangouts/_/90577076c19891cc3206c77d3e16988d1e1f130e?authuser=0&hl=en14:34
jamespagein a openstack ha then mongodb sessions right now14:35
jamespagehazmat, ^^14:35
hazmatack14:35
sinzuijcastro, has luca spoken to your team about calling "reviewed" charms "recommended"14:41
sinzui?14:41
jcastrono14:42
jcastrowait, don't tell me14:42
jcastrowe're renaming them again?14:42
gary_postermattyw, fwiw I was on vacation yesterday so could not attend charm helpers session.  Strawman I'd like to discuss with you later is that GUI team tries to merge host.py and our utils stuff to produce merged low-level bits, and we are responsible for getting higher-level charm-support tests to pass with merge.  Requirement is that merged result has a test coverage rating as high or higher than existing host.py, whatever14:56
gary_posterthat is.  Busy now, but can talk later14:56
lucasinzui: jcastro don't do anything yet!14:56
lucasinzui: jcastro we are looking into the UX of a better name for it. Recommended was an option but will most probably not be used. We're researching it.14:57
* jcastro nods14:57
mattywgary_poster, is that meant for me or matt wedgewood?14:58
gary_postermattyw, sorry, matt wedgwood!  bad assumption, apologies14:58
mattywgary_poster, no problem (I'm the cloud-green matt w)14:59
gary_posteroh cool, hi mattyw :-)14:59
wedgwoodgary_poster: I think that's fine. I'm working on hook environment stuff now.15:00
gary_postercool wedgwood, thanks, sounds good15:00
dpb1hazmat: hey, the ppa is updated now, all series?15:23
hazmatdpb1, yes15:25
hazmatdpb1, by all series.. that being raring, quantal, precise15:26
dpb1hazmat: ah, I see.  the lucid build is still old15:26
dpb1hazmat: is it possible to kick a lucid build too?15:27
hazmatdpb1, checking15:28
hazmatdpb1, it looks like its barfing on dh_python215:29
hazmathttps://launchpadlibrarian.net/139956755/buildlog.txt.gz15:29
jamespagehazmat, you guys finished now?15:30
hazmatjamespage, yup15:31
jamespagebah15:31
jamespagenm15:31
hazmatjamespage, more to be discussed, lots of details and directions to be ironed out15:31
dpb1:(15:32
jamespagehazmat, dpb1: is that really a lucid build?15:40
hazmatjamespage, apparently yes.. who knew :-)15:41
jamespageI don't think lucid has dh_python215:41
dpb1jamespage: know of a quick way to fix it?15:41
hazmatrevert back to pycentral/pysupport ..15:46
hazmatafaik15:46
dpb1k15:46
jamespagehazmat, dpb1: openstack packaging used todo this just after lucid15:49
hazmatjamespage, support lucid with dh_python2 or use pycentral/pysupport?15:51
=== defunctzombie_zz is now known as defunctzombie
hazmati assume the latter.. cause it still works even throws deprecation warnings15:51
jamespageit had some hacks to support dh_python2 and pycentral/support15:51
jamespageupstream activity backported to lucid until precise arrived15:52
hazmatbarry ref'd this bug re lucid/dh_python2 https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/788524https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/78852415:53
_mup_Bug #788524: backport dh_python2 to lucid (and maverick if appropriate) <pycentral-deprecation> <OpenStack Core Infrastructure:Fix Released by mordred> <python-defaults (Ubuntu):Confirmed for doko> <https://launchpad.net/bugs/788524>15:53
_mup_Bug #788524: backport dh_python2 to lucid (and maverick if appropriate) <pycentral-deprecation> <OpenStack Core Infrastructure:Fix Released by mordred> <python-defaults (Ubuntu):Confirmed for doko> <https://launchpad.net/bugs/788524>15:53
dpb1hazmat: best of both worlds: https://pastebin.canonical.com/91141/15:54
hazmatalso refs the openstack usage15:54
=== defunctzombie is now known as defunctzombie_zz
dpb1heh, ya, that is the bug that I was looking at too15:54
m_3wedgwood: not sure it needs to be resolved right now... it's pretty easy to change15:55
dpb1that patch (minus the stray .deb file) seems to work on my lucid machine15:55
m_3wedgwood: oh nm... we wanna get stubs into charms sooner rather than later15:56
m_3:)15:56
wedgwoodm_3: indeed, but also means changing charms15:56
marcoceppiwedgwood: So what you're saying is just anything in tests/ gets run regardless of +x ?15:57
wedgwoodsuppose windows criteria could be different than unix15:57
m_3I can see value in ordering15:57
m_3also having files there that _don't_ get executed15:57
wedgwoodm_3: upon consideration, +1 to ordering15:57
m_3having multiple scenarios15:57
wedgwoodI like the test manifest idea. "Run these things"15:57
m_3I was thinking ordering was more about "failing early" on simple tests15:58
marcoceppim_3: well I can see the "don't want it executed, don't put it in tests/, put it in tests/lib"15:58
marcoceppiOr another subdirectory and just not walk trees when testing15:58
m_3and less about setup/teardown... that (imo) should happen within each scenario15:58
marcoceppim_3: +1 for sure15:58
m_3marcoceppi: yeah, stick to tree level 0 in there15:58
wedgwoodyep, we agree that order is important15:58
marcoceppiA lot of my use cases have very unique setups with different charms and initial configs15:58
m_3ok, so then any naming scheme's fine with me15:59
wedgwoodwhat about a single command that's expected to handle running tests?15:59
marcoceppim_3: wedgwood: I can drop the implicit .test and just run things in lexi ordering in the tests folder16:00
marcoceppiwedgwood: the juju-test command?16:00
m_3hell, even worth considering tree level 1... i.e., $CHARM_DIR/tests/<scenario-name>/{01.setup.sh,02.run.sh,03.teardown.sh}16:00
wedgwoodm_3: bah!16:00
m_3wedgwood: what about that single command?16:00
m_3wedgwood: ack, it's too noisy16:00
wedgwoodmarcoceppi: I'm thinking mycharm/tests/run_tests16:00
marcoceppim_3: why couldn't that be $CHARM_DIR/tests/scenario.sh ?16:00
m_3marcoceppi: excellent point16:01
marcoceppiwedgwood: that would be encompased in the juju-test command though, where it would just run one or more (or all) tests in the tests directory16:01
m_3wedgwood: single starting point would work... let's you control your scenarios in python16:01
m_3wedgwood: but I guess I like separate script file per scenario16:01
m_3either way though really16:01
wedgwoodm_3: scenarios are still possible, but shouldn't juju-test have a single mode?16:02
m_3so tree-level-0, executable, single file per scenario (that can optionally call as much other stuff as it likes)16:02
marcoceppiIf you wanted control over ordering $CD/tests/00-run-tests then you could mock scenarios you cared about in $CD/tests/scenarios and have the 00-run-tests build an order16:02
wedgwoods/mode/target/16:02
m_3wedgwood: if I understand correctly, then yeah, each scenario would be a separate stack of services (include bootstrap and destroy-environment)16:03
m_3`juju test <charm-name>` should run all of them in order I think16:03
marcoceppim_3: right, buy could could also run juju test charm-name <test-name> to run just one test16:04
m_3with an option of calling `juju test <charm-name>/tests/<scenario-file>` explicitly perhaps?16:04
wedgwoodmarcoceppi: good point16:04
m_3ah, same page16:04
marcoceppim_3: yeah, and we can make that an explict path too16:05
marcoceppimaybe just juju test <charm-name> -f tests/blah16:05
marcoceppior something16:05
m_3<test-name> would have to match a file in $CHARM_DIR/tests otherwise16:05
m_3explict path might be easier to impl16:05
m_3but really whatever works16:05
marcoceppim_3: right so you could do that or possibly just have an additonal option to supply a full file path16:06
wedgwoodto sum up my concern about naming schemes: I'd like to structure my tests in a way that works with my chosen programming language.16:06
marcoceppiin the event you're cool and want to have tests outside of the charm16:06
m_3hell, I'm happy with just making bits I'm _not_ interested in testing non-executable temporarily16:06
m_3(during dev)16:06
marcoceppiwedgwood: ack on your concern. I'm just going to have it execute whatever the hell you have in tests directory so you can name them as you see fit.16:07
m_3wedgwood: yeah, understand... I'm fine with picking one set of names16:07
marcoceppiI'll try to err on the site of flexibility rather than being too opinionated on things like naming and structure16:07
m_3marcoceppi: +116:07
wedgwoodmarcoceppi: I think that's flexible enough. some sharp edges, but probably safe16:07
marcoceppiwedgwood: we can dull those edges in the next few weeks, for sure16:08
marcoceppiI'd like to just get something out that people can use without too many scrapes16:08
m_3fits along with the "flexible framework" yet opinionated helpers/examples16:08
wedgwoodmarcoceppi: and when we tackle windows, we may need a manifest file. there's no way to tell from naming or filesystem bits what is and isn't an executable.16:08
m_3yup, or rely on tree depth16:08
marcoceppiwedgwood: yeah, I think we'll need to cross that bridge when we get there, but I'll keep that in mind on these first few cuts16:09
marcoceppiwedgwood: thanks for the feedback!16:09
m_3I need to start using that one more in talks... "flex framework, opinionated charms/helpers"16:10
wedgwoodmarcoceppi: looking forward to seeing your work!16:10
marcoceppim_3: where should we start storing juju plugins? Given juju-test will likely be the first one16:11
m_3yeah, awesome guys16:11
m_3marcoceppi: good question man... not really sure... there're pros/cons with each option16:12
m_3marcoceppi: we can package `juju-plugins` or `juju-contrib`16:12
marcoceppiI'd probably lean to juju-plugins, contrib sounds too...official :)16:12
m_3marcoceppi: we can have a juju-plugins project where each plugin has to be pulled separately16:12
m_3marcoceppi: so we get packages like `juju-plugin-testing`16:13
m_3makes it explicit to the user that this is something _other_ than juju-core16:13
marcoceppim_3: ack16:13
chilicuilhello there, I'm working on a monitor charm (observium) https://code.launchpad.net/~chilicuil/charms/precise/observium/trunk and currently it deploys the server part, however no enable clients, those machines (the ones who are going to be monitored) needs to install snmpd, I'd like that it could be done via some kind of connection between the charms, I suppose it would require modification in the charms which will be clients, is this correct?16:13
m_3juju-plugins-<common-subject> for groups of pugins16:13
marcoceppim_3: like juju-plugins-charm :)16:14
marcoceppiget all the charm-tools juju plugins16:14
m_3marcoceppi: yeah, so I think a plugins project... maybe repo per plugin?... and then we can create package-groups16:14
m_3chilicuil: this is a perfect use for "subordinate" services16:15
marcoceppim_3: just started the plugin project, I'll just createa a repo for juju-test and have it building in a ppa...maybe the juju/pkgs ppa?16:15
m_3chilicuil: you'd create something like 'observium-emitter' that attaches as subordinate to any service16:15
chilicuilm_3: I'll look for it at the documentation, thanks!16:15
m_3chilicuil: then that subordinate charm adds snmpd and friends16:15
marcoceppihum. Do plugins need to be the same license as core?16:16
m_3marcoceppi: yeah, same pa as core imo16:16
m_3ppa16:16
m_3chilicuil: np16:17
m_3marcoceppi: no clue16:17
m_3marcoceppi: they're more one-off things... so make them as open as possible I'd think16:17
marcoceppiI wish I was a laywer16:17
m_3haha16:17
m_3I wouldn't wish that on you16:18
marcoceppihaha16:18
m_3although it might be helpful in a bar in DC :)16:18
m_3marcoceppi: we can add lp:juju-plugins to the juju project group in lp16:19
marcoceppiawesome16:19
m_3I'll set up the mirror for github16:19
marcoceppim_3: ta!16:20
m_3github.com/juju-plugins16:22
m_3what's the lp project?16:22
marcoceppilp:i-am-not-a-lawyer16:22
marcoceppijk, lp:juju-plugins16:23
m_3:)16:23
m_3marcoceppi: I expect at some point there will also be plugins that're bundled with core, but nothing to do for that really16:25
m_3should just work16:25
marcoceppim_3: so are we creating directories in a single bzr branch, or a branch per plugin?16:25
m_3just don't know16:26
m_3how heavyweight is repo per plugin?16:26
m_3you clone it and simlink the plugin iteself into your ~/bin dir16:26
m_3or do you wanna just clone a single repo and then symlink selections16:27
m_3we can do both16:27
marcoceppidepends on how many plugins you have16:27
marcoceppiI think it's a good idea, but doesnt' scale quite well in github unless you merge all the branches in to one section16:27
m_3if they're all in one repo, then it's harder for us to create `juju-plugins-testing` and `juju-plugins-charm` packages16:27
marcoceppilets do different repos for now16:28
m_3well, maybe it isn't though16:28
mattywI've got a charm which works under pyju - and fails under juju-core when running the relation_changed hooks. it looks like I get "no relation id specified" when running relation-set, does this make any sense?16:28
m_3marcoceppi: I'm kinda thinking one repo16:29
=== defunctzombie_zz is now known as defunctzombie
* marcoceppi shrugs16:29
marcoceppijust in different dirs?16:29
m_3marcoceppi: you know what? it doesn't really matter right now... we can change this pretty easily16:29
m_3marcoceppi: so maybe one repo... trunk on lp:juju-plugins... file per plugin (no need for subdirs)16:30
m_3marcoceppi: then we can add a packaging branch at any time to package selected bits16:30
m_3marcoceppi: with the full expectation that this will probably change16:30
marcoceppiack16:31
m_3marcoceppi: I think it's a good idea to treat this as a big bucket... over time an individual plugin might "grow up" and need its own repo16:34
marcoceppim_3: good point16:34
m_3marcoceppi: I could see Makefiles and other supporting crap associated with installing a single plugin... at the point it's no longer a single file of script, it gets a separate repo16:35
hazmatmattyw, are you using upload-tools16:41
mattywhazmat, no I'm not16:41
hazmatmattyw, can ic the charm?16:41
hazmatpriv msg if nesc16:41
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
jcastrogary_poster: GUI session in about 20 min?17:42
gary_postery jcastro thanks.  on call now.  hangout link?17:43
jcastroI haven't created it yet17:43
jcastroI will in about 1517:43
jcastrojust wanted to give you a heads up17:43
gary_postercool thanks17:43
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
hazmatjcastro, is there a separate irc channel then.. #ubuntu-uds-servercloud-2 ?18:58
hazmatoh.. nm18:58
Huronalguien habla espaƱol18:59
sinzuiarosales, Your user stores for charm testing rock19:02
sinzuithey should be added to author profiles19:03
arosalessinzui, I can't take credit for that. I think marcoceppi did those in https://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-juju-charm-testing19:05
arosalesthere are good though :-)19:05
marcoceppiHoly grammar hell, batman. I should have proof read those after I got off the plane19:05
sinzuigrammar was never a barrier for developers. My fingers don't believe in plurals and tenses.19:12
hazmatmarcoceppi, incidentally new deployer impl support for pyjuju is coming19:13
marcoceppihazmat: \o/ thanks for the update19:13
hazmatmarcoceppi, and deployer integrates what amounts to gowatch (available from the jujuclient api impl)19:14
marcoceppiperfect19:14
hazmatmarcoceppi, what i really want is a way for charm authors/charm farmers to be able to manually kick off a test run on a particular charm or mp, and get notified of results.19:15
hazmati mean its icing.. but its delicious19:15
hazmat;-)19:15
marcoceppihazmat: yeah, you're not the only one asking for this. When local lands it'll be easy enough for charmers (sans ~) to just juju test <charm> <test-name> -e local but I've been mulling over adding a juju-remote-test command for queing a test on jenkins. Not sure how abused that will get though19:16
hazmatmarcoceppi, restricting it to ~charmers initially seems sane.. and helps reviewers19:17
marcoceppihazmat: yeah, would be a good starting point, though I'd favor just having automatic testing on merge request over one-off test queing19:18
hazmatmarcoceppi, true19:19
marcoceppiOnce we get people writing test I'd love to start diving in to all that automation deliciousness19:20
hazmatmarcoceppi, so whats missing to me is why jitsu test is not the correct path forward19:23
hazmatignoring the implementation but the spec itself19:24
marcoceppihazmat: do you have the spec somewhere? I haven't actually read it19:24
marcoceppiThough, I don't think the juju-test implementation would be too far off what jitsu test was striving to be19:24
marcoceppihazmat: this in the docs: https://code.launchpad.net/~clint-fewbar/charm-tools/charm-tests-spec/+merge/90232 ?19:27
hazmatmarcoceppi, its the one in the old docs19:33
hazmatmarcoceppi, http://jujucharms.com/docs/charm-tests.html19:33
marcoceppihazmat: yeah, so implementation wise of just listening to signals and shelling out to the test in the tests directory (with better handling of the tests individually) is what juju-test will do19:34
marcoceppiThe test helper I'm working on just give an author of tests a lot easier ways to inspect a deployed environment to build better detailed tests19:35
=== BradCrittenden is now known as bac
=== wedgwood is now known as wedgwood_away

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