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

lazyPowerbradm: apologies. It was late when I lent a hand to that venture and had not looked at the bug tracker.00:51
lazyPowerI'll leave a note to investigate first thing Tuesday morning. Just hopped on to see the ping :) Happy holiday o/00:52
=== Guest78498 is now known as wallyworld
=== thumper is now known as thumper-otp
=== thumper-otp is now known as thumper
=== jam1 is now known as jam
=== Guest21046 is now known as wallyworld
AskUbuntuMaaS + JuJu on a single PC, MaaS as host for VM Nodes (LXC + KVM) | http://askubuntu.com/q/47223004:50
=== vladk|offline is now known as vladk
=== jam1 is now known as jam
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== CyberJacob|Away is now known as CyberJacob
=== Ursinha-afk is now known as Ursinha
=== vladk is now known as vladk|offline
cjohnstonwallyworld_: ping07:39
wallyworld_hi07:39
wallyworld_cjohnston: what can i do for you?07:44
cjohnstonwallyworld_: could you please look at bug #1319947 and tell me what else you may need07:46
_mup_Bug #1319947: LXC local provider fails to provision precise instances from a trusty host - take 2 <juju-core:Confirmed> <https://launchpad.net/bugs/1319947>07:46
wallyworld_cjohnston: the cloud init log from the lxc container would be useful07:47
cjohnstonwallyworld_: meaning like machine-1 or somehting?07:48
wallyworld_cjohnston: /var/log/cloud-init.log or similar07:49
wallyworld_from the container07:49
cjohnstonwallyworld_: the containers are stuck in pending07:50
wallyworld_cjohnston: you should be able to ssh into them07:50
cjohnstonwallyworld_: http://paste.ubuntu.com/7519544/07:50
wallyworld_cjohnston: pending normally means that the containers have come up but the juju processes inside haven't and so the phone home ping doesn't happen07:51
wallyworld_but you should be able to ssh in07:51
cjohnstonjuju ssh 107:51
cjohnstonERROR machine "1" has no public address07:51
wallyworld_how about lxc-ls --fancy and trying to ssh into the ip address?07:52
cjohnstonwallyworld_: no output07:53
wallyworld_does lxc-ls --fancy say the containers have started07:53
wallyworld_oh, maybe not07:53
wallyworld_that implies perhaps that the precise image was not downloaded07:53
wallyworld_what's the contents of /var/lib/lxc07:53
cjohnstonjenkins  juju-precise-template  lpdev07:54
wallyworld_and juju-precise-template contains stuff like config, rootfs etc?07:55
wallyworld_is there any info in the lxc logs on the host to indicate why the container could not be started?07:56
cjohnstonconfig  fstab  rootfs07:58
wallyworld_cjohnston: what version of lxc do you have installed?07:58
wallyworld_dpkg -s lxc ?07:59
cjohnstonwallyworld_: would I be looking in something like lxc/lxc-monitord.log ?07:59
cjohnstonInstalled: 1.0.3-0ubuntu307:59
wallyworld_maybe, not sure tbh07:59
wallyworld_that's the correct version i think07:59
wallyworld_cjohnston: is this your own machine or a cloud instance you are using?08:00
cjohnstonwallyworld_: http://paste.ubuntu.com/7519597/08:00
cjohnstonmy desktop08:00
wallyworld_if it were a cloud instance we could perhaps ssh in to poke around08:00
wallyworld_you have juju-local installed?08:01
cjohnstonjuju-local:08:01
cjohnston  Installed: 1.18.3-0ubuntu1~14.04.1~juju108:01
wallyworld_hmmm, i'm running out of ideas08:02
wallyworld_cjohnston: out of interest, does starting a trusty container work?08:03
wallyworld_ie set default-series: trusty in env config?08:04
cjohnstonit did, I haven't tried it since 18.308:04
wallyworld_hmm. so just precise08:07
wallyworld_cjohnston: what you can do is type in by hand the lxc commands that juju would use to start a precise container to see where any error might be08:08
wallyworld_juju just shells out and calls lxc-create etc08:09
cjohnstonack.. I'll see if I can find time for that while I'm sprinting08:09
cjohnstoncoffee break.. ping me later if you get time.. thanks wallyworld_08:09
wallyworld_cjohnston: if you could, that would be great, since i'm out of obvious suggstions08:09
wallyworld_ok will do08:09
=== ted is now known as tedg
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== Ursinha is now known as Ursinha-afk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== Ursinha-afk is now known as Ursinha
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
sebas5384hello charmers and juju'ers :)14:53
sebas5384awesome charm!! http://manage.jujucharms.com/~gnuoy/precise/content-fetcher15:08
sarnoldwow looks neat :)15:16
sebas5384sarnold: yeah but doesn't have git clone :(15:17
sarnoldsebas5384: it feels like something it'll grow eventually :)15:18
sarnoldI was hoping to see something for .gpg or sha256 sum validation, but again, hopefully something it'll grow15:18
sebas5384yeah will see15:19
mmeloHi guys , i need a little help.15:19
mmeloIn my local environment after changed dhcp.conf configurations to force specific ip address to the charms juju dont refresh this new addresses to the charms.15:19
sebas5384mmelo: know nothing about dhcp :(15:20
sarnoldmmelo: I'm no wizard here but that feels like one of the problems easiest solved with destroying and rebuilding the environment15:20
mmeloi lost my relation between wordpress and mysql for example, i try to recreate relation but does not work15:21
=== Ursinha is now known as Ursinha-afk
hackedbellinihi guys. So, some of my lxc changed ips, but the relation is still using the old one17:28
hackedbelliniIn the logs, I didn't see any call for 'db-relation-changed' after the ip changed. Is there a way that I can manually force it?17:28
hackedbellininote that I cannot destroy any unit/service/relation/environment as I'm on a production server17:28
avoinehackedbellini: I don't think Juju was planned for that. Can you trigger a relation-set from other hooks? like start, stop, upgrade, etc17:48
hackedbelliniavoine: I tried triggering the upgrade hook by forcing it with the '--force' flag. The config file that contains the db ip is being overridden (I tried changing by hand but it changes when a hook is called)17:53
hackedbellinibut for some reason, although juju knows the new ip of the db, it is not getting it right on the 'relation-get'. The most strange part comes now: I have 2 mediawiki installations (same charm but deployed with different aliases) connected to the same mysql unit. When mysql unit changed ip, the change was propagated to one wiki, but not to the other17:53
hackedbelliniI tried restarting juju-agent just now.... I saw in the logs that _a lot_ happened in the units. But the same is happening... one wiki has the new mysql ip and the other don't17:54
sebas5384constraints on juju-local is working?17:55
avoinehackedbellini: strange17:57
avoinehackedbellini: maybe this could help you: https://pypi.python.org/pypi/juju-dbinspect17:58
hackedbelliniwell, as someone just said to me, the mediawiki strange problem where one unit "changed" the ip and the other don't might have another reason. It seems a workmate here changed it by hand17:59
hackedbellinibut well, for some other charms, the realtion is still reporting the old ip17:59
hackedbelliniavoine: thanks! I'll take a look17:59
sebas5384constraints with juju-local isn't working or, im doing something wrong hehe18:09
sebas5384juju set-constraints --service drupal mem=2G cpu-cores=218:09
hackedbelliniavoine: I need the system administrator to install some packages for me so I'm able to use the tool you suggested18:16
hackedbelliniin the mean time: I did some testing and I'm almost sure now. The lxc ip changed, but the "provider" of the db relation (mysql, postgresql, etc) is not calling 'relation-set' again18:16
hackedbelliniOn  the other charm, 'relation-get' is returning the old ip. So, if I made mysql/postgresql run relation-set again, it would probably make things right. Do you know how can I do that by hand?18:16
avoinehackedbellini: I think not, well not directly18:17
avoinehackedbellini: let me check I think I have an other way18:27
hackedbelliniavoine: http://pastebin.ubuntu.com/7523369/18:33
hackedbellinithis is what is happening when I try to open a shell on juju-db18:33
hackedbelliniit tries to do a 'cat /var/lib/juju/agents/machine-0/agent.conf', but that file doesn't exist18:33
hackedbelliniit exists actually, but not in that path18:33
avoinehackedbellini: that might be risky but you could check the relation cache under: /var/lib/juju/agents/unit-mediawiki-0/state/relations/18:33
hackedbellinithe right path would be /var/lib/juju/.juju/local/agents/machine-0/agent.conf18:34
avoineouch18:34
avoinethat's a bug18:38
hackedbelliniavoine: hrm, I can't find any unit-xxx directory18:38
hackedbelliniI tried: find . -type d -name "*unit*" but it didn't find anything18:38
hackedbelliniwhere more could this be?18:38
avoinehackedbellini: this is on your mediawiki machine18:38
hackedbelliniI mean, that relations cache direcotory you said18:38
hackedbelliniahhh, ok18:38
hackedbelliniavoine: found it. But this is the only information present there: http://pastebin.ubuntu.com/7523432/18:40
avoinehum, not very usefull18:41
hackedbelliniavoine: yes :(18:44
hackedbelliniI'm totally lost here18:44
hackedbelliniavoine: is there anything I can do with the juju-db utility so I can connect to mongo?18:54
avoinehackedbellini: maybe changing the wrong path hard coded18:55
avoinebut you wont be able to modify the database18:55
avoineonly inspect it18:56
avoineso no very usefull in your case18:56
hackedbelliniavoine: hrmmm, didn't know that18:56
avoineI thought there was a cache somewhere that you could change but there is not18:58
avoinehackedbellini: you could comment here to ask for a raise in the priority of this: https://bugs.launchpad.net/juju-core/+bug/125605319:00
hackedbelliniavoine: very nice! I'll surely add me to the "affected" people and see if I can make a useful comment there. Thank you!19:04
=== thumper is now known as vorpalbunny
=== _thumper_ is now known as thumper
AskUbuntuJuju Ceilometer-Agent is not reporting about nova-compute | http://askubuntu.com/q/47264622:06
=== CyberJacob is now known as CyberJacob|Away
bradmlazyPower: no need to apologies, I was glad of the help :)  Plus, some of us didn't get the holiday, I'm in a slightly different timezone.23:33

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