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

josetvansteenburgh: ping00:19
tvansteenburghjose: pong00:36
josetvansteenburgh: I'm back from 'lunch'. you caught me while taking a nap that lasted more than expected :P00:36
tvansteenburghjose: haha no prob. i was gonna chat about seafile stuff but i ended up just putting in a comment on the ticket00:37
joseoh, oh00:37
joseabout the server_name00:37
joseit's actually something to be treated like a hostname00:37
joseso I'm not sure if 'localhost' would be a good guess00:38
joseany name could actually fit00:38
tvansteenburghfair enough. in that case should probably put "server hostname" in the description00:38
tvansteenburghnow that you've said "hostname" i get it00:38
tvansteenburghbefore i wasn't really sure what it was00:38
josethe hostname will always be the internal IP, but this is more like 'my seafile server is called foo'00:39
tvansteenburghyeah , got it00:39
josebut I can add a note saying 'it can be anything you like, let your creativity fly'00:39
tvansteenburghit's up to you, it's your charm :)00:40
tvansteenburghcan leave as-is if you want00:40
joseI'll go ahead and add some of those thingies in a min00:40
tvansteenburghcool00:41
joseand, on the relation-departed hook, I'm going sed to match { as there are a couple lines which have a '{', so it deletes them all at once00:41
jose...or is there just one?00:41
tvansteenburghwith the original code, the "CACHES = {" line didn't get deleted00:42
joseuh00:43
josebut I'll submit patches later today, that's for sure :)00:43
josethanks for going though it!00:43
tvansteenburghcool00:43
tvansteenburghmy pleasure :) it's a nice charm00:43
tvansteenburghcool app too, i had never heard of seafile before00:44
=== ev_ is now known as ev
joseme neither :P00:44
=== allenap_ is now known as allenap
=== timrc is now known as timrc-afk
=== ming is now known as Guest41611
=== axisys is now known as info
=== info is now known as axisys
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
joelmohi all, i followed https://juju.ubuntu.com/docs/getting-started.html and https://juju.ubuntu.com/docs/config-local.html to try and start a wordpress service but i get agent-state pending under wordpress and agent-state started on machine 010:25
joelmohttps://gist.github.com/a26fd0a6222dcaa78b3510:25
lazyPowerjoelmo: do you have a default-series: in your environments.yaml?12:20
joelmolazyPower: i didn't maybe i missed some step in the guide, will try now, how do i restart with the new env config?12:27
lazyPowerjoelmo: its something we recently discovered is a side effect with the local provider12:28
lazyPoweryou can restart by destroying the local env, and adding default-series: precise to ~/.juju/environments.yaml under the local provider section12:28
lazyPowerthen rebootstrap and deploy. Also, your machine0 will always start without issue because its created on the host machine. The bootstrap node doesn't actually live in an lxc container.12:29
joelmolazyPower: ok thanks12:33
gnuoyI'm experimenting with a new charm and adding a relation between 2 subordinates (attached to different superordinates). Juju allows me to add the relationship and then shows its existence in juju status bit I see no sign of any hooks being fired. I'm not sure whether I'm hitting a bug or if juju doesn't support this setup12:37
gnuoys/bit/but/12:38
gnuoyok, this looks like a bug because breaking the relation does fire hooks12:43
lazyPowergnuoy: subordinates support relationships with other subordinates. Is the hook appropriately named?12:43
gnuoylazyPower, I'm in a debug hooks session on both subordinates and nothing happens when I add the relation and no output in debug-logs12:44
lazyPowerif its not firing the config-changed, or joined hooks - thats most def. a bug. I'd want to see a code example, output, debug log, and attach all that to a bug against juju-core.12:44
gnuoylazyPower, coming up12:44
lazyPowerdpb: sorry for not getting back to the landscape-server charm lastnight. Pulling it up for the follow up review now12:50
=== timrc-afk is now known as timrc
melmothwhat line to use exactly for "openstack-origin:" in order to install icehouse ? I try with "openstack-origin: cloud:precise-icehouse/updates" but that does not seem to be the right one12:59
melmothahhh trusty-icehouse/updates seems better13:02
gnuoylazyPower, pebkac, I'd accidentally specified the scope of the relation between the two subordinates as 'container' (copy & pasta error), sorry for the noise13:17
lazyPowergnuoy: glad you got it sorted :) I have those moments all the time13:17
gnuoythose moments are coming think and fast for me today :)13:18
lazyPowerhttp://i.imgur.com/pny2W4g.jpg13:24
gnuoyexactly13:32
dpb1lazyPower, cory_fu: hey guys -- get a chance to peek at that landscape-server charm again?13:48
lazyPowerdpb1: finishing up the review now13:48
lazyPowerrunning the test suites :)13:48
dpb1nice!13:48
lazyPowersorry about the delay, i had intended to wrap it up lastnight but was unit testing some code until 10pm13:49
lazyPoweri was burnt and had no business pushing to the store that late13:49
dpb1lazyPower: heh13:54
=== vladk is now known as vladk|offline
avoinesomeone already saw this error at bootstraping: failed to initialize state: cannot create log collection: unauthorized mongo access: unauthorized14:54
avoineI'm kind stuck on it14:54
=== negronjl is now known as negronjl-afk
MakyoHi from GopherCon.  I'm trying to get juju building on my new laptop and running into the following: utils/ssh/ssh_gocrypto.go:84: undefined: ssh.ClientConn15:12
avoineso reboot solve the problem...15:17
marcoceppiMakyo: you might want to check #juju-dev , but they're mostly at GopherCon too :)15:22
Makyomarcoceppi, thanks :)15:22
=== timrc is now known as timrc-afk
=== timrc-afk is now known as timrc
wwitzel3is there a list of charms somewhere that have been promoted to trusty?16:18
lazyPowerwwitzel3: http://manage.jujucharms.com/charms/trusty16:24
wwitzel3lazyPower: cheers16:24
=== vladk|offline is now known as vladk
marcoceppibzr pull16:31
jcw4marcoceppi: wrong window? ;)16:32
* marcoceppi sighs16:32
marcoceppiyes16:32
jcw4:)16:32
dpb1Hi -- if I have a bundle that has a required config value for a charm to even install, what is the best approach?  Let the charm go to error, and let the user fill in the required value and do resolved --retry?17:04
=== natefinch is now known as natefinch-afk
lazyPowerdpb1: we typically refuse the setup, and return 0 so the charm doesnt 'error' - its the onus of the user to read the docs.17:38
dpb1interesting.  ok17:38
dpb1lazyPower: relations still work though, etc.  just nothing is functioning?17:39
dpb1at some point, raising an error to user seems like the right approach.17:39
dpb1(just thinking out loud)17:40
lazyPowerif it makes more sense in the context of your charm, proceed with raising an error - i can see why you would want that having reviewed the landscape-server charm - the relationships themselves would fail without the underlying service doing what its supposed to do.17:40
dpb1lazyPower: ok, thanks17:42
=== vladk is now known as vladk|offline
axisyslooks like juju local still has a bug? juju status shows agent-state: down18:25
ahasenackare you guys aware of mirror problems in us-east-1? I can't bootstrap18:25
ahasenackW: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_binary-amd64_Packages  Hash Sum mismatch18:25
ahasenackE: Some index files failed to download. They have been ignored, or old ones used instead.18:25
ahasenackERROR bootstrap failed: rc: 118:25
axisysnm.. it started now18:33
axisysagent-state: started18:33
mbruzekDoes anyone know how to refer to subordinate charm instances through juju?18:37
mbruzekI am trying to run a command on a subordinate that looks deployed and related fine, but get $ juju ssh content-fetcher/018:37
mbruzekERROR unit "content-fetcher/0" not found18:37
mbruzekI realize I could ssh to the parent service, but I am trying to follow the readme and see if this works.18:38
=== natefinch-afk is now known as natefinch
cory_fuI ran into that, as well, and am interested in knowing of a solution, mbruzek18:47
axisyshmm.. looks like still having issue .. juju status hadoop-master still showing pending and lots of error in all-machines.log18:48
axisysall-machines.log => http://paste.ubuntu.com/7331840/18:48
axisysI am on Ubuntu 14.04 LTS18:49
mbruzekhi axisys19:05
mbruzekDo you have a default-series set in your environments.yaml?19:06
mbruzekaxisys It looks like you need to set "default-series: precise" in your ~/.juju/environments.yaml file19:10
=== vladk|offline is now known as vladk
=== roadmr is now known as roadmr_afk
=== vladk is now known as vladk|offline
Beretwhat should the default charm license be?20:27
lazyPowerBeret: anything that falls under an Open Source License.20:30
lazyPowerBeret: http://choosealicense.com/20:31
Beretno worries, I just wondered if there was a convention20:31
lazyPowerJust that its an open source license, we're pretty liberal when it comes to the authors choice of which model they choose.20:31
avoineis there anything that can be done if one subordinate needs to wait for a other to finish before making a relation?20:55
* avoine needs to check openstack bundles20:58
=== roadmr_afk is now known as roadmr
avoinelike if A check if there is a B relation  and otherwise does nothing is there a chance that A will never be triggered when B is finish?21:00
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== jelmer_ is now known as jelmer

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