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

=== ajmitch__ is now known as ajmitch
pindongaSpamapS, so, regarding the instances never finishing, it seems to be up, as I can ssh into directly, but juju status will never complete10:43
=== objectiveous_ is now known as objectiveous
niemeyerGoood mornings!12:16
andrewsmedinaniemeyer: morning12:23
niemeyerandrewsmedina: Hey hey12:24
wrtpniemeyer: yo!12:29
SpamapSpindonga: ok, perhaps there is some helpful information in /var/log/cloud-init.log or /var/log/cloud-init-output.log15:12
pindongaSpamapS, those files don't exist15:13
SpamapSpindonga: interesting15:19
SpamapSpindonga: anything in /var/log with cloud-init in the name?15:19
pindongano15:23
pindongaSpamapS, this is on the machine running juju, yes?15:23
pindongaSpamapS, I suspect something with zookeeper, as I'm getting timeouts related to it15:28
pindonga2012-01-24 07:52:34,302:14454(0x7f7c94925700):ZOO_WARN@zookeeper_interest@1461: Exceeded deadline by 12ms15:28
pindonga2012-01-24 07:52:35,757:14454(0x7f7c94925700):ZOO_ERROR@handle_socket_error_msg@1528: Socket [127.0.0.1:37230] zk retcode=-7, errno=110(Connection timed out): connection timed out (exceeded timeout by 0ms)15:28
pindongathat's just one example15:28
=== objectiveous_ is now known as objectiveous
_mup_juju/trunk r448 committed by jim.baker@canonical.com16:21
_mup_merge relation-already-exists-error [r=clint-fewbar,hazmat][f=837724]16:21
_mup_Provide a better error message if the relation already exists.16:21
bachi i'm having problems with juju 0.5+bzr447-0ubuntu1 in that config-get returns nothing.  previous version worked as does the one in the PPA, also for revno 447.16:22
m_3_bac: I have charms deployed using 447 that use default config values correctly17:05
m_3_lemme spin up something else with passed-in config17:06
bacm_3 from ppa or regular repo?17:06
SpamapSbac: can you share your config.yaml ?17:06
m_3_bac: ah, right from the ppa17:07
SpamapSbac: the precise PPA and precise have the same code17:07
hspencermornin17:23
robbiewm_3: we're all set for devopsday in Austin17:48
m_3_robbiew: woohoo!  thanks for taking care of that17:51
robbiewm_3_: np -> http://devopsdays.org/events/2012-austin/17:53
robbiewsponsorship, done.17:53
bachi SpamapS, here is config.yaml with transcripts of the failure.  this exact charm was previously deployed with the 447 ppa.  http://paste.ubuntu.com/815592/18:08
_mup_juju/bool-and-validate-defaults r448 committed by kapil.thangavelu@canonical.com18:10
_mup_add boolean servcie config type, validate schema defaults when parsing18:10
_mup_juju/bool-and-validate-defaults r449 committed by kapil.thangavelu@canonical.com18:42
_mup_sample configuration is reused by other tests :-(, use a separate config for additional type tests18:42
gary_posterhi.  I'm trying to run juju with lxc on precise.  I have an existing non-juju-related lxc instance on the machine that is working fine.  When I try to run juju bootstrap, I get the error here.  http://pastebin.ubuntu.com/815678/  hazmat has helped people with this before: http://askubuntu.com/questions/67156/juju-bootstrap-on-local-machine-gives-an-error http://irclogs.ubuntu.com/2011/10/05/%23juju.txt19:25
gary_posterI don't have the libvirtd group, even after a restart19:25
gary_posterotoh, sudo virsh net-start default fails identically, so that doesn't seem the same to me.19:26
gary_posterI suppose I'll go randomly add myself to libvirtd to see if that helps, but I wonder why I'm not a member already19:27
hazmatgary_poster, the libvirt-bin package install normally takes care of that19:27
gary_posterIf anybody has any ideas, I'd receive them gratefully :-)19:27
gary_posteryeah I figured19:27
gary_posterI could dpkg-reconfigure and see what happens maybe?19:28
SpamapSgary_poster: are you an admin on the machine?19:29
SpamapS    for u in $(grep "^admin:" /etc/group | sed -e "s/^.*://" -e "s/,/ /g"); do19:29
SpamapS        adduser "$u" libvirtd >/dev/null || true19:29
SpamapS    done19:29
hazmatgary_poster, perhaps.. or just work around by hand, there's another pre-requisite related issue i just started working on namely that juju lxc always creates oneiric containers.. regarding the output your seeing, that's a little odd, juju should be detecting the status of the libvirt network.. i'll take a look and see if there's anything obvious19:30
gary_posterSpamapS, no.  My os had to be created manually--via debootstrap and adduser.  I'll addmyself to admin19:31
gary_posteruh19:31
gary_posteradduser: The group `admin' does not exist.19:31
hazmatnothing obvious, it does check the network status before attempting to start19:32
SpamapSgary_poster: oh you're running your own custom mini-buntu?19:32
gary_postermy edge appears to be bleeding19:32
hazmatsounds painful19:32
gary_poster:-) SpamapS, I guess so19:32
SpamapShazmat: perhaps a wishlist bug to verify that the user is in 'admin'19:33
hazmatSpamapS, sounds good19:33
gary_posterok, so...should I bother rebooting now that I am in libvirtd, or do my other symptoms suggest that it wouldn't help anyway??19:34
* gary_poster thought he was running precise as installed a la https://help.ubuntu.com/11.04/installation-guide/hppa/linux-upgrade.html19:35
gary_posterWell, I am running precise19:36
gary_posterI wasn't aware that doing it this way would make things so customized.19:36
* gary_poster will try rebooting...19:36
gary_postercoulda just relogged in, but anyway...19:39
gary_posterthat didn't help19:39
gary_posterthought I am now a member of libvirtd19:39
gary_postervirsh net-start default gives me the same error19:39
gary_posterhazmat ^^ any other ideas?19:41
SpamapSgary_poster: hppa ?19:43
SpamapSgary_poster: you may be a member, but you don't get those groups fully until you log out and back in19:44
gary_posterSpamapS, not sure what you mean by hppa.  I don't have a group by that name.  I rebooted after manually adding myself to libvirtd, and groups now reports that I am a member of it19:47
SpamapSgary_poster: groups isn't sufficient though. you won't actually have the permissions of that group until you've logged in again... but rebooting would suffice19:49
gary_posteryeah19:49
SpamapSgary_poster: and I said hppa because you linked to the 'hppa' install guide.. which I didn't know existed.19:50
gary_posterSpamapS, oh, hah.  yeah, I was trying to install Precise on a Macbook Pro with a missing optical drive.  I tried every USB stick I could find, and then some optical drive replacement tricks, and then...oh some other approach I found.  Then I saw the debootstrap approach and figured that ought to work with what I already had (a separate oneiric partition)19:51
gary_posterThis is the first hint that things might be a little odd for me19:52
SpamapSgary_poster: most people just use VMs. :)19:52
gary_posterSpamapS, heh.  :-) I did that for a long time, but was getting pressure to joing the Ubuntu-on-metal club.19:52
SpamapSgary_poster: oh.. and you didn't want to just backup/install/restore ?19:53
SpamapSgary_poster: oh sorry now I'm gathering.. your usb sticks all failed19:53
SpamapS:-/19:53
gary_posterSpamapS, right :-/19:53
gary_posterWell...for some reason net-list started showing default, without me doing anything.  I did a net-destroy default before juju bootstrap (perhaps unnecessarily) and it worked.  So...concerning, but it moves me along20:16
bacSpamapS: did you see the config.yaml i posted earlier?20:29
SpamapSbac: sorry I didn't, backscrolling now20:29
bacSpamapS: i know it sounds dubious, but i've verified repeatedly the PPA for r447 works where the one in the repo does not20:30
SpamapSbac: weird! so yeah I'd expect it to show you a yaml with at least the default value for the file. that looks like a serious bug20:30
SpamapSbac: yeah that is definitely weird20:31
SpamapSbac: can you make sure you are deploying with juju-origin: distro  in your environment config?20:31
bacSpamapS: i do not have that in my enviroment.yaml20:32
bacSpamapS: my redacted environment.yaml looks like http://paste.ubuntu.com/815750/20:33
SpamapSbac: do you still have the broken instance running?20:35
SpamapSbac: if you do, apt-cache policy juju on it20:35
bacSpamapS: i do not.  i needed to make some progress so i'm running with the ppa version20:36
baci can easily revert if it'll give you helpful info20:36
SpamapSbac: no worries, I can repeat20:36
bacSpamapS: http://paste.ubuntu.com/815765/20:43
SpamapSbac: but thats after you installed from the PPA..20:49
bacSpamapS: correct, but it shows the origin of the other.  i assumed that might be helpful20:49
gary_posterOK, here's another issue.  Per Nick Barcet's demo instructions, I checked out the charms.  I now have ~/charms/charm-repo with lots of charms20:52
gary_posterThen I try the command he gave:20:52
gary_posterjuju deploy --repository /path/to/charm-repo local:mysql20:52
gary_posterI get "ERROR Charm 'local:oneiric/mysql' not found in repository /home/gary/charms/charm-repo"20:52
gary_posterbac tells me I can just make an oneiric directory and it will all work out20:52
gary_poster(if I link the charms in that directory)20:53
gary_posterbut it seems like there's a bug in there somewhere20:53
koolhead17gary_poster: whats your current working directory21:02
koolhead17i had same issue and i remember eating lots of SpamapS time :)21:03
gary_posterkoolhead17, heh.  I did it in the repo dir and in my home dir with same result.  on call now tho21:03
koolhead17gary_poster: i would try this21:04
koolhead17juju deploy --repository /usr/share/doc/juju/examples local:mysql21:04
koolhead17to start with :)21:04
koolhead17and see if am getting error with it21:04
SpamapSgary_poster: should be ~/charms/oneiric as the root of all charms21:04
hazmatgary_poster, juju expects to find the series name under the repo dir.. so it should be repo_directory/<release-series>/mysql21:04
koolhead17so gary_poster you have to have directory/oneiric/mysql21:05
koolhead17hazmat: in my case i had a bug too, the revision file has to have a non-zero value :)21:06
gary_poster:-) ok thanks guys I will adjusrt after call21:06
hazmatkoolhead17, that's been improved, it will report charms with error in the repo21:06
koolhead17hazmat: will try tommorow from office, i will have to upgrade juju pkg which i am using from PPA21:07
koolhead17jcastro: around21:18
jcastroyeah21:18
koolhead17did i do something wrong? i don`t see the modified documentation merged :(21:18
jcastrokoolhead17: ? I don't know, I don't run the docs21:29
jcastrokoolhead17: did you submit a merge proposal?21:29
koolhead17yes21:29
koolhead17https://code.launchpad.net/~koolhead17/juju/jujudoc21:29
jcastrohazmat: you are watching for docs merge proposals right?21:38
koolhead17hspencer: hey there21:40
hazmatjcastro, i am now21:46
hazmathttps://code.launchpad.net/~juju/juju/docs/+activereviews21:46
jcastrohmmm, how come his branch doesn't show up there?21:47
koolhead17jcastro: hazmat was my path supposed to be https://code.launchpad.net/~koolhead17/juju/docs/jujudoc instead what it is currently ?21:53
gary_poster(I don't think you can create that alternate path)21:54
gary_posterIf I'm wrong that will be mildly embarrassing since I've worked on the LP team for a few years :-)21:54
koolhead17gary_poster: :P am total n00b jelmer helped me when i started using it :P21:56
gary_poster:-)21:56
hazmatkoolhead17, your push path is lp:~koolhead17/juju/<your-branch-name>21:57
koolhead17yeah, so its correct :)21:58
hazmatkoolhead17, jcastro, that branch/merge is against juju trunk not the docs branch21:58
koolhead17gosh21:59
koolhead17i will need some help22:01
=== koolhead17 is now known as koolhead17|zzZZ
=== andrewsmedina_ is now known as andrewsmedina

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