/srv/irclogs.ubuntu.com/2014/04/17/#juju.txt

stokachudo bundles support --to machine?00:23
=== CyberJacob is now known as CyberJacob|Away
marcoceppistokachu: yes00:54
stokachumarcoceppi: whats the syntax00:55
stokachuin the yaml file00:55
stokachumachine: 1?00:55
marcoceppistokachu: http://pythonhosted.org/juju-deployer/config.html#placement00:55
stokachumarcoceppi: cool thanks00:55
thumpero/ marcoceppi00:56
=== Ursinha is now known as Ursinha-afk
marcoceppi\o thumper02:16
thumpermarcoceppi: tried out the new debug-log?02:17
marcoceppinope02:17
marcoceppiwhat am I instore for?02:17
=== Ursinha-afk is now known as Ursinha
thumpermarcoceppi: fun :-)02:20
marcoceppithumper: is it in 1.19?02:20
thumperyep02:21
thumperworks with local now02:21
lazyPowerooooo02:26
* lazyPower installs02:26
josehey lazyPower, mind giving me a hand with a test I'm writing?02:27
joseI just want to confirm my python code is not bad02:27
lazyPowerlink?02:29
lazyPowerthumper: niiiiiiice02:31
jcastroo/ thumper!02:32
jcastrohey, marco and I had an idea today02:32
jcastro<thumper> That sounds amazing, how can I implement it?02:32
jcastrowell, we were thinking that the resolved --retry thing in debug-hooks is painful02:32
jcastroso how about you debug-hooks02:32
thumperjcastro: ?!02:32
jcastroand from inside the unit you do like "hulk smash"02:33
jcastroand it does the equivalent of a resolved --retry02:33
thumperjcastro: we can talk about improving charm dev experience in vegas02:36
thumperjcastro: I'm assuming you are coming to vegas?02:36
jcastroI am ready to buy many beers02:36
jcastroyep02:36
thumperjcastro: I *want* to make dev experience awesome02:37
thumperso lets do it!02:37
* thumper goes to put that row on the spreadsheet02:37
joselazyPower: http://paste.ubuntu.com/7265206/02:38
lazyPowerjose: while that works, os.system really isnt seen anywhere in our code. we use subprocess.popen or subprocess.call02:39
josehmm, how should I call that?02:40
* jose googles02:40
lazyPowerotherwise, 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 returned02:40
lazyPowereg: 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
joseyeah, as it's a telnet server all the test needs to do is check if it's up02:40
lazyPowerah, ok02:41
lazyPowerwhen i saw nyancat i just assumed it was a website...02:41
jose:P02:41
lazyPoweri haven't actually interfaced with the nyancat charm02:41
joseit's a telenet server which tells you for how many seconds you have nyaned02:41
joseI assume that by replacing that os.system line for `subprocess.call([ping -c 1] + hostname)` it should do good?02:44
lazyPowerjose: 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 machine02:45
josehmm, that's right02:45
lazyPowerand we know juju works02:45
joseand a telnet command would make it endless(?)02:45
lazyPowerjose: https://docs.python.org/2/library/telnetlib.html02:46
lazyPoweruse a telnet library02:46
* jose checks02:46
josewhoops, I need to run, will be back in 3002:46
lazyPowernow 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:46
joseawesome!02:47
joseremain assured that I'll be making a test for that one, or at least try :)02:47
lazyPowerLooking forward to seeing it in the queue :)02:47
mwhudsonwhat do you do with machines that have got stuck?03:11
mwhudsonjuju destroy-unit doesn't seem to have done anything03:11
marcoceppimwhudson: what version of juju?03:16
mwhudsonmarcoceppi: trusty03:16
mwhudsoner i guess it's probably 1.1803:17
mwhudson1.18.1-trusty-amd6403:17
marcoceppimwhudson: you can use the --force flag03:17
mwhudsonerror: flag provided but not defined: --force03:17
marcoceppimwhudson: terminate-machine *03:17
mwhudsonah03:18
mwhudsonthanks!03:18
thumperjcastro: still around?03:42
=== vladk|offline is now known as vladk
josehey davechen1y, do you have a min?05:21
davechen1yjose: shoot05:21
joseI need a hand with an amulet test which is giving me a weird error, let me pastebin05:21
josemy test is http://paste.ubuntu.com/7265781/ and it returns the following error http://paste.ubuntu.com/7265782/05:22
davechen1yjose: hmm, that isn't juju05:23
davechen1yi'm not sure i can help05:23
joseyeah, it's python-ish05:23
josenp05:23
davechen1ytn = telnetlib.Telnet("%s" % d.sentry.unit['nyancat/0'].info['public-address'])05:25
davechen1yisn't info['public-address'] already a string ?05:25
josehmm, not sure05:26
joseafaik d.sentry.unit['nyancat/0'].info['public-address'] returns the public address05:26
davechen1ywhat type is that thow ?05:27
davechen1ysome vague googlgin suggests that error method is due to some difference between strings and unicode strings in python05:27
josehmm, will check then, thanks05:28
joseturns out the problem is on the response that tn.read_until is giving05:39
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
davechen1yjose: interesting05:55
joseI'm going to bed now but will fix and push tomorrow morning05:56
josenight!05:56
davechen1yok05:57
=== CyberJacob|Away is now known as CyberJacob
stubnuclearbob: 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:03
stubmarcoceppi: 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:05
stubHmm.... if I scroll down enough and click on 'config details', I get a fixed width and colorized rendering of the config yaml.07:06
stubhttps://manage.jujucharms.com/charms/precise/postgresql/config07:06
stubnuclearbob: 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
stubnuclearbob: If that doesn't work, file a bug because this setup should be supported.07:07
mduncHi.  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
mduncIs anyone able to reproduce my problem?07:15
mduncI was able to successfully deploy keystone yesterday.07:16
mduncjamespage: you work on the keystone charm, right?  any idea?07:24
jamespagemdunc: give me 1507:30
mduncjamespage:  ok.  just tried keystone-31 and it works.07:30
mduncjamespage:  thanks for looking in  to it07:30
jamespagemdunc, ok - that's a regression then07:42
jamespagewe just landed a large piece of work for keystone07:43
jamespagemdunc, what openstack-origin config are you using?07:43
mduncjamespage:  i'm not using any special configuration.  all i did was deploy mysql, rabbitmq-server, and keystone so far all with default settings.07:44
=== vladk is now known as vladk|offline
mduncjamespage: ah, I guess that setting would be "distro"07:45
jamespagemdunc, ok - that's essex then07:45
jamespagemdunc, I would recommend that you use a later openstack release07:46
jamespageessex is supported still07:46
jamespagebut its 5 versions old07:46
jamespagemdunc, openstack-origin=cloud:precise-havana07:46
jamespagemdunc, or from today cloud:precise-icehouse07:46
jamespagemdunc, let me fix this up tho07:46
mduncjamespage: alright, i'll give that a shot07:48
jamespagemdunc, OK - I see the issue07:51
jamespagekeystone < grizzly does not support a sql backend for policies07:51
mduncAh, 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:56
jamespagemdunc, I'm really interested to hear you experience07:57
jamespagemdunc, 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:58
mduncjamespage: 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.07:59
vilahi 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
jamespagemdunc, 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 trusty08:01
vilaI used to have precise instances, did that change recently and how can I express that I want to stick to precise ?08:01
jamespagewhich has icehouse as default08:01
jamespagevila, hmm08:02
mduncjamespage: 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
jamespageutlemming, ^^08:02
jamespagemdunc, I generally don't recycle machines like that08:02
jamespagemdunc, destroy-service then terminate-machine08:02
jamespagemdunc, thanks for the praise!08:03
vilajamespage, utlemming : If that helps, I did bootstrap yesterday afternoon successfully so ~14h ago08:03
vilahmm, make that ~16h sorry08:03
mduncjamespage: 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:04
vilajamespage, utlemming : for completeness: https://pastebin.canonical.com/108759/08:05
jamespagevila, utlemming is probably not up yet but he'll see this when he awakes08:05
jamespagemdunc, OK - I pushed the fix for the regression to the keystone charm - it should sync out to the charmstore ~1hr08:06
jamespagemdunc, however I know its already OK with >= grizzly08:06
vilajamespage: ack, is there a way to force precise in environments.yaml or something ?08:06
jamespagevila, yeah default-series: precise08:06
jamespagevila, what version of ubuntu and which version of juju are you using to bootstrap?08:07
viladoh, I tried series ;) Thanks for the hint ! It seems to go further08:07
mduncjamespage: thanks for the quick fix :)08:07
jamespagemdunc, always on the lookout for regressions when we land such a big change08:08
vilajamespage: trusty freshly updated so juju-1.18.1-trusty-amd64 according to the output of juju bootstrap --debug08:08
jamespagemdunc, the keystone charm basically got re-written this cycle inline with the other openstack charms08:08
jamespagevila, hmm - I think 1.18.1 might have introduced using the latest lts08:08
jamespagevila, but I may be wrong08:08
mduncjamespage: 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
vilajamespage: 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:09
jamespagemdunc, launchpad.net/charms08:10
vilajamespage: where are those options documented by the way ?08:10
mduncjamespage: cool, thanks!  alright, i got to get back to work.  have a good day/evening/morning!08:11
jamespagevila, that specific one is mentioned in the 1.18.1 release notes - https://juju.ubuntu.com/docs/reference-release-notes.html08:11
jamespagebut its been there for a while08:11
vilaha thanks, I was on the site but didn't find/think about the release notes08:12
vilaright, perfectly explained (as well as why this happens)08:12
=== 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
timrchttps://bugs.launchpad.net/ubuntu/+source/jenkins/+bug/1294005 <--- this make me sad11:45
_mup_Bug #1294005: Please remove jenkins from trusty <jenkins (Ubuntu):Fix Released> <https://launchpad.net/bugs/1294005>11:45
timrcI wish there was more of a transition period here because this breaks us pretty abruptly11:46
jamespagetimrc, sorry - but its old and full of security vulnerabilities11:54
jamespagetimrc, the charm supports switching to use the upstream repositories; suggest that happens y default11:54
=== vladk|offline is now known as vladk
caribouhas anyone encountered the situation where mysql refuses to allow connection from other services when colocated on the same machine ?12:34
caribouI'm deploying mysql then keystone on the same machine. When adding the relation, I get mysql to refuse connection to the keystone charm12:35
caribouthis doesn't happen if they're not on the same machine12:35
caribou(local provider btw)12:35
jam1caribou: note that the default mysql configuration is to consume 80% of your RAM with its buffer12:46
jcastrohey lazyPower12:46
jam1caribou: there is a known bug that mysql doesn't place nice on local because of that12:46
jcastroI subscribed ~charmers to the jenkins bug12:46
jam1you can change it in config, though12:46
jcastrowe need to sort it before promoting jenkins to trusty12:47
cariboujam1: I'm not worried about that, it's just for charm testing12:47
jam1caribou: sure, but mysql w/ local fails because of that config, so you can change the config to do your test12:47
cariboujam1: and afaik, it used to work12:47
cariboujam1: ah, ok12:47
jcastrojuju set mysql dataset-size="1G"12:47
jam1caribou: https://lists.ubuntu.com/archives/juju/2014-February/003442.html12:48
jcastro^^ you want something like that12:48
cariboujcastro: thanks12:48
jam1caribou: I noticed that deploying mysql locally ended up giving like 15GB of ram and then mysql couldn't start12:48
jcastroyeah mine was doing 12G12:49
jcastrowe should find a way to be like "If I am in LXC don't do that."12:50
jam1caribou: jcastro: https://bugs.launchpad.net/juju-core/+bug/1255242/comments/1512:50
_mup_Bug #1255242: HP cloud requires 4G to do what AWS does in 2G mem <ci> <hp-cloud> <intermittent-failure> <upgrade-juju> <juju-core:Invalid> <mysql (Juju Charms Collection):New> <https://launchpad.net/bugs/1255242>12:50
jam1is my comment on it12:50
jam1note, it also fails on HP because of that12:51
jam1on a default size machine12:51
jam1apparently 80% of 2GB or whatever doesn't leave enough room for the OS overhead12:51
jam1so on HP you have to deploy --constraints=mem=4G if you want the default charm 80% to work12:51
cariboujam1: yep, mine has 7G of VSZ12:51
jcastrojamespage, what's the recommendation for precise/jenkins?12:52
jamespagejcastro, use lts12:52
caribouxcuse my ignorance, but why would the memory size would have a tie with remote connectivity ?12:52
jam1caribou: because it doesn't actually start12:52
jamespagejcastro, that version is really old - maybe not the same security issues tho12:52
jam1it tries to lock that much RAM but can't12:52
cariboujam1: it does start, I can connect to it locally12:52
jam1caribou: weird, mine would just fail12:52
jam1I don't know why it would affect remote connectivity12:53
jamespagejcastro, I put a branch up for trusty - https://bugs.launchpad.net/ubuntu/+source/jenkins/+bug/129400512:53
_mup_Bug #1294005: Please remove jenkins from trusty <audit> <jenkins (Ubuntu):Fix Released> <jenkins (Charms Trusty):New> <https://launchpad.net/bugs/1294005>12:53
cariboumy feeling is that it has something to do with hostname resolution12:53
caribouif I try to connect remotely using the IP address, I get a normal failure to connect because of the password12:53
caribouif I use the hostname, then I get a mysql rejection message saying that the host is not allowed to connect12:53
jcastrojamespage, I've added it to the queue; since it's come up, does it by chance have tests?12:53
jamespagejcastro, no12:54
cariboujam1: anyway, i worked around it by having mysql on its own machine for the time being, I need my time to investigate other things12:54
cariboujam1: but I'm happy to know that I'm not missing something obvious12:54
jcastrojamespage, ok I'll see if we can prioritize it and get some tests, we have some new people now that can help.12:55
jamespagejcastro, excellent - thanks12:55
jamespagejcastro, my branch is function for trusty - just finished testing it12:55
jcastroack12:55
stokachuhttp://pythonhosted.org/juju-deployer/config.html#placement13:02
stokachuit says machine id 0 is only supported13:02
stokachudoes that mean i can't deploy to say machine 2 which contains another node?13:03
mattywsinzui, 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 date13:10
marcoceppistub: 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 excerpt13:13
stokachumarcoceppi: do bundles only support deploying to machine 0?13:14
marcoceppistub: for machine id, yes13:14
marcoceppistokachu: ^13:14
marcoceppibecause that's the only guarenteed machine13:14
marcoceppistokachu: you can still deploy to other services13:15
stokachuwhat about with kvm13:15
stokachuif i have 2 kvm instances and want to auto-deploy services to both machines that can't be done with bundles right?13:15
marcoceppistokachu: what do you mean, 2kvm instances?13:15
stokachumarcoceppi: if i do juju add-machine13:16
stokachuit brings up 2 kvm instances in local provider13:16
sinzuimattyw, 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
stokachumachine 1 and 213:16
stokachui wanted to be able to deploy services to both machines13:16
marcoceppistokachu: so those are LXC, not KVM, and yes, you can't really do that in deployer, there is no add-machine concept13:16
stokachucharms*13:16
marcoceppistokachu: however, you can do this, deploy ubuntu charm to two units13:16
stokachumarcoceppi: not kvm?13:16
marcoceppistokachu: then do placement ubuntu/013:16
sinzuimattyw, I recommend you try removing the cache.13:16
marcoceppistokachu: it's not kvm, local provider uses LXC13:17
stokachumarcoceppi: it also uses kvm13:17
marcoceppiunless this is something that landed in 1.19, local provider only uses lxc13:17
stokachuuh its been there since 1.17.x13:17
marcoceppistokachu: okay13:18
mattywsinzui, that might suggest I was able to boot a trusty container but not a precise one13:18
marcoceppiare you using the local provider, or are you trying to deploy --to kvm: ?13:18
stokachuusing the local provider13:18
marcoceppithe local proivder /is/ lxc13:18
stokachumachine 0 maybe but machines 1 and 2 are kvm13:18
marcoceppisinzui: can the local provider use kvm instead of lxc?13:18
hazmatstokachu, deployer can spec service colocation .. including kvm: / lxc:13:18
hazmatmarcoceppi, yes13:19
hazmatit can use kvm instead of lxc13:19
nuclearbobstub: thanks for the info, I can't seem to get that to work, so I'll file a bug13:19
marcoceppihazmat: wtf, why isn't this documented anywhere13:19
* marcoceppi loses his mind13:19
stokachuhazmat: so i list machine 0,1,2 all kvm13:19
stokachui just want to deploy to machineX13:19
stokachunot kvm on machine 013:19
hazmatmarcoceppi, markdown it and i'll work on it :-)13:19
marcoceppihazmat: I don't even know where to start13:20
hazmatstokachu, so deployer doesn't let you reference arbitrary machines, because that's not reproducible. it will let you specify colocation with other services13:20
hazmatmarcoceppi, what do you mean, i though the md stuff was in flight?13:20
sinzuimarcoceppi, yes, add container: kvm13:20
stokachuok13:20
marcoceppihazmat: it is, I was referring to I have no idea how to switch local to kvm13:21
marcoceppihazmat: this would have saved a lot of lxc headaches13:21
hazmatstokachu, 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
hazmatmarcoceppi, lxc headaches?13:21
hazmatmarcoceppi, because of restrictions?13:21
stokachuhazmat: if i set the container: kvm in environments.yaml i just do a juju add-machine like normal13:22
stokachucan set constraints too13:22
marcoceppihazmat: lxc hasn't been playing nice on one of my machines13:22
marcoceppiwell, lxc/local provider13:22
* hazmat nods13:22
hazmati'm still using my jury rig manual + lxc which has been solid..13:23
stokachukvm is really solid too13:23
hazmatmarcoceppi, 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:23
jcastrowait a minute13:28
jcastroare you telling me, I've been messing around with LXC this whole time13:28
jcastroand I could have been using KVM13:28
marcoceppijcastro: yeah13:28
marcoceppigo figure13:29
jcastroWell, I'm pretty much out of options, I have asked over and over for core to document stuff13:29
stokachujcastro: i happened to stumble across it while looking through the juju code13:32
stokachusome of the help commands talk about kvm too iirc13:32
lazyPowerjcastro: roger13:32
jcastrowell I know you can do kvm: blah13:32
stokachuyea13:33
jcastrobut if I can wholesale switch to it13:33
jcastrothat would be awesome13:33
stokachujcastro: thats what i do13:33
stokachukvm for everything13:33
stokachuworks great13:33
jcastroERROR state/api: websocket.Dial wss://10.0.3.1:17070/: EOF13:34
stokachujcastro: http://astokes.org/juju-deploy-to-lxc-and-kvm-in-the-local-provider/13:34
jcastroI've been getting this all week with the local provider13:34
stokachuaccording to some of the juju devs this isn't a supported scenario13:34
stokachubut it works too for mixing both13:34
jcastromind if I steal that?13:35
stokachujcastro: go for it13:36
jcastrostokachu, I think the big one there is "network-bridge"13:39
stokachuyea definitely13:39
mattywsinzui, didn't seem to fix my problem :/13:39
jcastrodeploy --to kvm:blah we have written down13:39
stokachujcastro: i think https://bugs.launchpad.net/juju-core/+bug/1304530 would be good to have too13:40
_mup_Bug #1304530: nested lxc's within a kvm machine are not accessible <addressability> <cloud-installer> <kvm> <local-provider> <lxc> <juju-core:Triaged> <https://launchpad.net/bugs/1304530>13:40
jcastrostokachu, hey so if I deploy to KVMs with the little bridge there13:42
jcastroare those KVMs accessible from other machines on the network?13:43
stokachujust on the network bridge13:43
jcastroah13:43
stokachuyou'd have to add a network bridge device in libvirt13:43
stokachuso you could setup br0 to bridge your eth013:44
stokachuthen have libvirt use br013:44
stokachuthen it would be accessible throughout your network13:44
jcastrook I'll just crosslink to some libvirt docs on that13:44
stokachuhttp://wiki.libvirt.org/page/Networking#Bridged_networking_.28aka_.22shared_physical_device.22.2913:44
stokachuthat should help13:44
stokachutheres a debian/ubuntu section13:45
stokachuhazmat: im about to start using your judo stuff13:45
stokachutheir pricing is awesome with the per hour charge and cap of the monthly fee13:46
=== Ursinha is now known as Ursinha-afk
hazmatstokachu, cool.. your in good company there.13:56
=== Ursinha-afk is now known as Ursinha
themonkis there any way to restart a unit? i just want to rerun start hook.14:06
jcastroyou can `juju debug-hooks` to it to rerun the start hook14:08
jcastro`juju debug-hooks yourservice/#` the # being the machine14:08
jcastrothen in another terminal do "juju resolved --retry yourservice"14:09
jcastrothen in the debug-hooks terminal do `hooks/start`14:09
jcastroand it will give you the exact error14:09
themonkjcastro, 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 error14:24
themonkjcastro, i have a error log will you see it?14:24
jcastrothemonk, sure14:24
jcastrowhich charm btw?14:25
themonkjcastro, my charm can't disclose the name yet, will be opensoucce soon :)14:28
themonkjcastro, company policy :)14:28
jcastrooh ok, I was going to say, if it was mysql we know that can break in LXC14:28
josejcastro: hey, would you mind giving me a hand with some python-ish error I get when writing an amulet test?14:30
rharperfailed bootstrap returned this:  ERROR waited for 10m0s without being able to connect: /var/lib/juju/nonce.txt contents do not match machine nonce14:31
themonkjcastro, no its not mysql14:31
jcastrojose, marco is your man for amulet14:31
josethen, marcoceppi: ping14:31
jose:)14:31
rharperlooking for any help on what that might mean14:31
marcoceppirharper: bootstrapped timedout trying to do something, rharper run with --debug to get more information14:32
marcoceppijose: best to just post the issue than to ask to post :)14:32
rharpermarcoceppi: ok14:33
josewhen 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 it14:33
jcastrothemonk, you can send me your info if you want me to take a look14:38
themonkjcastro, i am preparing in pastebin :)14:39
jcastrohey lazyPower14:49
jcastroI see you're down on the spreadsheet for jenkins.14:49
lazyPoweri've done some work on the tests, but they didn't pass CI14:49
marcoceppijose: you're using python2 formatting for python3 code14:50
marcoceppijose: try "nyaned".encode() in tn.read_until14:51
jose"nyaned".encode() instaed of just "nyaned"?14:51
marcoceppiyes14:51
joseok14:51
josedamn, I just realized I did that on my /tmp folder and didn't have another backup, pastebin lifesaver14:52
rharpermarcoceppi: 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
jcastroheh, are you writing tests for the nyancat charm?14:52
rharpermarcoceppi: re bootstrap timeout14:52
joseyeah, seemed like an easy one :P14:53
marcoceppirharper: bootstrap timeout is configurable last I checked, it's a timeout in juju not in deployer14:53
rharpermarcoceppi: hrm, I though juju deployer passed through the config to juju14:53
* rharper looks at code14:53
marcoceppirharper: no, bootstrap-timeout is an environments.yaml configuration14:53
rharperonly?14:53
marcoceppijuju help bootstrap14:53
marcoceppiyes14:54
rharperok14:54
rharperis there such a thing as retry on bootstrap timeout?  dealing with some flaky hardware14:54
rharperprobably would need to do that in deployer; ok -- thanks for the help14:55
themonkjcastro, pastebin is on heavy load please wait14:58
timrcmarcoceppi, 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
marcoceppitimrc: lame! but interesting find14:58
themonkjcastro, http://pastebin.com/7LifaphW14:58
jcastrohuh, that's a new one14:59
smarterIs 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:15
smarterusing juju 1.18.1 on trusty15:16
themonkjcastro, have you found any thing15:16
jcastrono, that's a new one for me15:19
jcastromarcoceppi, have you seen that error before? http://pastebin.com/7LifaphW15:19
jcastrosmarter, no that's not normal, but I am having that problem as well15:20
josewoohoo, test passed!15:23
lazyPowerjcastro: 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
jcastrolazyPower, jamespage has a branch for trusty/jenkins15:37
jcastrowhich we could use, but if we could get tests in there that would be swell15:37
lazyPoweri have tests pending that failed ci but work when running them locally15:40
lazyPowersoooooo15:40
lazyPowerits part of that forever todo item i've got to circle back to CI and figure out why they are failing in CI15:40
themonkmarcoceppi, 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 mod15:41
themonkmarcoceppi, when i deploy it works file but after restart machine it does not15:42
jcastrolazyPower, 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 better15:42
lazyPowerack. I'll try to squeeze that in to the schedule. No promises - but i'll set it as a stretch goal15:43
jcastronod15:43
josejcastro: just to confirm, we're having a charm school tomorrow at 15 your time15:44
jcastroyep15:44
themonkjcastro, 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 not15:44
jcastrome and lazyPower15:44
josecool15:44
jcastrothemonk, yeah I am unsure how well supported restarting an LXC container is15:44
marcoceppithemonk: that shouldn't happen15:45
marcoceppithemonk: no idea why it would be doing that15:45
themonkmarcoceppi, my one observation is after restart juju runs config-changed and start for normal charm ryt15:46
marcoceppithemonk: it shouldn't that's news to me15:47
marcoceppimgz: ^^?15:47
mgz...I can barely parse that15:48
marcoceppimgz: if you restart a machine deployed by juju, does it run the config-changed and start hooks again?15:48
mgzstart only runs once15:48
mgzit will probably run config-changed15:49
marcoceppimgz: 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 sets15:49
marcoceppithemonk: is that about right?15:49
mgzrestarting lxc containers may be a little dodgy15:49
themonkmarcoceppi, i dont think so15:50
mgzthemonk: looking at the unit logs should tell you what got run15:51
themonkmgz, yes it calls config-changed then rel-join then rel-changed16:01
mgzthat seems fine then.16:01
themonkmgz, but i get a start hook error after restart16:02
mgzthemonk: then you need to debug that in the charm16:05
themonkmgz, start hook is ok no bug :)16:07
themonkmgz, and how do i debug when my machine is booting16:08
mgzthemonk: debug-hooks will still work I'd think16:08
themonkmgz, it only happens after reboot16:09
mgzso? run debug-hooks, trigger the agent restart, see what happens16:10
themonkmgz, how i use debug-hooks when lxc container is loading during reboot16:11
mgzjust reboot that container16:11
mgznot your whole machine (I'm assuming local provider)16:12
themonkhow?16:12
themonkyes mine is local provider16:12
mgz`juju ssh thatservive/unitnumber "sudo shutdown -r now"`16:12
themonkhmm great :) thanks :)16:13
stokachuany plans on getting mysql charms into trusty soon?16:41
marcoceppistokachu: yes16:42
stokachumarcoceppi: possible eta?16:42
marcoceppistokachu: early next week16:42
stokachuopenstack relies on it and theyre on trusty16:42
marcoceppistokachu: I know16:42
stokachumarcoceppi: anything i can do to make it happen faster16:42
marcoceppistokachu: earliest I can do is tomorrow16:49
stokachumarcoceppi: that would be awesome16:49
blahRusSo I shouldn't waste time trying to deploy openstack with juju today on 14.04?17:00
marcoceppiblahRus: no, you can deploy openstack on 14.04 you just need to deploy mysql from a local source17:04
blahRusmarcoceppi: kk, any other charms not ready?17:04
blahRusall prep'ed for icehouse?17:04
marcoceppiblahRus: most all are there, I think rabbitmq-server is in the same boat as mysql though17:05
marcoceppithese should all be sorted by next week17:05
blahRusgreat, hopefully we can get the ISO's soon ;)17:10
hackedbellinihi 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 code17:50
hackedbellinitrying to do a "bzr branch lp:~canonical-ci/charms/precise/gerrit/trunk" gives me a "lp:~canonical-ci/charms/precise/gerrit/trunk"17:50
hackedbellinialso, it appears that this page (https://code.launchpad.net/~canonical-ci) is private now. I could access it 2 weeks ago17:50
marcoceppisinzui: ^?17:53
hackedbelliniI tried to paste the error and end up pasting the command again. The error is this one: http://pastebin.ubuntu.com/7269665/17:54
hackedbellinithis url for example (https://bazaar.launchpad.net/~canonical-ci/charms/precise/gerrit/trunk/files) gives me an "Unauthorized" error17:55
hackedbellinithis is the "Repository" link in the charm page17:55
=== vladk is now known as vladk|offline
sinzuihackedbellini, marcoceppi: ouch17:56
hackedbellinisinzui: do you know what is the problem?17:57
sinzuihackedbellini, marcoceppi: That team certainly is private.17:57
sinzuiI no longer have super privs17:57
sinzuihackedbellini, I think we can both see that the team exists because it is subscribed to public bugs or branches.17:59
sinzuihackedbellini, I think you need to find another branch to work with17:59
hackedbellinisinzui: wow, really? that's really sad...17:59
marcoceppisinzui: I though you lead the canonical-ci team, who do I have to bug to have them upstream their charms?18:00
hackedbellinisinzui: do you know why they made it private?18:01
sinzuimarcoceppi, I was rather thorough about securing Lp's teams. I cannot see who is involved in the team18:01
marcoceppisinzui: you're too good for our own good!18:02
marcoceppiblahRus stokachu jamespage mysql is promulgated to trusty18:08
stokachumarcoceppi: woot18:09
stokachumarcoceppi++18:09
jamespagemarcoceppi, +1 thanks18:15
blahRus:)18:19
blahRustyvm18:19
joselazyPower: do we have a spreadsheet containing which tests are being worked on and which arent?18:35
joseit'd be nice so we don't have duplicate efforts18:36
=== roadmr is now known as roadmr_afk
lazyPowerjose: sent it via privage message18:55
joseawesome, thanks18:55
hackedbelliniWhen trying to add a new machine, I'm getting this: http://pastebin.ubuntu.com/7270191/19:25
hackedbellinithe only log I can get is this one: http://pastebin.ubuntu.com/7270192/ (from /var/log/juju/machine-12)19:25
hackedbelliniI tried googling for both the agent-state-info error and the error on the log, but found nothing19:25
hackedbellinido anyone here have any idea on how to solve this?19:25
=== CyberJacob is now known as CyberJacob|Away
=== roadmr_afk is now known as roadmr
=== CyberJacob|Away is now known as CyberJacob
themonkwill i upgrade to 14.04, is it ok for juju 1.18.120:10
lazyPowerhackedbellini: looking now - 1 moment20:25
lazyPowerhackedbellini: is this local provider?20:26
Kupo24zcool20:33
hackedbellinilazyPower: yes it's local provider, using lxc containers20:38
lazyPowerhmm, machine #12 seems to tank, where as 1 - 11 are fine correct?20:39
hackedbellinilazyPower: 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 machine20:41
hackedbellinidoing a "juju add-machine" triggers the problem20:41
lazyPoweri'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 LXC20:41
hackedbellinilazyPower: really? D:20:41
lazyPowerdont take that as the answer yet though, i dont have any proof to back it up20:41
lazyPowerhackedbellini: whats your ram usage look like?20:42
hackedbellinilazyPower: hrm, I see... That machine is the 10th one. There are 9 currently running20:42
hackedbellinilazyPower: http://pastebin.ubuntu.com/7270712/20:43
lazyPowerhackedbellini: confirmed there is no hard coded limit to the # of machines20:44
lazyPowerhackedbellini: i would file a bug including the output of your diagnostics such as mem, and attach any relevant logs.20:45
hackedbellinilazyPower: 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
hackedbellinione 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 lxc20:46
lazyPowerhackedbellini: confirmed there is no limit for you.20:47
lazyPoweri dont remember where i saw that, but its incorrect.20:47
lazyPowersorry for the confusion20:47
hackedbellinilazyPower: ok, no problem!20:51
hackedbellinione quick question: how can restart juju in a way that it looks like to it that I restarted the server?20:51
hackedbelliniI 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 today20:51
hackedbellinione last question**20:51
lazyPowerhackedbellini: not sure on local provider, as it bootstraps to the HOST environment.20:52
stokachudoes juju automatically install 42-juju-proxy-settings on the deployed machines?20:53
stokachueven though i dont set a apt-http-proxy in my environments.yaml20:53
hackedbellinilazyPower: np! Thanks anyway for the help :)20:54
lazyPowernp, 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 deployments20:55
lazyPowers/want/went20:55
cwchangcharles there ?21:15
marcoceppilazyPower: ^21:16
lazyPowercwchang: greetings21:16
cwchanglazyPower is that Charkes ?21:16
cwchanghi21:16
cwchangjsut try out irc free node stuff21:17
lazyPowerah, welcome!21:17
cwchangthanks !21:17
cwchangsorry we are not that used to those IRC tool21:17
cwchangI am always the first one to try21:17
cwchangI will let Marga join this to lead some discussion for VSM charm review21:18
lazyPowerOk. 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
cwchangok21:18
cwchangWe will be back in a jiffy21:19
lazyPowerack. I'll be here cwchang21:19
psivaahello, 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:28
psivaago get -u -v launchpad.net/juju-core/... gives the following logs: http://pastebin.ubuntu.com/7270917/21:29
lazyPowerpsivaa: looks like you're trying to build juju from source? try #juju-dev, thats where the core team hangs out.21:29
psivaalazyPower: ack, thx. yea i was trying to build from trunk.21:30
lazyPowercwchang: 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:56
joselazyPower: deploying the VSM charm on EC2 will not help, right?21:58
josebecause if it, I can help with trial deployments and leave it for the queue21:59
lazyPowerjose: how well do you know openstack?21:59
joselazyPower: not that well, let's say21:59
lazyPowerjose: next time my friend.21:59
josenp :)21:59
lazyPowerI appreciate the volunteering though. Your enthusiasm is infectious :)22:00
joseif it's within my possibilities to help, I'm glad to22:01
=== 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
stokachushould all the openstack charms for trusty be working?23:55

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