/srv/irclogs.ubuntu.com/2012/07/02/#juju.txt

hokkai agree current approach of wrapping cli lxc commands is a bit ugly. but I thought lxc can take care of all these issues already00:00
hokkai mean autorestart, firewall, network rules -- libvirt offers all this stuff for lxc containers, no?00:00
imbrandonlxc is a hack, it should die in a fire00:00
hokkalxc technology appears to mature slowly, it is not that bad. also, now if one wants to install openstack with juju there are only two options I'm aware of: maas which requires 10(!) physical hosts to deploy because it will deploy each service on a separate physical hosts which appears to be ridiculous to me. the second option is lxc. it lets deploy several openstack services on one host, which is nice I think.00:18
imbrandonit is that bad, if you want a seperate them use real virtualization that already does all this for you, esx , vbox , to name a few, not a bsd jail on crack thats hacked to do some of the same things00:20
imbrandonand there is dev stack00:20
imbrandonas well as many real virtualization products00:21
hokkanote that I was talking about using juju to bootstrap openstack00:21
hokkado you suggest to deploy openstack components in vbox?00:21
imbrandoni dont sugest anything other than lxc is a hack that needs to die in a fire, it may have its uses but for our usecase there are already things mature that dont require re-coding to do something they were never intended to do00:22
hokkaJ00:23
lifelesshow do you interrogate a specific relation from a charm hook?00:24
lifeless(I want to see if the zk relation is setup in opentsdb in the start hook)00:24
imbrandonrelation-get ?00:24
lifelessso, in the zookeeper-relation-changed hook, I do zk_host=`relation-get private-address`00:25
imbrandonyup00:25
lifelessbut that is missing the context in the start hook.00:25
hokkalifeless, imbrandon: thanks for the feedback00:25
lifelessisn't it? Or am I misunderstanding teh whole thing00:25
imbrandonright, you only have access to it in the relation* hooks00:26
lifelessso thats my quesiton00:26
lifelessimbrandon: btw you were a bit harsh on hokka :(00:26
imbrandonahh as far as i konw you dont00:26
imbrandonor cant00:26
imbrandonsorry :(00:26
lifelessSpamapS: ^ your review, how can I do this thing?00:27
imbrandonlifeless: yea it just pains me everytime someone tries to use lxc, we put it as something its not and get their expectations high00:28
imbrandonbut yes i probably was, we just need a real local provider like you said00:28
lifelessimbrandon: sure, problem I saw was that hokka was trying to solve a problem, and while you're accurate, it didn't help them.00:28
lifelesssorry, overlapped with you there. enough said.00:28
imbrandon:)00:28
imbrandonbut yea as far as the relation stuff , i dont think there is a way iirc, other than some questionable measures00:30
imbrandonlike using the juju charm from the cli of a hook00:30
imbrandonor similar00:30
imbrandonSpamapS lifeless hazmat : mmmm i wish there was an interactive shell that simulated a charm env where i could fire hooks in the corect context at will00:51
imbrandonthat would make creating new charms so much easier00:52
imbrandonknow if there is a way i could simulate that now  that i'm overlooking ?00:52
* imbrandon is finishing nginx today00:53
lifelessis software ever finished ?00:53
imbrandonheh true, i feel its not, just like websites, your never "done"00:53
imbrandonlifeless: ok let me rephrase , puttin nginx in a state that others can make use of , hopefully :)00:54
imbrandon:)00:54
lifeless\o/00:54
lifelessof course, have to ask why that matters, nginx after all (/wink)00:54
imbrandonheh00:55
lifelessI wish they would choose less disruptive defaults00:55
lifelessI keep having to support folk who get bitten by their Vary/compression defaults.00:55
imbrandoni'm trying out some intresting common lib approach , take a peek00:55
imbrandonyea00:55
imbrandoni reset those right off00:55
imbrandonhttp://bazaar.launchpad.net/~imbrandon/charms/precise/nginx/trunk/files00:56
imbrandonabout to dump the default configs in /templates and use preg_repalce on ##place-holder-values##00:57
imbrandonis my next step00:57
imbrandonlifeless: http://bazaar.launchpad.net/~imbrandon/charms/precise/nginx/trunk/view/head:/templates/nginx.conf01:07
imbrandonthats what i use as the base, seems to work well01:07
lifelessdo you export the log data as relations ?01:10
imbrandonnot yet, but i had considered it01:10
imbrandonfor like loggy or something to be used01:10
imbrandoni'm just now adding in the shared mount stuff01:11
imbrandonfor nfs, before it did not have that, actually this was all one large charm before, trying to find the break points into smaller charms is the key01:12
imbrandonas in juju deploy website , and the one charm did EVERYTHING, thus breaking it out into nginx , website, database , logs , mount etc etc01:12
imbrandonactually, i just realized something ... /me goes to shuffle a little code ...01:16
lifelessimbrandon: right01:18
lifelessI'm poking at logstash atm01:18
hazmatlifeless, nice, think there is an extant attempt at it, but its not very good.. http://jujucharms.com/search?search_text=logstash02:23
lifelessyup02:23
lifeless(thanks - I did already know but I appreciate the hint anyhow)02:26
imbrandonhttp://15.185.225.6/02:27
imbrandonheh working state now02:27
imbrandonfew more cleanups and it will be ready for review i think02:28
imbrandonactually might be now /me looks02:28
imbrandonhrm nope, one more thing02:29
lifelesshazmat: do you have any idea on the relation-get thing ?02:30
* hazmat scrolls back02:31
lifelesshazmat: in my start hook, I need to check that a specific relation exists.02:31
hazmatlifeless, relation-ids02:32
hazmatlifeless, allows you to check for instances of a relation given a relation name02:32
lifeless(and then pull out the data from it)02:32
hazmatwhich can then be passed to relation-get/relation-set/list02:32
hazmatit was mainly meant for upgrade contexts, but its useable in any non relation hook context02:33
hazmatimbrandon, lxc is a not hack02:33
lifelesshazmat: so, if [ -n "`relation-ids zookeeper`" ] ... ?02:33
hazmatalthough the juju implementation of local provider could perhaps use that moniker02:33
imbrandonfor what we;re using it for it is, its not a true virtualization container02:34
lifelesshazmat: lxc is -very- hairy at the moment. Even with all the work we're putting into it.02:34
* hazmat remembers the beatles02:34
hazmatits getting better all the time ;-)02:34
imbrandonhehehe02:34
hazmatlifeless, very hairy? its not root secure, what in particular is hairy?02:35
* hazmat checks rel-id syntax02:35
imbrandoni still think that a true xen/vbox/umode container would be better02:35
lifelesshazmat: it depends on the entire kernel being properly namespaced, we've had a raft of bugs where that isn't the case.02:35
lifelesshazmat: e.g. powering off the machine from within lxc02:35
lifelesshazmat: attempting to insmoding 32-bit modules into a 64-bit kernel from within a container.02:35
hazmatlifeless, indeed, but some of those are mitigated with app armor02:35
lifelesshazmat: yes, but think structurally.02:36
hazmatlifeless, yes.. there's a lot of surface area there02:36
hazmatand there many things not properly namespace'd02:36
lifelesshazmat: the dependency stack for lxc to be secure in and off itself, is huge. And *known* (not speculated) to have un-upgraded non-namespace aware code.02:36
hazmatbut it has been done correctly02:36
hazmatwith openvz02:36
lifelesshas anyone written a json api presenting ec2-like semantics (just enough for juju in particular) for either libvirt or lxc itself ?02:37
hazmatlifeless, sure.. they call it openstack02:37
hazmatlifeless, i think that's code looking for a problem to solve..02:38
hazmatit may be conceptually nice02:38
hazmatbut its overkill imo02:38
hazmatwe do need to refactor the lxc provider02:38
hazmatbut thats mostly to just drop libvirt02:38
hazmatsince lxc in precise does network02:38
hazmatand to switch to lxc ubuntu cloud img02:38
lifelesshazmat: it would provide an avenue to have smaller code base.02:38
hazmatso we can init with cloud-init the same as other setups02:38
hazmatlifeless, perhaps.. i'm not so sure02:39
lifelesswhich is a good thing; would let the local provider just be an api consumer, the hairy stuff could then reuse bits of openstack, or standalone, as appropriate.02:39
hazmatlifeless, getting to cloud-init and the code is already minimal02:39
hazmatlifeless, and much less software into the upstream stack02:39
lifelesshazmat: I suspect there are a large raft of optimisations you're not well placed to make at the moment.02:39
hazmatlifeless, wrt to lxc?02:39
lifelesshazmat: such as layered fs's on top of the base image02:40
* hazmat nods02:40
lifelesswhich a local provider daemon could take care of more easily.02:40
hazmatbtrfs snapshots would be butter :-)02:40
lifeless(which btw would shrink the footprint substantially for whatever is in the 'image')02:40
lifelesshazmat: uhhg, inappropriate ;)02:40
hazmatwell not for code, but operationally it would be much nicer02:40
hazmatthat's one of my concerns about moving to lxc everywhere02:41
hazmatif we have to wait for machine bootstrap and then download an lxc image all over again02:41
hazmatit would be nicer if we could use the root fs a base in a stable secure fashion02:41
lifelessright, which you can, if you get intimate with lxc02:42
lifelesswhich makes juju less portable02:42
lifeless-> break the dependency, provide a crisp clear boundary, and let folk like imbrandon write local ones for their OS.02:42
hazmatlifeless, at the moment i don't really regard local provider as portable anyways..02:42
lifelessand the stuff on the other side of the boundary can get as awful as needed.02:42
hazmatmuch less juju02:42
hazmatdefinitely we want to target the latter towards some notion of portability, but how that stretches is still up in the air02:43
lifelesssure; my main point is to separate the concerns.02:43
lifelessWhen you describe juju, adding 'and it knows how to xyz local containers' in doesn't fit with the main thrust.02:43
hazmatlifeless, if its using cloud init for containers, then the api wrapper around lxc is going to be about the same as an api wrapper around some other provider that's facilitating the same, at least till it goes deep on features, in which case yeah.. it would be nicer to have it external02:45
lifelessexactly.02:46
hazmatlifeless, my concern on the latter is how close it may be getting to something like openstack, ie what's the scope limitation on that02:46
lifelessthe difference between 'this is how you call lxc command line' and 'this is an API you can use', is that an API you can use can be used from within a container.02:46
lifelesswhich solves your zookeeper-outside issue02:46
lifelessits similar to openstack in the same way MAAS is similar to openstack.02:46
hazmatlifeless, that's not really an issue re outside zk02:46
hazmatlifeless, that was by gustavo's choice..02:47
hazmatoriginally lxc for juju was modeled as machines instead of units02:47
hazmater. implemented as a contributed patch by SpamapS02:47
lifelessyes02:47
lifelessI spent some time tweaking it02:48
lifelessanyhow02:48
lifelesswe could go around this indefinitely.02:48
lifelessI appreciate there are some choices in here; some of them make less sense to me than others, and there isn't sufficient explanation for me to be able to agree or disagree with the /why/.02:49
hazmatlifeless, if the api is around i'd be game for incorporating, but its not something we can do ourselves given priorities atm02:49
lifelessSure, never suggested you should :)02:49
lifelessI figured the channel might know if someone somewhere had done one.02:49
lifelesshazmat: what makes me sad right now is the ip using patch was rejected.02:50
lifelessSo, I'm running a fork, and probably will be forever.02:50
hazmatlifeless, well...02:50
hazmatlifeless, openstack native provider would work just as well02:50
lifelesshazmat: it uses ip addresses02:50
lifelessexactly as I proposed.02:51
hazmatlifeless, exactly..02:51
lifelessjust a different provider.02:51
lifelessSo I don't understand why its acceptable in one provider and not another.02:51
hazmatlifeless, because in the ec2  case,  the most common use is public, and public addresses there are...02:52
hazmati dunno.. you'd already convinced me ;-)02:52
lifelessyah02:53
hazmatbedtime for me, one more merge to do02:53
imbrandongnight hazmat ( when ya head out )02:55
imbrandonok headed to sleep04:10
imbrandonSpamapS: https://bugs.launchpad.net/charms/+bug/99469904:10
_mup_Bug #994699: Charm Needed: Nginx <Juju Charms Collection:Fix Committed> < https://launchpad.net/bugs/994699 >04:10
imbrandonits in a functioning state, would LOVE some input / patches / code snipits / review / etc etc, i think its ready for more than me to work on now, basics are laid04:11
* imbrandon heads to sleep04:11
imbrandon( note: I want to make setting the values for template:relace more elegant but i need fresh eyes in the morning maybe )04:12
imbrandontemplate::replace*04:13
SpamapSimbrandon: I'll take a gander05:02
SpamapSlifeless: btw, imbrandon told you wrong. You can access any relation-* command from any other hook. You want the relation-ids command.05:24
SpamapSlifeless: if you are not in a *-relation-* hook, you need to be more explicit is all05:25
lifelessSpamapS: thanks, hazmat set me in the right direction, though I haven't dug around yet to figure it all out05:25
SpamapSok good05:25
SpamapSI skimmed the backscroll but missed that bit I guess05:25
lifelessseems a shame I can't just say relation-get relation=zookeeper05:25
lifeless14:31 < lifeless> hazmat: in my start hook, I need to check that a specific relation exists.05:25
lifeless14:32 < hazmat> lifeless, relation-ids05:25
SpamapSthe problem is zookeeper might have more than one thing related to it05:25
lifelessetc05:25
lifelessSpamapS: from within the context of a hook on opentsdb ?05:26
lifelessSpamapS: how is that different to being within the context of the zookeeper-changed hook of opentsdb ?05:26
SpamapSyeah, you might say 'add-relation opentsdb zk1' and 'add-relation opentsdb zk2' ..05:26
SpamapSlifeless: whether thats valid or a good idea is not for juju to say. but in many cases (mysql db relation) its totally valid05:27
SpamapSlifeless: when you're in a *-relation-* hook, the relation ID is implied, you have a $JUJU_RELATION_ID even.05:28
lifelessmmm05:28
SpamapSlifeless: but if you're in any other context, you need to figure out what relation id you want to inform/inspect05:28
lifelessso this needs to be written up somewhere05:28
lifelessits really hard to discover let alone work with05:29
SpamapSyeah it only landed in early April05:29
SpamapSits used in several charms already but needs to be an explicit chapter in the docs IMO05:29
lifelesswhat would be most awesome would be for someone to figure out the tasks charm writers need to accomplish, and make that really easy.05:29
SpamapSlike "Advanced Relations"05:29
lifelesswell, pretty much every charm I can think of needs a start that starts if the relation is already there, apparently.05:30
SpamapShm good point05:30
SpamapSlifeless: I suspect we'll find declarative ways to do all of this before too long05:31
SpamapSlifeless: Since juju is an event engine, we should be able to write a pretty simple state machine to drive charms05:32
lifelesssome simple charms might start when there are no relations, but I suspect they are all done: DB's, proxies and web servers.05:33
lifelessanything *interesting* needs data to act on :)05:34
SpamapSlifeless: indeed, tho thus far I know of no charms which actually do make sure they have their relations before start05:36
lifelessSpamapS: well, opentsdb *can't* start until it has it :)05:36
lifelessSpamapS: ditto hbase05:37
lifelesshbase has to have zk and hdfs to do anything; pretty sure it only starts when all the configs are there, and start does $nothing05:37
SpamapSlifeless:  [ -f /etc/opentsdb/required.thing ] && service opentsdb start || echo not ready yet05:37
lifelessSpamapS: there is nothing written to disk though :)05:48
lifelessits all in zk05:48
SpamapSlifeless: the charm would keep that state05:52
SpamapSlifeless: the relation-ids+relation-get approach is just a way to do it w/o a file on disk05:52
* SpamapS pokes at a nice generic monitoring interface06:03
SpamapSEvilMog: btw, I couldn't get john+mpich2 to work.. just seems to error out all over the place. :-/06:04
EvilMogyeah06:04
EvilMogits a pain in the ass to get going06:04
EvilMogonly code I ever get to work is the older zeroshell patch06:04
EvilMogbut the jtr authors claim it works06:04
EvilMogmay have to go john openmpi06:04
EvilMogI may get them to join this channel and chat with you06:05
SpamapSEvilMog: charm "works" so you can try it too.. it just fails with assertions when you actually try to do anything06:06
EvilMogyeah06:06
EvilMogI get the same issue with the recent code06:07
EvilMogwhich is why I may try it with openmpi06:07
EvilMoginstead of mpich206:07
SpamapSmakes sense06:07
EvilMoghttp://openwall.info/wiki/john/parallelization06:07
SpamapSyeah I used that06:08
SpamapSand the 10.04 guide you posted06:08
EvilMogone common problem with jtr + mpich is not having clock synch'd, and not having ssh keys to the whole cluster06:08
EvilMogyeah06:08
EvilMogand the hosts files06:08
SpamapSI have ssh to whole cluster, thats easy w/ juju06:08
SpamapSclock skew might have been an issue, I did not check06:08
EvilMogI know code that works, but its older base06:08
EvilMoghttp://www.bindshell.net/tools/johntheripper.html06:09
EvilMoghttp://www.bindshell.net/tools/johntheripper/john-1.7.3.1-mpi8.tar.gz06:09
EvilMogspecifically06:09
EvilMogand that one I know works with mpich206:09
EvilMogbert@ev6.net is the guy you want to talk to06:10
EvilMoghe wrote the original mpi code06:10
EvilMogbtw I really appreciate it06:13
EvilMogftp://ftp.openwall.com/pub/projects/john/contrib/parallel/mpi/MPIandPasswordCracking.pdf06:16
EvilMogagain thats for the older bindshell implementation though06:18
SpamapSEvilMog: cool.. I'll poke at it another time when I'm not super tired06:24
EvilMogno worries06:24
* SpamapS passes out06:24
EvilMogand no rush06:24
EvilMogmy new cluster won't be online for another month06:24
EvilMogthe other option is https://github.com/ccdes/clortho/blob/master/README06:25
=== Leseb_ is now known as Leseb
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
_mup_juju/trunk r552 committed by kapil@canonical.com09:51
_mup_[trivial] remove old docs tree, docs are now @ lp:juju/docs09:51
melmothhola ! I m playing with maas. juju bootstrap fire up a node, but my maas machine cannot resolve node-000077770001.local09:51
melmothit can resolve node-000077770001 though.09:51
melmothbut when i do a juju status, it try to connect to the name.local one , and as it cannot resolve this name, i m stuck09:51
melmothanyone got an idea what i might have been doing wrong ?09:51
hazmatmelmoth, maas is returning the .local name10:17
melmothyeah. I try to remove it manually with the web page that let you edit nodes names.10:17
hazmatand its not resolvable to your client..its really shouldn't be returning an mdns name10:17
melmothseems to work10:17
hazmatmelmoth, cool10:18
koolhead11hazmat: that doc request was pending in queue 4 ages :)10:49
hazmatkoolhead11, yeah.. the charm reviewers queue worked out so well, i put one together for core, and spent a good chunk of yesterday clearing it out11:08
hazmatcleared out like 12 branches yesterday11:09
hazmatdown to 6, mostly mine though, http://jujucharms.com/tools/core-review-queue11:09
hazmatnow to work through the openstack branch11:10
hazmatkoolhead11, the new doc as a separate branch should help make doc changes go much, much faster (based on evidence to date)11:11
koolhead11hazmat: thanks.11:56
=== fenris_ is now known as Guest20501
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
SpamapShazmat: go man go! Nice job on the merges the last 24 hours :)14:40
hazmatSpamapS, thanks14:42
SpamapSjames_w: Hey, I'm working on enhancing nagios, nrpe, and monitoring in general. Did you ever go much further than lp:~james-w/charms/precise/nagios-nrpe-server/trunk ?15:20
james_wSpamapS, not outside my head15:20
tedgI think something weird is going on, but I'm really not sure.15:21
SpamapSjames_w: ok, I have some solutions for your nrpe.cfg issues15:21
tedgIt seems like the juju agent never starts on a machine that is numbered 515:21
SpamapStedg: Are you saying "There's something happenin here, and what it is aint exactly clear" ?15:21
tedgIt always gets to the state where the instance is running but the agent is not.15:22
tedgAnd it always seems to be machine #515:22
tedgHmm, maybe because I've continually terminated four?15:22
james_wtedg, lxc?15:22
tedgSpamapS, Not sure what I'm saying... :-)15:22
tedgjames_w, EC215:23
tedgDo other folks use "terminate-machine" or am I alone there?  :-)15:27
tedgI mean, and expect to create nodes again, not just as a final clean up.15:27
hazmatSpamapS, it helped hugely to put up a queue page for the core15:30
=== salgado is now known as salgado-lunch
=== zyga is now known as zyga-afk
=== niemeyer_ is now known as niemeyer
=== salgado-lunch is now known as salgado
_mup_juju/gozk r20 committed by gustavo@niemeyer.net17:47
_mup_Mentioned that the package has moved.17:47
imbrandonhazmat: any idea why my nginx isnt showing in the charm queue ( i'm positive its something i forgot to do, and not the queue problem , just not sure what )18:45
imbrandonahh18:46
imbrandonand i take that back18:46
imbrandonit is, i was just to fast18:46
=== philipballew_ is now known as philipballew
hazmatimbrandon, 10m ;-)18:52
imbrandon:)18:53
imbrandon$config = template::read('nginx.conf');18:54
imbrandontemplate::write('/etc/nginx/nginx.conf',$config);18:54
imbrandonthat is just too sexy, now if i can get the rest of the charm so :)18:54
_mup_Bug #1020245 was filed: "terminate-machine" drops two machine numbers <juju:New> < https://launchpad.net/bugs/1020245 >19:15
jcastroimbrandon: can you check your mail and see if HP sent you anything wrt. the HP cloud accounts?19:18
imbrandonjcastro: sure one sec19:18
imbrandonnot that search is turning up19:19
jcastroimbrandon: yeah I think I'll need to mail all of you19:21
imbrandonjcastro: why whats up ?19:22
jcastroI think they enabled them19:22
jcastrobut I need you to check19:22
jcastrothe free 3 months thing19:22
imbrandonoh ,i hope so, /me has had instances spun up for about 10 days19:22
imbrandonheh19:22
imbrandonjcastro: my bill is still -0-'d out so i'm assuming its on19:25
jcastroI wonder when they turned it on19:27
imbrandonnot sure, yea i kinda assumed it was when u told us about it19:27
imbrandonoopsie :)19:27
jcastrohazmat: what's the scoop on the openstack native provider?19:28
hazmatjcastro, i was going to review today19:28
hazmatbut got derailed19:28
jcastrohazmat: cool19:28
hazmatjcastro, its the last one in the queue19:35
hazmatjimbaker, ping19:35
jimbakerhazmat, hi19:48
jcastrohazmat: that works out, they turned on the free accounts today, so this should give us a nice pool to test from19:48
hazmatjcastro, nice20:00
hazmatjimbaker, you've got an approved branch ready to land fwiw20:00
jimbakerhazmat, sounds good20:02
jimbakerhazmat, still catching up after being sick for 3 days20:02
hazmatjimbaker, i'd hold for a few an hr though, i've got a trunk issue that i need to fix20:02
jimbakerhazmat, ok, just tell me when you're done w/ that20:03
=== robbiew is now known as robbiew-afk
SpamapShazmat: have we figured out the natty/oneiric build issues yet?20:11
hazmatSpamapS, re format2.. no20:12
hazmati asked bcsaller to look at it, but not sure if there's any progress20:12
SpamapSimbrandon: is OMG on precise or oneiric?20:12
* negronjl is out to lunch20:23
pindongahi, trying to get juju running on openstack, and I get this: ERROR Invalid host for SSH forwarding: ssh: Could not resolve hostname server-13056: Name or service not known... any ideas?20:39
hazmatpindonga, this should be a faq20:58
hazmatpindonga, depending on your maas config it may not hand out addresses routable from the client20:58
hazmatpindonga, afaicr you can set the name in maas directly20:59
pindongahazmat, pm20:59
hazmatits really a maas setup question20:59
=== salgado is now known as salgado-afk
=== robbiew-afk is now known as robbiew
hokkais it possible to have relationships between services in different environments?22:18
SpamapShokka: not yet no, but thats definitely something we'd like to do22:22
SpamapShokka: you can "fake it" with subordinate charms22:22
SpamapShokka: you but you have to manually bring the data from one env to another unless you get really clever :)22:23
m_3jcastro: yo22:25
SpamapSm_3: good morning sunshine22:37
m_3SpamapS: g'day mate22:38
m_3SpamapS: and now I can say that and actually know _which_ day too :)22:39
SpamapSFriesmurday ?22:39
SpamapSOr Sunthednesday22:40
SpamapSm_3: trying to tackle the tricky art of a generic monitoring interface22:40
SpamapSnagios/icinga are almost *too* powerful for this :-P22:41
m_3nice22:41
m_3take a peek at sensu22:41
hazmatm_3, i don't understand all the hype on sensu22:41
* m_3 likes the possible integration with an underlying openstack install22:41
hazmatits rabbitmq..22:41
m_3right22:41
hazmatand lacks a decent frontend afaik22:41
SpamapSNagios has never had a decent frontend22:42
hazmatSpamapS, its like saying cassandra.. its the new monitoring hotness and toss in some adapters22:42
SpamapSsomehow dominated everybody else with s***ty 1993 style HTML tables22:42
hazmatSpamapS, ichinga FTW22:42
hazmatjk22:42
SpamapSI wonder how much of what I'm doing for nagios will translate to icinga22:43
hazmatsensu basically tosses some adapters onto rabbitmq.. and now people treat it like the perfect monitoring solution..22:43
m_3thin, scales, adaptable... what's not to like?22:43
hazmatm_3, buts what it do?22:44
hazmatits a log transport22:44
m_3what do you really need a monitoring soln to do?  I want custom metrics22:44
SpamapShazmat: sounds pretty good to me22:45
SpamapSthis polling stuff is for the birds22:45
m_3that get where I want them to go... the rest I can handle with other stuff22:45
hazmatsigh.. i could write an amqp adapter for collectd and be equiv22:45
hazmatSpamapS, its still polling22:45
m_3simple composable tools22:45
hazmater.. not polling pushing22:45
SpamapShazmat: you could, but you didn't, and they did.. right? ;)22:45
m_3hazmat: yeah, true22:45
m_3community of plugins/adapters22:46
SpamapScollectd scares me22:46
m_3well, the _start_ of one :)22:46
SpamapS49 C libs many of which are really crappy22:46
SpamapSanyway, what you really want is not a way for your service to say "poll this" but "record this"22:49
SpamapS*how* you record that is up to the monitoring system22:49
m_3hazmat: I rprefer "publishing"... it's lighter weight :)22:49
SpamapShazmat: http://collectd.org/wiki/index.php/Plugin:AMQP22:49
m_3hot-n-sour soup style... just dump it in... anybody insterested can pick it up22:50
m_3sorry for the lag... my irssi client's stateside22:51
m_3dave cheney and I had a hilarious interchange... he's down the street so we had high latency... possibly even round-the-world routes :)22:52
hazmatSpamapS, exactly.. and avoid the overhead of a ruby processes ;-)23:01
SpamapShazmat: +123:04
* m_3 ducks23:04
hazmatjimbaker, can you have a look at this trivial.. fixes trunk http://paste.ubuntu.com/1072207/23:43
hazmatthe new format v1/v2 tests were pretty exact on output (good thing), but the the validate branch, allows for them some of them to be set at least23:44
hazmatre bools and floats23:44
hazmati'm tempted to back out the whole validate branch though..23:44
hazmatbut considering they couldn't be set previously err, still seems like a win23:46
hazmater. set from the cli params23:46
hazmatbcsaller, ^23:50
jimbakerhazmat, ahh, that's not good to have failing tests in trunk23:50
jimbakerhazmat, even if they were about very picky as to what was the then behavior. in any event, the trivial looks fine to me23:52
jimbaker+123:52
bcsallerthat looks fine to me as well23:52
hazmatjimbaker, yeah.. the other branch last one merged in the stack yesterday was pre formatv2 tests23:53
hazmatthanks guys23:53
_mup_juju/trunk r553 committed by kapil@canonical.com23:55
_mup_[trivial] cli config validation compatibility with format v2 [r=bcsaller, jimbaker]23:55
hazmatjimbaker, trunk is green if you want to go ahead with the status-expose23:56
jimbakerhazmat, thanks23:56
hazmatjimbaker, bcsaller incidentally i also put together one of those review queue pages for pyjuju.. http://jujucharms.com/tools/core-review-queue23:56
bcsallernice23:57
hazmatbcsaller, if you can merge trunk.. and repropose your branch, i can have a look later this evening23:57
bcsalleryeah, cleaning up the others too, there should be more than one23:57
jimbakerhazmat, did we ever find out about the build problems on oneiric/natty?23:59
hazmatbcsaller, ^?23:59
hazmatdog walk bbiab23:59
bcsallerthere are other branching going into review23:59
jimbakermy one small attempt to replicate this (by launching a small instance for oneiric) simply suggested that this seemed to be a general problem. but not for the format stuff23:59

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