/srv/irclogs.ubuntu.com/2012/01/31/#juju.txt

koolhead17hi all06:41
koolhead17SpamapS: around06:41
SpamapSkoolhead17: actually yes07:17
koolhead17SpamapS: my talk on juju got selected :)07:18
koolhead17will share slide in few days :)07:18
SpamapSkoolhead17: congrats!07:22
=== koolhead17 is now known as koolhead17|afk
=== vivek_ is now known as Vivek
niemeyerGood morning all11:22
jorgehazmat: hi man! all fine?12:50
jorgehazmat: recently i've talked to niemeyer about a problem when running "juju status". i always get a "bind error". i've tested a lot of things with sniffers and verified logs along the command call. i've detected that juju try to ssh to an instance and suddenly the ssh connection is closed! so, googling i've found a irc log about the same problem. in this case there was a discussion about ipv6.12:50
jorgehazmat: so i've ran with "strace -e trace=listen,bind,connect -f juju status" and saw that after try to bind to an ipv6, the process dies (http://pastebin.com/JmCnbZbY). In auth.log, at the instance, i can see a suddenly "ssh connection closed". So, it appears that this two things are correlated.12:51
jorgehazmat: well, i had a sysctl.conf entry disabling ipv6 (net.ipv6.conf.all.disable_ipv6=1). So, removing that, all is working fine!!! OMG! There were some days trying to understand this problem. Now, just a opinion. I think that somewhere in the code, when some 'if tests' analyses the return of the calls, when the ipv6 returns an error, it understand that all is with error.12:51
jorgehazmat: So, even though ipv4 connection is OK, the process dies! Just a bet hehe.12:51
=== Vivek is now known as Guest96249
=== Guest96249 is now known as Vivek
bachi, i'm seeing the problem reported by gary_poster and me last week again.  in the install hook 'config-get' is not returning anything despite having defaults set in config.yaml.  the same charm works for others.  i'm using the PPA version 0.5+bzr451-1juju2~precise1.  any ideas on how to debug it?  this problem is blocking me.13:35
gary_poster(bac, you verified that environments.yaml says "juju-origin: ppa" also right?13:36
gary_poster)13:36
bacgary_poster: yes13:36
gary_postercool13:36
bacgary_poster: were you able to resolve the problem?  any debugging hints?13:36
gary_posterI have debugging hints on our yellow page13:37
gary_posterbac, looking in the data directory and looking at the ppa environment variables were the things that Kapil had me do13:37
hazmatjorge, interesting, and odd, juju defers to the ssh binary for setting up the tunnel, and then we always hand it an ipv4 address, something sounds odd there.. i guess its the ssh failing when trying to establish the listening/forwarding port14:12
hazmat hmm.. we could specify the host ip address for the forward port to be more explicit as 127.0.0.1, it sounds like just the port spec alone is causing a bind to additional interfaces14:13
hazmatbac which charm?14:19
bachazmat: the buildbot charm we're working on14:19
hazmatbac keep in mind the environment will cache the charm, if the version hasn't been incremented.. so subsequent deploys without incrementing the version or destroying the environment will use the cached version14:19
bachazmat: gary_poster pointed me to the master-customize log file.  in that is see the add-apt-repository failed due to name lookup, so it didn't install juju from the PPA after all14:20
bachazmat: thanks but versioning is not the problem14:20
hazmatbac what does juju status report the state of the unit as ?14:20
bachazmat: it is install_error b/c 'config-get' is not returning anything, so the install charm fails14:21
hazmatif one exists at all, then it should have installed juju into the container, there aren't any fallbacks to juju code installation14:21
bachazmat: but i think that is related to the version mismatch caused by it not being able to add the PPA repo14:21
bachazmat: sorry, i don't understand your last comment.14:23
bachazmat: juju was installed in the container, but it was not the PPA version it was from universe14:23
bacso i wonder if the version mismatch is what is causing the problem with config-get.14:24
hazmatbac, that would make sense i think, and would explain the mismatch, can you ssh or chroot into the container and verify the package version?14:24
bachazmat: i could and saw that it was not the ppa version (r338 or similar)14:25
bachazmat: i manually added the PPA repo and was able to install the proper one.14:25
bacbut after doing that, 'juju ssh' began prompting me for the ubuntu user password.  any idea what that is?14:25
hazmatbac it should be setup with ssh keys14:27
bachazmat: here is the master-customize.log that shows the errors i mention:  http://pastebin.ubuntu.com/823887/14:39
bacat line 255 is the apt-add-repository failure14:40
bacand line 661 looks like an error too in that the key isn't being added to authorized_keys.  that would explain why i cannot ssh.14:41
hazmatbac, indeed that looks like both the problems14:41
hazmatbac to reset it you have to destroy-environment and recreate it14:42
bachazmat: have done so.  this log file is from a clean deploy into a new environment14:42
hazmatugh.. it looks like its not able to setup the resolv.conf correctly at the top of the log14:42
bacyeah14:42
hazmati noticed this problem in the precise containers, i've got a branch in the review queue which requires the resolvconf package install explicitly14:43
hazmatbac, if you want to try it out as an alternative, you can set juju-origin: lp:~hazmat/juju/local-respect-series    and do a destroy-environment/bootstrap14:44
gary_posterthere was a resolv.conf change in precise recently.  it was not required, and lxc depended on this.  When it was added, it overwrote the custom /etc/resolv.conf that lxc installed (with nameserver 10.0.3.1). It bit me in another way.  I'm also having lxc issues (lxc-start is hanging, at least on lucid); trying to gather data for Serge before I bother him.14:44
gary_posterit was not required -> resolvconf was not required14:45
gary_posterwhen it was added -> when resolvconf was added14:45
gary_posterLordy, my pronoun use was horrible :-/14:45
gary_posterI blame it on baby-caused lack of sleep :-P14:45
hazmatgary_poster, consistency makes it work :-)14:45
gary_posterlol14:45
=== _mup__ is now known as _mup_
=== medberry is now known as med__
=== med__ is now known as med_
jcastrom_3: FYI remember you have a charm session tomorrow for developer week: https://wiki.ubuntu.com/UbuntuDeveloperWeek15:54
jcastrokoolhead17: heya16:04
koolhead11hola jcastro :)16:05
jcastrohttps://code.launchpad.net/~jorge/charms/oneiric/owncloud/upgrade-to-316:06
jcastroowncloud bumped to 3,0 and there's my branch to upgrade the charm16:06
jcastrohowever I can't test it today, I'm having juju problems of some kind16:06
jcastroso I haven't proposed it yet but if you're looking for an easy upgrade/fix it just needs to be tested that it works.16:06
koolhead11jcastro: cool!! lemme check it,. i will need sometime.16:08
jcastrono rush, I just wanted to make you aware that it's there16:08
koolhead11jcastro: super :)16:09
m_3jcastro: yup... _and_ a talk tomorrow afternoon at mongo-boulder16:10
jcastroman, look at you, unstoppable16:10
koolhead11m_3: hi there16:11
m_3hey koolhead11!16:11
koolhead11jcastro: you were working on that ubuntupad about juju-charm school content16:11
koolhead11how are we planning to use it16:11
m_3wait, weren't you 17?  where'd 11 come from?16:11
jcastrohe must have lost 6 kool points16:12
koolhead11m_3: am at work so am 11 :D16:12
jcastrohey SpamapS16:58
jcastrois there a flag for charm get unofficial unfinished charms?16:58
jcastrolike say, django?16:58
SpamapSjcastro: no, bzr branch those17:09
jcastrok17:09
SpamapSjcastro: if we want to support that in charm get, we'll have to support showing all 9 branches that matched the given word...17:09
jcastroI have some charm workflow questions, can we chat later?17:10
SpamapSjcastro: I'm not averse to accepting random bzr branch urls in charm get.. just for consistency.17:11
SpamapSjcastro: certainly!17:11
jcastroSpamapS: or m_3: You guys know offhand the status of the django charm?17:13
m_3jcastro: nope, haven't checked on it in a while17:15
=== dpm_ is now known as dpm
dpmjcastro, is the django charm we're talking the same one noodles created on http://micknelson.wordpress.com/2011/11/22/a-generic-juju-charm-for-django-apps/ if so, I can ask him directly17:37
jcastroyep17:37
dpmjcastro, SpamapS, so I was trying to set up a django server on a Canonistack instance, and I couldn't get past the 'bootstrap' step. Would you have a few minutes to give me a hand? Here's what I'm getting:17:52
dpmhttp://pastebin.ubuntu.com/824142/17:52
jcastroadam_g: might need your help on this one too ^17:53
dpmthe access key is from:17:53
dpmhttps://pastebin.canonical.com/59146/17:53
adam_gdpm: you need to specify:17:55
adam_g    ec2-uri:  http://91.189.93.65:8773/services/Cloud17:55
adam_g    s3-uri: http://91.189.93.65:333317:55
adam_g    ec2-key-name: keypairname17:56
dpmadam_g, where can I find the 'keypairname' I should specify there?18:02
* dpm is new to cloud18:02
SpamapSyou don't actually need ec2-key-name18:06
dpmso I should only specify the first two lines above, then?18:07
* m_3 found the perfect sick-food... meatballs-n-spaghettios18:27
SpamapSm_3: yes that is the perfect food to make you sick18:29
etneg_well nice logo18:38
etneg_:D18:38
etneg_just noticed ensemble went through a change18:39
jcastroSpamapS: I can chat any time you want.18:39
jcastroetneg_: yeah we're growing up!18:39
etneg_come a long way18:39
jcastroSpamapS: I am just brainstorming so we don't need to bother m_3.18:39
SpamapS"What a long strange trip its been"18:39
etneg_i wasnt around the time juju was announced else i'd have tkane part in creating the logo18:39
jcastrothat's my way of saying I have really stupid questions and want to limit the people who hear them. :)18:39
jcastroetneg_: plenty to do, want to write a charm?18:40
SpamapSjcastro: just realized I completely forgot breakfast.. need to eat and then I'll put on my stupid question answering hat and buzz you on G+18:40
etneg_more logo stuff?18:40
etneg_vectors? sure18:40
etneg_code? i'll pass18:40
jcastroheh18:40
jcastroSpamapS: nod.18:40
jcastroSpamapS: I am available for the rest of the day, no calls, no rush, at your convenience.18:40
etneg_if you guys plan to modify the existing logo, let meknow18:40
etneg_:D18:40
etneg_or need icons, let me know18:41
SpamapSDoes anybody else get a warm fuzzy when a bug they reported and worked around in 2 places gets fixed without a single question from the developer fixing it?18:41
* SpamapS is a bug reporting STUD18:41
etneg_at the time i worked on ensemble's logo i wasnt eexactly vector-compliant, was mostly paper stuff18:41
SpamapShttps://review.openstack.org/#patch,sidebyside,3575,1,nova/tests/api/ec2/test_cloud.py18:42
etneg_either way nice logo18:42
SpamapSetneg_: there was a blog post showing the story of the juju logo which included your early drawings I think18:42
etneg_ye and mine sucked now that i look at it18:42
etneg_too many elements and what not, i think the team was kind to mention it18:42
etneg_lol18:42
EvilBillhmmmm, re: mac version of juju client - I just found what appears to be an easy-to-use packager: http://s.sudre.free.fr/Software/Iceberg.html18:42
SpamapSetneg_: http://design.canonical.com/2011/11/juju-logo/18:43
etneg_ye just read that awhile ago18:43
SpamapSok.. eating.. now18:43
etneg_i was lipping through ubuntu's design stuff and bumped into that18:43
etneg_so dropped by here18:43
etneg_lipping/slipping18:44
etneg_the juju logo looks prett sweet18:44
=== fenris_ is now known as Guest88852
=== fenris__ is now known as Guest62166
etneg_gl:D18:47
hazmatfor giggles, a graphviz output of the entire charm universe with dependencies lined out.. http://kapilt.com/files/charm-graph.png19:08
m_3hazmat: nice19:09
jimbakergraphviz, at least hierarchical drawing, is definitely not a good way to render it... but still useful to see the centrality of some charms like mysql19:17
m_3maybe even try twopi?19:17
jimbakertwopi probably would do better19:19
jimbakeresp since it's not truly hierarchical19:20
jimbakermaybe some charms are like that, but not true in general19:20
hazmatjimbaker, i'm going to play around with networkx with matplot lib as an alternative19:22
jimbakerhazmat, sounds like a plan. there's definitely some interesting graph relations there19:22
SpamapSjcastro: G+ yo19:23
gary_posterSpamapS, hi.  is your charm tests spec hardened enough for us to try and follow it, and have a reasonably high probability of us not having to rework the whole thing later?20:38
gary_poster(From https://code.launchpad.net/~clint-fewbar/charm-tools/charm-tests-spec branch)20:39
SpamapSgary_poster: I think so.. I can give you my juju wrapper script that I use to run the example tests if you like?20:39
gary_posterSpamapS, cool, yeah thanks20:39
SpamapShttp://paste.ubuntu.com/824374/20:40
SpamapSgary_poster: it doesn't do the deploy-previous yet :)20:40
SpamapSgary_poster: and you have to set RESOLVE_TEST_CHARMS=1 to make it do anything at all20:40
gary_poster:-) cool, it's a start, thanks SpamapS .  The main idea is for us to have a target for writing tests, and this gives us one.20:41
_mup_juju/refactor-machine-agent r450 committed by jim.baker@canonical.com20:44
_mup_UnitManager tests20:44
_mup_juju/refactor-machine-agent r451 committed by jim.baker@canonical.com20:45
_mup_Merged trunk20:45
SpamapSgary_poster: indeed, I've written a few more in the course of writing the spec.. definitely need to put get-unit-info into juju itself20:46
gary_postercool20:47
SpamapSIf anybody is interested in learning a few in's and outs of packaging.. I'll be giving a brief presentation over in #ubuntu-classroom in about 9 minutes20:52
grapzSpamapS, I think I've found out about the SSH issue I had yesterday22:25
grapzjust because I'm being cheap, I was using t1.micro to do testing on, and it seems like it sometimes takes forever to complete the init steps22:26
grapzit's been going on for 9 minutes now, and I don't see the 'cloud-init boot finished' on my t1.micro yet (but now I can SSH to it), and the m1.small that I started at the same time, finished ages ago22:29
grapzthere should maybe be a disclaimer about using t1.micro in the docs somewhere22:30
SpamapSgrapz: sometimes they work22:31
SpamapSbut usually no22:31
SpamapSI mean, I run my personal website on one... but it gets like, 150 visits a day ;)22:31
grapz:)22:32
grapzI'll add a line to the 'default-instance-type' in the docs about it being really slow at times - might save someone else from stumbling upon it22:32
SpamapSgrapz: indeed, perhaps add it as a footnote so it doesn't interrupt the flow.22:33
* SpamapS goes off to run a few errands22:33
grapzgood idea22:34
grapzSo, when I've made a change to the docs, added and pushed the change to my personal branch, I just file a bug against juju with the branch attached, and then it will be reviewed ? (my first time submitting a patch in LP)22:53
_mup_juju/refactor-machine-agent r453 committed by jim.baker@canonical.com22:55
_mup_Missing file22:55
m_3ugh... ec2 is _crawling_ atm23:09
_mup_juju/refactor-machine-agent r454 committed by jim.baker@canonical.com23:25
_mup_Cleanup23:25

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