/srv/irclogs.ubuntu.com/2014/12/04/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== _sEBAs_ is now known as sebas5384
sebas5384hey!01:30
thumpero/01:31
sebas5384hey thumper o/01:31
sebas5384was looking someone to talk about the mac osx workflow01:31
sebas5384the other day i was doing an experiment with vagrant, vbox and network bridges01:32
sebas5384configuring the lxc to use them01:32
sebas5384so the containers would appear directly in the host01:33
sebas5384and it worked! hehehe01:33
sebas5384when i mean mac os x, i mean every vagrant workflow01:34
sebas5384lazyPower: hi o/01:35
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
stubtvansteenburgh: I've sorted lazr.authentication on pypi btw, so the scary pip options will no longer be needed.05:05
=== fuzzy_ is now known as Fuzai
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== scuttlemonkey is now known as scuttle|afk
=== erkules_ is now known as erkules
stubtvansteenburgh: lazr.authentication should be correctly registered in pypi now12:10
tvansteenburghstub, that's great news, thanks! \o/13:05
lazyPowerstub: incoming beer vouchers13:07
stubJust what I need, more virtual beers13:07
lazyPoweryou can exchange them for virtual pizza vouchers as well13:08
lazyPowerDo you attend any of the cloud sprints?13:08
stublazyPower: If someone invites me ;)13:09
stubI'm pretty much a team of one, so only go to other peoples sprints.13:10
arbrandesjamespage, hey there!  I'm trying to set up highly available OpenStack with Juju, but without MaaS.  I believe I'm hitting https://bugs.launchpad.net/charms/+source/nova-cloud-controller/+bug/1391784 ( HA failure when no IP address is bound to the VIP interface).13:21
mupBug #1391784: HA failure when no IP address is bound to the VIP interface <openstack> <cinder (Juju Charms Collection):In Progress> <glance (Juju Charms Collection):In Progress> <keystone (Juju Charms Collection):In Progress> <neutron-api (Juju Charms Collection):In Progress> <nova-cloud-controller13:21
mup(Juju Charms Collection):In Progress> <openstack-dashboard (Juju Charms Collection):In Progress> <percona-cluster (Juju Charms Collection):Invalid> <https://launchpad.net/bugs/1391784>13:21
arbrandesIs there any documentation on how to properly set up what the charms require in terms of containers and network interfaces?13:22
arbrandesI tried following https://wiki.ubuntu.com/ServerTeam/OpenStackHA with 23 nodes, and had no luck.  Ideally, there'd be a way to do this with containers on less nodes.13:23
arbrandesNote: I'm trying to run this on OpenStack itself, so I have to deal with port security on the underlying "hardware".13:24
ezobnHi, Is it possible to set constraints when juju create KVM machine, using existing maas provisioned machine ? I have tried the --constraints option, but it is not working ...13:39
lazyPowerezobn: juju should hand off those constraints to MAAS and MAAS will do its best to fulfill the request13:41
lazyPowerezobn: what were your constraints? assuming typical ones like memory=2G?13:41
ezobnyep - based on existing tags on physical machines13:41
ezobnbut I whant set mem=8G, not just 512M as seems a default13:42
ezobnlazyPower: reating machine-22: 2014-12-03 14:38:28 INFO juju.provisioner.kvm kvm-broker.go:103 started kvm container for machineId: 22/kvm/3, juju-machine-22-kvm-3, arch=amd64 cpu-cores=1 mem=512M root-disk=8192M13:43
lazyPowerezobn: which version of MAAS/Juju?13:43
ezobnlazyPower: juju:1.18.4-trusty-amd64, maas:1.5.4+bzr2294-0ubuntu1.113:48
lazyPowerezobn: 1 moment while i check the release notes - i'm not sure that 1.18 supports maas tagging (But it may i'm not certain)13:51
ezobnlazyPower: I am using tags on maas via juju, but can't use them when creating kvm VMs13:53
ezobnlazyPower: so just wondering does it possible to use them when creating KVM units on physical machine ? or any other means supposed ?13:55
lazyPowerezobn: as i understand it you define the constraints when doing enlistment to maas13:55
lazyPowerezobn: so i dont think any of those constraints will be handed off13:55
ezobnlazyPower: those tags is working good. But I need somehow to say juju worker to create the VM with more memory ;-)13:57
lazyPowerezobn: juju doesn't tell maas to actually 'create' the vm13:57
lazyPowerezobn: juju requests a machine from maas, and maas has a pool of vm's already enlisted and available ina pool. it just returns that vm from the pool to juju13:57
ezobnlazyPower: yes, understand. But then juju using libvirt to create KVM units on added machine.13:59
ezobnlazyPower: so by default only this constrains using arch=amd64 cpu-cores=1 mem=512M root-disk=8192M14:00
lazyPowerahh so you're doing juju deploy --to 1:kvm  correct?14:00
lazyPoweras an example14:00
ezobnlazyPower: yes14:00
lazyPowerok my mistake, i thought this was a layer above in teh request14:01
lazyPowerGood question, I haven't done that. I've only used lxc with deploy --to14:01
ezobnlazyPower: juju add-machine --constraints="root-disk=64G mem=8G" --to kvm:22 f.e. ;-)14:02
lazyPowerezobn: bootstrapping and investigating - give me a bit to look into it14:05
ezobnlazyPower: yes, lxc is a good option, but it all works good with KVM too ... so just options ;-) I try to make working the mataswitch clearwater charms... and they have some custom kernels, as I have learnt ...14:06
lazyPowerIndeed they do, i was on the early team workign with them and their solutions14:06
lazyPowerthe nice part about kvm containers is you have dedicated resources vs sharing with the lxc containers - and this *should* work14:07
jamespagearbrandes, I hope not - that was a very specific edge case causing that specific bug14:07
ezobnlazyPower: will be glad to here any advice ;-) Good to know that I am on the right way with metaswitch charms ;-)14:09
arbrandesjamespage, I hope so too.  I guess my question is: if I'm using the trusty juno charms in manual mode, deploying to VMs running on an OpenStack cloud, should I expect any trouble trying to get HA working for all services?14:16
arbrandesIn other words, no MaaS here.14:16
jamespagearbrandes, most likey yes14:16
=== scuttle|afk is now known as scuttlemonkey
jamespagearbrandes, we use openstack internally to test HA but we do funky things with neutron; specifically disabling all port level security in the cloud14:17
jamespagewhich allows us to float IP's and have that just work14:17
jamespageneutron security groups would by default just stop that from happening14:17
arbrandesjamespage, that's what I feared. :)14:17
jamespageditto nova ones14:17
arbrandesjamespage, I suppose you use containers for testing HA, which is why you need to disable port security.  What if I just deploy everything to "actual" nodes?  I actually did try this, btw, and the first roadblock I hit was the Keystone charm complaining it couldn't bind the VIP address.14:19
arbrandes(Though in practice it was already bound).14:20
jamespagearbrandes, hmm that's odd14:20
jamespageI would expect the charms to still dtrt but the vips would just be inaccessible14:20
jamespagearbrandes, the VIP must be in the same subnet as an existing configured network interface14:20
arbrandesThey're accessible because I used the allowed-address-pairs neutron extension.14:20
arbrandesIn other words, everything that the keystone + hacluster charms deploy work in practice, but the ha-relation-changed hook fails.14:21
arbrandesWhich sucks because then further actions fail.14:21
arbrandesAnyway, what I'm trying to understand at this point is if I need anything else on a node that will receive HA Keystone besides a NIC configured on said subnet (there is one, btw - plus 2 more NICs for the data and external nets).14:24
darknethello guys, I've a problem with Juju, is there someone can help me? please14:24
marcoceppidarknet: probably, its' best to just ask your question14:25
lazyPowerezobn: my openstack provider is being pokey this morning - still investigating14:27
ezobnlazyPower: Thank you ! I am using juju for my openstack to test :-)14:29
darknetmarcoceppi_:  do you have any idea to resolve that?14:39
lazyPowerdarknet: unless i'm mistaken you didn't ask a question - what seems to be the trouble?14:40
=== jcw4 is now known as jw4
lazyPowerezobn: it appears you've uncovered a bug14:49
lazyPowerezobn: i can reproduce the same behavior14:49
jamespagearbrandes, sooooo14:50
jamespagearbrandes, are you adding all your relations to deployed services at deployment time?14:50
arbrandesjamespage, yes - basically all in one go.14:50
ezobnlazyPower:  I glad that is not just in my setup ;-) Thank you for your help !14:51
jamespagearbrandes, right to this sucks atm and its something we have focus on this cycle14:51
arbrandesjamespage, it's not a bundle.  I just have a script that does juju add-machine for all 23 nodes, then a series of juju deploy + juju relantionship blocks.14:51
jamespagearbrandes, but you'll need to do a phased deployment for ha right now14:51
arbrandesjamespage, interesting!  How would that work?14:51
lazyPowerezobn: np - sorry I didn't have a better message for you. If you could - would you mind filing a bug against juju-core?14:51
jamespagearbrandes, I happen to be working on one of these right now let me dig it out14:52
ezobnlazyPower: yep, I will do it14:52
arbrandesjamespage, awesome, thanks!14:52
lazyPowerezobn: brilliant. paste me the link when done so i can track it :)14:52
ezobnlazyPower: OK14:52
roadmrhm, we've had trouble trying to set all relations in one go, it seems like if the charm isn't race-condition-resistant then things fail14:52
darknetmarcoceppi, any idea?14:52
ezobnlazyPower: just here ?14:53
roadmrwe have resorted to waiting until all units are up, then adding relations one by one with a X-second sleep interval between each14:53
jamespagearbrandes, I've also not yet tested this; I was literally working on the bundles when I saw your pring14:53
jamespagearbrandes, http://bazaar.launchpad.net/~canonical-server/+junk/serverstack/view/head:/deployment/serverstack5.yaml14:53
lazyPowerezobn: that'll work14:53
ezobnlazyPower: OK14:53
roadmrdarknet: what's the problem you're seeing? sorry, I missed it, but maybe I can help14:53
jamespagearbrandes, I have some gaps right now due to the fact we are about to re-ip our networking and I don't have all the details yet14:53
jamespagearbrandes, the idea is that you deploy 'serverstack-base' first, and let that deploy and settle (no hooks executing)14:54
jamespageand then you do serverstack-relations14:54
darknetanyone have any idea to resolve that error with juju?14:55
jamespagearbrandes, there is quite a bit in that bundle which is MAAS specific; we make alot of use of LXC which is not possible under openstack14:55
lazyPowerdarknet: none of us have seen a link to a pastebin or reference to your error. Can you provide some insight as to where we should look?14:55
arbrandesjamespage, I understand it's a WIP, but thanks anyway - I might be able to extract what I need from that bundle.14:57
jamespagearbrandes, fwiw I am driving towards a single line deployment for HA this cycle; juju should be delivering a few new features to be able to help us achieve that14:58
jamespagearbrandes, right now its tricky for a unit of a service to know categorically how many peers its going to have from the point of first execution which makes electing a leader a bit clumsy and race prone right now14:58
arbrandesjamespage, that would be fantastic.  Just so you guys keep my use-case in mind when working on this: I'm trying to do Openstack-on-Openstack with Juju for the purposes of training.  In this case, I'm trying to demonstrate how the Juju charms do HA, and to do it, I fire up one Heat stack per student, a stack that contains a Juju bootstrap node and as many other nodes as needed.15:00
arbrandesjamespage, I can't really use MaaS for this setup, so I need Juju (or a bundle) to do its thing without it, and for HA to work *with* port security enabled.15:02
arbrandesjamespage, if doing a phased deployment works, it's good enough for me.  I'll just have students wait for a prerequisite deployment to settle.15:02
jamespagearbrandes, adding the extra allowed addresss stuff will work OK for HA VIP's (I think)15:03
darknetso, no one can help me to resolve that?15:03
jamespagearbrandes, however you may come unstuck with the quantum-gateway charm15:04
jamespagearbrandes, that really does need port security disabled todo its neutron networking foo for routers etc...15:04
jamespageit generates new mac and other things that won't work with allowed-address-pairs15:04
roadmrdarknet: we can help but only if you show us the problem. So far you have only said you have a problem, you have not detailed what it is.15:06
arbrandesjamespage, yes, the allowed-address-pairs thing does work for accessing the Pacemaker VIP.  quantum-gateway works fine as well.  My only problem is having the hacluster hook finish running15:06
darknetI've already posted it15:06
jamespagearbrandes, ok - do you have the exact error from the unit log?15:06
arbrandesjamespage, I just tore down my stack and am in the process of rebuilding it.  I'll post the error as soon as I reach that point again.15:07
jamespagearbrandes, great - fwiw the bundle I pointed you at is the cloud that we test openstack ontop of15:08
darknetroadmr, anyway, I've an error when I try to run the command "juju add-machine vnode -e maas" on maas environment. I've as result that the vnode starts but after few seconds goes down and make the reboot and receiving an error. I've posted that on askubuntu (http://askubuntu.com/questions/556605/juju-ver-1-20-13-cannot-run-instances-gomaasapi-got-error-back-from-server) both of them, Juju and MaaS are installed via ppa stable15:09
arbrandesjamespage, awesome.  I'll get two stacks up and on one reproduce the bug, and on the other try to fiddle with the phased deployment.15:09
roadmrdarknet: ah cool! thanks for that. By the way, it's the first time I see it since you first mentioned you had a problem (less than an hour ago), so maybe your first message got lost.15:10
roadmrdarknet: so you say you've done this before and it worked? was it the exact same procedure?15:11
darknetidem for me!!! I've installed them  in past but it's the first time I receive that after to make upgrade via ppa15:12
roadmrdarknet: I've never used manual provisioning, but it seems to me as if Node1 should already be up when you try to add it. Juju won't create it15:12
darknetroadmr: it's already up and juju-gui has been deployed without prb,15:13
darknetroadmr: I've a problem when add another vnode to environment15:13
roadmrdarknet: ahh ok, and are you 100% sure the name you're giving is correct? what juju is saying is it's unable to find the node by that name15:13
roadmrCloudMaaSRCNode1.maas15:14
darknetroadmr: yes15:14
roadmrdarknet: are you maybe missing an S? CloudMaaSSRCNode1.maas15:14
roadmr(though the first node CloudMaaSRCNode0.maas looks like it has the correct name...)15:14
darknetroadmr: it's strange, for CloudMaaSRCNode0.maas everything has worked well.15:14
roadmrdarknet: hey do you have the maas cli configured? you could do maas maas nodes list (or equivalent command, I'm assuming your profile is also named "maas") and post that or use that to double-check the nodes you're giving to juju are known to maas15:16
darknetroadmr: the vnode continues to make the reboot and on juju status it results in pending...15:16
darknetall vnode are present on MaaS and they are in ready status.15:17
roadmrdarknet: I believe you... that's quite weird15:18
* roadmr goes out for a bit, brb15:18
=== roadmr is now known as roadmr_afk
darknetroadmr: It's the second time I re-install everything, and receive the same error with juju..the environment has been installed on ubuntu 14.0415:20
darknetroadmr: I've received this type of error after to have made the upgrade to MaaS 1.7 and Juju 1.2015:23
darknetroadmr: do y hav eany idea?15:28
darknetroadmr: I was thinking that maybe is why I'm using ubuntu 14.04 with MaaS and Juju upgraded????15:45
darknetroadmr: because I'm testing the previously release on ubuntu 14.04 without upgrade and it works well!!!!!!15:48
arbrandesjamespage, I just managed to reproduce the error: "unit-keystone-0: 2014-12-04 15:46:40 INFO ha-relation-changed ValueError: Unable to resolve a suitable IP address based on charm state and configuration".  This is with keystone -n 2.  But if I SSH into the leader, I can see the VIP bound to the proper interface, and `crm status` looks good.15:53
jamespagearbrandes, hmm15:54
arbrandesjamespage, if you're interested, I can get you SSH access to that environment.15:54
jamespagearbrandes, can you pastebin the full stacktrace?15:54
jamespageoh ssh is good as well15:54
=== roadmr_afk is now known as roadmr
roadmrdarknet: hm, I suspect a name resolution issue, could you maybe ssh into the bootstrap node and see if it can ping cloudmaasrcnode1.maas?16:18
sebas5384balloons: hey o/16:23
LinStatSDRHello all.16:23
balloonssebas5384, hey! ;-)16:23
sebas5384balloons: just confirming our meeting 17 UTC :)16:24
balloonsyep, I should be all ready16:24
lazyPowero/ sebas538416:24
sebas5384hey lazyPower o/16:24
lazyPoweri was driving back yesterday when you pinged, so belated greetings.16:24
sebas5384lazyPower: np! :)16:25
sebas5384balloons: I was having a problem with a bug in the charm helpers16:26
balloonssebas5384, ohh.. did you try and get a charm for it already?16:27
sebas5384but i resolved getting an old version16:27
darknetroadmr: already done it, I've tried ssh from host to vnode CloudMaaSRCNode0 and it works perfectly.16:27
sebas5384https://bugs.launchpad.net/bugs/139713416:28
mupBug #1397134: Python's Six dependency <oil> <Charm Helpers:In Progress by stub> <https://launchpad.net/bugs/1397134>16:28
roadmrdarknet: ok, and once you're in cloudmaasrcnode0, can you do somegthing like "ping cloudmaasrcnode1.maas"?16:28
sebas5384balloons: didn't understand your question, sorry :P16:28
balloonssebas5384, no worries. See you in 30 mins16:29
sebas5384balloons: great then!16:29
darknetroadmr: it' s impossible to make that because the cloudmaasrcnode1.maas don't finish the boot. it starts and after few seconds goes down.16:30
roadmrdarknet: true, sorry16:32
darknetroadmr: will you be tomorrow here? I've to go out from office about 10 minutes16:32
roadmrdarknet: yes, I will be here, and there's other people who may be able to help too16:32
roadmrdarknet: just remember to put the URL for your askubuntu question, that's very well-explained, thanks for that!16:33
darknetok, thanks you for your support in case see y tomorrow16:33
darknetroadmr: have a nice day bye16:33
roadmrdarknet: enjoy!16:33
sebas5384balloons: I updated a new version recently, so I'm waiting for the change to update in the charm store17:02
balloonssebas5384, ok.17:03
balloonsso we ready?17:04
sebas5384balloons: some things changed, and the charm wasn't expecting that17:04
sebas5384yeah sure17:04
sebas5384hangout ?17:04
balloonssebas5384, https://plus.google.com/hangouts/_/canonical.com/nicholas-sebas?authuser=117:04
sebas5384balloons: let me try again17:05
sebas5384hangout always is trolling me17:07
balloonssebas5384, I have the same issue at times :-)17:08
sebas5384i'm going to use another browser17:08
sebas5384balloons: yeah if you can get it from the launchpad17:08
sebas5384till it updates to the new revision17:08
sebas5384:)17:09
balloonsshall we carry on via IRC sebas5384 ?17:10
sebas5384balloons: i'm installing the plugin into the safari17:10
balloonsohh, right, the dreadful plugin17:11
lazyPoweri thought hangouts went html5 last week17:17
lazyPowerboo @ the dreaded plugin17:17
balloonssebas5384, https://github.com/nskaggs/isotracker.git17:28
mbruzek1Hey marcoceppi, jose just pointed out the precise drupal6 charm is not owned by charmers!17:40
mbruzek1$ charm get cs:precise/drupal617:40
mbruzek1Branching drupal6 (lp:~lynxman/charms/precise/drupal6/trunk) to /tmp/precise/drupal617:40
mbruzek1marcoceppi: What is wrong here and how can we fix that?17:41
marcoceppiunpromulgate, bzr init ~charmers, push, promulgate17:41
jackweirdyHey all o/17:41
mbruzek1thanks marcoceppi, I will work with jose to fix that.17:42
josecool, thanks marcoceppi and mbruzek1!17:42
jackweirdyI have a machine set up with a neo4j charm I'm building - testing on localhost at the moment. when I `juju ssh` into the machine I can `telnet` and see the port is open, but from the host I don't seem to be able to. The right port is exposed and I'm connecting to the IP reported by juju. I think I'm missing something obvious here; any ideas?17:43
jackweirdyDoh! I bet I know what it is. I don't think I set Neo4j to accept public connections. I'll put my dunce hat on :)17:44
balloonssebas5384, http://iso.qa.ubuntu.com/17:48
lazyPowerjackweirdy: we've all done that to be sure :)17:49
jackweirdyI get a bit carried away with some of the magic and forget I have to do some work myself xD17:49
lazyPowerjackweirdy: thats a byproduct of how awesome we all are when charming :) (shameless self plug there)17:51
=== arbrandes_ is now known as arbrandes
josemarcoceppi, mbruzek1: found another of those branches, this time it's for the juju charm. should I move it to ~charmers like I did with drupal6?18:20
marcoceppijose: which charm?18:20
marcoceppisorry, who owns it*?18:20
josemarcoceppi: juju, owned by Marc Cluet18:20
marcoceppiyeah18:20
joseack, doing that now18:20
josemarcoceppi: changes pushed and charm promulgated, thanks!18:25
marcoceppio718:25
=== CyberJacob|Away is now known as CyberJacob
jcastrohey mbruzek119:41
mbruzek1yo19:41
jcastrocalendar says charm school tomorrow on fat charms19:41
mbruzek1yes.19:42
mbruzek1I still have to prepare for that19:42
jcastrook I'll send a reminder now19:42
mbruzek13pm est?19:42
jcastroyeah19:42
jcastrohey, you know what would be cool, since the power machines are firewalled19:42
mbruzek1OK will have to set aside some time to prepare19:42
jcastromaybe do the thing on the power machines?19:42
mbruzek1jcastro: great idea19:42
mbruzek1Can you get a fresh system from smoser?19:42
jcastroI can work it now19:42
mbruzek1Please do19:42
mbruzek1I would love to show something like that off, but we need a fresh system that does not have the proxies set up19:43
mbruzek1I will work on preparations after our standup19:43
jcastrook, I'll go ask19:43
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== roadmr is now known as roadmr_afk
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== roadmr_afk is now known as roadmr
noise][1anyone in here familiar with the apache-openid charm? (https://jujucharms.com/u/caio1982/apache-openid/trusty/4)22:21
noise][1and/or if it's better to just hack it together manually in the apache2 vhost conf?22:21
lazyPowernoise][1: i haven't used it unfortunately - however it looks like a userspace charm so ymmv22:38
noise][1lazyPower: so better to just hack up the vhost file for the main apache2 charm directly?22:39
lazyPowernoise][1: but just looking at the config it generates seems feesable22:39
lazyPoweri would test it in a sandbox before relying on it22:39
noise][1:)22:39
lazyPowerit may have quirky behavior with different charms configurations. I dont like racey configs22:39
lazyPoweras this looks like its appending, and if the parent charm has a config-changed that updates the vhost - you're asking for loss of OpenID22:40
lazyPowerso that would be my litmus test, is ensuring the template updates aren't atomic22:40
noise][1oh, interesting22:40
lazyPowerif they are, its a no-go22:40

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