/srv/irclogs.ubuntu.com/2013/12/03/#juju.txt

=== waigani_ is now known as waigani
=== freeflying_away is now known as freeflying
=== CyberJacob|Away is now known as CyberJacob
=== rogpeppe1 is now known as rogpeppe
yolandajamespage, btw, were you able to take a look at heat?12:02
mthaddonif I have an extremely high revision number for a charm is that likely to cause problems when running upgrade-charm? "date +%s > revision && juju upgrade-charm" - my upgrade-charm hook seems to be running for a long time, taking a lot of CPU12:30
marcoceppimthaddon: interesting Why are you even changing the revision? Juju should do that for you during upgrade-charm12:57
ashipikahey all.. just a quick one.. on bootstrap (in a VM): ERROR juju supercommand.go: 282 unrecognised architecture: precise13:12
marcoceppiashipika: precise isn't an architecture, it's a series. What bootstrap/deploy command are you running?13:16
ashipikajuju bootstrap --upload-tools --show-log.. null provider..13:17
ashipikai know it's a series, that's why i'm confused13:17
=== gary_poster|away is now known as gary_poster
mthaddonmarcoceppi: this charm doesn't have a revision file in the tree, so I need to manually create it - I realise this is possibly non-standard behaviour, but when you're relying on juju upgrade-charm for code rollouts having that file versioned can be problematic13:21
marcoceppimthaddon: interesting concept. I have no idea what would cause juju to hang though. Try increasing the log verbosity for the service and seeing what shows up in the unit/machine log13:22
mthaddonmarcoceppi: upgrade-charm seems to be checking if each previous revision exists for this env somehow13:24
* mthaddon is just going to start from scratch13:24
ashipikamarcoceppi: found an error.. when trying to ssh to the computer it fails to add the host to the know_hosts file (permission issues), so there is an extra line in the output of the detection script.. all lines get shifted by one line down..13:28
ashipikathat is why it fails to properly parse the architecture13:29
ashipikaand gets the series instead13:29
X-warriormorning13:47
=== BradCrittenden is now known as bac
Luca__marcoceppi: I keep getting this agent-state-info: 'hook failed: "ha-relation-changed"' when trying to add hacluster to mysql...13:58
Luca__any idea?13:58
jamespagemarcoceppi, I'm helping Luca__ with that issue - worth noting that all of the openstack charms default to using eth0 for HA - but juju now configured a bridge automatically so it needs to be br014:17
marcoceppijamespage: ah, cool14:18
=== liam_ is now known as Guest41957
=== freeflying is now known as freeflying_away
jcsackettsinzui: fighting g+, be at the 1x1 in a few.15:31
jcastrojamespage, for the docs, for charm features we have "the service shouldn't run as root"15:48
jcastroI want to crosslink to upstart docs to give people a clue on how they can do this15:48
jcastrohttp://upstart.ubuntu.com/cookbook/#run-a-job-as-a-different-user15:48
jcastrois this the right section?15:48
jcastromarcoceppi, do we have a link to something like "how to use amulet" for charm authors?16:02
marcoceppijcastro: no, I'm writing that now actually16:02
marcoceppiin preperation for the release16:02
jcastrodo you know where it will live URL wise?16:02
jcastroI'd like to crosslink16:02
jamespagejcastro, yes - thats right16:04
marcoceppi jcastro howto-amulet.html probably16:05
jcastroauthors-amulet.html seems to match more?16:06
jcastroactually howto is fine16:06
jcastrook let's do that. :)16:06
jcastromarcoceppi, hey I think I messed up an MP for docs16:17
jcastroI just pushed a branch but it appears to have updated another one I had done earlier?16:17
jcastrohttps://code.launchpad.net/juju-core16:17
marcoceppijcastro: it looks like you did a bzr push twice for two different branches?16:45
jcastroyeah I dunno why it did that, sent nick a mail and he'll just pull  from the right one16:47
jcastrohey sinzui17:23
jcastroI am doing my talk proposal for SCaLE 12x in February.17:23
jcastro" Any Ubuntu machine with an open SSH port can be managed by Juju." won't be a lie by then right? :)17:24
jcastroaka how's the manual provider looking these days?17:24
marcoceppijcastro: thumper was saying he landed stuff to make it better last night17:24
sinzuijcastro, buggy and specifically with ssh17:25
marcoceppierr17:25
jcastrosinzui, buggy as in bad or buggy as in "I have 2 months worth of work until the talk"17:25
marcoceppimisspoke17:25
sinzuijcastro, We do want this production ready in January17:25
jcastroperfect, so submitting that statement for a February conference won't get my killed by the audience17:25
sinzuijcastro, or...I use your conference as an excuse to escalate a cluster (F) or ssh bugs17:26
jcastrothat would be fine17:26
jcastrois there a tag for manual provider specific bugs I can follow along?17:26
sinzuimanual-provider actually17:27
utlemmingJust announced the Juju Quickstart Images: http://blog.utlemming.org17:28
jcastrooh cool, I'll share that around in a minute utlemming17:28
arosalesutlemming, very nice blog post http://blog.utlemming.org/2013/12/beta-cross-platform-juju-development.html17:29
arosalesutlemming, I think there is a "quickstart" plugin that is different from yours though.  I think your vagrant images is more of a local charm development work flow17:29
arosalesfor clearity17:29
arosalesutlemming, but really nice work !17:30
jcastroyeah you can't call it quickstart17:30
jcastrounless we start naming various tools and aliases under "quickstart"17:31
jcastrowhich is fine by me if they behave the same17:31
utlemminghrm, I agree. If the effect is the same, Quickstart plugin vs Quickstart images, conveys the same idea: getting quickly started17:32
jcastroyeah17:33
* marcoceppi is having flashbacks to bundle discussion wrt naming17:34
jcastroutlemming, you going to announce anywhere else or want me to handle it now? Don't want to douple post if you plan on17:36
utlemmingjcastro: it landed on planet Ubuntu. But seeing as your the man with all the connects, if you would like to spred the message, that'd be great.17:37
jcastroutlemming, typo "Chose" the box in your header17:40
jcastroalso why not recommend 12.04 by default?17:40
rick_h_utlemming: jcastro just a heads up that we might want to watch the quickstart branding as we bring the juju quickstart command up to users. https://launchpad.net/juju-quickstart17:47
=== liam_ is now known as Guest7421
jcastrorick_h_, yeah, we should def keep that in mind18:10
lazypowerHey thats cool. I was experimenting around with vagrant based juju development a while ago and had some marginal success using sshuttle to route the requests into vagrant....18:17
lazypowermarcoceppi: this is basically the route we took when you came up to visit.18:19
mxchave some juju security questions19:26
mxcwhich i haven't been able to answer from reading the docs19:27
mxcspecifically fire walling, creating juju instances, without exposing them (on azure at least) opens up a public port 22 to the world19:30
=== mhall119 is now known as mhall119|afk
mxcis it possible to deploy charms (say mongodb for example) with very strict ufw/iptables configs?19:31
mxcor, would I have to basically fork the charms to do that?19:31
sarnoldmxc: investigate the subordinate charms19:32
mxcthanks, but I may be missing something.19:35
mxchere's my situation, basically i want to have an environment like :19:36
mxc[ haproxy ] <--> [ app servers ] <--> [mongodb ]19:36
mxcwhere the app servers and mongodb are completely unreachable from the outside world19:36
marcoceppimxc: by default only port 22 is available to servers19:43
marcoceppiall other ports are disabled unless you explicitly enable them19:43
marcoceppiyou can supplement this, by creating a firewall charm19:44
marcoceppithat you can deploy on all of the service you care about, that restrict access by creating ufw, iptables, whatever on that machines19:44
marcoceppithis is done with a subordinate charm19:44
mxcaaah ok. now I get how the subordinate charms help19:44
mxci create a ufw subordinate charm, add it to my config for the mongo charm etc19:45
mxcthanks!19:45
med_marcoceppi, is co-location still called co-location (kind of a meta question)20:44
marcoceppimed_: you're talking about the --to command, and I assume containerization?20:46
med_marcoceppi, related: can you have a constraint that only deploys "NEWCHARM" if "OLDCHARM" exists?20:46
med_marcoceppi, thanks, that's probably what I needed, "--to"20:46
marcoceppiwe have "hulk smash" colocation, where you can just smash two services together with --to, we're making a better container story so you can truly co-locate two services on a physical machine via something like LXC20:47
med_"hulk smash" is probably more what I was thinking of then. And I'm more worried about "already available to users" vs "coming soon"20:48
marcoceppimed_: there's no constraint like that, you'd have to codify it yourself20:48
med_nod, that's what I thought20:48
marcoceppimed_: but we have plugins, so you could create `juju deploy-only-if`20:48
med_ah, I've found: https://juju.ubuntu.com/docs/charms-deploying.html#deploying-to-machines20:50
marcoceppimed_: juju help deploy should also contain a good amout of information20:50
med_where do I read up on "deploy-only-if" or are you saying that's a plugin I need to write?20:50
med_I think you are saying I could write that myself in my copious free time.20:51
marcoceppimed_: yes, you could write that if you so wished to :)20:51
med_thanks marcoceppi . Fount of knowledge as per usual.20:52
marcoceppihey sinzui for the charts on the review-queue how far back do they go?21:21
sinzuimarcoceppi, The data varies. Some only from the moment the feature arrived in production.21:22
marcoceppisinzui: anyway to have only show the last X months? Or possibly reset the stats?21:22
sinzuimarcoceppi, not at this moment. jcsackett do you have any thoughts about marcoceppi 's question regarding http://manage.jujucharms.com/tools/review-queue21:23
marcoceppisinzui jcsackett it's just defeating that the max wait time is 22 months21:23
marcoceppithat's not entirely accurate21:23
marcoceppiand average wait time is more like 5 days now, but because of such outliers it's going to take a long time to drop down21:24
sinzuiI would think a breakdown of week, month, and quarter/year would be more informative21:24
marcoceppiI'm really just concerned with what the last 30 days have been as an average21:25
marcoceppianything past that is just historical21:25
sinzuimarcoceppi, I have some list of metrics to gather. We can definitely tune the sparklines since we need to revisit the data to gather the metrics21:26
marcoceppisinzui: thanks! appreciate it21:26
=== dspiteri is now known as DarrenS
jcsackettsinzui, marcoceppi: i think we can probably alter the window we're looking at without too much work. but truthfully the problem is i think you're interested in current max, not historical max. which is also probably not too difficult a tweak.22:29
marcoceppiwell, max is one example, Really I just want to see a moving average of how long it takes for us to respond22:30
jcsackettmarcoceppi: is it fair to say that min and max aren't really that useful? we added it in on one mention, but average is all i hear anyone talking about, really.22:30
marcoceppiI need to know, lets say, in the past X days, our average response time is X (hours hopefully, if not days)22:31
jcsackettmarcoceppi: so i'm hearing a yes. you're not looking at min and max, really.22:31
marcoceppiMin and max are nice if they follow that same time window, but they're not nearly as important i odnt' think22:31
jcsackettsinzui, marcoceppi: how do we feel about just dropping display of min and max?22:31
marcoceppijcastro: ^22:32
jcsacketti'd like to keep collecting it in case we need to craft a different report, but on review queue we could just show average.22:32
sinzuijcsackett, I don't think the min/max are interesting.22:32
jcsackettwell, if jcastro doesn't object, i can whack the display of that and tweak average to only show the last 30 days worth of info in not too much time at all.22:33
marcoceppijcsackett: Okay, executive decision, do that22:33
marcoceppiI dont' think jcastro will object22:33
sinzuijcsackett, given that the edges are exceptional, we may want to drop them22:34
mxcmarcoceppi: does juju on ec2 use restrictive security group settings?23:32
marcoceppimxc: what do you mean by restrictive security group settings?23:32
mxcwell, basically i want to make sure that the mongo instances are only accessible from the app server instances23:32
mxcand the app servers are only accessible from haproxy23:33
mxcon azure, juju doesn't set up endpoint ACLs which is why your idea of an iptables subordinate service might have to be the way to go23:33
marcoceppimxc: yes, juju on ec2 creates a sec group per unit and applies a restrictive setting. Only when juju expose is run does it open ports23:33
mxcah, that was my question23:33
mxcso that would save me from having to create a separate instance23:34
marcoceppimxc: if I understand you correctly, yes23:34
mxci mean separate service23:38
mxcsubordinated23:38
marcoceppiah, then yes23:39

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