/srv/irclogs.ubuntu.com/2012/06/26/#juju.txt

SpamapSzirpu: awesome00:08
_mup_Bug #1017792 was filed: running relation-get with no client id gives misleading error <juju:New> < https://launchpad.net/bugs/1017792 >03:32
lifelessis this expected? :  charm proof .03:48
lifelessE: could not find metadata file for .03:48
lifelessE: revision file in root of charm is required03:48
lifelessbut03:48
lifelesscharm proof $(pwd)03:48
lifelessworks fine03:48
_mup_Bug #1017801 was filed: juju tries to delete in-use security groups <juju:New> < https://launchpad.net/bugs/1017801 >04:20
snihalaniHi guys04:21
snihalaniI have a question04:21
snihalaniWhere do I get layman definition of what juju does for me?04:21
lifelessit deploys software for you, into cloud environments like amazon ec2, rackspace, and so on.04:22
snihalaniso, applications from my dev environment into EC2, cloudfoundry etc?04:22
lifelessjuju manages all the connections between different services, like getting your webserver behind haproxy, or setting up new hbase cluster nodes.04:22
lifelessyes, that sort of thing04:22
lifelessthere is in fact a charm to deploy cloudfoundry itself.04:23
snihalanidefine charm? Sorry, I am a noob04:23
lifelessa charm is the rules for deploying a specific piece of software04:25
MarkDudeimbrandon, pingy04:25
lifelessfoine.04:25
imbrandonMarkDude: heya man04:56
* MarkDude needs those links again04:56
imbrandonabout to crash :) cool one sec04:56
MarkDudemaking the Fedora juju page now04:56
MarkDudeHave some folks willing to test04:57
imbrandonbtw i plan on making some new ones in the next day or so ( juju is about to do a minor release )04:57
imbrandonand i'll refresh them at the same time04:57
imbrandonkk links, brb04:57
MarkDudewe have a few Fedora Ambaassadors that are also Ubuntu Memebers04:57
imbrandonnice04:57
imbrandonlet em know they are more than willing to hang out04:57
imbrandonand if we get tooo  off topic we'll make a #juju-fedora chan04:58
imbrandon:)04:58
imbrandonor #juju-ports , actually not a bad idea04:58
imbrandonhrm04:58
imbrandonok04:58
imbrandonhttp://jujutools.github.com/rpm-juju04:58
imbrandonbtw i made a page about them for the offical docs04:59
imbrandonbut the docs have a build issue atm, soon as thats worked out ( today hopes ) then there will be links to it in the official docs too04:59
imbrandonetc04:59
imbrandonMarkDude: ^^04:59
imbrandondocs are linked at http://juju.ubuntu.com btw, pretty sure that was obvious tho05:00
imbrandonbut just in case05:00
imbrandonbut yea, sometime in the next 24hrs i'd say maybe 48 tops there will be a minor version refresh05:00
imbrandonso it will be perfect timing for their feedback and i might be able to slip stuff in if its not a core bug05:01
imbrandonetc05:01
imbrandonright away in those cases05:01
MarkDudeSorry, but the page you were trying to view does not exist.05:02
imbrandonoh and you saw my "Download for Ubuntu" JS/CSS button thing ? I made one for Fedora and OSX too, might for SuSE as well if i get bored05:02
imbrandoni'll link ya up05:02
imbrandonbah05:02
imbrandonlet me go look05:03
imbrandoni did that from memory05:03
imbrandonheh05:03
imbrandonhttps://github.com/jujutools/rpm-juju05:03
imbrandonthere we go05:03
imbrandonsorry bout that05:03
imbrandonanyhow like i said i got a little bit of docs and such creeping in tho todayish so that will help them too05:04
imbrandonokies man, i'm about to crash, been a long day, hit me up anytime at imbrandon@ubuntu.com too if you dont catch me on IRC05:09
imbrandonMarkDude: and there is a bug tracker on linked on that RPM page too "Issues" if anyone ways to report something05:10
MarkDudeCool- I will include your email on the page to05:11
MarkDudethx imbrandon05:11
imbrandoni'll do the leg work and figure out if its a rpm specific issue or core one and file them in LP on their behalf if its core so they wont have a escuse not to report it :)05:11
imbrandoncool cool, where ya posting this btw ?05:12
MarkDudehttps://fedoraproject.org/wiki/Juju05:14
imbrandonrockin, ok i'm off to bed man, take it easy05:19
imbrandonsorry to run on ya :)05:19
=== nijaba_ is now known as nijaba
=== smoser` is now known as smoser
=== almaisan-away is now known as al-maisan
jmlI'm working on my charm again. Getting rid of the sqlite kludge so I can aim it at postgresql. Exciting times.11:04
jamespagejml: enjoyed your blog posts BTW11:27
jmljamespage: thanks :)11:27
jamespageagree that its quiet here in the mornings....11:27
jmlyeah11:28
jmljuju is the first command-line tool I've used in a long time that makes me think "this should have a GUI"11:29
jmluhh, how do you get the port from the postgres charm?11:36
=== al-maisan is now known as almaisan-away
jmlis it correct to just assume the standard port?11:39
jmlI'm writing a script to call juju for my users. Is there a way to get the public address of the only deployed unit? (Would prefer the exposed service URL, tbh.)11:52
jmlwhy are stacks any more difficult than, say, a .dot file?11:59
jmlwhat I want is something that looks at my local charm, detects whether there are any changes between it and the last deployed charm, and if there is, add --upgrade to my deploy call.12:05
jmlwhat I want is something that looks at my local charm, detects whether there are any changes between it and the last deployed charm, and if there is, add --upgrade to my deploy call.12:05
jmli.e. I want 'make'12:05
jml(sorry for double entry. keyboard error.)12:05
=== zyga is now known as zyga-afk
jamespagejml, hmm12:40
jamespagejml, the postgresql does assume default port12:40
jamespagecharm that is12:40
jamespagejml, the only way I know to get it to automatically update charms is to bump the version number in the revision file manually before doing a deploy12:41
jamespagebut I often forget todo that - and have to use --upgrade anyway12:41
jmlwell, the real question is how do I detect that the version number needs bumping12:42
jmlthe environment has a copy of the charm stored somewhere, presumably12:43
jmlif I could get that, it would be easy to ask "do your copy and my copy differ? if so, bump my version. if not, great."12:44
=== zyga-afk is now known as zyga
jamespagejml, it does12:45
=== zyga is now known as zyga-food
=== benji___ is now known as benji
=== zyga-food is now known as zyga
surgemcgeeQuick question, one of my web sites uses a node.js server. It is suppossed to open port 8080 which does not happen. What is the best way to open this port, including it in the charm?13:57
marcoceppisurgemcgee: You can include it in the charm if the charm requires the node.js server etc. If you need to just ad-hoc open it you can do that with juju-jitsu14:11
marcoceppiIdeally if the charm users it/needs it it should expose it14:11
jaustinpageIm trying to debug some problems I am having with the swift charms. anyone else working on these, or using them?14:23
SpamapSadam_g: ^^ jaustinpage needs help w/ swift14:47
SpamapSjaustinpage: adam_g wrote them14:47
=== zirpu_ is now known as zirpu
jaustinpageSpamapS: thanks for the info15:21
=== jaustinpage is now known as japage2
SpamapSjapage: curious, what issues are you having w/ swift?15:38
cheez0rjapage: I'm working with the swift charms, what are you seeing?15:43
cheez0rjuju folks; I've got 11 nodes in my MaaS cluster, and 11 machines created, with 11 total services on them. When I attempt to add a unit to one of the services, it adds a 12th machine in state pending, assigns the unit to that machine, and nothing ever happens. Is there a way to make juju use an existing machine to host the unit, or what?15:47
cheez0rSo far the behavior seems to be one service unit per machine.15:48
japagecheez0r - I seem to be seeing some sort of error when i try to create the connection between swift-storage and swift-proxy15:52
japageIt is like the swift-relation-changed function is not able to add the storage nodes for some reason15:53
japagecheezor: i dont think you can push more than 1 service out to a node15:54
cheez0rthat's awfully strange.15:55
cheez0rI should be able to, for instance, run nova-compute and swift-storage on the same node.15:55
japagecheez0r: I agree15:55
japagecheez0r: have you been able to deploy swift to 4 or more machines, and get the relationship between swift-proxy and swift-storage working/15:56
cheez0rno.15:56
japage*?15:56
cheez0rI have not pursued the relationship at all15:56
japagehmm, ok15:56
cheez0rI'm right now working on getting swift-storage on multiple nodes- but I'm out of nodes15:57
japageim cheating, im using vm's to test, so I can create more nodes as needed.....15:57
cheez0rnice.15:57
cheez0rI've been trying to deploy a whole MaaS/Juju/OpenStack cluster on HP Blade hardware.15:57
cheez0rfor about a month.15:58
SpamapScheez0r: everybody has asked for the ability to run two things on one machine15:58
japagea month? the rest of the openstack charms seem to be working well, at least for me.15:58
SpamapScheez0r: but as yet, that feature is not implemented in juju15:58
SpamapScheez0r: part of the reason being that juju was envisioned first as "apt-get for the cloud" not "openstack deployment tool"15:59
cheez0rjapage: I've had many issues that have roadblocked me15:59
SpamapScheez0r: so, with the cloud, you just size your VMs right16:00
cheez0rSpamapS: yeah, si comprende16:00
cheez0rThe more I work with juju + openstack the less I think they're a good pairing16:00
SpamapScheez0r: but w/ real hardware, you get what you get16:00
cheez0rbut perhaps that's going to improve as juju evolves16:00
SpamapScheez0r: Its the #1 feature request16:00
SpamapScheez0r: I think it will land as the first feature after the go port is done.16:01
japageI've been "accidently" using juju/maas exactly as intended...16:01
=== japage is now known as japage_afk
jamespageSpamapS, hey - you appear to be chair for our team meeting today!16:03
jamespagestill OK for that or do you want to slide to me?16:03
cheez0rSpamapS: thanks for the info man, very helpful.16:04
negronjl'morning all16:14
=== jamespage is now known as hazmat_mk2
=== hazmat_mk2 is now known as jamespage
SpamapSnegronjl: are you stalking the halls of Velocity as well?16:36
negronjlSpamapS: I may go back there tomorrow but, not today16:44
negronjlSpamapS: Did enough stalking yesterday :)16:44
hazmatSpamapS, trying to upload a branch for co-location, but network here is choppy, going to hit up the speaker lounge and hardline it post plenaries16:49
hazmatre jitsu16:49
SpamapShazmat: sweet17:02
=== EvilBill_ is now known as EvilBill
koolhead17hello all17:06
=== japage_afk is now known as japage
=== zyga is now known as zyga-afk
lifelessmorning y'all18:39
SpamapSlifeless: howdy18:41
lifelessSpamapS: o/18:43
lifelesshey, so did you see my query about proof?18:43
lifeless15:48 < lifeless> is this expected? :  charm proof .18:43
lifeless15:48 < lifeless> E: could not find metadata file for .18:43
lifeless15:48 < lifeless> E: revision file in root of charm is required18:43
lifeless15:48 < lifeless> but18:43
lifeless15:48 < lifeless> charm proof $(pwd)18:43
lifeless15:48 < lifeless> works fine18:43
SpamapSlifeless: that does not make much sense.18:44
_mup_Bug #1018059 was filed: Disable fsync on zk to speed tests. <juju:In Progress by hazmat> < https://launchpad.net/bugs/1018059 >18:44
lifelessindeed.18:44
_mup_Bug #1018061 was filed: Disable fsync on zk to speed tests. <juju:In Progress by hazmat> < https://launchpad.net/bugs/1018061 >18:45
lifelesswould you like a bug, and if so where18:45
SpamapSlifeless: if args.charm_name: charm_name = args.charm_name18:45
SpamapSelse: charm_name = os.getcwd()18:45
_mup_Bug #1018062 was filed: teminate-machine should provide and option to '--force' <juju:New> < https://launchpad.net/bugs/1018062 >18:45
lifeless charm proof18:46
lifelessusage: proof [ charm_name | path/to/charm ]18:46
SpamapSlifeless: charm proof . works for me in all my charms18:46
SpamapSas does no argument, which assumes .18:47
lifelesshttp://paste.ubuntu.com/1061284/18:47
lifelessSpamapS: I'm running precise.18:47
lifelessSpamapS: does that make a difference?18:47
SpamapSno, I am too18:47
SpamapStho I might have a more current charm-tools18:48
SpamapSthe one in precise is pretty old by now18:48
SpamapSlifeless: I think that bug is fixed in trunk basically.18:56
lifelesshokay18:57
* lifeless suggests more SRU is in order18:57
hazmatlifeless, http://paste.ubuntu.com/1061301/18:58
hazmatshould fix it18:58
* hazmat submits a branch18:59
hazmatactually this easier to cowboy ... SpamapS, m_3, jimbaker` any objections to the one liner above18:59
jimbaker`hazmat, +119:02
SpamapShazmat: if you think that corrects the problem (a problem I don't have or see) then yes, just commit and push19:02
SpamapShazmat: please run 'make check' too19:02
SpamapShazmat: charm-tools has tests19:02
SpamapShazmat: consider maybe adding a test for this :)19:02
cheez0rhey juju guys, I just want to confirm that I understand this: Juju does not support specifying which node a charm is to be deployed to, right? It just pulls a node from what's available?19:04
cheez0rAll of the reading I've done on this topic has left me with that understanding; I'm just trying to confirm I'm right.19:04
SpamapScheez0r: yes thats correct19:04
cheez0rThanks SpamapS!19:04
hazmatcheez0r, yes at the moment, re jitsu extensions that capability is coming soon19:04
jimbaker`hazmat, my only objection to this code is that charm_name and charm_path are rather conflated here19:04
jimbaker`but that's the existing case19:04
hazmatjimbaker`, that's the entire script19:04
jimbaker`indeed19:05
hazmatjimbaker`, feel free to rewrite19:05
jimbaker`hazmat, i'm sure there will be some opportunity :)19:05
SpamapSI believe we have a lot of refactoring to do in charm proof19:06
SpamapSI'd even be open to changing the name to something else, since proof was a play on 'principia mathematica'19:07
hazmatSpamapS, is trunk open?19:13
SpamapShazmat: tonight19:16
hazmatSpamapS, ack, i just closed out the galapagos milestone19:17
SpamapShazmat: actually, screw that19:17
SpamapSclosed?19:17
hazmatSpamapS, if you have a separate branch, why are we gating trunk19:17
SpamapSI mean to creat an actual release19:17
SpamapSI have no branch19:17
SpamapSIts a psychological freeze19:17
hazmatSpamapS, the distro branch?19:17
SpamapSmeant to get you guys to *test* it19:17
SpamapShazmat: right, the distro package is a quilt stream. ;)19:17
SpamapShazmat: anyway, lets just open trunk, I'm going to tag 0.5.1 as trunk19:17
hazmatSpamapS, ack19:18
SpamapShazmat: I meant to create a release from the galapagos milestone19:18
SpamapSerr, I'm going to tag r544 as trunk19:18
hazmatSpamapS, i just did, its just a label though no tarball attached19:18
hazmathttps://launchpad.net/juju/+milestone/galapagos19:18
SpamapSI'll do tarballs if somebody requests it19:18
SpamapSbut I don't really see a need19:18
SpamapStag is fine19:19
SpamapShazmat: I was going to bump the version in setup.py too19:19
hazmatSpamapS, sounds good19:19
SpamapShmm wait, natty and oneiric still FTBFS19:19
SpamapShazmat: can you hold just a bit longer on lp:juju ? I want to make sure natty/oneiric build19:21
SpamapSpretty sure this is buildds being slow, not a real problem19:21
SpamapShazmat: heh, tho your fsync change might be a solution for that19:21
hazmatSpamapS, sure, just want to greenlight the sub port change and the fsync stuff in19:22
hazmatSpamapS, perhaps.. some of the status setup tests need exorcism19:22
hazmatthey setup the world and examine a fraction19:22
hazmatand worse they get used by other tests as a base19:22
SpamapShazmat: I'm tempted to just make a branch for 0.5, and do any fixes in there19:22
hazmatSpamapS, hmm19:23
SpamapSwhich is probably what we should do, but I liked the idea of taking a week to actually use/test the release19:23
hazmatSpamapS, branch for stable or branch for features, either sounds reasonable19:23
hazmatSpamapS, afaik the next major incompatible feature is upgrade support19:23
SpamapShazmat: I was thinking we should start honolulu by adding a feature which which makes arbitrary PPA selection possible so we can add PPA's and keep ppa:juju/pkgs stable19:24
hazmatSpamapS, effectively the upgrade stuff has support for things ... like that19:25
SpamapSI was hoping you'd say that19:25
hazmatie. arbitrary release url support19:25
hazmatyou can point it to any directory of releases19:25
SpamapShttps://code.launchpad.net/~juju/+archive/pkgs/+build/3600404 .. once that builds.. I'll commit the 0.5 -> 0.5.1 change and release that as 0.5.1...19:26
SpamapSThen I was thinking I'd alter the PPA build recipe to pull from a stable series, and create a new PPA for trunk19:26
* hazmat needs an osd notify for website changes19:26
hazmatSpamapS, +119:26
SpamapShazmat: what would you say to shortening honolulu to just 3 weeks? Basically just merge everything that is approved already, and wrap up the zk acl work?19:27
hazmatSpamapS, why?19:27
SpamapShazmat: so we can get the zk acl work out faster. :)19:27
hazmatSpamapS, your setting what feels like arbitrary deadlines19:27
hazmatdoesn't make anything go faster19:28
SpamapShazmat: no, this would get us back on the 6 week cadence.19:28
SpamapSsince we're 3+ weeks late19:28
hazmatSpamapS, but why are we late?19:28
SpamapSBecause nobody cares about releases except me19:28
SpamapSand I've been busy/distracted/etc.19:28
hazmatSpamapS, i think its more about the num of developers assigned to py juju atm19:29
SpamapSwell we didn't delay it for want of features/bug fixes19:29
SpamapSjust.. time to organize the release19:29
SpamapSthe whole point of having a cadence is to just ship what we have when the day arrives.19:30
SpamapSthat way people don't feel rushed to push things that aren't ready, because they know they will see a release in 6 weeks19:30
SpamapSbut yeah19:30
SpamapSw/o developers this is a bit moot :)19:30
hazmatjimbaker`, hows the sec group rework coming?19:31
SpamapShttps://launchpadlibrarian.net/108722045/buildlog_ubuntu-natty-i386.juju_0.5%2Bbzr544-1juju5~natty1_FAILEDTOBUILD.txt.gz19:32
hazmatjimbaker`, ^19:33
hazmatnew format bug19:33
SpamapSthat has failed 3 times in a row19:33
SpamapSworks fine on precise and quantal19:33
SpamapShazmat: I'm tempted to just merge in your no fsync change and see if that solves it19:36
jimbaker`hazmat, i'm currently sick, so not so much progress yet19:53
hazmatm_3, your in au?20:01
hazmatjimbaker`, ack, thanks for the update20:01
hazmatSpamapS,  that failure is odd if its rel specific, its the same py version, and same major libyaml20:04
hazmatSpamapS, do we even care about pre oneiric?20:04
SpamapShazmat: not much no, but oneiric fails too20:04
SpamapShazmat: its more that I want to know why, not that I want to care about oneiric/natty20:05
SpamapSok appt time20:07
SpamapShazmat: bbiab.. I'd be fine w/ pushing the fsync change into trunk.. if that solves it, we'll ship it with 0.5.1. :)20:07
hazmatbcsaller, do you have time to debug ^20:16
bcsallerhazmat: you mean the libzk deadlock thing still?20:18
bcsallerI have looked at it but didn't finish it yet, I can poke at it again today20:18
hazmatbcsaller, no the test failure on oneiric20:18
bcsallerlooks like natty20:19
hazmatbcsaller, the libzk deadlock with security isn't critical, the test failure (see build failure link above ) is the problem20:19
hazmatbcsaller, SpamapS mentioned it also exhibits under oneiric20:20
bcsallerhazmat: it looks like the default json module would have to fail for this to break, but I'm spinning up an instance20:33
jmlwhat I think of when I think of juju & puppet: http://tinyurl.com/yfn5wn921:12
sidneijml, why?21:31
=== salgado is now known as salgado-afk
jmlsidnei: puppet. juju. think about it. (I guess it might not translate well.)21:55
lifelessjml: bad man :P22:06
SpamapSjml: Hahahah thats fantastic22:32
imbrandonahhh finally .... it lives !! http://bholtsclaw.github.com/showdown/23:21
JoseeAntonioRimbrandon: ping, question, do you have a mailman charm?23:23
imbrandoni do not, there MIGHT be one23:23
imbrandonbut i would need to look hadent seen one around yet23:23
JoseeAntonioRthat was what I was asking, not you, in general :P23:23
JoseeAntonioRif you see one, let me know23:23
imbrandonyou can check on the store23:24
imbrandonit shows all of them23:24
imbrandonand the ones in-porogresss23:24
imbrandonas well23:24
imbrandonprogress*23:24
imbrandonone sec i'll get you the exact link23:24
JoseeAntonioRit's not there, so I assume there's no mailman charm23:24
imbrandonyea if there isnt one there and you dont see it in the ~queue the other place to look is a bug against juju charms23:25
imbrandonbut i think those show in the in comming queue23:25
imbrandon( maybe not without a branch , not sure )23:25
imbrandonbut yea23:25
imbrandonif its not there then nope and its fair game, if it is there but no one worked on it in 30 days23:26
imbrandonthen it is also fair game but still probably nice to ping the other party if its practial to do so23:26
imbrandonbut thats just "best" really23:26
imbrandonSpamapS: i guess no word from RT ? unfortunate :(23:27
JoseeAntonioRI'll see, I may write one if I have time23:28
imbrandoneven if your doing it shelfishly and then push what you have to your own branch on LP like ~lpip/charms/precise/mailman23:29
imbrandonthen someone else has a start on it when they go to finish etc23:29
JoseeAntonioRgreat23:29
JoseeAntonioRmental note taken23:29
imbrandonso even partial charms are nice to keep on LP in your name too even if not ready for the store for whatever reason23:29
imbrandonand if you push to a branch named like that me or anyone can install your version of the charm too like23:30
imbrandonjuju deploy cs:~lpid/precise/charmname23:30
imbrandon:)23:31
JoseeAntonioRthat's great, JoseeAntonioR didn't know that23:31
imbrandonyup yup. thje docs are actually prettu good on the basics23:31
imbrandonsome things and adv stuff a little dated23:32
imbrandonbut for most projects i've been on ours are fantasic compared23:32
imbrandoneven though we;re actually trying to make them even better still23:32
imbrandon:)23:32
imbrandonhttp://www.jujucharms.com/docs23:33
imbrandonanyone that is in charm-contributors can commit or do a merge preposal too so alot of ppl can help like a wiki but cleaner23:34
imbrandonand easier to manage :)23:34
* imbrandon gets back to his charm for now, havent actually done any juju stuff at all today yet23:34
JoseeAntonioR:P23:36
JoseeAntonioRgo for it23:36
imbrandonSpamapS / m_3 ( and everyone ) I almsot forgot to mention it since i've been not in #juju most of today, there is now a #juju-ports ( with pointers to here if all are afk ) for OSX and Fedora Peeps ( and others as more come ) to collab and get support and not clutter here if not needed23:42
imbrandonits on the irc teams radar too as part of the official juju- namespace etc, and Markdue put the word out over there and we already have a few ilders23:43
imbrandon( like 3 )23:43
imbrandonjust kinda FYI23:43

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