=== 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 | ||
pavel | look like juju-core1.11.2 was broken today, I had to update to 1.11.3 | 07:59 |
---|---|---|
=== CyberJacob is now known as CyberJacob|Away | ||
melmoth | i have installed openstack folsom with juju on precise boxes. all charm have cloud:precise-folsom as origin. | 10:28 |
melmoth | 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 |
melmoth | or is this a wrong expectation ? | 10:29 |
marcoceppi | melmoth: if I understand the charms correctly, you'll only need to juju set <all-your-openstack-charms> origin=cloud:precise-grizzly to kick off the upgrade | 11:52 |
melmoth | ok | 11:53 |
marcoceppi | upgrade-charm is typically independant of the service version, though not always. It's really designed to upgrade the actual charm files | 11:53 |
melmoth | so by "kicking off" the upgrade you meant sshing into the box and running apt-get dist-upgrade ? | 12:02 |
=== 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 | ||
marcoceppi | melmoth: well, you shouldn't need to do that, the charm should take care of all that for you | 12:09 |
melmoth | oh.. ok. | 12:10 |
marcoceppi | 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:11 |
melmoth | yep, but there was a landscape layer on top of that , wich i dont have here. | 12:12 |
melmoth | but yeah, i saw the demo too :) | 12:12 |
marcoceppi | IIRC landscape was driving juju, but my memory in general isn't all that good, let alone this early in the morning | 12:13 |
melmoth | i was planning to try that today..turns out i have been given another bone to play with... | 12:14 |
melmoth | (a less funny one though) | 12:14 |
marcoceppi | 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 | 12:18 |
=== medberry is now known as med_ | ||
AskUbuntu | Can i install juju zookeeper on maas server itself? | http://askubuntu.com/q/323000 | 13:34 |
arges | 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:49 |
marcoceppi | arges: I've run in to this before, I thought it was fixed in 0.7 but it might not be | 13:51 |
marcoceppi | arges: if they're not in /var/log/juju they'll be in ~/.juju/local/ | 13:52 |
arges | marcoceppi: yea i saw bug 958312 | 13:52 |
_mup_ | Bug #958312: Change zk logging configuration <verification-done> <juju:Fix Released by hazmat> <juju (Ubuntu):Fix Released> <juju (Ubuntu Precise):Fix Released> <https://launchpad.net/bugs/958312> | 13:52 |
arges | looking | 13:52 |
marcoceppi | arges: the logs for both juju and zk can be VERY verbose in pyjuju | 13:52 |
arges | marcoceppi: both are cleared and still disk is full | 13:53 |
arges | marcoceppi: i'll keep looking doing a du on my home dir first to see whats going on | 13:53 |
marcoceppi | is your ecryptfs partition relatively small? You might be able to use `du` to find where the large files are. | 13:53 |
arges | : ) | 13:53 |
marcoceppi | It's been ages since I've run 0.7 so I don't know off the top of my head | 13:53 |
arges | yea its 1TB , and i know i had at least 500GB free when i left my house on friday | 13:54 |
arges | ok | 13:54 |
arges | thanks | 13:54 |
marcoceppi | 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 |
arges | marcoceppi: yup planning on testing once i dig myself out of this | 13:55 |
marcoceppi | arges: sorry couldn't be of more help! | 13:55 |
arges | np thanks for the tips anyway | 13:56 |
arges | marcoceppi: ok false alarm. Juju wasn't the issue. | 13:58 |
* marcoceppi wipes brow | 13:58 | |
arges | 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:31 |
arges | n/m got it | 14:34 |
marcoceppi | arges: you'll have to destroy the environment, there's no upgrade path for local provider | 14:35 |
arges | cool, and found this which helps : https://juju.ubuntu.com/get-started/local/ | 14:36 |
marcoceppi | arges: that's for 0.7, we're working (well, evilnickveitch is) on getting juju-core local provider docs out | 14:38 |
arges | ah gotcha. | 14:38 |
marcoceppi | 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 |
arges | nice, i'll use this | 14:38 |
arges | thanks | 14:38 |
evilnickveitch | arges, let me know if you have any difficulties | 14:39 |
arges | $ sudo juju bootstrap -e local | 14:41 |
arges | error: no reachable servers | 14:41 |
arges | So i have 1.11.3 installed, and setup exactly from juju init with those two lines | 14:42 |
arges | Also I'm on precise | 14:43 |
arges | After a juju -v status, I see the following: | 14:44 |
arges | 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:44 |
evilnickveitch | hmmm, marcoceppi ? ^ ^ | 14:45 |
marcoceppi | arges: so, the bootstrap is an interesting problem | 14:46 |
marcoceppi | arges: run sudo juju destroy-environment | 14:46 |
marcoceppi | It's either one of two things | 14:46 |
marcoceppi | try `sudo service mongodb stop` | 14:46 |
marcoceppi | then try another bootstrap | 14:46 |
arges | marcoceppi: mongodb is not installed | 14:47 |
marcoceppi | arges: there's the problem | 14:47 |
arges | so i need those deps even if i'm not compiling : ) | 14:47 |
marcoceppi | sudo apt-get install mongodb-server | 14:47 |
marcoceppi | yeah, I guess it's not in the packaginging | 14:47 |
marcoceppi | You'll only need mongodb-server, the rest are directly for compiling | 14:47 |
* marcoceppi takes note | 14:47 | |
arges | Ok installing | 14:47 |
marcoceppi | 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 | |
arges | hmm | 14:48 |
arges | marcoceppi: different error now | 14:48 |
arges | marcoceppi: http://pastebin.ubuntu.com/5900827/ | 14:49 |
marcoceppi | arges: that's not an error | 14:49 |
marcoceppi | let it loop for a while | 14:49 |
arges | ah | 14:49 |
arges | its waiting for the lxc container to start i take it | 14:49 |
ahasenack | mongo, actually | 14:50 |
marcoceppi | 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 |
marcoceppi | so it loops for about a minute waiting for mongodb to come oneline | 14:50 |
arges | marcoceppi: i get 'no reachable servers' at the end again | 14:51 |
marcoceppi | arges: what does `sudo status juju-db-${USER}-local` show? | 14:52 |
arges | juju-db-arges-local stop/waiting | 14:54 |
arges | marcoceppi: ^^ | 14:54 |
marcoceppi | also, pastebin /var/log/juju-db-${USER}-local.log | 14:54 |
marcoceppi | also, pastebin /var/log/upstart/juju-db-${USER}-local.log | 14:54 |
arges | nothing in /var/log/juju-* | 14:55 |
arges | http://pastebin.ubuntu.com/5900852/ | 14:55 |
ahasenack | arges: which version of mongodb-server did you get installed? | 14:56 |
ahasenack | maybe the one in precise is not recent enough for juju-core | 14:56 |
arges | ahasenack: 1:2.0.4-1ubuntu2.1 | 14:57 |
=== mbarnett` is now known as mbarnett | ||
marcoceppi | arges: interesting, I've got 1.2.2.4 on raring | 14:57 |
ahasenack | arges: you don't have a /usr/bin/mongod, or that was an old log? | 14:57 |
ahasenack | marcoceppi: juju-core requires mongo with ssl, I don't know if the precise one has that | 14:58 |
arges | ahasenack: that's old the mongodb-server dep wasn't installed | 14:58 |
ahasenack | arges: ok, can you tell on which port mongodb is listening? Maybe sudo netstat -anp|grep mongod | 14:58 |
marcoceppi | ahasenack: I don't have any LTS machines around, but I think the later SSL errors are the key | 14:58 |
ahasenack | marcoceppi: ah, right, hadn't seen that | 14:59 |
arges | ahasenack: netstat -anp | grep mongo returns nothing | 14:59 |
marcoceppi | arges: try installing libssl0.9.8 libsnmp-base snmpd libsnmp15 snmp | 14:59 |
marcoceppi | then juju destroy-environment, clear the upstart log, bootstrap | 14:59 |
arges | ok | 15:00 |
marcoceppi | in the meantime I'll set up a VM with 12.04 | 15:00 |
arges | marcoceppi: same results. | 15:02 |
arges | and same log output sslOnNormalPorts | 15:02 |
arges | as an unknown option | 15:02 |
marcoceppi | arges: ack, setting up 12.04 | 15:02 |
arges | cool | 15:02 |
marcoceppi | arges: I think I have a solution for you on precise, but it involves using a source outside of ubuntu archives | 15:41 |
marcoceppi | not sure if you're interested or not | 15:41 |
arges | marcoceppi: i'm interested! want to make sure this works on precise as well | 15:42 |
marcoceppi | arges: hum, nevermind. This might be trickier than I expected | 15:47 |
arges | marcoceppi: can we file a bug to track this? | 15:47 |
marcoceppi | arges: yes, definitely a good idea | 15:47 |
marcoceppi | 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:48 |
jamespage | thumper, nice work on the local provider btw | 15:56 |
jamespage | works real sweet | 15:56 |
bloodearnest | yeah, really good work, y'all :) | 15:57 |
marcoceppi | arges: opened bug and poked the core team | 16:02 |
arges | marcoceppi: thanks | 16:03 |
=== defunctzombie_zz is now known as defunctzombie | ||
arosales | 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 | 16:42 | |
=== 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 | ||
bbcmicrocomputer | arosales: cool, thanks for the tip :) | 16:56 |
arosales | 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 |
bbcmicrocomputer | arosales: :) | 16:57 |
AskUbuntu | Is virtual maas removed? | http://askubuntu.com/q/323070 | 16:58 |
arges | marcoceppi: whats the bug# so i can subscribe to it? thanks | 16:58 |
arges | of the precise juju-core/lxc issue | 16:59 |
marcoceppi | arges: https://bugs.launchpad.net/juju-core/+bug/1203795 | 16:59 |
_mup_ | Bug #1203795: mongodb with --ssl not available in precise <juju-core:Confirmed> <https://launchpad.net/bugs/1203795> | 16:59 |
arges | thanks | 16:59 |
kirkland | marcoceppi: jcastro: yo -- I'm working on a blog post and trying to link to some juju documentation in the process | 17:20 |
marcoceppi | kirkland: hey | 17:21 |
kirkland | marcoceppi: jcastro: I'm not finding much of what I need in this new jujucharms.com web frontend | 17:21 |
marcoceppi | kirkland: what are you looking for? | 17:21 |
kirkland | marcoceppi: specifically, I'd like to link to the official documentation on the mount interface and the shared-fs relation | 17:21 |
kirkland | marcoceppi: the SEO on these aren't great right now on google | 17:21 |
marcoceppi | kirkland: We don't have any documentation on on interfaces | 17:21 |
kirkland | the top hit is https://jujucharms.com/~craig.magina/precise/openmpi/hooks/shared-fs-relation-changed/ | 17:21 |
marcoceppi | Well, we have a few old ones, but they really don't exist | 17:22 |
kirkland | which plunks me down on an empty canvas | 17:22 |
marcoceppi | kirkland: yeah, we just had a new jujucharms roll out a few hours aog | 17:22 |
rick_h | 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 |
rick_h | kirkland: s/jujucharm.com/manage.jujucharms.com for things as of a couple of hours ago | 17:23 |
rick_h | will take time for the bots out there to catch up | 17:23 |
kirkland | rick_h: ah, okay, thanks | 17:27 |
kirkland | marcoceppi: jcastro: http://blog.dustinkirkland.com/2013/07/johnjohn-scalable-juju-charm-tutorial.html | 17:27 |
kirkland | marcoceppi: jcastro: thanks for your help with that! | 17:28 |
=== CyberJacob|Away is now known as CyberJacob | ||
marcoceppi | kirkland: great post! | 18:14 |
kirkland | marcoceppi: thanks! | 18:15 |
kirkland | marcoceppi: thank YOU for all your help | 18:15 |
marcoceppi | kirkland: no problem! | 18:15 |
kirkland | marcoceppi: I'll leave it to you guys, if this is something you want in the charm repo or not | 18:15 |
kirkland | 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:16 |
marcoceppi | 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 |
kirkland | marcoceppi: cool | 18:17 |
marcoceppi | If anything it's a great example for writing a charm | 18:17 |
kirkland | marcoceppi: there's a couple of things in there that could serve as nice runes for other massively parallel charms | 18:17 |
kirkland | marcoceppi: the use of NFS and keep-one-running are kinda cool | 18:18 |
kirkland | (if I do say so myself) | 18:18 |
m_3 | arosales: ack | 18:18 |
arosales | m_3, thanks | 18:18 |
hazmat | mysql charm is failing to deploy on core.. | 18:25 |
AskUbuntu | Automate PC set up | http://askubuntu.com/q/323096 | 18:36 |
ahasenack | hazmat: I deployed it a few days ago | 18:41 |
ahasenack | :( | 18:41 |
lovesharepc | hello I'm a juju new people . when I creat juju I have a problem | 18:43 |
lovesharepc | I saw here https://juju.ubuntu.com/docs/getting-started.html say Configuring for Amazon AWS | 18:44 |
lovesharepc | what this mean?? | 18:44 |
lovesharepc | this is in AWS inside creat juju ? or in my server creat juju have like AWS's service? | 18:45 |
sarnold | lovesharepc: juju creates 'new computers' using cloud providers | 18:46 |
sarnold | lovesharepc: the getting-started page is discussing how to use amazon AWS as your cloud provider | 18:47 |
marcoceppi | hazmat: works with local provider this morning | 18:47 |
sarnold | 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:48 |
lovesharepc | OK I understand thank you :D | 18:50 |
sarnold | lovesharepc: have fun! :) | 18:53 |
hazmat | marcoceppi, hmm.. yeah its just failing consistently in my unit tests. | 18:54 |
hazmat | seems to work okay standalone | 18:54 |
marcoceppi | hazmat: interesting | 18:54 |
lovesharepc | sarnold:so..... when I use maas creat a server. this is my cloud ? | 18:59 |
sarnold | lovesharepc: yes. you can also use openstack. | 19:01 |
lovesharepc | sarnold: OK. thank~~~ you solve the biggest question in my mind :D ubuntu are very funny !! | 19:03 |
sarnold | lovesharepc: cool! :) | 19:04 |
arges | 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:37 |
marcoceppi | arges: how are you sshing? | 19:39 |
arges | marcoceppi: well first i was just trying 'juju debug-log' and that failed with permission denied | 19:39 |
arges | then 'juju ssh 0' also fails with permission denied (public key) | 19:39 |
marcoceppi | arges: that doesn't work. use juju ssh service/unit-num like WordPress/0 | 19:43 |
marcoceppi | it's a known issue | 19:43 |
arges | marcoceppi: juju ssh postgresql/0 works (in my test), but juju debug-log still fails | 19:44 |
ahasenack | I think I filed a bug about debug-log | 19:47 |
arges | bug 1197968 | 20:00 |
_mup_ | Bug #1197968: debug-hooks are not available for juju-core, should be removed from docs <juju-core:Invalid> <https://launchpad.net/bugs/1197968> | 20:00 |
arges | 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:01 |
ahasenack | arges: juju status is a start | 20:02 |
arges | hmm... | 20:03 |
ahasenack | 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 <juju-core:New> <https://launchpad.net/bugs/1202682> | 20:04 |
arges | ahasenack: perfect i'll mark that as affecting me | 20:05 |
ahasenack | arges: but, you can check the logs in this case locally, they are in $JUJU_HOME/<environment>/logs or something | 20:05 |
=== gary_poster is now known as gary_poster|away | ||
ahasenack | one per machine | 20:05 |
arges | ahasenack: ah that will help though! thanks | 20:05 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!