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

mwhudsonare there many charms for trusty yet?00:47
mwhudsonor does that sort of thing wait until after trusty is out?00:48
Kupo24zHey all, is it possible to select a MAAS node when running the first 'juju bootstrap' to setup the juju environment? I have pre-defined nodes and I'd like to make sure it provisions on the right one00:56
davecheneymwhudson: the latter01:08
mwhudsondavecheney: is the cheat in the mean time branching all the precise repos to $localcharmrepo/trusty or however you do that?01:10
rick_h_mwhudson: do you need them to run on trusty? You can just juju deploy precise/mysql for instance?01:11
davecheneymwhudson: correct01:11
mwhudsonrick_h_: i am mostly interested in architectures that are only supported in trusty :-)01:11
davecheneyrick_h_: that is the main rason01:12
rick_h_mwhudson: if you download zip of a charm you can drop it on the gui and pick the series to use01:12
rick_h_mwhudson: ah gotcha01:12
mwhudsonwell i guess armhf was in precise but i still want to be closer to the bleeding edge01:12
mwhudsonrick_h_: ok, bit tedious when dealing with a gigantic bundle01:12
mwhudson(unless there is a trick for that too)01:12
rick_h_mwhudson: definitely, no trick until we get fat bundles and the like01:13
mwhudsonah ok01:13
=== arosales_ is now known as arosales
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== CyberJacob is now known as CyberJacob|Away
=== vladk|offline is now known as vladk
melmothhola juju people ! With juju 1.18.0 i have been told one can tell juju, when using openstack provider, to use a given neutron network for vms (so it does not die when the current tenant as several available networks).08:12
melmothany idea actually how to tell juju wich net to use ?08:12
melmothahhh, most probably the new network setting that is in environment.yaml08:24
frankbanrbasak: morning. the new quickstart package(in your ppa)  seems to work very well08:31
rbasakfrankban: great, thanks! I'll upload.09:02
frankbanrbasak: cool thank you09:03
rbasak(done)09:08
=== Kyle____ is now known as Kyle
=== Kyle is now known as Guest44217
=== Guest44217 is now known as Eliz
noodles775I'm having to `sudo pkill mongod` each time I re-bootstrap a local environment. Is this known, or the same issue as bug 1208430 ?11:35
_mup_Bug #1208430: mongodb runs as root user <mongodb> <juju-core:Triaged> <juju-core (Ubuntu):Triaged> <https://launchpad.net/bugs/1208430>11:35
melmothi m experiencing problem with juju 1.18.0 tyring to use it behind a proxy.13:58
melmothhttps://pastebin.canonical.com/108082/13:58
melmothif anyone has an idea, you are welcome13:58
=== hatch__ is now known as hatch
mgzmelmoth: can you access the maas API directly using HTTP_PROXY envvar and wget say? doesn't seem like a juju related error14:16
melmothi dont need a proxy to access MAAS, and the proxy had no access to MAAS directly14:17
melmoth(all my boxes, MAAS as well are vm in a hypervisor;hosted on some libvirt network). The proxy is a real proxy that my main hypervisor must use to access external boxes14:18
melmothso if i try to access the maas box via the proxy, it will not work.. is it what is going on here ?14:18
mgzmelmoth: printenv?14:20
melmothmgz http://pastebin.com/UsBbLR5u14:21
melmoth(i m using juju directly from the box where maas is installed)14:21
mgzmelmoth: that's odd. what about /home/ubuntu/.profile and /home/ubuntu/.juju-proxy? running juju from inside of the maas... that it's using itself? seems shakey.14:26
melmothi always did it that way.14:26
melmothi mean, juju is just a client, it should be ran from...anywhere14:26
melmothi could fire up yet a new vm just for it, but, i never had to, nor do i see the point14:27
melmothlets have a look at the profile14:27
melmothhttp://pastebin.ubuntu.com/7226462/14:28
mgzwell, I have no idea where your juju client is getting the proxy setting from then.14:29
melmothwell, from the nevironement most probably, i did set juju set http-proxy14:29
melmothbecause i need the new machine to use the proxy14:29
melmoththat was the whole point of the exercice14:29
melmothbut i dont need communication from the juju box or the bootstrap node to MAAS to be proxyed14:30
melmothhmmm14:30
melmothmay be i should set no-proxy for the maas box ?14:30
mgzwell, you are telling the bootstrap node to use a proxy with that14:30
mgzaffecting the local client when uploading a charm is a little odd14:30
mgzmelmoth: you probably should14:31
melmothi m just not sure what name to use or wich actual machine it s trying to cennect to14:31
melmothlet s try with 192.168.101.214:32
melmoth\o/14:34
melmoththanks mgz :-)14:34
mgzworkies?14:34
melmothlooks like it did. At least i have a prompt. it s a subordinate so nothing happened, that s normal. let s continue deployment14:35
melmothyeah, mysql seems to be under deployment14:37
mgzace.14:40
=== alexlist is now known as alexlist`
cory_fuSo, I'm new to bzr.  If I want to submit a (set of) change(s) for review on charm-helpers, do I just do bzr push lp:~johnsca/charm-helpers/name-for-branch in my local copy?16:06
timrcarosales, Hey I pushed a fix for: https://bugs.launchpad.net/charms/+source/jenkins/+bug/1272520 -- but it's pushed to a +junk branch so I can submit an MP16:08
_mup_Bug #1272520: Unable to relate to jenkins-slave: hook failed: "master-relation-changed" <audit> <jenkins (Juju Charms Collection):Confirmed for lazypower> <https://launchpad.net/bugs/1272520>16:08
* timrc really doesn't want any responsibilities associated with being a member of ~charmers, but this particular bug has bit us, and thought I would kill it with fire16:09
marcoceppicory_fu: yes, then do a bzr lp-propose lp:charm-helpers16:09
lazyPowertimrc: right on. I'll take a look closer to EOB unless you need it landed immediately.16:09
lazyPowerand follow marco's directive ^16:09
timrclazyPower, Nah, take your time.  Not hugely critical.  We are deploying from a branch atm... there is some weirdness around authentication too but I think that's separate16:09
timrclazyPower, Right-o.  Thanks16:10
arosalestimrc: thanks for the mp. I think I had filled a abug against jenkins . . .16:10
arosalestimrc: https://bugs.launchpad.net/charms/+source/jenkins/+bug/1272520 was the bug I was hitting did you see something similiar?16:11
_mup_Bug #1272520: Unable to relate to jenkins-slave: hook failed: "master-relation-changed" <audit> <jenkins (Juju Charms Collection):Confirmed for lazypower> <https://launchpad.net/bugs/1272520>16:11
timrcarosales, Well I didn't see any logs, so I can't be 100% sure but my master-relation-changed problem was due to the fact that the master-relation-changed hook was expecting the slave-relation-joined hook (run by jenkins-slave) to set 'slaveaddress' which it wasn't16:12
timrcarosales, so master-relation-changed was assigning an empty string and passing that to hooks/addnode and causing breakage16:12
arosalestimrc: sounds promissing that your branch may resolve this issue16:13
arosalestimrc: thanks for taking the time to contribute the fix back into the juju community :-)16:14
=== JoshStrobl__ is now known as JoshStrobl
timrcmarcoceppi, Just to confirm my lp-propose should be:16:43
timrcSource: lp:~timrchavez/charm-helpers/jenkins-slave-fix-slave-relation-joined16:43
timrcTarget: lp:charm-helpers16:43
timrcshould result in* rather16:44
marcoceppitimrc: is this a fix in charm-helpers or the jenkins charm?16:44
timrcmarcoceppi, it's a fix to a jenkins charm... when I attempted to propose my branch for merge against the actual charm I got a little hate :(16:45
timrcbzr: ERROR: exceptions.Exception: lp:~timrchavez/charm-helpers/jenkins-slave-fix-slave-relation-joined is not mergeable into lp:charms/jenkins-slave16:45
marcoceppitimrc: you should push your branch to lp:~timrchavez/charms/precise/jenkins/jenkins-slace-fix-slave-relation-joined16:46
marcoceppitimrc: you're trying to merge not only across projects, but across distros16:46
timrcmarcoceppi, muhaha16:46
timrcif I could push to charms/ I would have..16:47
marcoceppitimrc: you can16:47
marcoceppitimrc: it's charms in your namespace16:47
marcoceppianyone can push to lp:~user/charms/...16:47
timrcmarcoceppi, Ah, I had some problem... maybe my path was bad16:47
timrcmarcoceppi, Ah, I attempted bzr push lp:~timrchavez/charms/precise/jenkins-slave-fix-slave-relation16:48
marcoceppitimrc: yeah, since charms is a distro, you have to put a branch name in there and jenkins becomes the project name16:48
timrcMakes sense.  Thanks for working around my obtuseness and helping me :)16:50
marcoceppitimrc: np! once it's all pushed, you can just do `bzr lp-propose lp:charms/jenkins-slave`16:50
timrclazyPower, Okay stumbled my way through :) https://code.launchpad.net/~timrchavez/charms/precise/jenkins-slave/jenkins-slave-fix-slave-relation-joined/+merge/21499417:03
=== natefinch is now known as natefinch-afk
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== vladk is now known as vladk|offline
tvansteenburghanyone ever successfully configured sticky sessions on the haproxy charm?18:24
marcoceppitvansteenburgh: people in IS probably have18:32
tvansteenburghmarcoceppi: thanks, will check there18:34
=== CyberJacob|Away is now known as CyberJacob
Jeffrey_Is there anyway to start a service on the juju agent machine? Or is there a way to deploy to a specific machine number in juju status?19:03
marcoceppiJeffrey_: yes, you can use deploy --to19:06
Jeffrey_marcocappi: Then I get "Added charm "local:percise/rethinkdb-2" to the environment. ERROR cannot assign unit "rethinkdb/0" to machine 0: series does not match" and the machine type of number 0 is "series: percise"19:07
marcoceppiJeffrey_: is this a local provoder?19:08
Jeffrey_Yes from a directory on the juju client computer.19:08
Jeffrey_Also if I add a charm it creates a new machine that stays in the pending state. How can I start it?19:11
marcoceppiJeffrey_: the bootstrap node isn't a real cloud VM, it's your actual machine19:11
marcoceppiyou'll need to add another machine19:11
Jeffrey_marcoceppi: Ok so the bootstrap node can only be for the agent?19:11
marcoceppiJeffrey_: only on local provider19:11
marcoceppiJeffrey_: all other real clouds you can deploy --to 019:12
Jeffrey_marcoceppi: I'm sorry I meant I am running a MaaS provider.19:12
Jeffrey_I am running from a local repository19:12
Jeffrey_Charm is from a local repository19:13
marcoceppiJeffrey_: show me your juju status19:13
Jeffrey_marcoceppi:19:14
Jeffrey_http://pastebin.ubuntu.com/7227684/19:14
Jeffrey_marcoceppi: Even when I just do a normal deploy the new machine that is allocated for the charm doesn't start. Is there any way for force it?19:17
marcoceppiJeffrey_: something else is wrong, it should start up eventually19:18
Jeffrey_marcoceppi: This is the status: http://pastebin.ubuntu.com/7227701/19:19
Jeffrey_macroceppi: I think I figured it out.19:22
=== mwhudson- is now known as mwhudson
avoineI'm thinking about changing some configuration variables for the django charm like: requirements_pip_files21:06
avoinein your opinion what would be better:?21:06
avoine1) having a configuration option with a default but ignoring if the results fail21:06
avoine2) a configuration variable with empty default and triggering errors if the file is not there21:06
marcoceppiavoine: the latter, in my opinion21:12
tvansteenburgh`juju deploy local:trusty/haproxy --repository=.`21:23
tvansteenburghis the --repository=. needed there?21:23
tvansteenburghi'm hacking on haproxy and my code changes aren't getting deployed to new units21:24
tvansteenburghnot using --repository and wondering if i need to21:24
tvansteenburghmarcoceppi: ^21:25
marcoceppitvansteenburgh: pretty sure you always need to specify a repository21:25
tvansteenburghor else?21:25
tvansteenburghmaybe it's pulling from lp everytime and i haven't noticed21:26
marcoceppino, it wont do that21:26
tvansteenburghyeah i dunno what it's doing then21:27
marcoceppitvansteenburgh: you can try with the --debug flag21:36
marcoceppisee what's happening21:36
tvansteenburghwell --repository=. fixed my immediate prob, so i'm moving on21:36
arosalesmbruzek: marcoceppi does charm-help-test work for you?22:25
arosaleson charm-tools 1.2.10 its not giving me the help22:25
arosalessorry I meant to state, charm-help test22:26
arosalescharm help test, also isn't working for me.22:26
mbruzekno I get a usage when I try those commands22:27
arosaleshttp://paste.ubuntu.com/7228396/22:27
arosalesI'll file a bug22:27
arosalesmbruzek: thanks for confirming I was hoping to look at what the valid outputs are for charm tests22:28
mbruzekarosales, does "charm test" not work for you?  It appears that the help is broken for me22:28
arosalesmbruzek: 'charm test' does work for me22:29
arosalesmbruzek: just that 'charm help test' does not or as the usage suggests 'charm-help test'  also doesn't work22:29
mbruzeksure22:29
mbruzekThat is a bug22:29
marcoceppiavoine: charm test -h22:32
marcoceppishould give you output22:32
arosaleshttps://bugs.launchpad.net/charm-tools/+bug/130533722:32
_mup_Bug #1305337: charm help test does not work on 1.2.10 <Juju Charm Tools:New> <https://launchpad.net/bugs/1305337>22:32
arosalesmarcoceppi that does work22:32
arosalesperhaps it just the usage that needs updating then22:33
marcoceppiarosales: charm help <cmd> doesn't ever work?22:33
marcoceppii guess it could22:33
arosalesit didn't work for me in the commands I tried it with, list, test, get, etc.22:33
arosalescory_fu: fyi http://paste.ubuntu.com/7228419/22:35
arosaleswhich I finally got to give me from charm test -h22:35
arosalescory_fu: pass, fail, skip, and timout, so were hitting timeout22:35

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