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