[00:23] do bundles support --to machine? === CyberJacob is now known as CyberJacob|Away [00:54] stokachu: yes [00:55] marcoceppi: whats the syntax [00:55] in the yaml file [00:55] machine: 1? [00:55] stokachu: http://pythonhosted.org/juju-deployer/config.html#placement [00:55] marcoceppi: cool thanks [00:56] o/ marcoceppi === Ursinha is now known as Ursinha-afk [02:16] \o thumper [02:17] marcoceppi: tried out the new debug-log? [02:17] nope [02:17] what am I instore for? === Ursinha-afk is now known as Ursinha [02:20] marcoceppi: fun :-) [02:20] thumper: is it in 1.19? [02:21] yep [02:21] works with local now [02:26] ooooo [02:26] * lazyPower installs [02:27] hey lazyPower, mind giving me a hand with a test I'm writing? [02:27] I just want to confirm my python code is not bad [02:29] link? [02:31] thumper: niiiiiiice [02:32] o/ thumper! [02:32] hey, marco and I had an idea today [02:32] That sounds amazing, how can I implement it? [02:32] well, we were thinking that the resolved --retry thing in debug-hooks is painful [02:32] so how about you debug-hooks [02:32] jcastro: ?! [02:33] and from inside the unit you do like "hulk smash" [02:33] and it does the equivalent of a resolved --retry [02:36] jcastro: we can talk about improving charm dev experience in vegas [02:36] jcastro: I'm assuming you are coming to vegas? [02:36] I am ready to buy many beers [02:36] yep [02:37] jcastro: I *want* to make dev experience awesome [02:37] so lets do it! [02:37] * thumper goes to put that row on the spreadsheet [02:38] lazyPower: http://paste.ubuntu.com/7265206/ [02:39] jose: while that works, os.system really isnt seen anywhere in our code. we use subprocess.popen or subprocess.call [02:40] hmm, how should I call that? [02:40] * jose googles [02:40] otherwise, looks fine at first glance. i'm assuming you're just testing to see if its up and available? A more semantic approach would be to use python.requests to fetch the url and do some validation on whats returned [02:40] eg: the title of the webpage we expect to see. Just because a server responds to a ping doesn't mean the http interface is acting as it should. [02:40] yeah, as it's a telnet server all the test needs to do is check if it's up [02:41] ah, ok [02:41] when i saw nyancat i just assumed it was a website... [02:41] :P [02:41] i haven't actually interfaced with the nyancat charm [02:41] it's a telenet server which tells you for how many seconds you have nyaned [02:44] I assume that by replacing that os.system line for `subprocess.call([ping -c 1] + hostname)` it should do good? [02:45] jose: the problem I have with just pinging the server is you're not really testing that the service is there. You're just validating that juju provided you a machine [02:45] hmm, that's right [02:45] and we know juju works [02:45] and a telnet command would make it endless(?) [02:46] jose: https://docs.python.org/2/library/telnetlib.html [02:46] use a telnet library [02:46] * jose checks [02:46] whoops, I need to run, will be back in 30 [02:46] now you can validate that not only did you get a telnet connection, but you can validate the response you get too, search for 'nyan' and boom. its validated. [02:47] awesome! [02:47] remain assured that I'll be making a test for that one, or at least try :) [02:47] Looking forward to seeing it in the queue :) [03:11] what do you do with machines that have got stuck? [03:11] juju destroy-unit doesn't seem to have done anything [03:16] mwhudson: what version of juju? [03:16] marcoceppi: trusty [03:17] er i guess it's probably 1.18 [03:17] 1.18.1-trusty-amd64 [03:17] mwhudson: you can use the --force flag [03:17] error: flag provided but not defined: --force [03:17] mwhudson: terminate-machine * [03:18] ah [03:18] thanks! [03:42] jcastro: still around? === vladk|offline is now known as vladk [05:21] hey davechen1y, do you have a min? [05:21] jose: shoot [05:21] I need a hand with an amulet test which is giving me a weird error, let me pastebin [05:22] my test is http://paste.ubuntu.com/7265781/ and it returns the following error http://paste.ubuntu.com/7265782/ [05:23] jose: hmm, that isn't juju [05:23] i'm not sure i can help [05:23] yeah, it's python-ish [05:23] np [05:25] tn = telnetlib.Telnet("%s" % d.sentry.unit['nyancat/0'].info['public-address']) [05:25] isn't info['public-address'] already a string ? [05:26] hmm, not sure [05:26] afaik d.sentry.unit['nyancat/0'].info['public-address'] returns the public address [05:27] what type is that thow ? [05:27] some vague googlgin suggests that error method is due to some difference between strings and unicode strings in python [05:28] hmm, will check then, thanks [05:39] turns out the problem is on the response that tn.read_until is giving === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [05:55] jose: interesting [05:56] I'm going to bed now but will fix and push tomorrow morning [05:56] night! [05:57] ok === CyberJacob|Away is now known as CyberJacob [07:03] nuclearbob: If you just want the PostgreSQL service standalone, you can use the admin_addresses configuration item. This should allow you to connect from the specified IP addresses directly to the PostgreSQL cluster. 'juju status' will give you the IP address and port (almost certainly port 5432) [07:05] marcoceppi: Do you think the config file needs to be documented in the README too, or should the charm store be generating documentation using the descriptions in config.yaml? [07:06] Hmm.... if I scroll down enough and click on 'config details', I get a fixed width and colorized rendering of the config yaml. [07:06] https://manage.jujucharms.com/charms/precise/postgresql/config [07:07] nuclearbob: per Ubuntu packaging, you should be able to connect as the 'postgres' user to the 'postgres' database, and create your users and databases from there using psql or pgadmin or whatever. [07:07] nuclearbob: If that doesn't work, file a bug because this setup should be supported. [07:15] Hi. Got a question. Fresh MAAS/Juju install on Ubuntu 12.04. Deploying Keystone fails when it tries to do `keystone-manage db_sync` with the error "ImportError: No module named sql". [07:15] Is anyone able to reproduce my problem? [07:16] I was able to successfully deploy keystone yesterday. [07:24] jamespage: you work on the keystone charm, right? any idea? [07:30] mdunc: give me 15 [07:30] jamespage: ok. just tried keystone-31 and it works. [07:30] jamespage: thanks for looking in to it [07:42] mdunc, ok - that's a regression then [07:43] we just landed a large piece of work for keystone [07:43] mdunc, what openstack-origin config are you using? [07:44] jamespage: i'm not using any special configuration. all i did was deploy mysql, rabbitmq-server, and keystone so far all with default settings. === vladk is now known as vladk|offline [07:45] jamespage: ah, I guess that setting would be "distro" [07:45] mdunc, ok - that's essex then [07:46] mdunc, I would recommend that you use a later openstack release [07:46] essex is supported still [07:46] but its 5 versions old [07:46] mdunc, openstack-origin=cloud:precise-havana [07:46] mdunc, or from today cloud:precise-icehouse [07:46] mdunc, let me fix this up tho [07:48] jamespage: alright, i'll give that a shot [07:51] mdunc, OK - I see the issue [07:51] keystone < grizzly does not support a sql backend for policies [07:56] Ah, good to know. I just started playing with OpenStack a couple weeks ago and this week is my first time trying installation with Juju. I still have a lot to learn :) [07:57] mdunc, I'm really interested to hear you experience [07:58] mdunc, I have alot of users who have been using the charms for a while now - so someone fresh to them is a good checkpoint! [07:59] jamespage: so far, it's been great! juju definitely seems like the way to go for my company as we're all pretty busy and many people don't have the time to learn the ins and outs of openstack to set it up manually. i gave a demo earlier and they all loved it. [08:01] hi there, I can't bootstrap on hp cloud anymore: 2014-04-17 07:53:52 ERROR juju.cmd supercommand.go:300 cannot start bootstrap instance: no "trusty" images in region-a.geo-1 with arches [amd64 arm64 armhf i386] [08:01] mdunc, if this is for a new deployment I'd stongly suggest using either cloud:precise-icehouse with 12.04 (3 years of support left) OR using trusty [08:01] I used to have precise instances, did that change recently and how can I express that I want to stick to precise ? [08:01] which has icehouse as default [08:02] vila, hmm [08:02] jamespage: the only thing that kind of caught me off guard is when removing a charm, it doesn't remove the installed services and juju doesn't seem to want to deploy to it again unless i manually tell it to. overall though, it's pretty awesome! you guys are doing great work! [08:02] utlemming, ^^ [08:02] mdunc, I generally don't recycle machines like that [08:02] mdunc, destroy-service then terminate-machine [08:03] mdunc, thanks for the praise! [08:03] jamespage, utlemming : If that helps, I did bootstrap yesterday afternoon successfully so ~14h ago [08:03] hmm, make that ~16h sorry [08:04] jamespage: i'll try that next time. thanks! and yeah, we're definitely going to go with trusty. maas is already running trusty, but haven't set up juju on trusty yet. [08:05] jamespage, utlemming : for completeness: https://pastebin.canonical.com/108759/ [08:05] vila, utlemming is probably not up yet but he'll see this when he awakes [08:06] mdunc, OK - I pushed the fix for the regression to the keystone charm - it should sync out to the charmstore ~1hr [08:06] mdunc, however I know its already OK with >= grizzly [08:06] jamespage: ack, is there a way to force precise in environments.yaml or something ? [08:06] vila, yeah default-series: precise [08:07] vila, what version of ubuntu and which version of juju are you using to bootstrap? [08:07] doh, I tried series ;) Thanks for the hint ! It seems to go further [08:07] jamespage: thanks for the quick fix :) [08:08] mdunc, always on the lookout for regressions when we land such a big change [08:08] jamespage: trusty freshly updated so juju-1.18.1-trusty-amd64 according to the output of juju bootstrap --debug [08:08] mdunc, the keystone charm basically got re-written this cycle inline with the other openstack charms [08:08] vila, hmm - I think 1.18.1 might have introduced using the latest lts [08:08] vila, but I may be wrong [08:09] jamespage: i'll be testing them all pretty thoroughly over the next few days/weeks as i write up some documentation for rest of my team here. is there an official place to file bugs against charms if i find any? [08:09] jamespage: no worries, I'm pushing to upgrade to trusty anyway, I just need something that works now ;) So I'm good, thanks for *default-*series trick ;) [08:10] mdunc, launchpad.net/charms [08:10] jamespage: where are those options documented by the way ? [08:11] jamespage: cool, thanks! alright, i got to get back to work. have a good day/evening/morning! [08:11] vila, that specific one is mentioned in the 1.18.1 release notes - https://juju.ubuntu.com/docs/reference-release-notes.html [08:11] but its been there for a while [08:12] ha thanks, I was on the site but didn't find/think about the release notes [08:12] right, perfectly explained (as well as why this happens) === vladk|offline is now known as vladk === vladk is now known as vladk|offline === vladk|offline is now known as vladk === timrc is now known as timrc-afk === timrc-afk is now known as timrc === timrc is now known as timrc-afk === timrc-afk is now known as timrc === vladk is now known as vladk|offline [11:45] https://bugs.launchpad.net/ubuntu/+source/jenkins/+bug/1294005 <--- this make me sad [11:45] <_mup_> Bug #1294005: Please remove jenkins from trusty [11:46] I wish there was more of a transition period here because this breaks us pretty abruptly [11:54] timrc, sorry - but its old and full of security vulnerabilities [11:54] timrc, the charm supports switching to use the upstream repositories; suggest that happens y default === vladk|offline is now known as vladk [12:34] has anyone encountered the situation where mysql refuses to allow connection from other services when colocated on the same machine ? [12:35] I'm deploying mysql then keystone on the same machine. When adding the relation, I get mysql to refuse connection to the keystone charm [12:35] this doesn't happen if they're not on the same machine [12:35] (local provider btw) [12:46] caribou: note that the default mysql configuration is to consume 80% of your RAM with its buffer [12:46] hey lazyPower [12:46] caribou: there is a known bug that mysql doesn't place nice on local because of that [12:46] I subscribed ~charmers to the jenkins bug [12:46] you can change it in config, though [12:47] we need to sort it before promoting jenkins to trusty [12:47] jam1: I'm not worried about that, it's just for charm testing [12:47] caribou: sure, but mysql w/ local fails because of that config, so you can change the config to do your test [12:47] jam1: and afaik, it used to work [12:47] jam1: ah, ok [12:47] juju set mysql dataset-size="1G" [12:48] caribou: https://lists.ubuntu.com/archives/juju/2014-February/003442.html [12:48] ^^ you want something like that [12:48] jcastro: thanks [12:48] caribou: I noticed that deploying mysql locally ended up giving like 15GB of ram and then mysql couldn't start [12:49] yeah mine was doing 12G [12:50] we should find a way to be like "If I am in LXC don't do that." [12:50] caribou: jcastro: https://bugs.launchpad.net/juju-core/+bug/1255242/comments/15 [12:50] <_mup_> Bug #1255242: HP cloud requires 4G to do what AWS does in 2G mem [12:50] is my comment on it [12:51] note, it also fails on HP because of that [12:51] on a default size machine [12:51] apparently 80% of 2GB or whatever doesn't leave enough room for the OS overhead [12:51] so on HP you have to deploy --constraints=mem=4G if you want the default charm 80% to work [12:51] jam1: yep, mine has 7G of VSZ [12:52] jamespage, what's the recommendation for precise/jenkins? [12:52] jcastro, use lts [12:52] xcuse my ignorance, but why would the memory size would have a tie with remote connectivity ? [12:52] caribou: because it doesn't actually start [12:52] jcastro, that version is really old - maybe not the same security issues tho [12:52] it tries to lock that much RAM but can't [12:52] jam1: it does start, I can connect to it locally [12:52] caribou: weird, mine would just fail [12:53] I don't know why it would affect remote connectivity [12:53] jcastro, I put a branch up for trusty - https://bugs.launchpad.net/ubuntu/+source/jenkins/+bug/1294005 [12:53] <_mup_> Bug #1294005: Please remove jenkins from trusty [12:53] my feeling is that it has something to do with hostname resolution [12:53] if I try to connect remotely using the IP address, I get a normal failure to connect because of the password [12:53] if I use the hostname, then I get a mysql rejection message saying that the host is not allowed to connect [12:53] jamespage, I've added it to the queue; since it's come up, does it by chance have tests? [12:54] jcastro, no [12:54] jam1: anyway, i worked around it by having mysql on its own machine for the time being, I need my time to investigate other things [12:54] jam1: but I'm happy to know that I'm not missing something obvious [12:55] jamespage, ok I'll see if we can prioritize it and get some tests, we have some new people now that can help. [12:55] jcastro, excellent - thanks [12:55] jcastro, my branch is function for trusty - just finished testing it [12:55] ack [13:02] http://pythonhosted.org/juju-deployer/config.html#placement [13:02] it says machine id 0 is only supported [13:03] does that mean i can't deploy to say machine 2 which contains another node? [13:10] sinzui, I'm having real trouble getting local provider to work in precise, I keep getting container failed to start errors, any thoughts? I believe my kernel is up to date [13:13] stub: typically, we recommend you include config documentation in readme. manage.jujucharms.com is going away and the gui doesn't really illuminate that much about configs except a small excerpt [13:14] marcoceppi: do bundles only support deploying to machine 0? [13:14] stub: for machine id, yes [13:14] stokachu: ^ [13:14] because that's the only guarenteed machine [13:15] stokachu: you can still deploy to other services [13:15] what about with kvm [13:15] if i have 2 kvm instances and want to auto-deploy services to both machines that can't be done with bundles right? [13:15] stokachu: what do you mean, 2kvm instances? [13:16] marcoceppi: if i do juju add-machine [13:16] it brings up 2 kvm instances in local provider [13:16] mattyw, I had container errors last year when I had stale cloud images http://curtis.hovey.name/2013/11/16/restoring-network-to-lxc-and-juju-local-provider/ [13:16] machine 1 and 2 [13:16] i wanted to be able to deploy services to both machines [13:16] stokachu: so those are LXC, not KVM, and yes, you can't really do that in deployer, there is no add-machine concept [13:16] charms* [13:16] stokachu: however, you can do this, deploy ubuntu charm to two units [13:16] marcoceppi: not kvm? [13:16] stokachu: then do placement ubuntu/0 [13:16] mattyw, I recommend you try removing the cache. [13:17] stokachu: it's not kvm, local provider uses LXC [13:17] marcoceppi: it also uses kvm [13:17] unless this is something that landed in 1.19, local provider only uses lxc [13:17] uh its been there since 1.17.x [13:18] stokachu: okay [13:18] sinzui, that might suggest I was able to boot a trusty container but not a precise one [13:18] are you using the local provider, or are you trying to deploy --to kvm: ? [13:18] using the local provider [13:18] the local proivder /is/ lxc [13:18] machine 0 maybe but machines 1 and 2 are kvm [13:18] sinzui: can the local provider use kvm instead of lxc? [13:18] stokachu, deployer can spec service colocation .. including kvm: / lxc: [13:19] marcoceppi, yes [13:19] it can use kvm instead of lxc [13:19] stub: thanks for the info, I can't seem to get that to work, so I'll file a bug [13:19] hazmat: wtf, why isn't this documented anywhere [13:19] * marcoceppi loses his mind [13:19] hazmat: so i list machine 0,1,2 all kvm [13:19] i just want to deploy to machineX [13:19] not kvm on machine 0 [13:19] marcoceppi, markdown it and i'll work on it :-) [13:20] hazmat: I don't even know where to start [13:20] stokachu, so deployer doesn't let you reference arbitrary machines, because that's not reproducible. it will let you specify colocation with other services [13:20] marcoceppi, what do you mean, i though the md stuff was in flight? [13:20] marcoceppi, yes, add container: kvm [13:20] ok [13:21] hazmat: it is, I was referring to I have no idea how to switch local to kvm [13:21] hazmat: this would have saved a lot of lxc headaches [13:21] stokachu, if you have a syntax for add-machine i'm game to add it.. i've been wanting something cause i use manual tons.. [13:21] marcoceppi, lxc headaches? [13:21] marcoceppi, because of restrictions? [13:22] hazmat: if i set the container: kvm in environments.yaml i just do a juju add-machine like normal [13:22] can set constraints too [13:22] hazmat: lxc hasn't been playing nice on one of my machines [13:22] well, lxc/local provider [13:22] * hazmat nods [13:23] i'm still using my jury rig manual + lxc which has been solid.. [13:23] kvm is really solid too [13:23] marcoceppi, i'd check to make sure its not using aufs.. by default.. there was a version of juju during 1.17 dev that was doing aufs by default which caused issues. [13:28] wait a minute [13:28] are you telling me, I've been messing around with LXC this whole time [13:28] and I could have been using KVM [13:28] jcastro: yeah [13:29] go figure [13:29] Well, I'm pretty much out of options, I have asked over and over for core to document stuff [13:32] jcastro: i happened to stumble across it while looking through the juju code [13:32] some of the help commands talk about kvm too iirc [13:32] jcastro: roger [13:32] well I know you can do kvm: blah [13:33] yea [13:33] but if I can wholesale switch to it [13:33] that would be awesome [13:33] jcastro: thats what i do [13:33] kvm for everything [13:33] works great [13:34] ERROR state/api: websocket.Dial wss://10.0.3.1:17070/: EOF [13:34] jcastro: http://astokes.org/juju-deploy-to-lxc-and-kvm-in-the-local-provider/ [13:34] I've been getting this all week with the local provider [13:34] according to some of the juju devs this isn't a supported scenario [13:34] but it works too for mixing both [13:35] mind if I steal that? [13:36] jcastro: go for it [13:39] stokachu, I think the big one there is "network-bridge" [13:39] yea definitely [13:39] sinzui, didn't seem to fix my problem :/ [13:39] deploy --to kvm:blah we have written down [13:40] jcastro: i think https://bugs.launchpad.net/juju-core/+bug/1304530 would be good to have too [13:40] <_mup_> Bug #1304530: nested lxc's within a kvm machine are not accessible [13:42] stokachu, hey so if I deploy to KVMs with the little bridge there [13:43] are those KVMs accessible from other machines on the network? [13:43] just on the network bridge [13:43] ah [13:43] you'd have to add a network bridge device in libvirt [13:44] so you could setup br0 to bridge your eth0 [13:44] then have libvirt use br0 [13:44] then it would be accessible throughout your network [13:44] ok I'll just crosslink to some libvirt docs on that [13:44] http://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.29 [13:44] that should help [13:45] theres a debian/ubuntu section [13:45] hazmat: im about to start using your judo stuff [13:46] their pricing is awesome with the per hour charge and cap of the monthly fee === Ursinha is now known as Ursinha-afk [13:56] stokachu, cool.. your in good company there. === Ursinha-afk is now known as Ursinha [14:06] is there any way to restart a unit? i just want to rerun start hook. [14:08] you can `juju debug-hooks` to it to rerun the start hook [14:08] `juju debug-hooks yourservice/#` the # being the machine [14:09] then in another terminal do "juju resolved --retry yourservice" [14:09] then in the debug-hooks terminal do `hooks/start` [14:09] and it will give you the exact error [14:24] jcastro, thanks but my problem is different, i am using local lxc, when i restart my local machine i get start hook error, but when i deploy there is no error [14:24] jcastro, i have a error log will you see it? [14:24] themonk, sure [14:25] which charm btw? [14:28] jcastro, my charm can't disclose the name yet, will be opensoucce soon :) [14:28] jcastro, company policy :) [14:28] oh ok, I was going to say, if it was mysql we know that can break in LXC [14:30] jcastro: hey, would you mind giving me a hand with some python-ish error I get when writing an amulet test? [14:31] failed bootstrap returned this: ERROR waited for 10m0s without being able to connect: /var/lib/juju/nonce.txt contents do not match machine nonce [14:31] jcastro, no its not mysql [14:31] jose, marco is your man for amulet [14:31] then, marcoceppi: ping [14:31] :) [14:31] looking for any help on what that might mean [14:32] rharper: bootstrapped timedout trying to do something, rharper run with --debug to get more information [14:32] jose: best to just post the issue than to ask to post :) [14:33] marcoceppi: ok [14:33] when doing http://paste.ubuntu.com/7265781/ I get http://paste.ubuntu.com/7265782/ as a response, it looks like the telnet response contains something that doesn't match the character encoding, but I have no idea on how to fix it [14:38] themonk, you can send me your info if you want me to take a look [14:39] jcastro, i am preparing in pastebin :) [14:49] hey lazyPower [14:49] I see you're down on the spreadsheet for jenkins. [14:49] i've done some work on the tests, but they didn't pass CI [14:50] jose: you're using python2 formatting for python3 code [14:51] jose: try "nyaned".encode() in tn.read_until [14:51] "nyaned".encode() instaed of just "nyaned"? [14:51] yes [14:51] ok [14:52] damn, I just realized I did that on my /tmp folder and didn't have another backup, pastebin lifesaver [14:52] marcoceppi: on the 10 minute out; is that controllable? I using juju deployer and I set the timeout in the config to 1800 seconds -- did that value change or is it not being honored any more ? [14:52] heh, are you writing tests for the nyancat charm? [14:52] marcoceppi: re bootstrap timeout [14:53] yeah, seemed like an easy one :P [14:53] rharper: bootstrap timeout is configurable last I checked, it's a timeout in juju not in deployer [14:53] marcoceppi: hrm, I though juju deployer passed through the config to juju [14:53] * rharper looks at code [14:53] rharper: no, bootstrap-timeout is an environments.yaml configuration [14:53] only? [14:53] juju help bootstrap [14:54] yes [14:54] ok [14:54] is there such a thing as retry on bootstrap timeout? dealing with some flaky hardware [14:55] probably would need to do that in deployer; ok -- thanks for the help [14:58] jcastro, pastebin is on heavy load please wait [14:58] marcoceppi, fyi, my issue with juju not starting machines locally had to do, I think, with a stale lock in/var/lib/juju/locks :/ [14:58] timrc: lame! but interesting find [14:58] jcastro, http://pastebin.com/7LifaphW [14:59] huh, that's a new one [15:15] Is it normal that when I do "juju destroy-environment local", I can't do "juju bootstrap" again until I kill the mongod process manually? [15:16] using juju 1.18.1 on trusty [15:16] jcastro, have you found any thing [15:19] no, that's a new one for me [15:19] marcoceppi, have you seen that error before? http://pastebin.com/7LifaphW [15:20] smarter, no that's not normal, but I am having that problem as well [15:23] woohoo, test passed! [15:37] jcastro: what specifically do you need done for the jenkins charm? just a trusty audit or do you need the full deep dive into the relationship issue and getting the tests passing? [15:37] lazyPower, jamespage has a branch for trusty/jenkins [15:37] which we could use, but if we could get tests in there that would be swell [15:40] i have tests pending that failed ci but work when running them locally [15:40] soooooo [15:40] its part of that forever todo item i've got to circle back to CI and figure out why they are failing in CI [15:41] marcoceppi, i have a question if i restart lxc container machine in apache2 charm site-enable/default link gone missing but i enabled a2ensite default in apacche2 subodinate charm btw subordinate charm is for installing a apache mod [15:42] marcoceppi, when i deploy it works file but after restart machine it does not [15:42] lazyPower, yeah so basically he ported it to trusty, but if we can get it in with tests as part of the audit, that would be better [15:43] ack. I'll try to squeeze that in to the schedule. No promises - but i'll set it as a stretch goal [15:43] nod [15:44] jcastro: just to confirm, we're having a charm school tomorrow at 15 your time [15:44] yep [15:44] jcastro, i have a question if i restart lxc container machine in apache2 charm site-enable/default link gone missing but i enabled a2ensite default in apacche2 subodinate charm btw subordinate charm is for installing a apache mod. when i deploy it works file but after restart machine it does not [15:44] me and lazyPower [15:44] cool [15:44] themonk, yeah I am unsure how well supported restarting an LXC container is [15:45] themonk: that shouldn't happen [15:45] themonk: no idea why it would be doing that [15:46] marcoceppi, my one observation is after restart juju runs config-changed and start for normal charm ryt [15:47] themonk: it shouldn't that's news to me [15:47] mgz: ^^? [15:48] ...I can barely parse that [15:48] mgz: if you restart a machine deployed by juju, does it run the config-changed and start hooks again? [15:48] start only runs once [15:49] it will probably run config-changed [15:49] mgz: then, I think what themonk is seeing is config-changed isn't running for the subordinate, which is causing issues as the main charm reverts settinsg that the subordinate sets [15:49] themonk: is that about right? [15:49] restarting lxc containers may be a little dodgy [15:50] marcoceppi, i dont think so [15:51] themonk: looking at the unit logs should tell you what got run [16:01] mgz, yes it calls config-changed then rel-join then rel-changed [16:01] that seems fine then. [16:02] mgz, but i get a start hook error after restart [16:05] themonk: then you need to debug that in the charm [16:07] mgz, start hook is ok no bug :) [16:08] mgz, and how do i debug when my machine is booting [16:08] themonk: debug-hooks will still work I'd think [16:09] mgz, it only happens after reboot [16:10] so? run debug-hooks, trigger the agent restart, see what happens [16:11] mgz, how i use debug-hooks when lxc container is loading during reboot [16:11] just reboot that container [16:12] not your whole machine (I'm assuming local provider) [16:12] how? [16:12] yes mine is local provider [16:12] `juju ssh thatservive/unitnumber "sudo shutdown -r now"` [16:13] hmm great :) thanks :) [16:41] any plans on getting mysql charms into trusty soon? [16:42] stokachu: yes [16:42] marcoceppi: possible eta? [16:42] stokachu: early next week [16:42] openstack relies on it and theyre on trusty [16:42] stokachu: I know [16:42] marcoceppi: anything i can do to make it happen faster [16:49] stokachu: earliest I can do is tomorrow [16:49] marcoceppi: that would be awesome [17:00] So I shouldn't waste time trying to deploy openstack with juju today on 14.04? [17:04] blahRus: no, you can deploy openstack on 14.04 you just need to deploy mysql from a local source [17:04] marcoceppi: kk, any other charms not ready? [17:04] all prep'ed for icehouse? [17:05] blahRus: most all are there, I think rabbitmq-server is in the same boat as mysql though [17:05] these should all be sorted by next week [17:10] great, hopefully we can get the ISO's soon ;) [17:50] hi all. I'm trying to branch the gerrit charm (http://manage.jujucharms.com/~canonical-ci/precise/gerrit) since I need to do some modifications to use it, but I cant access the code [17:50] trying to do a "bzr branch lp:~canonical-ci/charms/precise/gerrit/trunk" gives me a "lp:~canonical-ci/charms/precise/gerrit/trunk" [17:50] also, it appears that this page (https://code.launchpad.net/~canonical-ci) is private now. I could access it 2 weeks ago [17:53] sinzui: ^? [17:54] I tried to paste the error and end up pasting the command again. The error is this one: http://pastebin.ubuntu.com/7269665/ [17:55] this url for example (https://bazaar.launchpad.net/~canonical-ci/charms/precise/gerrit/trunk/files) gives me an "Unauthorized" error [17:55] this is the "Repository" link in the charm page === vladk is now known as vladk|offline [17:56] hackedbellini, marcoceppi: ouch [17:57] sinzui: do you know what is the problem? [17:57] hackedbellini, marcoceppi: That team certainly is private. [17:57] I no longer have super privs [17:59] hackedbellini, I think we can both see that the team exists because it is subscribed to public bugs or branches. [17:59] hackedbellini, I think you need to find another branch to work with [17:59] sinzui: wow, really? that's really sad... [18:00] sinzui: I though you lead the canonical-ci team, who do I have to bug to have them upstream their charms? [18:01] sinzui: do you know why they made it private? [18:01] marcoceppi, I was rather thorough about securing Lp's teams. I cannot see who is involved in the team [18:02] sinzui: you're too good for our own good! [18:08] blahRus stokachu jamespage mysql is promulgated to trusty [18:09] marcoceppi: woot [18:09] marcoceppi++ [18:15] marcoceppi, +1 thanks [18:19] :) [18:19] tyvm [18:35] lazyPower: do we have a spreadsheet containing which tests are being worked on and which arent? [18:36] it'd be nice so we don't have duplicate efforts === roadmr is now known as roadmr_afk [18:55] jose: sent it via privage message [18:55] awesome, thanks [19:25] When trying to add a new machine, I'm getting this: http://pastebin.ubuntu.com/7270191/ [19:25] the only log I can get is this one: http://pastebin.ubuntu.com/7270192/ (from /var/log/juju/machine-12) [19:25] I tried googling for both the agent-state-info error and the error on the log, but found nothing [19:25] do anyone here have any idea on how to solve this? === CyberJacob is now known as CyberJacob|Away === roadmr_afk is now known as roadmr === CyberJacob|Away is now known as CyberJacob [20:10] will i upgrade to 14.04, is it ok for juju 1.18.1 [20:25] hackedbellini: looking now - 1 moment [20:26] hackedbellini: is this local provider? [20:33] cool [20:38] lazyPower: yes it's local provider, using lxc containers [20:39] hmm, machine #12 seems to tank, where as 1 - 11 are fine correct? [20:41] lazyPower: yes, exactly! All other machines are running fine... I have some services running on them (jenkins, mediawiki, postgresql, etc) and they are running fine. But I cant add a new machine [20:41] doing a "juju add-machine" triggers the problem [20:41] i'm looking for an answer to this, i'm not positive but i think there is an upper limit to the number of machines you can utilize on LXC [20:41] lazyPower: really? D: [20:41] dont take that as the answer yet though, i dont have any proof to back it up [20:42] hackedbellini: whats your ram usage look like? [20:42] lazyPower: hrm, I see... That machine is the 10th one. There are 9 currently running [20:43] lazyPower: http://pastebin.ubuntu.com/7270712/ [20:44] hackedbellini: confirmed there is no hard coded limit to the # of machines [20:45] hackedbellini: i would file a bug including the output of your diagnostics such as mem, and attach any relevant logs. [20:46] lazyPower: ok, I'll do that. The problem is that I don't have sudo here, so there are some logs that I can't see :( [20:46] one question: you said that there might be a maximum number of lxc containers I could run at the same time... if that's true, where could I try to check that number? I understand almost nothing about lxc [20:47] hackedbellini: confirmed there is no limit for you. [20:47] i dont remember where i saw that, but its incorrect. [20:47] sorry for the confusion [20:51] lazyPower: ok, no problem! [20:51] one quick question: how can restart juju in a way that it looks like to it that I restarted the server? [20:51] I didn't found any juju service, so I restarted lxc... but I don't know if I should restart anything else, specially because I did a juju upgrade-juju today [20:51] one last question** [20:52] hackedbellini: not sure on local provider, as it bootstraps to the HOST environment. [20:53] does juju automatically install 42-juju-proxy-settings on the deployed machines? [20:53] even though i dont set a apt-http-proxy in my environments.yaml [20:54] lazyPower: np! Thanks anyway for the help :) [20:55] np, sorry i wasn't more help. its been weeks since i've gotten my hands in the local provider. I switched feet and want full force on MAAS / cloud deployments [20:55] s/want/went [21:15] charles there ? [21:16] lazyPower: ^ [21:16] cwchang: greetings [21:16] lazyPower is that Charkes ? [21:16] hi [21:17] jsut try out irc free node stuff [21:17] ah, welcome! [21:17] thanks ! [21:17] sorry we are not that used to those IRC tool [21:17] I am always the first one to try [21:18] I will let Marga join this to lead some discussion for VSM charm review [21:18] Ok. I'm pinning it pending an openstack charmer review as i noted in the ticket. It creates an interesting dependency loop on openstack / vsm. [21:18] ok [21:19] We will be back in a jiffy [21:19] ack. I'll be here cwchang [21:28] hello, could i know how to workaround 'src/launchpad.net/juju-core/utils/ssh/ssh_gocrypto.go:84: undefined: ssh.ClientConn' when running 'go install -v launchpad.net/juju-core/...' pls? [21:29] go get -u -v launchpad.net/juju-core/... gives the following logs: http://pastebin.ubuntu.com/7270917/ [21:29] psivaa: looks like you're trying to build juju from source? try #juju-dev, thats where the core team hangs out. [21:30] lazyPower: ack, thx. yea i was trying to build from trunk. [21:56] cwchang: i'm about to EOD. I'll be floating around but not actively monitoring. If you need anything immediately, feel free to ping me. [21:58] lazyPower: deploying the VSM charm on EC2 will not help, right? [21:59] because if it, I can help with trial deployments and leave it for the queue [21:59] jose: how well do you know openstack? [21:59] lazyPower: not that well, let's say [21:59] jose: next time my friend. [21:59] np :) [22:00] I appreciate the volunteering though. Your enthusiasm is infectious :) [22:01] if it's within my possibilities to help, I'm glad to === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === CyberJacob is now known as CyberJacob|Away === CyberJacob|Away is now known as CyberJacob [23:55] should all the openstack charms for trusty be working?