[02:13] <_mup_> juju/trunk r494 committed by kapil.thangavelu@canonical.com [02:13] <_mup_> [trivial] remove setuptools dependencies, switch charm store back to domain, sans default-series use precise [03:46] <_mup_> juju/relation-hook-context r496 committed by jim.baker@canonical.com [03:46] <_mup_> Make relation id lookup robust === hspencer is now known as hspencer[afk] === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [12:29] hi, good afternoon, i'm trying to deploy a service in a local instance, and i have an error, can you help me' [12:29] ? [12:34] yolanda, sure - what are you seeing? [12:34] i see that error every time [12:34] LXCError: debootstrap is /usr/sbin/debootstrap [12:34] mkdir: cannot create directory `/var/lock': File exists [12:34] failed to execute template 'ubuntu' [12:35] and then when i try to add a relation i see that error: [12:35] No matching endpoints [12:35] 2012-03-23 13:28:32,003 ERROR No matching endpoints [12:35] jamespage ^ [12:35] yolanda, looks like to different errors [12:35] what does juju status show you ATM? [12:35] to/two [12:36] machines: [12:36] 0: [12:36] dns-name: localhost [12:36] instance-id: local [12:36] instance-state: running [12:36] state: running [12:36] services: [12:36] openerp: [12:36] charm: local:oneiric/openerp-1 [12:36] relations: {} [12:36] units: [12:36] openerp/0: [12:36] machine: 0 [12:36] public-address: null [12:36] relations: {} [12:36] state: pending [12:37] postgresql: [12:37] charm: local:oneiric/postgresql-15 [12:37] relations: {} [12:37] units: [12:37] postgresql/0: [12:37] machine: 0 [12:37] public-address: null [12:37] relations: {} [12:37] state: pending [12:37] 2012-03-23 13:36:14,209 INFO 'status' command finished successfully [12:45] sorry, i got disconnected, jamespage [12:45] yolanda, I realised (so kept quiet) :-) [12:45] i pasted you the status of my machines, could you read it? [12:46] yolanda, yep [12:46] ok [12:46] * jamespage looks [12:46] let me pastebin the full error [12:46] yolanda, is that the official postgresql charm? [12:46] jamespage, yes, i grabbed with charm getall [12:47] the openerp is a new one i'm building [12:47] yolanda, and can you pastebin the metadata.yaml file for openerp as well please [12:48] that is the error: https://pastebin.canonical.com/62911/ [12:49] and that the metadata from openerp: https://pastebin.canonical.com/62912/ [12:50] yolanda, so the reason for the No matching endpoints message is that the interfaces have different names [12:50] openerp - interface: postgresql [12:50] postgresql - interface: pgsql [12:51] oh [12:51] first charm, so a newbie error :) [12:51] and the /var/lock problem? [12:51] yolanda, looking now - which version of ubuntu are you developing on? [12:51] oneiric [12:52] i used a local instance because openstack was giving error [12:52] i would desired to use precise, but i can't at the moment [12:54] also, i changed dependency to pgsql but still have the endpoints error === almaisan-away is now known as al-maisan [13:06] jamespage ? [13:07] yolanda, have you upgraded the charm in you local test deployment? [13:07] jamespage, a just did a getall [13:07] do i need to do something else? [13:08] mm, i destroyed environment and created one new, sorry, didn't understand the question [13:08] yolanda, yes but if you change metadata.yaml for openerp you need to upgrade the charm that juju is using [13:08] so just destroyed and created new one, so data is fresh [13:08] juju upgrade-charm --repository . local:openerp [13:08] OK - so that should be OK [13:11] i'm trying again [13:11] yolanda, have you seen this charm thats being worked on - http://charms.kapilt.com/~patrick-hetu/oneiric/openerp-server [13:13] jamespage, no , didn't see it [13:13] quite new still - might be worth collaborating [13:14] jamespage, the thing is that we use a package that we are building inside canonical [13:14] i should ask for permission in the team [13:14] yolanda, fair enough - that charm uses packages from a PPA for openerp [13:15] its version 6 - is that up-to-date [13:15] 6.1 [13:15] * jamespage knows nothing about OpenERP [13:15] it's our version [13:15] mm, it's different [13:15] 6.1 works very different than 6.0 [13:16] but i see the relation between openerp and postgres, with db and db-admin, i'll try like that [13:18] yolanda, sorry - X died on me [13:19] i was saying that 6.1 it's very different from 6.0 [13:19] no need for server and web, it comes together [13:19] i'm checking his metadata however, because that is the same [13:20] jamespage, the requires is the same, but i have this endpoint error, can something be wrong in my environment? [13:23] yolanda, thinking [13:24] might be worth checking the metadata.yaml in the postgresql charm you have locally [13:24] it should provide db: [13:24] interface: pgsql [13:24] yes, i checked [13:24] ack [13:24] it is [13:24] name: postgresql [13:24] summary: "object-relational SQL database (supported version)" [13:24] description: | [13:24] PostgreSQL is a fully featured object-relational database management [13:24] system. It supports a large part of the SQL standard and is designed [13:24] to be extensible by users in many aspects. Some of the features are: [13:24] ACID transactions, foreign keys, views, sequences, subqueries, [13:24] triggers, user-defined types and functions, outer joins, multiversion [13:24] concurrency control. Graphical user interfaces and bindings for many [13:24] programming languages are available as well. [13:24] provides: [13:24] db: [13:24] interface: pgsql [13:24] db-admin: [13:25] interface: pgsql [13:33] yolanda, I need to just finish off some testing - can you put you openerp charm somewhere I can see it and I'll try to reproduce [13:33] ok [13:37] jamespage, do you have access here? https://code.launchpad.net/~yolanda.robla/charms/oneiric/openerp/trunk [13:37] yolanda, yep - can see that [13:38] i wanted to target precise platform, and the openerp package in the repo is for precise, can it be causing a problem? i don't have any precise machine to test === al-maisan is now known as almaisan-away [13:41] m_3, SpamapS, marcoceppi: let's have a call late in the afternoon before I close the contest. [14:20] jcastro: sounds good, it's going to be an easy day for me at work [14:24] jcastro: I'll try to find a decent microphone [14:24] I think Dr. Mims is travelling today [14:25] so it'll just be us three, I figure close the contest around EOD and then we have all next week to review [14:27] wondering how i commit my first juju charm… followed the instructions and failed to run bzr push lp:~4-ja-d/charms/oneiric/appflower/trunk and get bzr: ERROR: Invalid url supplied to transport: "lp:~4-ja-d/charms/oneiric/appflower/trunk": No such source package appflower. [14:28] first time using bzr and launchpad [14:46] I'm trying to install juju with orchestra but it doesn't work... [14:46] error: Environments configuration error: /home/localadmin/.juju/environments.yaml: environments.orchestra.default-series: required value not found === Topic unset by jcastro on #juju === jcastro changed the topic of #juju to: http://juju.ubuntu.com || Charms at http://jujucharms.com || Want to write a charm? http://juju.ubuntu.com/Charms [15:04] Got it.. committed my first charm. Thanks for the great work of making juju.. this will bring a bright future, i'm sure [15:08] jamespage, did you see something strange in my charm? [15:16] eb914: that means what it says, you are missing default-series [15:16] eb914: are you following any specific documentation? === jcastro changed the topic of #juju to: Charm contest ends monday! (extra weekend of hacking!) http://juju.ubuntu.com || Charms at http://jujucharms.com || Want to write a charm? http://juju.ubuntu.com/Charms [15:29] jcastro++ o/ [15:29] SpamapS, hey, so marrusl and folks want an on the fly charm school. :) [15:31] marrusl, he's usually dropping off his kid at school, but he should be around [15:31] SpamapS, and he's left coast so I don't think 1:30 our time will be a problem [15:31] ^^ that message meant for marrusl [15:32] jcastro, hey. makes sense. good. woo hoo, we got the A team! [15:32] marrusl, I'll be at a doctor's appointment though, but I am confident Clint can hook this up. [15:41] <_mup_> juju/relation-hook-context r497 committed by jim.baker@canonical.com [15:41] <_mup_> Verify visibility of relation ids from a given hook context [15:45] yolanda: think I know what the problem is - postgresql has two interfaces of type pgsql [15:45] db and db-admin [15:45] you prob need to be explicit [15:45] juju add-relation openerp:db postgresql:db [15:46] just testing now [15:47] (sorry by other testing took a bit longer than expected) [15:47] jamespage, np [15:47] btw, i'm going out for a while no [15:47] now [15:52] yolanda, OK - so when you get back I think that is the issue - just tested locally [16:03] jcastro: m_3: you guys available for a quick chat with jamespage and I? [16:06] jcastro: m_3: jamespage: I'll reschedule for Monday [16:14] hi all [16:14] anyone have hudge desktop freezes when juju starts local linux containers? [16:15] i cannot even move mouse [16:17] I'm trying juju, my error is: ERROR Cannot connect to machine MTMzMjUwNzQ3Mi42NTUzNzcyNi41MzQwMjI (perhaps still initializing): Invalid host for SSH forwarding: ssh: Could not resolve hostname oneiric01.ubuntu.lan: Name or service not known [16:20] antono: how much RAM do you have? [16:20] be: you're using orchestra then? [16:21] yes [16:21] be: you have to be able to resolve the hostnames of the machines from your client [16:21] SpamapS: 8GB [16:21] antono: I've started 4 containers on a machine w/ 4GB of RAM, so thats not typical [16:22] SpamapS: also i have SSD, can it affect lxc behavior? [16:23] antono: mine is also an SSD actually.. a 128G macbook air [16:23] what's the system to resolve it? [16:23] be: DNS [16:24] be: it should work to put that hostname in your /etc/hosts [16:31] Thank you I resolved it but now the error is ERROR Cannot connect to machine MTMzMjUwNzQ3Mi42NTUzNzcyNi41MzQwMjI (perhaps still initializing): Invalid SSH key [16:33] be: Can you explain to me what documentation you are following ? I have found that some of them miss the finer points [16:50] SpamapS, the moodle charm needs an early review, he's having a hard time with the db-relation and is kind of stuck, so I just tagged it. [16:50] jcastro: mmk, will look at it first [16:50] <3 [17:00] https://help.ubuntu.com/community/UbuntuCloudInfrastructure [17:02] be: ok that one looks like the one I fixed recently [17:03] ? [17:04] be: so its possible that your installation did not go well, because your SSH key did not end up on the installed machine. [17:05] But I can connect with the client using ssh directly [17:06] be: thats odd [17:07] be: on the machine, are there juju agents running? (ps auxw | grep juju) [17:07] be: also, what version of juju do you have installed? (dpkg -l juju) [17:09] ps auxw | grep juju ubuntu 15043 0.0 0.1 9252 908 pts/0 S+ 18:08 0:00 grep --color=auto juju [17:09] be: ok, so most likely something failed when installing or starting up juju [17:29] be: so where are you at now? [17:29] be: stuck with an ssh key error? [17:29] juju status 2012-03-23 18:27:19,723 INFO Connecting to environment. 2012-03-23 18:27:20,233 ERROR Connection refused Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): Failure: txzookeeper.client.ConnectionTimeoutException: could not connect before timeout Cannot connect to machine MTMzMjUwNzQ3Mi42NTUzNzcyNi41MzQwMjI (perhaps still initializing): could not connect before timeout after 2 retries 2012-03-23 18:27:4 [17:30] be: something broke during the cloud-init phase I think. Can you pastebin /var/log/cloud-init-output.log (it might have sensitive information in it, so please make sure it doesn't) [17:31] be: there's a useful tool, btw, 'pastebinit', which you can use to just do 'pastebinit < /var/log/cloud-init-output.log' [17:32] SpamapS, i fixed a problem last night that was causing breakage.. the setuptools stuff from rev 486 was broken. latest fixed build is 494 [17:33] er. good trunk rev [17:33] i've gone ahead and yanked the setuptools stuff, it was to support osx, but it caused issues for deploying branches [17:33] ppas/packages should have been okay though [17:35] sudo pastebinit < /var/log/cloud-init-output.log -bash: /var/log/cloud-init-output.log: No such file or directory [17:38] hazmat: right, waiting for the PPA build to succeed and then I will do another upload. [17:38] <_mup_> Bug #963304 was filed: If bootstrap node is stopped or rebooted in EC2, its address changes and all agents lose track of it < https://launchpad.net/bugs/963304 > === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away [17:51] <_mup_> juju/ftests r14 committed by gustavo@niemeyer.net [17:51] <_mup_> Fix after new environments.yaml option names. [18:27] <_mup_> juju/ftests r15 committed by gustavo@niemeyer.net [18:27] <_mup_> Tentative test timeout logic. [18:41] <_mup_> juju/ftests r16 committed by gustavo@niemeyer.net [18:41] <_mup_> Only move .ssh out of the way if not previously done by [18:41] <_mup_> an interrupted test run. [18:41] <_mup_> Also do replace ssh-keygen's input by /dev/null, so that [18:41] <_mup_> it doesn't ask for input ever. [18:49] <_mup_> Bug #963355 was filed: Agent lifecycle suport for subordinates < https://launchpad.net/bugs/963355 > [19:41] <_mup_> juju/relation-hook-context r498 committed by jim.baker@canonical.com [19:41] <_mup_> Testing around child relation hook context flushes with parent, and crresponding bug fixes === hspencer is now known as hspencer[afk] [20:29] jcastro: can I pm? [20:30] SpamapS: When you suggested "start-stop-daemon --start --oknodo --background --pidfile /run/subway.pid --startas /usr/bin/node -- subway" [20:30] which hook did you propose this go into? [20:30] the install or just in start? [20:31] or if I could do this upstart how would I do that? [20:34] or could someone point me to a charm that creates a upstart job so I can gank it [20:46] bkerensa: in the start hook. === hspencer[afk] is now known as hspencer [20:46] bkerensa: I thought I recommended how to make an upstart job too [20:48] <_mup_> juju/relation-hook-context r499 committed by jim.baker@canonical.com [20:48] <_mup_> Verify child relation hook contexts are flushed [20:50] SpamapS: I see it now and have Bug #944246 set back for review again [20:50] <_mup_> Bug #944246: Charm Needed: Subway IRC client/server < https://launchpad.net/bugs/944246 > [20:51] bkerensa: awesome, just getting ready to start another round of reviews [20:51] :D [23:18] bkerensa: subway looking good, just running a few tests. :) [23:28] <_mup_> Bug #963560 was filed: Possible intermittent failure in juju.agents.tests.test_provision.FirewallManagerTest.test_watch_service_changes_is_called < https://launchpad.net/bugs/963560 > [23:40] <_mup_> juju/relation-ids-command r499 committed by jim.baker@canonical.com [23:40] <_mup_> Initial commit [23:40] <_mup_> juju/relation-ids-command r500 committed by jim.baker@canonical.com [23:40] <_mup_> Merged upstream [23:50] :-D [23:50] SpamapS: you are the coolest person I've every known [23:51] SpamapS: begone, peon! [23:59] ring the bell! Subway promulgated