=== SpamapS_ is now known as SpamapS === defunctzombie_zz is now known as defunctzombie === defunctzombie is now known as defunctzombie_zz === defunctzombie_zz is now known as defunctzombie === thumper is now known as thumper-afk === defunctzombie is now known as defunctzombie_zz === CyberJacob|Away is now known as CyberJacob === defunctzombie_zz is now known as defunctzombie === defunctzombie is now known as defunctzombie_zz [07:59] look like juju-core1.11.2 was broken today, I had to update to 1.11.3 === CyberJacob is now known as CyberJacob|Away [10:28] i have installed openstack folsom with juju on precise boxes. all charm have cloud:precise-folsom as origin. [10:29] now, would it be possible to "upgrade" this to grizzly with some juju set charmname origin=cloud:precise-grizzly followed by a juju charm-upgrade ? [10:29] or is this a wrong expectation ? [11:52] melmoth: if I understand the charms correctly, you'll only need to juju set origin=cloud:precise-grizzly to kick off the upgrade [11:53] ok [11:53] upgrade-charm is typically independant of the service version, though not always. It's really designed to upgrade the actual charm files [12:02] so by "kicking off" the upgrade you meant sshing into the box and running apt-get dist-upgrade ? === gary_poster|away is now known as gary_poster === gary_poster is now known as gary_poster|away === gary_poster|away is now known as gary_poster [12:09] melmoth: well, you shouldn't need to do that, the charm should take care of all that for you [12:10] oh.. ok. [12:11] melmoth: each charm is different though, the readme should cover how to move between versions, I'm fairly confident I've seen the OpenStack charms "just upgrade" via the config change only though. I vaguely remember sabdfl demo that live somewhere [12:12] yep, but there was a landscape layer on top of that , wich i dont have here. [12:12] but yeah, i saw the demo too :) [12:13] IIRC landscape was driving juju, but my memory in general isn't all that good, let alone this early in the morning [12:14] i was planning to try that today..turns out i have been given another bone to play with... [12:14] (a less funny one though) [12:18] Let me know how it works out for you. I've been scraping together some spare servers in order to play more with Juju and MAAS === medberry is now known as med_ [13:34] Can i install juju zookeeper on maas server itself? | http://askubuntu.com/q/323000 [13:49] hi. I left juju 0.7 w/ lxc running over the weekend on my ecryptfs home part, and now my disk is full. I think this is a log file problem, 1) where are the log files so I can delete them, 2) is this a new bug that needs to be filed? [13:51] arges: I've run in to this before, I thought it was fixed in 0.7 but it might not be [13:52] arges: if they're not in /var/log/juju they'll be in ~/.juju/local/ [13:52] marcoceppi: yea i saw bug 958312 [13:52] <_mup_> Bug #958312: Change zk logging configuration [13:52] looking [13:52] arges: the logs for both juju and zk can be VERY verbose in pyjuju [13:53] marcoceppi: both are cleared and still disk is full [13:53] marcoceppi: i'll keep looking doing a du on my home dir first to see whats going on [13:53] is your ecryptfs partition relatively small? You might be able to use `du` to find where the large files are. [13:53] : ) [13:53] It's been ages since I've run 0.7 so I don't know off the top of my head [13:54] yea its 1TB , and i know i had at least 500GB free when i left my house on friday [13:54] ok [13:54] thanks [13:55] arges: juju-core 1.11.3 just landed this morning which brings better local support in to juju-core. If you were holding back upgrading to juju-core for local provider [13:55] marcoceppi: yup planning on testing once i dig myself out of this [13:55] arges: sorry couldn't be of more help! [13:56] np thanks for the tips anyway [13:58] marcoceppi: ok false alarm. Juju wasn't the issue. [13:58] * marcoceppi wipes brow [14:31] Hi. are there any juju-core/lxc docs available? Moving from 0.7 to current version and not sure if I need a new environments.yaml [14:34] n/m got it [14:35] arges: you'll have to destroy the environment, there's no upgrade path for local provider [14:36] cool, and found this which helps : https://juju.ubuntu.com/get-started/local/ [14:38] arges: that's for 0.7, we're working (well, evilnickveitch is) on getting juju-core local provider docs out [14:38] ah gotcha. [14:38] arges: I made a quick blog post, if you're looking for a reference: http://marcoceppi.com/2013/07/compiling-juju-and-the-local-provider/ [14:38] nice, i'll use this [14:38] thanks [14:39] arges, let me know if you have any difficulties [14:41] $ sudo juju bootstrap -e local [14:41] error: no reachable servers [14:42] So i have 1.11.3 installed, and setup exactly from juju init with those two lines [14:43] Also I'm on precise [14:44] After a juju -v status, I see the following: [14:44] 2013-07-22 14:44:22 ERROR juju open.go:89 state: connection failed, will retry: dial tcp 10.0.3.1:37017: connection refused [14:45] hmmm, marcoceppi ? ^ ^ [14:46] arges: so, the bootstrap is an interesting problem [14:46] arges: run sudo juju destroy-environment [14:46] It's either one of two things [14:46] try `sudo service mongodb stop` [14:46] then try another bootstrap [14:47] marcoceppi: mongodb is not installed [14:47] arges: there's the problem [14:47] so i need those deps even if i'm not compiling : ) [14:47] sudo apt-get install mongodb-server [14:47] yeah, I guess it's not in the packaginging [14:47] You'll only need mongodb-server, the rest are directly for compiling [14:47] * marcoceppi takes note [14:47] Ok installing [14:48] thn run sudo service mongodb stop; sudo juju bootstrap -e local and you should be good to go. If you get an error during bootstrap let me know [14:48] * marcoceppi updates blog post [14:48] hmm [14:48] marcoceppi: different error now [14:49] marcoceppi: http://pastebin.ubuntu.com/5900827/ [14:49] arges: that's not an error [14:49] let it loop for a while [14:49] ah [14:49] its waiting for the lxc container to start i take it [14:50] mongo, actually [14:50] wait until the command exits. Behind the scenes juju bootstrap installs two upstart services one that starts mongodb for the state server and the other which acts as provisioning agent [14:50] so it loops for about a minute waiting for mongodb to come oneline [14:51] marcoceppi: i get 'no reachable servers' at the end again [14:52] arges: what does `sudo status juju-db-${USER}-local` show? [14:54] juju-db-arges-local stop/waiting [14:54] marcoceppi: ^^ [14:54] also, pastebin /var/log/juju-db-${USER}-local.log [14:54] also, pastebin /var/log/upstart/juju-db-${USER}-local.log [14:55] nothing in /var/log/juju-* [14:55] http://pastebin.ubuntu.com/5900852/ [14:56] arges: which version of mongodb-server did you get installed? [14:56] maybe the one in precise is not recent enough for juju-core [14:57] ahasenack: 1:2.0.4-1ubuntu2.1 === mbarnett` is now known as mbarnett [14:57] arges: interesting, I've got 1.2.2.4 on raring [14:57] arges: you don't have a /usr/bin/mongod, or that was an old log? [14:58] marcoceppi: juju-core requires mongo with ssl, I don't know if the precise one has that [14:58] ahasenack: that's old the mongodb-server dep wasn't installed [14:58] arges: ok, can you tell on which port mongodb is listening? Maybe sudo netstat -anp|grep mongod [14:58] ahasenack: I don't have any LTS machines around, but I think the later SSL errors are the key [14:59] marcoceppi: ah, right, hadn't seen that [14:59] ahasenack: netstat -anp | grep mongo returns nothing [14:59] arges: try installing libssl0.9.8 libsnmp-base snmpd libsnmp15 snmp [14:59] then juju destroy-environment, clear the upstart log, bootstrap [15:00] ok [15:00] in the meantime I'll set up a VM with 12.04 [15:02] marcoceppi: same results. [15:02] and same log output sslOnNormalPorts [15:02] as an unknown option [15:02] arges: ack, setting up 12.04 [15:02] cool [15:41] arges: I think I have a solution for you on precise, but it involves using a source outside of ubuntu archives [15:41] not sure if you're interested or not [15:42] marcoceppi: i'm interested! want to make sure this works on precise as well [15:47] arges: hum, nevermind. This might be trickier than I expected [15:47] marcoceppi: can we file a bug to track this? [15:47] arges: yes, definitely a good idea [15:48] an easy solution is to just put the raring version of mongodb in to the ppa for precise, but I'm not sure if that's the best solution [15:56] thumper, nice work on the local provider btw [15:56] works real sweet [15:57] yeah, really good work, y'all :) [16:02] arges: opened bug and poked the core team [16:03] marcoceppi: thanks === defunctzombie_zz is now known as defunctzombie [16:42] jamespage, marcoceppi, m_3, negronjl, bbcmicrocomputer, hazmat: reminder to be using http://manage.jujucharms.com/review-queue for the review queue [16:42] * arosales will try to update the topic === arosales changed the topic of #juju to: Share your infrastructure, win a prize: https://juju.ubuntu.com/charm-championship/ || Review Calendar: http://goo.gl/uK9HD || Review Queue: http://manage.jujucharms.com/review-queue || http://jujucharms.com || Reviewer: m_3 [16:56] arosales: cool, thanks for the tip :) [16:57] bbcmicrocomputer, sure np. You guys may have already been using it, but just wanted to confirm with the shiny new charm browser out there now. :-) [16:57] arosales: :) [16:58] Is virtual maas removed? | http://askubuntu.com/q/323070 [16:58] marcoceppi: whats the bug# so i can subscribe to it? thanks [16:59] of the precise juju-core/lxc issue [16:59] arges: https://bugs.launchpad.net/juju-core/+bug/1203795 [16:59] <_mup_> Bug #1203795: mongodb with --ssl not available in precise [16:59] thanks [17:20] marcoceppi: jcastro: yo -- I'm working on a blog post and trying to link to some juju documentation in the process [17:21] kirkland: hey [17:21] marcoceppi: jcastro: I'm not finding much of what I need in this new jujucharms.com web frontend [17:21] kirkland: what are you looking for? [17:21] marcoceppi: specifically, I'd like to link to the official documentation on the mount interface and the shared-fs relation [17:21] marcoceppi: the SEO on these aren't great right now on google [17:21] kirkland: We don't have any documentation on on interfaces [17:21] the top hit is https://jujucharms.com/~craig.magina/precise/openmpi/hooks/shared-fs-relation-changed/ [17:22] Well, we have a few old ones, but they really don't exist [17:22] which plunks me down on an empty canvas [17:22] kirkland: yeah, we just had a new jujucharms roll out a few hours aog [17:23] kirkland: and the page that you're linking to there is http://manage.jujucharms.com/~craig.magina/precise/openmpi/hooks/shared-fs-relation-changed [17:23] kirkland: s/jujucharm.com/manage.jujucharms.com for things as of a couple of hours ago [17:23] will take time for the bots out there to catch up [17:27] rick_h: ah, okay, thanks [17:27] marcoceppi: jcastro: http://blog.dustinkirkland.com/2013/07/johnjohn-scalable-juju-charm-tutorial.html [17:28] marcoceppi: jcastro: thanks for your help with that! === CyberJacob|Away is now known as CyberJacob [18:14] kirkland: great post! [18:15] marcoceppi: thanks! [18:15] marcoceppi: thank YOU for all your help [18:15] kirkland: no problem! [18:15] marcoceppi: I'll leave it to you guys, if this is something you want in the charm repo or not [18:16] marcoceppi: I'm happy to clean it up, if you want it in there; but if it sends the wrong signals about Juju, I certainly understand that too [18:17] kirkland: I don't think we would bar if for any reason. I'm one to say "Submit it!" but I love the diversity of the charm store [18:17] marcoceppi: cool [18:17] If anything it's a great example for writing a charm [18:17] marcoceppi: there's a couple of things in there that could serve as nice runes for other massively parallel charms [18:18] marcoceppi: the use of NFS and keep-one-running are kinda cool [18:18] (if I do say so myself) [18:18] arosales: ack [18:18] m_3, thanks [18:25] mysql charm is failing to deploy on core.. [18:36] Automate PC set up | http://askubuntu.com/q/323096 [18:41] hazmat: I deployed it a few days ago [18:41] :( [18:43] hello I'm a juju new people . when I creat juju I have a problem [18:44] I saw here https://juju.ubuntu.com/docs/getting-started.html say Configuring for Amazon AWS [18:44] what this mean?? [18:45] this is in AWS inside creat juju ? or in my server creat juju have like AWS's service? [18:46] lovesharepc: juju creates 'new computers' using cloud providers [18:47] lovesharepc: the getting-started page is discussing how to use amazon AWS as your cloud provider [18:47] hazmat: works with local provider this morning [18:48] lovesharepc: juju can also be used to create your own cloud provider -- this makes things much more complicated :) -- but you can create a cloud environment with one juju environment, and "within" that cloud environment use juju again to manage services [18:50] OK I understand thank you :D [18:53] lovesharepc: have fun! :) [18:54] marcoceppi, hmm.. yeah its just failing consistently in my unit tests. [18:54] seems to work okay standalone [18:54] hazmat: interesting [18:59] sarnold:so..... when I use maas creat a server. this is my cloud ? [19:01] lovesharepc: yes. you can also use openstack. [19:03] sarnold: OK. thank~~~ you solve the biggest question in my mind :D ubuntu are very funny !! [19:04] lovesharepc: cool! :) [19:37] marcoceppi: so i was able to bootstrap juju-core/lxc on precise with a backported mongodb. Now it seems I can't ssh into the bootstrap node because permission is denied. I have id_rsa.pub in the standard location. Anything to look for? [19:39] arges: how are you sshing? [19:39] marcoceppi: well first i was just trying 'juju debug-log' and that failed with permission denied [19:39] then 'juju ssh 0' also fails with permission denied (public key) [19:43] arges: that doesn't work. use juju ssh service/unit-num like WordPress/0 [19:43] it's a known issue [19:44] marcoceppi: juju ssh postgresql/0 works (in my test), but juju debug-log still fails [19:47] I think I filed a bug about debug-log [20:00] bug 1197968 [20:00] <_mup_> Bug #1197968: debug-hooks are not available for juju-core, should be removed from docs [20:01] ahasenack: so is there a way for me to see how my charm is working when I do juju deploy * ? what comamnds should i use with juju-core [20:02] arges: juju status is a start [20:03] hmm... [20:04] arges: about juju ssh with lxc, the bug is https://bugs.launchpad.net/juju-core/+bug/1202682 [20:04] <_mup_> Bug #1202682: debug-log doesn't work with lxc provider [20:05] ahasenack: perfect i'll mark that as affecting me [20:05] arges: but, you can check the logs in this case locally, they are in $JUJU_HOME//logs or something === gary_poster is now known as gary_poster|away [20:05] one per machine [20:05] ahasenack: ah that will help though! thanks === gary_poster|away is now known as gary_poster === gary_poster is now known as gary_poster|away === CyberJacob is now known as CyberJacob|Away