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

lazypoweryou realize my hand is getting sore from all the hi5's lately dude. You've been killin it.00:00
joselazypower: apparently the Chamilo charm is working and needs to be promulgated so it can be promoted during an expo00:00
josethanks :)00:00
lazypowerwhen is this expo?00:00
josefrom today until saturday00:00
josestarted like at noon today00:00
lazypoweroh ok, zero notice00:00
* jose told Marco on Monday00:00
lazypoweri'm checking into the MapR Hadoop distribution charm. Once that's done i can take a look at chamilio again00:00
josethank you!00:01
lazypowerah, he's been saddled with my MongoDB work since i fell ill00:01
lazypoweri'll pick up the torch nbd00:01
josein the meanwhile, I'll organize the Ubuntu on Air! channel for a nicer experience00:01
lazypowerwhat00:01
joseyou'll see later today00:04
* lazypower eyeballs jose suspiciously00:05
marcoceppijose: promulgated01:04
josemarcoceppi: awesome, thanks a bunch! \o/01:04
=== thumper is now known as thumper-afk
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
yaellHi we are new to juju and trying to deploy openstack using it. We encountered some basic problems. We are using 10 machines one is the maas and juju server and the 9 others for deployment. The problem is there are 9 services that have to be deployed but only 8 machines left after bootstrap. When trying to deploy 2 services on 1 machine something always fails. Does anyone know if there are services that can not be installed on the same m07:45
yaellIn addition is this the best place to ask questions regarding juju and openstack or is there an additional mailing list?07:46
axwyaell: I don't know the answer to your problem, but there's a mailing list (https://lists.ubuntu.com/mailman/listinfo/juju) and http://askubuntu.com/07:50
axwthis is an appropriate place, but I think most of the people who know the answers will be asleep07:51
mwhudsonyaell: you can deploy a bunch of the services to separate containers on one node07:57
mwhudsoni'm fairly sure07:57
mwhudsonhow production-ish is this?07:57
yaellJust testing it for now08:04
yaellhow do I deploy to separate containers on the same node?08:04
=== vladk is now known as vladk|offline
mwhudsonyaell: if you know the machine number you can say juju deploy --to lxc:$machine number08:18
mwhudsonyaell: juju help deploy has some more examples08:19
lukebennettlazypower: Thanks for your reply to me yesterday. No the node stayed as allocated. As suspected, when I powered the node down manually and reran juju bootstrap, it PXE booted and deployed as expected.08:28
yaellYes I did that the problem is when I do that the service does not come up properly or if I add relations the service fails.08:29
mivtachyahugood morning. Anybody ever seen a bug where juju mixes up what services are running on which machines?08:33
shermanhey all, how's things?08:39
mwhudsonyaell: oh09:09
mwhudsonyou need to multilate networking a bit09:10
mwhudsonsomething like this https://github.com/Ubuntu-Solutions-Engineering/cloud-installer/blob/master/tools/cloud-sh/lxc-network.sh09:10
=== vladk|offline is now known as vladk
=== roadmr is now known as roadmr_afk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
shermanhey, dumb q: can I bootstrap to a local container then juju deploy to MaaS? or do I need a MaaS node bootstrapped?11:05
=== vladk|offline is now known as vladk
shermanlike is my machine:0 just a node because maas is set as my default?11:08
=== roadmr_afk is now known as roadmr
AskUbuntuMAAS/juju not cleaning up nodes | http://askubuntu.com/q/48839611:24
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== eagles0513875 is now known as greenrice
=== greenrice is now known as eagles0513875
=== urulama is now known as uru-food
schegijamespage, out there??13:01
=== vladk|offline is now known as vladk
lazypowerlukebennett: interesting. That's happened to me a few times, things seem to get out of whack once in a great while and things go into a pending state.13:30
=== uru-food is now known as urulama
lazypowersherman: i dont understand the question13:31
lazypowerYou want to place your bootstrap node on an lXC container somewhere, and use that to orchestrate your maas cluster?13:32
=== rogpeppe2 is now known as rogpeppe
jcastrohey so I noticed something odd13:43
jcastrohey marcoceppi13:43
jcastrohttps://juju.ubuntu.com/docs/tools-amulet.html13:43
jcastroin the sidebar13:43
marcoceppijcastro: hey13:43
jcastroI think we should just rename it to "Writing Tests" to be more obvious.13:43
gQuigswith the local-provider all of my VMs get the same IP/DNS name, what am I doing wrong?13:43
jcastrohttps://juju.ubuntu.com/docs/authors-testing.html13:44
jcastrooh, this is the page I wanted anyway13:44
marcoceppijcastro: it's the Amulet reference guide13:44
marcoceppiyeah13:44
jcastroI'm going to retitle that13:44
jcastro"Writing tests for charms"13:44
lazypowergQuigs: lxc is attempting to assign the same ip to all of your containers?13:46
gQuigslazypower: afaict it actually does13:47
lazypowerthat.. makes no sense. its given a range in the configuration to choose from13:47
lazypowerwhat version of juju/lxc?13:47
gQuigslast time, I could ssh to the IP and I would randomly get one of the VMs13:47
lazypowergQuigs: if you look in /etc/defaults/lxc you should see a config variable for LXC_DHCP_RANGE13:48
gQuigsjuju, stable/ppa - 1.18.4-trusty-amd64;   lxc, the stable13:48
jcastrohuh, how is that even possible13:49
lazypowerjcastro: this ties in with what bluespeck emailed us about this morning.13:50
jcastrosurely it would error out if it tried to get the same ip?13:50
lazypowerand right, the container should sit in pending due to ip collision13:50
jcastrolazypower, but they were on azure, so if it affects multiple providers ....13:50
lazypowerjcastro: well i dont have imperical evidence but this sounds strikingly similar13:50
jcastrosimilar enough to ask somebody13:51
gQuigslazypower: jcastro: nope, it tries really hard to work... http://pastebin.ubuntu.com/7705971/13:51
* gQuigs checking in ..default/ now13:51
lazypowerwhat the13:51
jcastrohey so let's open a bug right away13:51
jcastroso I can ask people to take a look13:52
lazypowergQuigs: do you mind attaching the output of your machine0.log, your juju-status, and filing a but at launchpad.net/juju-core ?13:53
lazypowerer juju-local13:53
gQuigslazypower: sure, will do if I can find a cause13:55
lazypowergQuigs: we need to poke at this sooner rather than later. this appears to be related (but may not be)13:55
gQuigslazypower: what is your /etc/default/lxc-net supposed to look at?13:56
lazypowerjcastro: once we have a bug # will you follow up with the bluespeck guys?13:56
lazypowergQuigs: http://paste.ubuntu.com/7705989/ is mine13:56
* gQuigs is identical... I'm going to revert to a non-ppa LXC...13:57
sparkiegeekmarcoceppi: jcastro: sorry for nagging but would really appreciate a look at https://code.launchpad.net/~adam-collard/charms/precise/reviewboard/trunk/+merge/224041. Fixes a bug that prevented installation on stale images and adds a ton of tests14:00
jcastrosparkiegeek, yeah reviewers have been swamped14:02
lazypowersparkiegeek: this looks good - however your tests are in hooks/14:02
jcastrolazypower, you got time to take a break and give that a review today?14:02
lazypowerthere's an idiom to keep tests in $CHARM_DIR so they can be executed via charm test14:02
sparkiegeeklazypower: they aren't amulet tests (as discussed before, can't do that due to postgresql charm relation)14:03
lazypowerahhh ok so you're aware14:03
sparkiegeeklazypower: I consider it Python best practice to put them where they are now (close to the code)14:03
lazypowerwell, you have a make target for them14:03
lazypower+114:03
sparkiegeekyup :)14:03
lazypoweri dont have the same dependencies though, is it possible you could add a requirements.txt or something with the deps and a make setup target that would pip install those for me?14:04
lazypowerthat way i'm not manually chasing down the deps?14:04
sparkiegeeklazypower: of course14:04
=== vladk is now known as vladk|offline
jcastroasanjar, hey elasticsearch ninja-edition is now in the store, please start bundling cool stuff14:08
wesleymasonmarcoceppi: lazypower: I've been told you've been working on the mongo charm, I've been working on getting it to use the storage subordinate for persistent volumes14:10
jcastromarcoceppi, how often does the github sync work? elasticsearch seems out of date but it updated in the store like yesterday14:12
lazypowerwesleymason: we're under an active effort to rewrite it to use currently existing charm-helpers and reduce overall complexity of the charm. We should have something to look at by next week. Do you have your storage-volume branch somewhere we can reference?14:12
lazypoweri'd be willing to try to fold it in to the first cut if its basically there in the  mongodb charms current form.14:12
wesleymasonlazypower: I have an MP, with branch referenced: https://code.launchpad.net/~wesmason/charms/precise/mongodb/add-storage-subordinate-support/+merge/22353914:16
lazypowerwesleymason: ah, thanks. seems pretty straight forward. I'l add this to our card to have this as a base feature ootb14:17
wesleymasonlazypower: cheers :)14:17
lazypowergQuigs: still banging your head against the desk with ip assignment and LXC?14:18
gQuigslazypower: nuked all the juju/local/lxc packages and trying fresh14:19
gQuigshmm.. now on reinstall I'm getting lxcbr0 not found.. maybe I messed with that at some point...14:23
lazypowergQuigs: its a virtual ethernet device bridge. when you purged it probably removed the device. did you install the juju-local package?14:25
gQuigslazypower: yup14:25
wesleymasonlazypower: fyi I'm also *currently* adding some nagios checks to the mongodb charm on another branch14:28
lazypowerwesleymason: might want to hold on that pending our re-release of the charm14:28
wesleymasonlazypower: is it going to add checks? Or just because of the refactor of the charm?14:29
marcoceppilazypower wesleymason adding nagions relation should be pretty easy to transplant, unless you're adding it in the hooks.py14:29
wesleymasonmarcoceppi: yeah, the relation/hook is about 6 lines of python, most of the checks are in separate nagios plugin script files14:29
marcoceppiwesleymason: cool, should be pretty easy to transplant that14:29
wesleymasonaye, won't be a merge, but not hard to copy over14:30
wesleymasonas I ended up bumping charmhelpers on my branch too, for the nrpe helper14:30
wesleymasonmarcoceppi: lazypower: got any idea of an ETA on charm refactor, or just "when it's done"?14:31
marcoceppiwesleymason: I'm working on it right now, I should have it done by the end of the weekend14:31
wesleymasonawesome14:32
gQuigsyup, now installing lxc does't create the lxcbr0 at installl time...14:48
asanjarlazypower: i am back from doc visist, what's up14:48
* gQuigs goes to#lxcontainers14:48
lazypowercouple of things actually14:48
lazypoweri gated a merge against your hadoop2-devel charm: https://code.launchpad.net/~lazypower/charms/trusty/hadoop2-devel/python_rewrite/+merge/22464714:48
lazypowerthat should close the loop on removing all the class bits out of the hooks and 1:1 with the bash counterpart. so we're good to gofor replacement14:49
lazypowerwe can pair program the tests as early as next week.14:49
lazypowerDid you get a chance to review MapR yet?14:50
=== makyo_ is now known as Makyo
=== CyberJacob is now known as CyberJacob|Away
schegianyone knows how to name ceph clusters when deployed with ceph charm??14:55
gQuigsand now that I have lxcbr0 working again, it's all fine - different IPs for each machine, yay :)15:00
jcastrosebas5384, it will take me a bit longer to get me a shirt to you15:00
schegijamespage, thx for your help yesterday ceph cluster up and running with splited network. now i have to figure out how to configure the osds to use external journal devices. but this seems to be doable.15:02
lazypowersebas5384: hey! i haven't forgot about you. I'll be working on the vagrant plugin this weekend. I should have a PR circa sunday.15:08
sebas5384yeah!! lazypower i'm a bit in phantom mode these days hehe15:08
lazypowerTotally understood :) Thanks for laying out the repository for the work though. I'm going to head back through it tonight and setup the remaining milestones and project plan15:09
sebas5384but definitely i'm going to comeback to you in these days :D15:09
lazypoweri started it and never finished the work. I've been sidetracked with 8 billion other objectives15:10
sebas5384great!! and i had some ideias that i'm going to registrate in the issues list :D15:10
sebas5384hehehe15:10
sebas5384i know that feeling15:10
sebas5384right now im in a hackathon of drupal 815:10
lazypowersounds good. I'm heading out to a dr's appt. I'll catch you on the flip sebas538415:10
sebas5384porting some modules15:10
lazypowernice15:10
lazypowerkeep kicking butt sebas538415:11
sebas5384hehehe yeah :D15:11
sebas5384great to hear from you man15:11
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== roadmr is now known as roadmr_afk
Pa^2Probably should have asked this first: Can I run juju on a desktop system or does it require server?16:30
marcoceppiPa^2: you can run juju the client on Ubuntu, Mac OSX or Windows systems16:31
Pa^2I am still missing something.  Did apt-get install juju-core, juju-local.  Then did juju init, switch local, bootstrap - Machine "0" : agent-state started.16:51
g0ldr4k3hello everyone, I've a question for you, juju-core has to be installed on host machine or on region controller (MaaS) if I want to have an environment based on MaaS (Region Controller + 3 Cluster Controller +3 nodes for each CC)?16:51
Pa^2When I attempt to do juju deploy wordpress it appears to try and start machine "1" but just says pending - many minutes now.  Thoughts?16:52
sarnoldPa^2: the first deploy downloads a whole cloud image.. that can take a while16:52
Pa^2I will wait and get back to you.  Thanks.16:53
g0ldr4k3because I've installed it on RC but when to run the command "juju bootstrap -e maas --debug". juju try to connect to node but without to create a connection!!!16:55
g0ldr4k3is there someone can help me? thanks16:55
g0ldr4k3there string is this "2014-06-26 16:55:29 DEBUG juju.utils.ssh ssh_openssh.go:122 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -i /home/richardsith/.juju/ssh/juju_id_rsa ubuntu@Ubuntu14.04LtsNode02Cluster01Svr /bin/bash"16:56
sarnoldg0ldr4k3: oh, nice; what happens when you run that command by hand?16:58
g0ldr4k3sarnold: which is the command I have to run?16:59
g0ldr4k3sarnold: and why it try to connect on only one node the others16:59
sarnoldg0ldr4k3: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -i /home/richardsith/.juju/ssh/juju_id_rsa ubuntu@Ubuntu14.04LtsNode02Cluster01Svr /bin/bash17:00
g0ldr4k3sarnold: the result is this "ssh: Could not resolve hostname ubuntu14.04ltsnode02cluster01svr: Name or service not known"17:00
sarnoldg0ldr4k3: nice.17:01
sarnoldg0ldr4k3: do you recognize that funny hostname? "Ubuntu14.04LtsNode02Cluster01Svr"17:01
g0ldr4k3if I try to run a ssh connectio from host machine it works well17:01
sarnoldg0ldr4k3: do you recall if that's something that you might have assigned to it in some way? I'm really surprised about the . in the middle of it..17:01
g0ldr4k3yes but it's a test in my lab17:02
sarnoldcan you change the name to somehting that doesn't include a period?17:02
sarnoldunless you're in a position to run a domain 04LtsNode02Cluster01Svr that has a host named Ubuntu14...17:03
g0ldr4k3no its hostname is another it's just the node's name added on MaaS UI17:04
g0ldr4k3and that's it17:04
sarnoldhrm, did MAAS assign that name??17:04
g0ldr4k3Anyone can help me?17:18
g0ldr4k3I've posted my question tenore...17:21
sparkiegeekg0ldr4k3: please rename the node in MAAS to not have the "." in it as per sarnold above (unless you really have a domain as he suggests)17:24
g0ldr4k3I've to check i dont think its name has "."17:25
g0ldr4k3Maybe i understand the issue. I've not a doman set on maas17:29
g0ldr4k3The connection via ssh from host machine work's only with ip17:30
g0ldr4k3Sparkiegeek: thanks a lot for support i'll try to set it on maas17:32
lukebennettsparkiegeek: Thanks for your response to my query yesterday. PXE boot seems fine but I'm still having problems - http://askubuntu.com/questions/488396/17:51
sparkiegeeklukebennett: are you using virtual machines, or is this real hardware? What power type are you using?17:54
lukebennettReal hardware via WOL17:54
sparkiegeeklukebennett: any other DHCP servers in the network? Can you share the console log?17:55
lukebennettYes, using external DHCP server but with reserved IP and relevant PXE configuration17:56
lukebennettYou mean the maas log?17:57
sparkiegeeklukebennett: "relevant PXE" scares me... are you not using PXE from MAAS?17:57
sparkiegeekno I mean the log of the node that got booted17:58
lukebennettTest bed consists of two nodes - one running as MAAS cluster controller and region controller, one as a node... node has reserved IP and DHCP server is configured so it PXE boots from the MAAS server17:58
lukebennettPXE booting works fine - when I juju bootstrap, the server powers up17:58
lukebennettThe environment deploys ok (well it doesn't, I get various errors with some of the charms but that's another story)17:58
lukebennettWhen I destroy it, mongod keeps running and the server stays online so a subsequent bootstrap fails17:59
lukebennettWhich particular log file are you interested in? Sorry if that's a stupid question, still finding my way around17:59
sparkiegeeklukebennett: ok, sorry I went to read up on MAAS power settings18:05
sparkiegeeklukebennett: so it turns out that (as I suspected) MAAS can't do power down using WOL18:05
lukebennettAh18:05
lukebennettThanks18:05
sparkiegeeklukebennett: the MAAS guys hang out in #maas if you need more help :)18:06
lukebennettThanks, I've been somewhat split between the two :) It feels like regardless of the power down, juju ought to be able to clean up after itself?18:06
lukebennetti.e. I shouldn't have to power the node down to redeploy onto it18:06
sparkiegeekhow are you "stopping" juju?18:08
sparkiegeekI mean, destroy-environment or ?18:08
lukebennettjuju destroy-environment xxxx18:08
=== CyberJacob|Away is now known as CyberJacob
AskUbuntuJuju - configuring a service by clicking on charm with stand-alone implementation - LXCa | http://askubuntu.com/q/48857518:26
sparkiegeeklukebennett: can't say for sure but I suspect Juju expects MAAS to be able to power down machines and so doesn't do it itself18:28
sparkiegeeklukebennett: do you have any remote power control for turning the node off?18:28
sparkiegeeklukebennett: if so, you could "teach" it to MAAS by editting /etc/maas/templates/power/ether_wake.template18:29
lukebennettI think WOL is all we have on this setup but I'll speak to our ops guys about it. May have to try going down the VM route for testing18:31
lukebennettI would say that juju ought to be agnostic of what MAAS decides to do with powering down however18:32
lukebennettI need to hit the road now but thanks for your help18:34
=== BradCrittenden is now known as bac
sparkiegeeklukebennett: no worries, sorry I couldn't give you a better overall answer!18:38
lazypowersparkiegeek: did you get reviewboards make targets updated for me? this MP looks good otherwise.18:49
sparkiegeeklazypower: haven't had a chance yet I'm afraid18:49
lazypowerping me when that lands and i'll merge this for you.18:49
sparkiegeeklazypower: sure, thanks18:50
arosalesjose:  nice to see tests in your chamilo charm19:14
Pa^2Just how big is cs:precise\wordpress?19:30
Pa^2BTW: I successfully got trusty/mysql and juju-gui working on my local install.19:31
=== mfa298__ is now known as mfa298
jcastromarcoceppi, here's a small one19:37
jcastrohttps://code.launchpad.net/~chris-gondolin/charms/precise/nrpe-external-master/trunk/+merge/22106219:37
jcastroI think chuck sorted the lowest hanging fruit19:37
jcastroalso, wrt to your mongo work19:38
jcastrohttps://code.launchpad.net/~wesmason/charms/precise/mongodb/add-storage-subordinate-support/+merge/22353919:38
jcastromarcoceppi, this one looks straightforward: https://bugs.launchpad.net/charms/+bug/119573619:39
_mup_Bug #1195736: Storm Charm was added. <Juju Charms Collection:Fix Committed by maarten-ectors> <https://launchpad.net/bugs/1195736>19:39
jcastrohere's another easier one19:40
jcastrohttps://code.launchpad.net/~jacekn/charms/precise/mysql/n-e-m-relation-v2/+merge/21896919:40
lazypowerjcastro: i have that MP in the card on the board19:41
jcastrorock19:41
Pa^2Hmm, on a trusty system trusty charms spin right up, precise machines and charms not so much.20:16
Pa^2failed to process updated machines: cannot start machine 3: no matching tools available20:20
Pa^2Machine 3 is precise, 0,1,2 are trusty20:21
Pa^2Is there a way to DL precise "tools"20:21
sarnoldPa^2: juju sync-tools? tools-sync?20:22
Pa^2Thanks20:22
lazypowerPa^2: thats progress!20:23
lazypoweryesterday you weren't even getting the tools notice20:23
lazypowersarnold: its sync-tools20:23
sarnoldlazypower: nice, alphabetical order :) thanks20:24
lazypowernp :)20:24
Pa^2I have the precise tarball in ~/.juju/local/storage/tools/releases.  Is that where it should draw from?20:30
Pa^2Unfortunately there is no precise in ~/.juju/local/tools20:32
lazypowerPa^2: http://askubuntu.com/questions/285395/how-can-i-copy-juju-tools-for-use-in-my-deployment20:35
Pa^2Thanks.20:35
Pa^2Well, time for burgers and beer... I will let this go until I get back in the am.  Thanks for all the assistance.20:38
=== Guest8558 is now known as wallyworld
pmatulishow do i remove proxy settings from juju?22:25
pmatulisi removed it from ~/.juju/environments/local.jenv but no22:27
=== alexisb is now known as alexisb_afk
=== Guest28217 is now known as wallyworld
=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob

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