File size: 12,498 Bytes
4aa5fce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
=== ajmitch__ is now known as ajmitch [10:43] <pindonga> SpamapS, so, regarding the instances never finishing, it seems to be up, as I can ssh into directly, but juju status will never complete === objectiveous_ is now known as objectiveous [12:16] <niemeyer> Goood mornings! [12:23] <andrewsmedina> niemeyer: morning [12:24] <niemeyer> andrewsmedina: Hey hey [12:29] <wrtp> niemeyer: yo! [15:12] <SpamapS> pindonga: ok, perhaps there is some helpful information in /var/log/cloud-init.log or /var/log/cloud-init-output.log [15:13] <pindonga> SpamapS, those files don't exist [15:19] <SpamapS> pindonga: interesting [15:19] <SpamapS> pindonga: anything in /var/log with cloud-init in the name? [15:23] <pindonga> no [15:23] <pindonga> SpamapS, this is on the machine running juju, yes? [15:28] <pindonga> SpamapS, I suspect something with zookeeper, as I'm getting timeouts related to it [15:28] <pindonga> 2012-01-24 07:52:34,302:14454(0x7f7c94925700):ZOO_WARN@zookeeper_interest@1461: Exceeded deadline by 12ms [15:28] <pindonga> 2012-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] <pindonga> that's just one example === objectiveous_ is now known as objectiveous [16:21] <_mup_> juju/trunk r448 committed by jim.baker@canonical.com [16: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:22] <bac> hi 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. [17:05] <m_3_> bac: I have charms deployed using 447 that use default config values correctly [17:06] <m_3_> lemme spin up something else with passed-in config [17:06] <bac> m_3 from ppa or regular repo? [17:06] <SpamapS> bac: can you share your config.yaml ? [17:07] <m_3_> bac: ah, right from the ppa [17:07] <SpamapS> bac: the precise PPA and precise have the same code [17:23] <hspencer> mornin [17:48] <robbiew> m_3: we're all set for devopsday in Austin [17:51] <m_3_> robbiew: woohoo! thanks for taking care of that [17:53] <robbiew> m_3_: np -> http://devopsdays.org/events/2012-austin/ [17:53] <robbiew> sponsorship, done. [18:08] <bac> hi 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:10] <_mup_> juju/bool-and-validate-defaults r448 committed by kapil.thangavelu@canonical.com [18:10] <_mup_> add boolean servcie config type, validate schema defaults when parsing [18:42] <_mup_> juju/bool-and-validate-defaults r449 committed by kapil.thangavelu@canonical.com [18:42] <_mup_> sample configuration is reused by other tests :-(, use a separate config for additional type tests [19:25] <gary_poster> hi. 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.txt [19:25] <gary_poster> I don't have the libvirtd group, even after a restart [19:26] <gary_poster> otoh, sudo virsh net-start default fails identically, so that doesn't seem the same to me. [19:27] <gary_poster> I suppose I'll go randomly add myself to libvirtd to see if that helps, but I wonder why I'm not a member already [19:27] <hazmat> gary_poster, the libvirt-bin package install normally takes care of that [19:27] <gary_poster> If anybody has any ideas, I'd receive them gratefully :-) [19:27] <gary_poster> yeah I figured [19:28] <gary_poster> I could dpkg-reconfigure and see what happens maybe? [19:29] <SpamapS> gary_poster: are you an admin on the machine? [19:29] <SpamapS> for u in $(grep "^admin:" /etc/group | sed -e "s/^.*://" -e "s/,/ /g"); do [19:29] <SpamapS> adduser "$u" libvirtd >/dev/null || true [19:29] <SpamapS> done [19:30] <hazmat> gary_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 obvious [19:31] <gary_poster> SpamapS, no. My os had to be created manually--via debootstrap and adduser. I'll addmyself to admin [19:31] <gary_poster> uh [19:31] <gary_poster> adduser: The group `admin' does not exist. [19:32] <hazmat> nothing obvious, it does check the network status before attempting to start [19:32] <SpamapS> gary_poster: oh you're running your own custom mini-buntu? [19:32] <gary_poster> my edge appears to be bleeding [19:32] <hazmat> sounds painful [19:32] <gary_poster> :-) SpamapS, I guess so [19:33] <SpamapS> hazmat: perhaps a wishlist bug to verify that the user is in 'admin' [19:33] <hazmat> SpamapS, sounds good [19:34] <gary_poster> ok, so...should I bother rebooting now that I am in libvirtd, or do my other symptoms suggest that it wouldn't help anyway?? [19:35] * gary_poster thought he was running precise as installed a la https://help.ubuntu.com/11.04/installation-guide/hppa/linux-upgrade.html [19:36] <gary_poster> Well, I am running precise [19:36] <gary_poster> I wasn't aware that doing it this way would make things so customized. [19:36] * gary_poster will try rebooting... [19:39] <gary_poster> coulda just relogged in, but anyway... [19:39] <gary_poster> that didn't help [19:39] <gary_poster> thought I am now a member of libvirtd [19:39] <gary_poster> virsh net-start default gives me the same error [19:41] <gary_poster> hazmat ^^ any other ideas? [19:43] <SpamapS> gary_poster: hppa ? [19:44] <SpamapS> gary_poster: you may be a member, but you don't get those groups fully until you log out and back in [19:47] <gary_poster> SpamapS, 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 it [19:49] <SpamapS> gary_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 suffice [19:49] <gary_poster> yeah [19:50] <SpamapS> gary_poster: and I said hppa because you linked to the 'hppa' install guide.. which I didn't know existed. [19:51] <gary_poster> SpamapS, 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:52] <gary_poster> This is the first hint that things might be a little odd for me [19:52] <SpamapS> gary_poster: most people just use VMs. :) [19:52] <gary_poster> SpamapS, heh. :-) I did that for a long time, but was getting pressure to joing the Ubuntu-on-metal club. [19:53] <SpamapS> gary_poster: oh.. and you didn't want to just backup/install/restore ? [19:53] <SpamapS> gary_poster: oh sorry now I'm gathering.. your usb sticks all failed [19:53] <SpamapS> :-/ [19:53] <gary_poster> SpamapS, right :-/ [20:16] <gary_poster> Well...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 along [20:29] <bac> SpamapS: did you see the config.yaml i posted earlier? [20:29] <SpamapS> bac: sorry I didn't, backscrolling now [20:30] <bac> SpamapS: i know it sounds dubious, but i've verified repeatedly the PPA for r447 works where the one in the repo does not [20:30] <SpamapS> bac: 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 bug [20:31] <SpamapS> bac: yeah that is definitely weird [20:31] <SpamapS> bac: can you make sure you are deploying with juju-origin: distro in your environment config? [20:32] <bac> SpamapS: i do not have that in my enviroment.yaml [20:33] <bac> SpamapS: my redacted environment.yaml looks like http://paste.ubuntu.com/815750/ [20:35] <SpamapS> bac: do you still have the broken instance running? [20:35] <SpamapS> bac: if you do, apt-cache policy juju on it [20:36] <bac> SpamapS: i do not. i needed to make some progress so i'm running with the ppa version [20:36] <bac> i can easily revert if it'll give you helpful info [20:36] <SpamapS> bac: no worries, I can repeat [20:43] <bac> SpamapS: http://paste.ubuntu.com/815765/ [20:49] <SpamapS> bac: but thats after you installed from the PPA.. [20:49] <bac> SpamapS: correct, but it shows the origin of the other. i assumed that might be helpful [20:52] <gary_poster> OK, here's another issue. Per Nick Barcet's demo instructions, I checked out the charms. I now have ~/charms/charm-repo with lots of charms [20:52] <gary_poster> Then I try the command he gave: [20:52] <gary_poster> juju deploy --repository /path/to/charm-repo local:mysql [20:52] <gary_poster> I get "ERROR Charm 'local:oneiric/mysql' not found in repository /home/gary/charms/charm-repo" [20:52] <gary_poster> bac tells me I can just make an oneiric directory and it will all work out [20:53] <gary_poster> (if I link the charms in that directory) [20:53] <gary_poster> but it seems like there's a bug in there somewhere [21:02] <koolhead17> gary_poster: whats your current working directory [21:03] <koolhead17> i had same issue and i remember eating lots of SpamapS time :) [21:03] <gary_poster> koolhead17, heh. I did it in the repo dir and in my home dir with same result. on call now tho [21:04] <koolhead17> gary_poster: i would try this [21:04] <koolhead17> juju deploy --repository /usr/share/doc/juju/examples local:mysql [21:04] <koolhead17> to start with :) [21:04] <koolhead17> and see if am getting error with it [21:04] <SpamapS> gary_poster: should be ~/charms/oneiric as the root of all charms [21:04] <hazmat> gary_poster, juju expects to find the series name under the repo dir.. so it should be repo_directory/<release-series>/mysql [21:05] <koolhead17> so gary_poster you have to have directory/oneiric/mysql [21:06] <koolhead17> hazmat: 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 call [21:06] <hazmat> koolhead17, that's been improved, it will report charms with error in the repo [21:07] <koolhead17> hazmat: will try tommorow from office, i will have to upgrade juju pkg which i am using from PPA [21:18] <koolhead17> jcastro: around [21:18] <jcastro> yeah [21:18] <koolhead17> did i do something wrong? i don`t see the modified documentation merged :( [21:29] <jcastro> koolhead17: ? I don't know, I don't run the docs [21:29] <jcastro> koolhead17: did you submit a merge proposal? [21:29] <koolhead17> yes [21:29] <koolhead17> https://code.launchpad.net/~koolhead17/juju/jujudoc [21:38] <jcastro> hazmat: you are watching for docs merge proposals right? [21:40] <koolhead17> hspencer: hey there [21:46] <hazmat> jcastro, i am now [21:46] <hazmat> https://code.launchpad.net/~juju/juju/docs/+activereviews [21:47] <jcastro> hmmm, how come his branch doesn't show up there? [21:53] <koolhead17> jcastro: hazmat was my path supposed to be https://code.launchpad.net/~koolhead17/juju/docs/jujudoc instead what it is currently ? [21:54] <gary_poster> (I don't think you can create that alternate path) [21:54] <gary_poster> If I'm wrong that will be mildly embarrassing since I've worked on the LP team for a few years :-) [21:56] <koolhead17> gary_poster: :P am total n00b jelmer helped me when i started using it :P [21:56] <gary_poster> :-) [21:57] <hazmat> koolhead17, your push path is lp:~koolhead17/juju/<your-branch-name> [21:58] <koolhead17> yeah, so its correct :) [21:58] <hazmat> koolhead17, jcastro, that branch/merge is against juju trunk not the docs branch [21:59] <koolhead17> gosh [22:01] <koolhead17> i will need some help === koolhead17 is now known as koolhead17|zzZZ === andrewsmedina_ is now known as andrewsmedina |