/srv/irclogs.ubuntu.com/2013/10/11/#juju.txt

davecheneybummer00:00
davecheneythe maas side maybe logging something more verbose00:00
davecheneymaas to the client is very turse00:00
davecheneyterse00:00
zradminim back now, we had a bit of an isp issue00:13
zradminin the logs its giving me a 401 (unauthorized) error now, it did let me deploy a few services before starting this behavior though. API keys are correct for maas00:13
davecheneyzradmin: is that the juju log or the maas log00:19
davecheneyfrom the little i know abut maas00:19
zradmindavecheney: juju log00:19
davecheneythe client facing logs are pretty terse00:19
davecheneylook inthe maas log00:19
davecheneythat is where the juicy details are00:20
zradmindavecheney: just getting a more verbose version of the unauthorized message http://pastebin.ubuntu.com/6220330/00:22
davecheneybloody hell python00:23
davecheneywhat is an error and what is an exception00:24
davecheneylook, i dunno if I can help you00:24
zradmini know right?00:24
davecheneyi don't have much maas experience and maas has clearlu decided that you don't own that resource00:24
davecheneyand it won't be disuaded from that00:24
zradminlame i cant even destroy the juju environment00:28
zradminok i removed the last node i registered with maas and now it process my destroy environment command00:32
zradminvery strange00:32
davecheneyzradmin: i'm sorry to handball you, but you might get better advice in #maas00:37
zradmindavecheney: no problem I came here first because the juju update was the only thing that changed in the environment. Its working again now for some reason though so I'm fine at the moment, thanks for your assistance00:39
davecheneykk00:41
julianwahello, how can I know which hooks will be called when I restart juju unit agent?01:14
davecheneyjulianwa: it depends on what the state of the unit agent was when you restart it01:15
davecheneyin general, no hooks will be called01:16
julianwadavecheney: hmm.  Is there a document to tell what should be called under what state?01:22
davecheneyjulianwa: no01:22
davecheneybut that wasn't really the question you first asked01:23
davecheneycan I ask, what is the problem you want to solve ?01:23
julianwadavecheney:  does this described in charm?01:23
davecheneynope01:25
davecheneyit's sort of in the docs01:25
davecheneybut, you haven't answered my questoin01:25
davecheneythe reason why i'm pushing back is the unit agent does not run the sevice01:26
davecheneyif you stop the unit agent01:26
davecheneymysql doesn't stop, for example01:26
davecheneyjuju isn't a process manager01:26
davecheneythe only way restarting would/wouldn't help would be if the unit agent was restarted *during* hook execution01:26
=== styles_ is now known as Styles
=== wedgwood is now known as Guest48850
jujulearnerhi guys04:30
jujulearneri need some help in bootstrapping a EC2 environment, can anyone spare a few minutes to help? Thanks!04:41
=== CyberJacob|Away is now known as CyberJacob
Anjuhii anybody around?07:07
Anjuwhere I can set path to set juju logs07:07
Anjuanybody around?07:09
Anju???????07:09
freeflyingAnju, what do you mean set path?08:11
=== CyberJacob is now known as CyberJacob|Away
Anjufreeflying:  are u there08:58
Anjusorry I was away08:59
freeflyingAnju, what is your question about09:23
Anjufreeflying:  i want to know if want to use juju in openstack09:28
Anjuthen where can i see the logs09:28
freeflyingAnju, after you bootstrap, you can use juju debug-log to check the logs09:29
Anjuyes I read this soemwhere09:29
freeflyingAnju, and for sure, juju supports openstack, highly recommend to use :)09:29
Anjubut all logs not save in a file09:29
Anjufreeflying:  opensatck have many components09:30
Anjuif ai want to see particular logs for a particular component09:30
freeflyingAnju, you mean logs from openstack itself or the logs from the vm you start09:30
AnjuI want logs of juju09:30
freeflyingAnju,  juju debug-logs collect log from node it deployed09:31
freeflyingAnju, and those logs are stored in the node juju deployed too09:31
Anjustored in the node juju deployed too ???09:32
Anjucan you please tell me more09:32
Anju?09:32
freeflyingafter you deploy ay service, you can juju ssh <service>/0 (the unit), and check the log under /var/log/juju/09:33
Anjuohhkkk09:35
Anjufreeflying:  thanku so much09:35
freeflyingAnju, np09:36
Anjufreeflying:  did you use juju?09:37
freeflyingAnju, sure09:38
Anjuohkk09:38
jcastroevilnickveitch, ok I've asked alanbell to check out the manual provisioning docas14:05
jcastroand see if we can get some feedback14:05
evilnickveitchjcastro, cool14:05
jcastroI'm going to ask some other people to try it too14:05
evilnickveitchI am working on the other configs14:05
evilnickveitchyes! that would be great14:05
jcastrojamespage, would today be a good day to ask about the openstack bundle or are you guys in release crunch still?14:06
jamespagebit cruchy still tbh14:11
jamespagebut I can spin some time in-between helping zul push the second set of RC's from upstream14:11
jamespagejcastro, for the bundle what do you want?14:11
jcastrolike so, are we going to publish it at a certain place or ... ?14:12
jamespagejcastro, it might be better after we actually land the changes for havana :-)14:22
jamespagethose are still to be done14:22
jamespagewell the changes are done; they are just not in the charm-store yet14:22
jcastrook14:24
jcastroso in other words, I should wait14:24
AlanBelljcastro: did you?14:39
jcastroAlanBell, see your G+14:50
jcastrobut here's the URL14:50
jcastrohttps://juju.ubuntu.com/docs/config-manual.html14:50
AlanBelloh cool :)14:51
nesusvetI tryied to deploy the node, but after deployment it returns: 2013-10-11 07:15:54 DEBUG juju.state open.go:88 connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused15:00
nesusvethello everyone15:00
nesusvetI guess there a problem in different version on the mongodb15:01
nesusvetand I guess I should add the stable-juju repository to this file: /etc/apt/sources.list before installation, but I don't know how15:01
=== wedgwood_ is now known as wedgwood
=== Guest6383 is now known as vednis
=== vednis is now known as marsf
=== CyberJacob|Away is now known as CyberJacob
ahasenackhi guys, is that reported size the size of the charm? http://pastebin.ubuntu.com/6223679/18:35
ahasenackand, it copied it to my machine and then uploaded it to the bootstrap node?18:36
ahasenackhello, anyone here?18:38
* sarnold waves to ahasenack :)18:40
ahasenack:)18:40
sarnold.. I've just got no idea. sorry. :)18:41
ahasenacksarnold: got it from the juju-gui guys, they are bundling the juju-gui tarball inside the charm now18:51
ahasenacksarnold: that's a 45Mb download from the charm store to my computer, and then a 45Mb upload from my computer to the bootstrap node18:51
kurt_jcastro: ping19:09
TimQuick question: Is there a good place to follow development information and news? I'm trying to deploy juju on a very large cloud and I'm having a hard time finding current information on changes19:10
Timlike juju tools on s319:10
=== kentb-out is now known as kentb
jcastrokurt_, pong!19:12
jcastroTim, there are two mailing lists19:13
jcastrojuju and juju-dev19:13
jcastroYou can sub to them from here: https://lists.ubuntu.com/19:13
TimAh, thanks. Keeping up with what works (and a lot that doesn't) has been a real headache19:13
Timjcastro: Like the fact that the tools on s3 are currently a blank file ;)19:14
ahasenackTim: really? what juju-core version do you have?19:14
ahasenackjust curious if it's the recent 1.16 build19:14
TimIt is19:15
Tim1.16.0-precise-amd6419:15
ahasenackTim: and do you have public-bucket-url or tools-url defined in environments.yaml? Do you have a pastebin of juju bootstrap -v?19:16
Timahasenack: When bootstrapping I get 'WARNING no tools available, attempting to retrieve from https://juju-dist.s3.amazonaws.com/ ERROR Get https://juju-dist.s3.amazonaws.com/tools/releases/juju-1.16.0-quantal-i386.tgz: EOF'19:16
TimI'll run it verbosely19:17
jcastrosinzui, ^^^19:18
ahasenackhm, the quantal url seems to be https://juju-dist.s3.amazonaws.com/tools/juju-1.16.0-quantal-amd64.tgz19:18
ahasenackI don't know about that "/releases/" path component19:18
Timahasenack: https://gist.github.com/timfallmk/694051719:19
TimThe s3 tools download is new to me since I last tried juju19:19
ahasenackTim: it's a fallback download. What is your environment?19:20
ahasenackTim: I mean, is it aws, openstack, hp cloud, lxc, ...?19:21
TimOne in OpenStack, one in MAAS19:21
Timand one in LXC :)19:21
TimThe one I'm trying now happens to be in MAAS19:21
ahasenackso looks like this time it downloaded the quantal tarball, but failing on the raring one19:22
ahasenackcould it be a temporary error?19:22
ahasenacks/failing/failed/19:22
Timahasenack: Seems to be persistent19:23
TimAlso, I thought I had the tools installed from the initial repo19:23
ahasenackTim: but above you pasted a line where it failed fetching the quantal tarball19:23
TimHmm, you're right19:23
Timcurious19:23
ahasenackbut yeah, tools are a pain, there is always something slightly wrong19:24
TimWeird, now it's giving me the failure for that19:24
Timraring I mean19:24
sinzuiTim, I will look Your url is correct for 1.16.0 + and simplestreams19:24
Timsinzui: I'm not sure why it would fail on quantal until I ran it with -v19:25
Timsinzui: Hello, I just ran it with -v again, and it moved on to failing on saucy19:26
Timso, to summerize, it fails persistently when run non verbosely. But can complete only the *next* step when run with -v each time19:26
ahasenackso weird19:27
sinzuiTim: interesting. I always run with --show-log (formerly -v)19:27
Timahasenack: Very weird19:27
ahasenackmaybe it is always failing on the next on, but only -v shows you that19:27
Timsinzui: IF I run it repeatedly until it completes everyone, then it moves on19:27
ahasenacks/on/one/19:27
Timwell it gives the failure line when run without v19:28
Timand its always quantal19:28
ahasenackah19:28
Timahasenack: or was19:28
kurt_Hi Guys - anyone know when 1.16 may be ready?  I'm looking for the fix to bug 123673419:28
_mup_Bug #1236734: juju 1.15.1 polls maas API continually <juju-core:Fix Released by gz> <https://launchpad.net/bugs/1236734>19:28
ahasenackkurt_: 1.16 is in the stable ppa, you can download it19:28
Timahasenack: Aha, its completed. Now I get the good old " gomaasapi: got error back from server: 409 CONFLICT"19:29
Timthanks guys. Weird error19:29
ahasenackthat's where my knowledge of maas ends19:29
Timahasenack: IT's maas node issue19:29
Tim:)19:29
TimThanks all!19:29
sinzuiTim have you set your tools-url:? For AWS it is https://juju-dist.s3.amazonaws.com/tools . This may not help since fallback is obviously looking in the correct place in the end19:33
kurt_ahasenack: does it include fix for 1236734?19:39
kurt_Tim: do you see that error consistently?19:40
ahasenackkurt_: I don't know19:45
kurt_ahasenack: ok, just looked it up.  Apparently it does… https://launchpad.net/juju-core/+milestone/1.16.019:46
jcastroAlanBell, hey so https://bugs.launchpad.net/juju-core/+bug/123893419:47
_mup_Bug #1238934: manual provider doesn't install mongo from the cloud archive <manual-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1238934>19:47
jcastroI have failed you19:47
jcastrobut I will try again!19:47
kurt_sinzui: ping19:57
AlanBelljcastro: aww :)20:08
AlanBellI will give it a go at some point over the weekend I think20:08
AlanBellmongodb with juju could well be interesting to me as it happens, http://exceptionalemails.com/ has a mongodb back end (plus some python and PHP bits)20:10
AlanBellbut that was designed to scale out (not that it is likely to ever *need* to scale out)20:10
=== marsf is now known as mars
=== Guest34795 is now known as marsf
Nik_Hi all... I wanted to clarify a couple of things regarding hooks and sequence of events... Can someone help with that? for example, I am not sure when configuration-changed is invoked20:52
Nik_Does it get invoked when the service is initialy started or installed and does it get invoked when someone supplies --config to the deploy command20:56
marcoceppiNik_: when a charm is deployed, the following hooks will run: install, config-changed, start20:57
marcoceppiNik_: everytime `juju set` is run, config-changed hook will execute20:57
marcoceppiNik_: so it'll always run at least once20:57
Nik_Cool good to know not to invoke it explicitly.20:58
Nik_Now does start get invoked if a relationships is optional: true?20:59
Nik_relationship^^20:59
Nik_err20:59
Nik_If relationship is optional: false (hence required), does start get invoked beffore the relationship joins?21:00
Nik_And yes, what's the meaning of optional: false in the requires: section21:00
marcoceppiNik_: at this time all relations are optional, and setting them to false does nothing21:01
marcoceppiNik_: that whole system isn't implemented yet, iirc21:02
Nik_Oh I see....21:02
Nik_And what about relaton-joined vs relation-changed.21:03
Nik_It said that changed gets invoked if the relation rejoins21:03
Nik_And I'm not clear on the part "rejoins" what does it mean? If a relationship departs after remove relation, isn't rejoining considered relation-joined?21:04
marcoceppiNik_: that's not quite true. Relation-joined happens once per relation per unit, it's like the "install" hook of the relation sequence, relation-changed happens whenever there is new data on the relation wire, so the relations send stuff with relation-set and that triggers changed21:04
marcoceppiNik_: yes, if you remove a relation, then re-create it, joined is run again21:04
Nik_Oh and new data on the wire means stuff like relation-set?21:05
Nik_But if relation-set is invoked multiple times21:05
marcoceppiNik_: then changed will execute each time21:05
Nik_rel-changed will also get invoked mutliple times?21:05
marcoceppiNik_: yes, all hooks need to be idempotent21:06
marcoceppiany hook could be executed multiple times21:06
Nik_Ok so then the client can simply keep restarting multiple times, if needed until it gets all the config values from the service21:07
Nik_Or, I guess a server can set some flag on the relation like done=yes to cause the client to read all the config information21:07
sarnoldahasenack: _wow_, 45M up and down, that's a significant deterrent to using juju-gui over e.g. a DSL line ..21:09
ahasenackyeah, that sucked a bit21:09
ahasenackas in, I can't deploy it from here where I happen to be now21:09
sarnoldahasenack: though I've seen enough complaints about charms needing access outside of a private cloud to deploy, and the trouble or impossibility of punching holes..21:09
sarnoldahasenack: heh, no more coffeeshop demos :)21:09
ahasenacksarnold: or outside of a big city in Brazil :)21:10
sarnoldahasenack: heh I thought even the small cities were big :) hehe21:11
ahasenackwell, 200k inhabitants, but good adsl service only in the downtown area. 3km out and you are out of luck21:11
Nik_And I had one last queston (for anyone who can answer) ... Wen a server charm provides: my-service: interface:http for example just for clients, for the purpose of them obtaining its public address to the clients when they join the relation, is there a way for the server to specify that they are not interested in my-service-relation-joined so that juju doesn't spit out errors in the log that hook does not exist?21:13
Nik_I belive that juju executes my-service-relation-joined hook on the server and complains21:14
sarnoldahasenack: wow, I wouldn't have expected 3km to be the difference between good vs bad internet access..21:22
ahasenackyeah, sucks, here I get 1.5Mb/0.4Mb on a good day21:23
ahasenackdowntown 15Mb/1Mb and up21:23
sarnoldwow21:23
AskUbuntuMAAS Set password for node | http://askubuntu.com/q/35693621:56
=== kentb is now known as kentb-out
=== CyberJacob is now known as CyberJacob|Away

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