=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== freeflying is now known as freeflying_away
gnuoyIs juju-core 1.16 from the the stable ppa missing  maas-tags support ? juju with "--constraints maas-tags=compute" returns11:00
gnuoyerror: invalid value "maas-tags=compute" for flag --constraints: unknown constraint "maas-tags"11:00
TheMuegnuoy: did you tried simple "tags=..."11:08
TheMuegnuoy: ?11:08
gnuoyTheMue, I did not, I went by the wiki11:09
=== freeflying_away is now known as freeflying
gnuoyTheMue, is seems happy with that, thanks !11:09
TheMuegnuoy: yw11:10
Dottedhow do you get the service name for use in hooks?12:12
mthaddonhi folks, the local provider on doesn't seem to be respecting the "default-series: precise" for 1.16.0-0ubuntu1 - is that the correct parameter?12:33
mgzmthaddon: that's the default anyway. it's giving you your machines ubuntu version instead?12:36
mthaddonmgz: er, nm, I'm an idiot - the bootstrap node is saucy, but any provisioned nodes are precise12:36
mgzthe "bootstrap" node in the local provider case is just your machine :)12:37
mthaddonmgz: agent-state-info: '(error: container "mthaddon-local-machine-1" is already created)' <-- any ideas what I can do about this (I had to do some pretty heavy surgery recently when I was migrating to an encrypted home dir, may have killed/rm-ed some things I shouldn't have)?12:41
mgzmthaddon: destroy environment, then cleanup any lingering lxc containers should do it12:43
mgzmthaddon: see bug 122714512:45
_mup_Bug #1227145: Juju isn't cleaning up destroyed LXC containers <local> <juju-core:Fix Released by thumper> <https://launchpad.net/bugs/1227145>12:45
mthaddonmgz: should I remove the "mongodb" lxc container? not sure if that one's related to juju12:45
* mthaddon has destroyed mthaddon-local-machine-112:46
mgzwe don't put mongo in a container12:46
mgzso, can leave that one.12:46
mthaddonk, thanks12:47
marcoceppirick_h_: I do now13:12
marcoceppirick_h_: if it's not too late13:12
rick_h_marcoceppi: cool, I've got my api proofing branch in review. I had some question re: opinions on api output and got some second opinions from another person on the team13:12
marcoceppirick_h_: cool13:13
rick_h_marcoceppi: I'll see what comes out of review and then get your docs/details. If you've got any feedback then we can go back and tweak.13:13
josemarcoceppi: ping13:33
marcoceppijose: pong13:33
josehey, are we having any more charm school on air sessions?13:33
marcoceppijose: we should, there might be one this Friday. jcastro?13:35
mthaddonmarcoceppi: any chance of a trivial review of a charm for me? it's a config documentation update only - https://code.launchpad.net/~mthaddon/charms/precise/nrpe-external-master/non-root-checks/+merge/19117913:48
marcoceppimthaddon: I'll take a look13:51
mthaddonthx muchly13:52
=== kentb-out is now known as kentb
mthaddonmarcoceppi: cool, thank you14:02
kurt_Can someone tell me when updating the agent via juju upgrade-juju - is the switch for "--upload-tools" just circumventing the "sync-tools" process?  If I do a sync-tools after upgrading the juju binary, is using "upload-tools" unnecessary?16:59
=== natefinch is now known as natefinch-afk
mgzkurt_: you should not be using upload-tools17:00
mgzit's a developer option, for when you're building from a local source copy of juju-core17:01
kurt_mgz: I have it from older notes.  Ok, thanks.17:01
=== CyberJacob|Away is now known as CyberJacob
rick_h_marcoceppi: so http://paste.mitechie.com/show/1045/ is what things are looking like.17:37
rick_h_marcoceppi: first branch is landing, will be updating/etc the next two over today/tomorrow. Should be able to start hitting staging.jujucharms.com and testing stuff out in a day/two17:38
rick_h_marcoceppi: let me know if any of that doesn't make sense or you're not a fan of17:38
marcoceppirick_h_: what if there are multiple things with a service?17:41
rick_h_marcoceppi: so right now there's plans for two17:42
rick_h_marcoceppi: can we find it17:42
rick_h_marcoceppi: and does the config look ok for it17:42
rick_h_marcoceppi: if we cna't find it, then there's nothing to do for config since we can't check it17:42
marcoceppirick_h_: multiple things, being multiple errors17:42
marcoceppirick_h_: or does it just stop when an error is found17:42
rick_h_marcoceppi: so right now there's a single message and you rerun proof as you fix things17:43
rick_h_marcoceppi: well it'll run through as much as it can. But there will be some level of 'run again' unless we make things more complex.17:43
rick_h_I'm already a bit unhappy with the nested level of stuff. It seems like it should be simpler, but with multiple bundles per file, relations vs services, etc it has to be more complicated17:44
marcoceppirick_h_: hum, this'll work for a first ver17:44
marcoceppirick_h_: Ideally I'd like to tell the user everything that's wrong up front, so they can fix it all without having to do things in steps17:45
rick_h_marcoceppi: so you're saying if 3 config fields are bad. That's the stuff I'm doing now. I wanted to keep it consistent with not found but you're right. As I'm doing tihs only the last config error will be retruend :/17:45
rick_h_marcoceppi: so yea, I could do something where the message was generic "Service config failed to validate" and an object of "field": "message on issue" in another key?17:46
rick_h_I just feel that parsing this on your end is going to be a bear.17:47
marcoceppirick_h_: I really just want a message for the user, so you could have the message say "Service config failed to validate: key, ..."17:48
marcoceppirick_h_: at the end of the day, I'm going to just show the message to the user17:48
rick_h_marcoceppi: ok, I had hoped the debug info would be useful as maybe a -v flag or something.17:49
rick_h_if the config is failing to validate because we're looking under the wrong charm I feel like that's important debug info17:49
marcoceppirick_h_: so, probably? Possibly having an extra key per bundle name, say "output" or "messages" with a formatted message of "<service>: full message to user"17:49
marcoceppirick_h_: thn you can collect the debug info as you see fit and I can find better ways to expose it as a -v flag17:50
marcoceppithough, right now there is no concept of increase verboseness on proof17:50
rick_h_marcoceppi: ok, thinking/will look at adjusting it.17:50
rick_h_marcoceppi: thanks for looking it over and for the feedback17:51
marcoceppirick_h_: np17:51
marcoceppirick_h_: glad you're doing it and not me :)17:51
rick_h_marcoceppi: on the validating of config, do you happen to know if juju will do type coercion?17:52
rick_h_marcoceppi: e.g. if an int is passed to a string config field juju will reject, cast to string, or just ignore?17:52
marcoceppirick_h_: I have no idea, rogpeppe hazmat ^17:53
rick_h_marcoceppi: meh, since we're proofing might as well play it as strict as possible.17:54
=== Nik is now known as Guest62958
Guest62958Hey guys, I just lost contents of my home ~/.ssh and I think that that caused the bootstrap keys to be lost. I can ssh to the bootstrap (or any host) using my user's maas keys...19:08
Guest62958But juju can't communcate. I'm trying to avoid having to bootstrap again19:09
Guest62958I can run juju-status, but deploy or terminate machine won't work19:09
marcoceppiGuest62958: what version of juju are you using?19:11
ahasenackhi, can someone mark this bug as "low" for me please? https://bugs.launchpad.net/charms/+source/landscape-client/+bug/123528119:12
_mup_Bug #1235281: Landscape-client charm does not distribute SSL cert to clients for LDS installs <landscape-client (Juju Charms Collection):In Progress by ahasenack> <https://launchpad.net/bugs/1235281>19:12
Guest62958It has something to do with this ControlMaster setting in ssh19:18
Guest62958and ~/.ssh/socket-%r@%h:%p19:19
Guest62958probably used as ssh identity19:19
gary_posterhey jcastro, could you escalate https://code.launchpad.net/~hazmat/charms/precise/hadoop/trunk/+merge/191278 in the charm review list, please, if that's reasonable?  The charm is broken in core and gui atm without these changes19:20
jcastrohey marcoceppi, got time to review this asap? ^^^19:21
=== natefinch-afk is now known as natefinch
marcoceppijcastro gary_poster: yeah20:02
gary_posterthank you marcoceppi20:04
omgponiesnothing happens when I run shift-D in the juju gui ...  it used to work,  but today... .no.   Has the charm changed recently ?20:11
gary_posteromgponies, hm.  hasn't changed in at least a week or so.  This is standard charm, not changing the config to use trunk or anything right?20:14
omgponiescorrect,  just ran 'juju deploy juju-gui'20:15
gary_posteromgponies, does the export button on top right work?  looks like an open box with an arrow coming out?20:15
omgponiestried in both firefox and chrome ...  shift-D does nothing in both20:15
bacomgponies: i just tried it on comingsoon.jujucharms.com and it works.20:15
omgponiesnope that doesn't appear to do anything either20:15
gary_posterbac, but that's trunk, not 0.10.120:15
gary_posteromgponies, very weird.  I'll try spinning one up.  Can you check the JS error console to see if it is complaining at us?20:16
omgponiesI can cofirm it works for me at comingsoon. also20:16
gary_posterI wonder if it is a GUI bug specific to the charms you have...20:17
=== CyberJacob is now known as CyberJacob|Away
omgponiesI get this in the JS console20:18
gary_posterdoesn't look related actually :-/20:19
omgponiesfigure if there's any javascript error it probably breaks all the javascript20:20
gary_posternot always, and I'm assuming other things still work?  You can click on a service and see the inspector, and you can browse charms on the left, and so on?20:21
omgponiesa second console error when I shift-D didn't notice it before - http://pastebin.com/X7G9bEnw20:21
gary_posterah-ha! that looks more like it20:21
omgponiesyeah I get half-working stuff when I click on the service20:22
omgponiesthe inspector comes up but is blank20:22
=== CyberJacob|Away is now known as CyberJacob
gary_posterwow.  ok.20:22
omgponieshrm,  in chrome it is blank,  in firefox it shows the inspector fine20:24
gary_poster(this would be a great time to request an export to see if we can dupe :-P )20:24
omgponiesI thought I had one from last week but when I import it it complains ... so I went to build a new one20:25
omgponiesbuuuut,  I  do have a .sh that uses the juju cli to build it20:25
gary_posteromgponies, if you are willing to share that would be awesome20:25
omgponiesdon't steal my contest entry! :P20:26
gary_posterthanks omgponies.  No worries, I won't. :-)  Am I right in assuming that you used the .sh to start the environment?20:27
omgponiesthe gui is painful for doing complicated things ;)20:27
omgponiesplus I don't want to be mistaken for a windows admin if somebody sees me pointing and clicking20:27
gary_postercool thanks a lot omgponies.  I'll try to dupe and get back to you, though prob'ly won't be till tomorrow.  that ok?20:28
gary_postercool, thanks again20:28
omgponiesI'll do some messing around on my side too .. .see if I can find anything20:29
omgponiesI hope I win the contest ...  I think it's the only way I'll be able to pay my amazon bill trying to get the damn thing to work :D20:30
omgponiesbtw, I do have a .yaml file from the other week in that repo ... but the  juju-deployer errors on it -20:31
omgponies2013-10-15 15:31:50 Deployment name must be specified. available: ('envExport',)20:32
gary_posterthat sounds like a normal error20:33
gary_posterI mean20:33
gary_posterit is just telling you to specify what name you want20:33
gary_posterI forget option20:33
gary_postertry --help20:33
omgponiesahhhh I got it20:35
gary_posteromgponies, am I making sense?  I don't have deployer hanging around atm but can get it if you need.  though I have to step out in 5 or 10 for awhile20:35
gary_posteroh cool20:35
omgponiesjuju-deployer -c monitoringstack.yaml envExport does it ... I guess the exporter names it as 'envExport'20:35
gary_posterright.  I think the deployer makes you specify even if there is only one20:36
omgponiesyeah ...   and now I find a bug where juju-deployer doesn't know how to deal with subordinate services20:36
gary_posterhazmat ^^^ ?20:37
gary_postermmm...may be gui's fault.  I mean, the deployer could be less fragile but...I bet if you omit line 85 from https://github.com/paulczar/charm-championship/blob/master/monitoringstack.yaml it will work, omgponies20:39
omgponiestrying that20:40
marcoceppiuh, hazmat gary_poster jcastro what happens with an already deployed service if you change the name of all the configuration options?20:41
marcoceppiseems like that could severely break upgrade-charm20:42
gary_postermarcoceppi, I suspect you lose them all20:42
marcoceppiI'm pretty conflicted on this change, I get why it's there20:43
marcoceppiBut seriously, what's the deal with juju not handling periods? first charm names now this?20:43
gary_posterbcsaller, I see the exact same qa issues as before.  well, wait, maybe I haven't merged recently enough20:43
gary_postermarcoceppi, it's an issue from not protecting ourselves from mongo enough20:44
bcsallergary_poster: I hope not :-/20:44
omgponiesyou can never protect yourself from mongo too much20:44
ryancHello all.  I'm looking for anyone that has done work modifying nova-compute and/or quantum-gateway charms to use a separate network interface for quantum networks/OVS instead of piping the GRE tunnels over the default interface20:45
marcoceppigary_poster: so this is an issue with just juju-core? I'm inclined to say this is a bug in juju-core to be sorted. This charm's existed before 1.X and to my understanding has worked back in the ZK days20:45
gary_posterooh better bcsaller.20:45
marcoceppigary_poster: breaking deployed version of th charm to address a juju/mongo issue doesn't seem like the solution20:45
gary_postermarcoceppi, bug is in core and gui.  I think this is a practical resolution for an immediate problem20:46
gary_posterbcsaller omgponies marcoceppi I have to run now.  will return later.  bcsaller so far so good20:46
bcsallergreat, thanks20:46
marcoceppigary_poster: it will break deployments for anyone who has this deployed and runs upgrade charm, not a very practical solution imo20:46
marcoceppigary_poster: will post to the merge request20:46
omgponiesmarco: could you mark in the description of the old config names that they're depreciated,  and then have upgrade-charm look for them having values and config-set the new config names to the same value ?20:48
marcoceppiomgponies: not really, juju can't see descriptions. It seems like this is only broken in juju-core. I guess we can safely merge this since technically < 0.7 is deprecated already.20:49
hazmatomgponies,  gary_poster, marcoceppi deployer definitely knows subordinate services.20:50
marcoceppiand you'd need > 1.0  to actually deploy and change config for this charm20:50
marcoceppihazmat: omgponies it definitely can handle subs, amulet makes heavy use of subs and deployer20:53
marcoceppiomgponies: what problems are you seeing?20:53
omgponiesIt actually looks to be a bug with the GUI export20:53
omgponieshere's the problem line in the export  .yaml - https://github.com/paulczar/charm-championship/blob/master/monitoringstack.yaml#L8520:54
hazmatthere are a couple of other issues with the gui export20:55
hazmatit exports default config options as though they were explicitly set20:55
omgponiesI removed that line and am re-running to see if it still deploys fine20:55
hazmatbut those shouldn't be problematic for deployer usage20:58
omgponieshere's my deployer output - http://pastebin.com/TbrSyFKx21:00
omgponieswith the error I get21:01
hazmatnice the config value export seems to fixed on trunk,  nice21:02
hazmatomgponies, sorry talking about a different issue if you remove line 85 and 93 from that export you should be good21:03
hazmatomgponies, also re elasticsearch.. i'd suggest fixing that charm to not make it ec2 only21:04
omgponiesit's not ec2 only ...  the ec2 portion is to allow it to use ec2-auto-discover for clustering21:05
omgponiesbecause it wants to use multicast by default21:05
omgponiesrunning juju-deployer ... it never seems to exit ...   is this on purpose?  or does it suggest somthing else whacky in the .yaml ?21:07
marcoceppiomgponies: is it outputting?21:07
omgponiesyeah it did a bunch of  'Deploying server .....' lines and then has been sitting for 15mins21:08
omgponieswith nothing else21:08
hazmatomgponies, i always run it with -v -W and it will tell you what its doing / waiting on21:10
omgponiesahhh k, will run again later and see21:10
hazmatit has some built-in waiting for various things to happen and timeouts as wel21:10
hazmatomgponies, multicast is available by default in most of the public clouds (hpcloud, rackspace, google, etc)21:12
hazmater.. isn't21:12
hazmatits pretty easy to setup the discovery with a peer relation21:12
omgponiesyeah I know ...  EC2 discovery plugin makes it easier ... so I targeted that first21:13
omgponiesI'll have some stuff in there to do unicast discovery,  but I haven't had the chance to test it properly21:14
omgponiesin the config.yaml of elasticsearch :-  zenmasters21:15
omgponiesdescription field explains how it works21:16
omgponiesI'll probbly do something like the way hadoop or mysql charms set roles via `service groups`21:19
omgponiesdeploy elasticsearch:master,  deploy elasticsearch:slave,   deploy elasticsearch:nodata, etc21:19
hazmatits not really nesc.21:20
hazmatit only exists to do introductions, juju can do introductions for you21:21
hazmatie. a peer relation, and any unit of elasticsearch knows the addresses of all other nodes21:22
omgponieselasticsearch only needs to talk to one member of cluster which will then tell it about all over members.    common pattern is one or two 'masters' which you set as zenmasters in the configs for all other nodes and they handle the introductions.    setting organizational groups allows for further breakdown of clustering ... for instance if you want to make it rack aware,  or you want to make a search node that holds no data of its own21:26
omgponies ... you can create an organizational group and then have config settings for that group to create the elasticsearch config required to make it perform in the correct way21:26
hazmatomgponies, the primary purpose is just a way to get addresses of the other es nodes.22:09
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== CyberJacob is now known as CyberJacob|Away
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying

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