/srv/irclogs.ubuntu.com/2014/01/15/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
=== zz_mwhudson is now known as mwhudson
=== claytonk is now known as ninjix
=== ninjix is now known as claytonk
=== mwhudson is now known as zz_mwhudson
=== timrc is now known as timrc-afk
josehey guys, anyone around?05:18
josebcsaller: ping05:30
=== CyberJacob|Away is now known as CyberJacob
ashipikaHi.. Need a bit of help with a local installation of openstack.. when i try to bootstrap i get the following http://paste.ubuntu.com/6755106/08:54
ashipikajuju on openstack, bootstrap fails -> caused by: the configured region "regionOne" does not allow access to all required services, namely: compute, object-store09:51
michal_shi marcoceppi, can You confirm, that wordpress + memcached deployment works properly on Windows Azure? I'm deploying: mysql + wordpress + add-relation, and then deploy memcached + add relation with wordpress. After all I have: agent-state-info: 'hook failed: "cache-relation-changed"'11:08
michal_sif I run juju resolved --retry wordpress/0 it is going to run, but in WP I have "Plugin settings are not yet saved for the site, please save settings! ยป WP-FFPC Settings"11:09
michal_sand "Memcached cache backend activated but no PHP memcached extension was found.11:09
michal_sPlease either use different backend or activate the module!11:09
michal_salso Memcached configuration in WP-FFPC is for 127.0.0.111:10
ashipikalocal openstack -> ERROR failed to list contents of container: juju caused by: request (http://172.16.93.211:8080/swift/v1/juju?delimiter=&marker=&prefix=tools%2Freleases%2Fjuju-) returned unexpected status: 204; error info:11:44
=== amol_ is now known as amol
=== timrc-afk is now known as timrc
lazypowerI'm having troubles with 1.17.0 and the local provider not booting the lxc  containers. They sit in a "pending" state.14:23
perrito666hello, can anyone point me to the actual link of the hooks section mentioned in https://juju.ubuntu.com/docs/authors-charm-components.html ? the one in there is just a link to the same document14:33
lazypowerperrito666, https://juju.ubuntu.com/docs/authors-charm-hooks.html14:35
perrito666lazypower: thank you very much14:35
lazypowerperrito666, no problem. Thank you for pointing out the mis-link :)14:35
=== TheLordOfTime is now known as teward
marcoceppimichal_s: memcached is broken in wordpress15:11
michal_smarcoceppi: thanx for info. There is information about memcached in WordPress charm readme, so maybe there should be no info about it there? ;)15:38
marcoceppimichal_s: well, it used to work, and it should just be fixed15:39
marcoceppithere's a bug about it on the wordpress charm15:39
michal_soh, ok :)15:39
vilahazmat: ping, ev told me you may be interested by http://paste.ubuntu.com/6757161/17:04
hazmatvila, i am, it looks like a bug in core17:08
hazmatvila, i almost always do juju-deployer -TW17:09
hazmatit will stream what's happening back to the client17:09
vilahazmat: what I understood (incompletely ;) is that this happened when a service has an hook error, this seems to block/upset juju-deployer leading to that traceback17:10
hazmatvila, deployer should be auto resolving errors when doing destroy17:11
hazmatbut noted17:11
vilahazmat: the hook failed was gunicorn wsgi-file-relation-broken and the charm was expecting the service to exist and destroy it17:11
vilahazmat: so the log was suggesting that this hook was run twice17:11
vilahazmat: oh, noted17:11
hazmatvila, can you pastebin juju-deployer -TW against that env if its still active17:11
hazmatactually with trunk (1.17) we have a simpler way of cleanly doing this via terminate-machine --force17:12
vilahazmat: not active anymore, will ping you when I encounter it again (and I run lp:juju-deployer) err, wait, 1.17 refers to ?17:13
vilahazmat: ha, juju, yeah, 1.17.0-0ubuntu1~ubuntu13.10.1~juju1 here17:14
hazmatyup .. refers to juju-version17:14
vilahazmat: ok, thanks for the feedback so far, will come back to you when I've more meat ;)17:15
hazmatvila, np17:17
vilacjohnston: meet hazmat who asked for -TW output17:21
vilahazmat: meet cjohnston how just reproduce the traceback in an active env \o/17:21
vilas/jow/who/17:21
cjohnstonit's running -TW now17:21
vilas/how/who/ with new fingers17:21
cjohnstonvila: hazmat https://pastebin.canonical.com/103023/17:33
hazmatcjohnston, thanks, that clarifies it a bit, does look like a bug in deployer to me17:44
=== natefinch is now known as natefinch-lunch
cjohnstonhazmat: ok.. do you need a bug filed?17:47
hazmatcjohnston, that would be great17:47
hazmatcjohnston, also which version of deployer are you using?17:48
cjohnstonhazmat: trunk I believe17:48
hazmatcool17:48
hazmatcjohnston, hmm.. that's not trunk.. it looks like  a package install17:49
cjohnstonubuntu@tarmac:~/projects/amulet$ aptitude search deployer17:49
cjohnstonp   juju-deployer17:49
cjohnstonwould it be packaged under anything else hazmat ? I'm guessing it comes from http://bazaar.launchpad.net/~canonical-ci-engineering/ubuntu-ci-services-itself/trunk/view/head:/tests/run#L7517:52
hazmatcjohnston, that doesn't match your traceback paths17:53
hazmatoh.. nevermind it does17:53
hazmati was looking at jujuclient17:53
hazmatcool17:54
cjohnstonhazmat: https://bugs.launchpad.net/juju/+bug/126951917:55
_mup_Bug #1269519: juju-deployer -T fails with jujuclient.EnvError: <Env Error - Details:  {   u'Error': u'state watcher was stopped', u'RequestId': 3, u'Response': {   }}  > <pyjuju:New> <https://launchpad.net/bugs/1269519>17:55
_mup_Bug #1269519 was filed: juju-deployer -T fails with jujuclient.EnvError: <Env Error - Details:  {   u'Error': u'state watcher was stopped', u'RequestId': 3, u'Response': {   }}  > <pyjuju:New> <https://launchpad.net/bugs/1269519>17:55
hazmatcjohnston, thanks.17:55
hazmatcjohnston, also this is a random issue?17:57
hazmatcjohnston, or reproducible?17:57
cjohnstonhazmat: I've reproduced it twice, vila atleast once17:57
hazmatcjohnston, any chance i can get a copy of machine-0.log from that env17:58
hazmatshould be in machine 0 @ /var/log/juju/17:58
=== bjf is now known as bjf[afk]
hazmatcjohnston, via chinstrap is fine.. talking with a core dev  about as well17:59
cjohnstonhazmat: I can give you access if you like17:59
hazmatcjohnston, sure that works.. i just need a copy of the file, not going intending to touch the live env18:00
hazmatbut if direct access is easier sure18:00
cjohnstonhazmat: ubuntu@10.55.32.15 should get you there18:00
hazmatcjohnston, got it thanks18:03
cjohnston:-)18:04
cjohnstonhazmat: just making sure you don't think you'll need anything else before I blow it up18:08
hazmatcjohnston, all good, thanks18:09
=== zz_mwhudson is now known as mwhudson
cjohnstonhazmat: fwiw, I did just reproduce it again, so each time I've run it it's given the error18:21
hazmatcjohnston, noted18:23
hazmatcjohnston, one more question.. what version of jujuclient are you using (looks like that one is from package)18:26
cjohnston0.0.7+bzr12-0~bzr16~precise1ubuntu1~0.IS.12.0418:29
hazmatcjohnston, bug filed against pyjuju ;-)18:31
hazmatthe deployer one you filed18:31
=== mwhudson is now known as zz_mwhudson
jcastromarcoceppi, I found a silly charm proof bug I think18:45
jcastroit thinks line 11 on the memcached charm readme is boilerplate, but it is not18:46
marcoceppijcastro: cool, I'm about to roll a release so I'll take a look18:46
jcastrodo a fresh pull of memcached, I just pushed up the readme18:46
jcastroit was an OG clint charm, so no readme at all. :p18:46
jcastromarcoceppi, memcached with wordpress being broken, is that a wordpress charm bug or a memcached charm bug?18:50
marcoceppijcastro: wordpress18:50
jcastromarcoceppi, hah man, guess what my next audit is18:52
jcastrohadoop18:52
marcoceppihave funnnn18:53
marcoceppijcastro: I have no idea why it says that18:54
jcastromarcoceppi, is it saying it for you?18:54
marcoceppiyeah, but line 11 is the deploy line :\18:54
jcastroI marked the charm as passing proof because it does18:55
jcastrofor all intents and purposes, even though it does not, heh, and it's only a W: anyway18:55
jcastroI just found it strange18:55
=== natefinch-lunch is now known as natefinch
marcoceppijcastro: found the problem18:59
marcoceppiyou have this sentance in the readme: Though this will be listed in the charm store itself don't assume a user will know that, so include that information here:19:00
marcoceppiwhich is why it's matching19:00
marcoceppiso it's saying that boilerplate line 11 is in the readme19:00
jcastroOH!19:00
jcastrofixing19:00
marcoceppiI'll fix the message for this19:00
jcastrohey also19:01
jcastrocan you cut something out of README.ex while you are there?19:01
jcastrocut ## Charm contact and everything below that19:01
marcoceppik19:02
dpb1marcoceppi: heard you were ripping me a new one on the storage charm? :)19:40
lazypowerThats not what I said!19:46
lazypoweroy19:46
marcoceppidpb1: prepare youself ;)19:46
dpb1hah19:47
marcoceppino, it's not bad. as a tl;dr I find the structure interesting, have some concerns about data integrety, a little swamped haven't be able to pound out a formal review response19:48
dpb1marcoceppi: heh, I know the feeling (swamped).  We already have some follow-on branches, including one transforming it into python with charmhelpers and tests.  btw.19:49
marcoceppidpb1: oh, then by all means, feel free to push those up for review :D19:49
dpb1OK, sure.  Let me get an ETA19:50
dpb1marcoceppi: still a bit off on that python conversion.  WIP.  Just expect we will follow up with it shortly.  But the general structure and purpose wont'19:54
dpb1... won't change.19:54
dpb1marcoceppi: IOW, sorry for the noise. lol19:54
marcoceppidpb1: awesome, I'll simply move the bug to incomplete to remove it from the queue for now19:54
marcoceppimake sure to put the bug back at either "new" or "fix committed" when ready for review19:55
dpb1marcoceppi: sure, that is fine.  Do you have even partial thoughts typed up?  would be good not to cycle on those19:55
marcoceppidpb1: I don't have anything typed really :\19:59
dpb1ok19:59
dpb1will ping when we are ready.20:00
=== zz_mwhudson is now known as mwhudson
jcastromarcoceppi, https://bugs.launchpad.net/charms/+source/memcached/+bug/126953720:07
_mup_Bug #1269537: Charm needs a peer relation <audit> <memcached (Juju Charms Collection):Invalid> <https://launchpad.net/bugs/1269537>20:07
=== mwhudson is now known as zz_mwhudson
marcoceppihazmat: deployer can be a bit aggressive with agent state down for machines coming online21:01
marcoceppiis there a way to increase it's timeout threshold?21:01
hazmatmarcoceppi,  there's a couple of timeout params that can be passed via cli params21:03
marcoceppihazmat: would that fall under REL_WAIT ?21:05
marcoceppiit's getting tripped up before relations though21:05
hazmatmarcoceppi, its triggering against -t, --timeout21:07
hazmatits a global timeout for the entire deployment21:07
marcoceppisays default is 45 mins? these are dying after about 521:07
marcoceppiwith the follwoing error21:07
* marcoceppi gets it21:08
marcoceppihazmat: jujuclient.EnvError: <Env Error - Details: {   u'Error': u'state watcher was stopped', u'RequestId': 4, u'Response': {   }} >21:13
marcoceppiit seems agent state of a machine stays in "down" for about 45 seconds before moving to started21:13
hazmatmarcoceppi, i had a long discussion with roger about that..21:13
marcoceppihazmat: ah, I thought I saw some of it earlier today in here21:14
hazmatthe state watcher was stopped, there was a corresponding conversation in juju-dev as well21:14
hazmathttps://bugs.launchpad.net/juju-core/+bug/126951921:14
_mup_Bug #1269519: Error on allwatcher api <juju-core:New> <juju-deployer:New> <https://launchpad.net/bugs/1269519>21:14
marcoceppithis really breaks automated testing :\21:34
=== rogpeppe2 is now known as rogpeppe
hazmatmarcoceppi, yeah.. so in terms of trying to debug it and getting a fix from core, i think we need to turn the log level back to high22:06
marcoceppihazmat: I'm open to do whatever to help fix it22:06
marcoceppiI have a way to replicate it though22:07
hazmatmarcoceppi, you do? do tell.. rogpeppe mentioned he has branch in the review queue thats turns up logging around api conn behavior a bit  https://codereview.appspot.com/5285004322:09
=== bic2k-duo is now known as bic2k
marcoceppihazmat: both lazypower and mbruzek can replicate it22:10
rogpeppemarcoceppi: i wanna know!22:10
hazmatmarcoceppi, but how?22:10
lazypowerindeed, i was blaming the fact that i'm on plattered disks so the file copy took longer to happen than expected...22:10
lazypowerbut i have no evidence to back that up22:10
lazypowerhazmat, i'm available for stack traces, just let me know what you need and i'll make myself available.22:12
* hazmat can't remember the syntax for turning up the logging level22:14
marcoceppithumper should know22:14
marcoceppithere's a doc somewhere around here too that has that info22:14
sarnoldhttps://lists.ubuntu.com/archives/juju/2013-September/002998.html22:14
sarnoldthere might be something newer, but that's easily accessible in my history :) hehe22:15
hazmatmarcoceppi, if only it was the docs..22:15
* marcoceppi makes a bug22:15
hazmatsarnold, thanks22:17
lazypowersarnold, thanks, bookmarked22:28
hazmatlazypower, so re reproducing what do you have a deployer file you can share?23:32
lazypowerYou bet, give me another 10 minutes to wrap up this call and I'll start23:33
=== zz_mwhudson is now known as mwhudson
lazypowerhazmat, the output is going to have some chatter from amulet, is that going to be a problem?23:39
hazmatlazypower, that's fine.. what we're interested in actually the log from the state-server machine-0.log there in /var/log/juju23:40
hazmatlazypower, basically bootstrap, turn the logging way up, and then do your reproduce, and then send over the machine-0.log23:40
lazypowerOk, that helps. I just cranked the debug level to DEBUG, running the sequence now.23:41
hazmatcool23:41
lazypowerhazmat, i dont think i did it right23:44
lazypowerhttp://paste.ubuntu.com/6759208/23:44
lazypoweri see a ton of the provider output, but not so much on the state server.23:44
lazypoweri take that back, i had not scrolled back far enough in history to see it.23:44
hazmatlazypower, yeah.. that looks correct23:45
hazmatits the apiserver output that's of interest23:45
lazypowerThe behavior sequence is the containers go from pending => down  => started23:46
lazypowerwhen they hit down is when the state server bails23:46
hazmatlazypower, i don't see the sympton we're looking for in that log file.. i23:47
hazmatlazypower, ie. deployer exiting with an EnvError relating to 'state watcher was stopped'23:47
lazypowerThat bubbles up in the juju stacktrace of the actively running command23:48
lazypowerlet me wipe and restart23:48
lazypowerhazmat,  juju set-env 'logging-config=<ROOT>=DEBUG;juju.api=DEBUG'23:51
lazypoweris that the correct debug tuning line i want to run?23:51
hazmatlazypower,  juju set-env "logging-config=<root>=DEBUG" should do23:53
lazypowerhttp://paste.ubuntu.com/6759241/23:53
lazypowertheres the parent running command stack trace23:53
hazmatlazypower, the log level in that pastebin looked correct, it had debug api messages from the state server23:53
lazypowerhttp://paste.ubuntu.com/6759246/23:54
lazypowertheres the machine log for machine-023:54
lazypowerhazmat, i just thought of something that may be causing this as well, my lxc containers are bridged and set to pull from my network DHCP server. That may or may not be relevant23:56
hazmatlazypower, that log looks truncated, the timestamps don't quite match up even taking into account utc between the host and container23:57
hazmati just don't see evidence of the deployer api connection in that log23:58
lazypowerI dont either, which concerns me too23:59

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