/srv/irclogs.ubuntu.com/2014/06/17/#juju.txt

=== CyberJacob|Away is now known as CyberJacob
vilaHi there !06:56
vilaI get the following error during a bootstrap:06:56
vila    > ERROR bootstrap failed: cannot start bootstrap instance: cannot set up groups: failed to create a rule for the security group with id: <nil>06:56
vilaThis is part of a job that ensure that the juju related security groups are *deleted* before calling 'juju bootstrap'06:58
vila http://162.213.34.117:8080/job/uci-engine-integration-test/34/06:58
=== psivaa-afk is now known as psivaa
vilajam: Any idea about that 'security group with id: <nil>' during juju boostrap above ?08:01
vilabootstrap even08:01
jamvila: sinzui has been observing HP not actually giving us the number of security groups that we expect. (horizon says that we have 200, but starts giving us "no more security groups" after 10)08:05
jamvila: so it at least sounds like an HP problem.08:05
jamwith id: <nil> at least sounds like we weren't able to create a security gorup08:05
jamI don't know why you wouldn't get a "failed to create security group" rather than "failed to set attribute"08:05
vilajam: hmm, HP limit... but 'nova secgroup-list' tells us we only have the 'default' group defined... Is there a place to check for some "hidden" ones ?08:08
MosibiHi all.08:18
MosibiWhen doing a 'juju bootstrap -e openstack', the bootstrapped instance is trying to connect (apt) to internet sources.08:19
MosibiHow/where can i configure that our own internal mirror is used for that?08:19
MosibiOkay, possible my question got lost in the middle of the netsplit :)08:21
Mosibiagain...08:21
MosibiHi all.08:21
MosibiWhen doing a 'juju bootstrap -e openstack', the bootstrapped instance is trying to connect (apt) to internet sources.08:21
MosibiHow/where can i configure that our own internal mirror is used for that?08:21
=== isviridov|away is now known as isviridov
jamespagegnuoy, stable updates for https://bugs.launchpad.net/charms/+source/nova-compute/+bug/133090610:11
_mup_Bug #1330906: NSX support is broken in icehouse <nova-cloud-controller (Juju Charms Collection):In Progress by james-page> <nova-compute (Juju Charms Collection):In Progress by james-page> <quantum-gateway (Juju Charms Collection):In Progress by james-page> <https://launchpad.net/bugs/1330906>10:11
vilajam: did I miss your answer to "hmm, HP limit... but 'nova secgroup-list' tells us we only have the 'default' group defined... Is there a place to check for some "hidden" ones ?" from the netsplit ?10:14
jamvila: I don't *know* that it is the problem. But it does seem like more than coindidence that you're getting an error and we have a "nil" security group from HP around the same time that Curtis is saying something changed in HP and he's unable toget enough security groups.10:15
jamIt might be that HP APIs changed and we're now using them wrong.10:15
gnuoyjamespage, the mps look good to me. Do you want me to approve and merge ?10:16
jamespagegnuoy, just regression testing them again neutron plugin10:16
jamespagegnuoy, happy for you just to approve - I'll merge once tested10:16
gnuoyack10:16
vilajam: ha, right. We've seen that for quite some time but it occurs only rarely (best kind of bug you know :-/), if Curtis starts seeing related issues, I'll try to get in touch with him (he's offline, vacations ?)10:17
jamvila: I thought he was around, though US times so he wouldn't be awake right now10:17
vilajam: ack and thanks10:17
jamespagegnuoy, time for https://bugs.launchpad.net/charms/+source/nova-compute/+bug/1329251 ?10:41
_mup_Bug #1329251: ssh-keyscan of hosts in MAAS environments is incomplete <nova-cloud-controller (Juju Charms Collection):In Progress> <nova-compute (Juju Charms Collection):In Progress> <https://launchpad.net/bugs/1329251>10:41
=== CyberJacob is now known as CyberJacob|Away
MosibiWhen doing a 'juju bootstrap -e openstack', the bootstrapped instance is trying to connect (apt) to internet sources.11:40
MosibiHow/where can i configure that our own internal mirror is used for that?11:40
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
marcoceppitvansteenburgh1: hey14:44
=== tvansteenburgh1 is now known as tvansteenburgh
tvansteenburghmarcoceppi: hey14:44
marcoceppiso, I'm not sure if making Python the default charm template is a good idea14:45
marcoceppiI mean, it's a GREAT idea14:45
marcoceppibut I want to expose more of the "oh, here's a Python template, you can use -t to do stuff14:45
tvansteenburghyeah i just thought we wanted to encourage people towards making python charms instead of bash14:46
tvansteenburghbesides, there will be plenty of chances for people to use -t once we get some more templates in there14:47
tvansteenburghe.g. ansible - i was going to add an ansible template once the initial release was done14:47
DaWoopguys, the IRC link on the website redirects to the wrong channell14:47
DaWoop#juj instead of #juju14:48
marcoceppiDaWoop: really? what page?14:48
DaWoophttp://ubuntuonair.com/14:48
=== mohammad is now known as Guest8439
marcoceppiDaWoop: oh, that's something else14:48
DaWoopthe "Join from yout IRS Client!"14:48
marcoceppijose: ^^14:48
DaWoopIRC*14:48
josemarcoceppi: still, it's going to be changed now, community team Q&A14:48
joseno moar juju :(14:48
marcoceppiDaWoop: thanks for the info14:48
DaWoopnp marcoceppi14:49
marcoceppitvansteenburgh: what I'm getting at is it would be great to say "Using default charm template: python, use -t to switch" when no -t flag is given14:50
josembruzek: thanks for your review14:50
marcoceppitvansteenburgh: I've got a few other knitpicks, will post in merge14:50
marcoceppiotherwise this is badass14:50
josemarcoceppi: sent you an email14:51
tvansteenburghmarcoceppi: sounds good, thanks for the review :)14:51
DaWoopwatcha guys up to?14:51
DaWoopnothing, I see14:53
DaWoopgotta love monospace fonts14:53
lazyPowerDaWoop: Charming up big data charms, rifling through the rev queue, working on charm tooling, presentations. You know - being a charmer. What are you up to?14:55
ZooZQuestion, i need to define Sound Fusion CD46xx soundcard , no voice in Ubuntu 12.10 , can anyone advise me from where to get installation package for sound driver ?14:57
ZooZIt is CS46xx sound fusion driver, iam also new to ubuntu14:58
lazyPowerZooZ: that would be better suited to #ubuntu14:59
DaWooplazyPower: I'm watching some Improv Everywhere stuff15:01
DaWooplazyPower: What are those Charming thing you're talking about? NEver heard of those!15:02
lazyPowerDaWoop: juju.ubuntu.com15:02
lazyPowerThe most amazing data center orchestration tool on the planet15:03
nuclearbobahoy!  I'm having trouble with the local provider on trusty.  I get "agent-state-info: '(error: error executing "lxc-start": command get_state failed"15:03
DaWoopalright, Juju is actually something, not a person15:03
DaWoopgood to know15:03
marcoceppitvansteenburgh: everything looks good, just looking to expose templates better. Discuss15:03
DaWooplazyPower: Linux and GUI-based application? What's this breakthrough?15:04
lazyPowerDaWoop: the future of devops15:04
DaWooplazyPower: first time I actually see a gui-based app in linux15:04
DaWoopinteresting stuff15:05
tvansteenburghmarcoceppi: i like the log message approach15:06
marcoceppitvansteenburgh: cool, I figured the prompt might be a little annoying15:07
DaWooplazyPower: sorry for the retard question, but could we use Juju on a windows system?15:07
tvansteenburghmarcoceppi: it seems annoying to me :)15:07
marcoceppiDaWoop: there's work being done to do so, and we have a demo already of juju driving windows systems15:07
tvansteenburghmarcoceppi: if you're okay with the log msg approach i'll add that real quick. no other nitpicks?15:07
marcoceppitvansteenburgh: that one about the messaging15:08
fpermanawhat is juju?15:08
tvansteenburghmarcoceppi: oh, in the diff comments, i missed that the first time15:08
DaWoopfpermana: https://juju.ubuntu.com/15:09
DaWooplazyPower: Would it be possible to run it on, say, debian on a Raspberry Pi?15:09
DaWoopand access the interface with the web app on windows?15:09
arosaleshatch: good morning15:11
hatchmorning arosales15:11
arosaleshatch: were you planning on putting http://manage.jujucharms.com/~hatch/precise/ghost in the charm store ?15:11
hatcharosales yes there are just a few updates needed from the last review https://bugs.launchpad.net/charms/+bug/122937715:12
_mup_Bug #1229377: Charm needed: Ghost blogging platform <Juju Charms Collection:Incomplete by hatch> <https://launchpad.net/bugs/1229377>15:12
hatcharosales here is the primary repo if you want to stay on the bleeding edge :) https://github.com/hatched/ghost-charm15:12
* arosales looks at bug15:12
* DaWoop can't stand the music they play at the radio15:13
arosalesah you just updated the bug on june 1115:14
hatcharosales yeah, it's only some pretty small changes from the last comment to get it into the store15:14
arosaleshatch: did you have any worked planned in the the near term?15:14
hatcharosales my goal is to have it up for review again this week15:15
arosalessome tests would be a plus too15:15
arosaleshatch: good stuff :-)15:15
hatchyeah tests aren't going to happen until someone other than me actually uses it :D15:15
arosaleshatch: I am looking to deploy my blog with it :-)15:15
hatchhaha darn15:15
hatchwell you can use the charm from GH right now - it deploys like a....charm....15:16
hatch;)15:16
hatcharosales the only real change is the default port and some clarification in the documentation15:16
hatchso you can easy do that yourself15:16
hatchfrom the config options15:17
hatchif you wanted to get it going sooner than it gets into the store15:17
arosaleshatch: good to know, and thanks for the work on it.15:17
* arosales also looks forward to seeing it in the store15:17
hatcharosales np, I wanted to try and figure out how to do theming with the charm15:17
hatchso we can use your site as a test bed :)15:17
marcoceppitvansteenburgh: let me know that change is pushed, I'll roll out 1.3.0 shortly after15:18
tvansteenburghmarcoceppi: kk15:18
arosaleshatch: cool. I'll let you know how it goes.15:19
hatcharosales basically I'm not entirely sure how theming should work with the charm....it obviously needs to apply the theme to every instance as it scales up - but the theme can't be stored in the charm because it will be different for everyone. We also don't want them to require an extra data store somewhere to store it15:21
hatcharosales so I was hoping that I could use the juju storage somehow....?15:21
arosaleshatch: how about a config set from a git hub repo?15:22
hatcharosales has this been solved with Discourse or Wordpress?15:22
arosaleshmmm, marcoceppi your thoughts on theming in wordpress ^15:23
hatchwell theming but also scaling a themed blog15:23
hatchbecause each unit needs the same theme applied15:24
marcoceppihatch: wordpress lets you point to a wp-content repo15:24
marcoceppiwhich is a git/bzr repo that has the contents of that directory (aka themes and plugins)15:24
hatchmarcoceppi right so that's an external url somewhere?15:24
marcoceppibasically15:24
arosalesmarcoceppi: does add-unit preserve the original/parent config?15:25
marcoceppiarosales: it's a repo, so it just gets branched again15:25
hatchthat doesn't seem ideal - do charms not have access to Juju's storage instance?15:25
tvansteenburghmarcoceppi: pushed15:26
marcoceppihatch: no15:26
arosalesmarcoceppi: but I don't need to config-set again on the add-unit to keep the same theme15:26
marcoceppiarosales: correct15:26
arosalesmarcoceppi: thanks15:27
hatchbecause we want to keep the charms fat (ghost is included in the charm) I feel that going out over the net again to request data from a source (which may change) is not the best possible story15:27
arosaleshatch: so I would just provide a config to pull a theme from a github repo.15:27
hatchwe should look into enabling storage support for charms15:27
hatcharosales yeah that's going to be the only option now I guess....but not a very good one IMHO15:27
arosaleshatch:  I think the juju-core is working on that very feature this cycle.15:28
hatchyou could end up with two units with two different themes if you updated the repo then scaled heh15:28
hatcharosales oh awesome15:28
arosaleshatch: ya if you updated the gitrepo post deployment you would need to config set on each service15:29
hatcharosales the other story is that the user wants to customize the theme once deployed15:29
arosalesbut on deployment with the same config the services should have all the seame theme15:29
hatchyeah I'm just saying that it's very likely that someone updates the repo then scales without realizing15:30
hatchand now they get two themes depending on which unit they hit15:30
arosaleswell the original one wouldn't update unless the user took a specific action15:30
hatchexactly - so keeping the theme in juju would make it so that that could never happen15:30
hatchbecause it would only pull down the theme once, or when you tell it to15:31
arosaleshatch: but an interesting point on passing down config to scaled services15:31
arosaleshatch: well I think cofig works the same way. Juju only pulls the theme on deploy or config set15:33
hatchnot if you scale15:33
hatchif you scale it'll go out and pull whatever  is on the end of that url15:33
hatchso if that content is changed you now have two units with different themes15:33
arosaleshatch: ah, I follow you15:33
hatchyeah so atm a config option to a url will have to do, and I'm sure it'll be just fine for 80% of the use cases out there15:35
egoisthi15:39
arosaleshatch: I think that would be helpful.15:39
arosaleshatch: thanks again for the work on ghost15:39
egoistwhat hook is executed when you add unit to service15:39
egoist?15:39
hatchno problem - and now that I have someone who's not me using it I will have to put some extra time on it :D15:39
arosalesjcastro: note http://www.oscon.com/oscon2014/public/schedule/detail/34243 at oscon15:40
jcastroyep15:42
jcastroarosales, talking to leslie now on irc actually15:42
arosalesjcastro: cool15:42
=== vladk is now known as vladk|offline
egoistwhat hook is executed when you add unit to service?16:17
joseegoist: all the hook sequence is executed in the new instance16:19
josethat is install, config-changed, start16:20
egoistjose: ok, but whgat with relation?16:27
egoistwhat*16:27
joseegoist: then it's install, config-changed, start, name-relation-joined, name-relation-changed16:28
egoistjose: ok, but every instance have relation data about new unit?16:29
josecan you give me an example? that way it'll be a bit easier to explain :)16:30
joseyeah, all instances should have data about the new unit16:30
egoistyeah16:30
egoisttoday i deploy mongo, to create replica set, and execute 'deploy ..... -n 3' and i want add new unit to this service. But this service was related to another instance. Problem is that this another instance don't have relation data about new unit16:32
lazyPoweregoist: when you add a unit to service - there is a peer-relatioin hook that is fired on the units to do any peering16:34
lazyPoweregoist: so 'every unit having data about teh new unit' is dependent on how the peering hook is built and what is sent over the wire via relation_set - in the case of mongodb, you get the full fange of credentials you would expect16:34
lazyPowerIP:Port combo16:34
egoistoh ok o get it16:35
egoistlazyPower: Thank you very much16:35
egoistjose: Thank you very much16:35
egoistfor yours help16:36
lazyPoweregoist: there is a slight issue with deploying a  sharded / replicated server when relating to mongos16:36
lazyPoweri've got some WIP to fix it, but its far from complete, and is kind of a hack at the moment.16:37
lazyPowerjust FYI if you're going to build a large production ready cluster.16:37
=== isviridov is now known as isviridov|be
=== isviridov|be is now known as isviridov|away
EgoistlazyPower: but if i remove relation, and add new unit to replica, is this will be work, new unit as another secondary host?16:42
lazyPowerEgoist: so long as they share a replicaset key, they will be setup to replicate.16:43
EgoistlazyPower: ok, get it thanks16:46
SIGILLFor my bachelor thesis I'd like to test 'virtual network embedding' algorithms in the wild, escpecially with latency in mind. Do you think there's room for improvement in juju regarding that? AFAIR juju just chooses "the first" machine when deploying a new service17:28
SIGILLThe goal would be to optimize the latency and/or amount of resources used by services. But I'm not sure if latency is really a problem in the real world, because all machines are in the same datacenter or something.17:31
lazyPowerSIGILL: sounds interesting. This would be better served in #juju-dev as thats where the core developers hang out.17:37
lazyPowerSIGILL: sorry i dont have a better answer for you - however if you're GO for hacking on the juju-core GO code to optimize a provider based on resources/latency, i'm positive someone would be happy to review the work17:38
SIGILLlazyPower: ok, thanks — I asked the question a few days back in #juju-dev but got no answer17:56
lazyPowerSIGILL: Have you tried emailing the list?17:56
lazyPowerI'm pretty sure this is of interest to the core-developer base at large - considering its got implications of optimization on providers beyond what we have now. However they are pretty busy this sprint landing the roadmap we planned out a month ago. Sending it to the list will give the core team more time to respond than the catch/miss on IRC17:58
SIGILLnot yet, that'd be my next step. i prefer IRC though17:58
lazyPowerSIGILL: thing is, there's a pretty large overlap in timezones if you're US based. The project lead is a Kiwi and around when I'm headed to bed. So thats why I think you'll have better luck with the mailing list. Sorry you haven't gotten an answer yet though17:59
lazyPowerits frustrating when trying to gain traction on interest17:59
* lazyPower feels your frustration17:59
lazyPowerbeen there, done that.17:59
SIGILLNice, thanks for your help. I always hesitate to bother devs with my questions17:59
lazyPowerNah, we're a friendly lot17:59
SIGILLHeh, CEST it is...17:59
lazyPowerbother away17:59
lazyPowerSIGILL: juju@lists.ubuntu.com for reference.18:00
SIGILLwonderful — I'd be so glad to combine thesis, Go and juju18:00
SIGILLGot it18:01
lazyPoweralso, let me know when you start work. I'll blog about your progress18:01
SIGILLOh nice — will do. If everything goes well that'll be in a few weeks18:03
* lazyPower doffs hat18:03
lazyPowerbest of luck to you SIGILL, ping if you need anything18:03
=== CyberJacob|Away is now known as CyberJacob
tvansteenburghstub: any tips on getting `make test` to work on the postgresql charm?18:23
=== roadmr is now known as roadmr_afk
_mup_Bug #1331151 was filed: 'juju destroy-environment' sometimes errors <pyjuju:New> <https://launchpad.net/bugs/1331151>19:16
lazyPowerjamespage: ping19:32
=== isviridov|away is now known as isviridov
ahasenackhi, I tried to deploy the hadoop cluster from the charm store, the bundle,19:51
ahasenackand got a notification saying19:51
ahasenack"Failed to load charm details.19:52
ahasenackCharm API error of type: no_such_charm "19:52
ahasenackand that's it19:52
ahasenackit doesn't tell me which charm it was looking for19:52
ahasenackoh, in juju-gui it's where I got that note19:52
ahasenackany clues?19:53
achiangwhat's the best practice for organizing source code + charm/yaml configs? specifically, a nodejs app. should i just stick the yaml into same dir as my node app?20:01
achianghttps://github.com/achiang/openmotion is the repo, if it helps...20:01
tvansteenburghachiang: one idea would be to make the charm deploy your app from github20:04
tvansteenburghachiang: i did something similar with this meteor charm: https://github.com/tvansteenburgh/meteor-charm20:04
achiangtvansteenburgh: yeah, that's the plan. but the charm config still needs to live somewhere, so my question is where?20:04
tvansteenburghthe config and metadata yaml files should live in the root of the charm20:05
achiangtvansteenburgh: thanks, i'll take a look at your example20:05
=== roadmr_afk is now known as roadmr
breeze411Hello newbie here, how do i set the proxy for juju ? juju set-environment http-proxy=http://10.0.44.15:80  gives me error ERROR environment is not bootstrapped20:47
tvansteenburghbreeze411: `juju bootstrap` first20:48
lazyPowerahasenack: actually yes20:49
lazyPowerahasenack: i may have broken the bundle when i was resolving a related issue with hadoop yesterday20:49
lazyPowerthe lp:charms/hadoop now points to the trusty version of the charm.20:49
breeze411hmm the quick start doc syays juju --sync-tools and juju bootstrap ... This is a totally new juju env20:49
ahasenacklazyPower: debugged that error and it's an issue in juju-gui20:50
ahasenacklazyPower: I'm hitting other errors, though20:51
lazyPowerahasenack: Which bundle?20:51
ahasenackone I can workaround, it's a hostname call that failed20:51
ahasenacklazyPower: hadoop-cluster20:51
lazyPowerack, let me run a deploy on it and see what happens.20:51
ahasenackI don't have proper dns in this cloud, and the install hook at some point calls hostname -f20:51
ahasenackand that fails20:51
ahasenackso let me fix that by hacking /etc/hosts and then I can get to the second error about which I have no clue20:51
lazyPowerahasenack: which version of the hadoop charm as well? the precise version deploying hadoop 1 or the trusty version deploying 2.2?20:52
ahasenacklazyPower: precise20:52
ahasenackwhatever is in the store, I don't know what it is deploying precisely20:52
ahasenackit deployed hive, hadoop-master, hadoop-slavecluster and mysql20:53
ahasenackand only mysql is green20:53
breeze411so to be clear first do juju bootstrap ? and then juju ync-tools ? sorry for the basic questions20:53
ahasenackhive has that hostname error which I'm fixing and I'll shortly run a retry20:53
lazyPowerahasenack: ok. i just fired off a quickstart against amazon20:57
tvansteenburghbreeze411: sync-tools followed by bootstrap is correct. i was just pointing out that you must bootstrap before using set-env20:57
breeze411Oh i see , thank you. So how do i set the proxy for sync-tools ? it doesnt seem to use the shell env set with http_proxy20:59
ahasenacklazyPower: hive is green, it was just the hostname -f error21:01
ahasenackpreviously I had this, but it didn't happen again:21:02
ahasenack2014-06-17 19:54:59 INFO config-changed cp: cannot stat `/etc/hive/conf.dist': No such file or directory21:02
ahasenacknow let me check the others, what's going on there21:02
ahasenacklooks like it's hostname too21:02
ahasenack2014-06-17 20:36:38 INFO install hostname: Name or service not known21:02
lazyPowerahasenack: wrt /etc/hive/conf.dist - it appears that its not creating it on the first run so there is a race condition in the charm somewhere if it resolvs on second run21:05
ahasenacklazyPower: ok21:06
lazyPowerall of these issues are fair game for bugs against the charm however.21:07
ahasenacklazyPower: got this on hadoop-master now, after a resolved --retry21:07
ahasenack2014-06-17 21:04:31 INFO config-changed cp: cannot stat `/etc/hadoop/conf.empty': No such file or directory21:07
ahasenackshould I just issue another resolved --retry?21:07
lazyPowerweird21:07
ahasenackthis is the whole unit log:21:07
ahasenackhttp://pastebin.ubuntu.com/7660415/21:08
ahasenackat 2014-06-17 20:35:50 was the hostname error21:08
ahasenackwhich I fixed and ran a resolved --retry21:08
ahasenackthat explains the time gap21:09
ahasenackbetween lines 19 and 2021:09
tvansteenburghbreeze411: have you tried https_proxy? i think sync-tools uses https21:12
lazyPowerahasenack: ok i'm still pending the bundle deployment21:12
lazyPowerlet me see if mine run into the same issues so we have common ground for starting the debug process21:12
ahasenackinstall_base_packages() didn't even run21:13
lazyPowerahasenack: it was skipped?21:14
ahasenackhostname -f is called in configure_hosts()21:14
ahasenackthat was the call that failed before21:14
ahasenackI fixed /etc/hosts so hostname -f doesn't fail21:14
ahasenackran resolved --retry21:14
ahasenackand somehow it didn't retry, it didn't run that again...21:14
* lazyPower blinks21:15
lazyPowersomethings not right21:15
lazyPowerif it skipped an entire hook or logic path in the charm21:15
ahasenackthe install hook runs configure_hosts, configure_sources, install_base_packages, install_optional_packages, configure_hadoop, configure_tmp_dir_perms21:16
ahasenackhostname -f is in configure_hosts21:16
ahasenackit failed21:16
ahasenacksee my previous pastebin21:16
ahasenackthen I ran resolved --retry21:16
ahasenackand the first log entry in the pastebin after the failed hostname is "Installing optional packages..."21:16
lazyPowerahasenack: everything here just greend on a public cloud. seems that the hostname woes are def. a root of the issue21:16
ahasenackand that comes from install_optional_packages21:16
lazyPowerahasenack:  i have a prelim DNS charm that may help some of this in your environment.21:17
lazyPowerah wait, no - it wont do the relations until the service is installed. so its a moot point21:17
ahasenackinteresting that configure_hosts, the first thing it calls, tries to fixup /etc/hosts21:17
ahasenackthe whole hook is run with set -e21:18
ahasenackI ran the install hook via juju run now21:25
ahasenackI'll debug this some other time, introduce a failure in an install hook, let it fail, fix the failure, run resolved --retry and see where juju picks it off21:25
ahasenackthat was very weird that it didn't try the install hook again21:26
lazyPoweryeah21:26
lazyPowerresolved -r should re-run the failed hoo21:26
lazyPower*hook21:26
lazyPoweri call schenanigans21:26
ahasenackyep21:27
ahasenackwell, I'm on 1.19.x21:27
ahasenackanything could happen :)21:27
=== isviridov is now known as isviridov|away
* ahasenack runs terasort21:28
leftyfbAny idea why the nagios -> wordpress relationship only monitors ssh? Shouldn't it be monitoring nginx as well as load, users, disk space, total processes, etc?21:29
leftyfbsame with monitoring a mysql charm, it should be monitoring the mysql daemon21:30
leftyfbI'm going to guess it's because we don't have snmp or the agent install on the individual charms ... but I would assume if you build a relationship between the charms, it should install and configure the necessary packages (snmp)21:31
lazyPowerleftyfb: it leverages NRPE to make those connections.21:31
lazyPoweri'm not positive about nginx monitoring, etc. but the NRPE charm does populate more than just SSH21:31
lazyPowerleftyfb: those are however excellent feature requests to file against the NAGIOS charm.21:32
leftyfblazyPower: I just deployed nagios with connected to a wordpress bundle as well as monitoring the juju-gui charm itself. Besides localhost, the other charms are only monitoring SSH21:33
lazyPowerleftyfb: in its current incantation, you use NRPE to get those metrics.21:33
leftyfblazyPower: so that's something I have to configure manually21:34
lazyPowerif you want to tweak it from the default setup, correct.21:34
leftyfb"Usage21:35
leftyfbThis charm is designed to be used with other charms. In order to monitor anything in your juju environment for working PING and SSH, just relate the services to this service. In this example we deploy a central monitoring instance, mediawiki, a database, and then monitor them with Nagios"21:35
leftyfbso the default is to only monitor ping and ssh for the charms in it's relationships21:35
lazyPowerIt appears that way. You can specify additional configuration through the config parameter on nagios - or by using NRPE + config.21:36
jamespagelazyPower, evening21:39
lazyPowerjamespage: greetings. Did you have a chance ot read the email i sent you earlier?21:39
jamespagelazyPower, yes - trusty ntp charm right?21:40
lazyPowerindeed21:40
lazyPowerits half promulgated. looks like the branch alias was defined before the repository was fully promulgated. A symptom of not specifying -s when doing juju promulgate charm - that has an existing precise branch.21:40
jamespagelazyPower, I think the ganglia* ones are in the same state21:40
lazyPowerjamespage: i ran into this when i botched the hadoop promulgation to trusty21:41
jamespagelazyPower, I pushed the branch but did not promulgate intentionally as I'd not added tests21:41
jamespagelazyPower, if that's not a hard requirement then all three of those charms work just fine on trusty :-)21:41
lazyPowerjamespage: yeah, we *really* need those tests21:42
jamespagelazyPower, yeah - I know21:43
lazyPowereven if its stand up, validate services are running - with some follow up. I dont want to set that precident, but tests are a required mechanism to make it into trusty21:43
lazyPower:|21:43
lazyPowerI don't like being the bearer of bad news21:43
lazyPowerok, i just pinged marco on this - and our bare minimum is unit tests. if you can drop in some units on that puppy you're g2g21:44
lazyPowerjamespage: thanks for the follow up.21:47
jamespagelazyPower, sure21:47
=== CyberJacob is now known as CyberJacob|Away
lazyPowerjamespage: for now i'm going to unpromulate the trusty version of the NTP charm so its not interfearing with the API requests. Its causing all kinds of fun artifacting with the GUI - https://bugs.launchpad.net/juju-gui/+bug/133120221:55
_mup_Bug #1331202: Incomplete Charm data causes artifacting in the GUI <juju-gui:New> <https://launchpad.net/bugs/1331202>21:55
jamespagelazyPower, please do21:55
jamespagelazyPower, interestingly the charm store was ingesting that fine - you just had to address it like cs:~charmers/trusty/ntp21:58
jamespagebut that would appear no longer true21:58
lazyPowerjamespage: thats a work around to a larger problem21:58
lazyPowerduring the promulgation command, if you dont specify the series when you prom it - it moves the branch tip before it promulgates the series branch21:58
lazyPowerwhich in turn causes the owner to return as 'charms' - because promulgate fetches that branch tip instead of the lp:~charmers/charms/foo/bar21:59
marcoceppilazyPower: can you open a bug against charm-tools that promulgate will require a series going forward and not assume precise?21:59
lazyPowerits a hairy thing that i only half understand.21:59
lazyPowermarcoceppi: https://bugs.launchpad.net/charm-tools/+bug/133121122:01
_mup_Bug #1331211: require a series flag on promulgate <papercut> <Juju Charm Tools:New> <https://launchpad.net/bugs/1331211>22:01
marcoceppilazyPower: thanks, I'll get that in the 1.3.0 release22:01

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