/srv/irclogs.ubuntu.com/2012/03/23/#juju.txt

_mup_juju/trunk r494 committed by kapil.thangavelu@canonical.com02:13
_mup_[trivial] remove setuptools dependencies, switch charm store back to domain, sans default-series use precise02:13
_mup_juju/relation-hook-context r496 committed by jim.baker@canonical.com03:46
_mup_Make relation id lookup robust03: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
yolandahi, 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
jamespageyolanda, sure - what are you seeing?12:34
yolandai see that error every time12:34
yolandaLXCError: debootstrap is /usr/sbin/debootstrap12:34
yolandamkdir: cannot create directory `/var/lock': File exists12:34
yolandafailed to execute template 'ubuntu'12:34
yolandaand then when i try to add a relation i see that error:12:35
yolandaNo matching endpoints12:35
yolanda2012-03-23 13:28:32,003 ERROR No matching endpoints12:35
yolandajamespage ^12:35
jamespageyolanda, looks like to different errors12:35
jamespagewhat does juju status show you ATM?12:35
jamespageto/two12:35
yolandamachines:12:36
yolanda  0:12:36
yolanda    dns-name: localhost12:36
yolanda    instance-id: local12:36
yolanda    instance-state: running12:36
yolanda    state: running12:36
yolandaservices:12:36
yolanda  openerp:12:36
yolanda    charm: local:oneiric/openerp-112:36
yolanda    relations: {}12:36
yolanda    units:12:36
yolanda      openerp/0:12:36
yolanda        machine: 012:36
yolanda        public-address: null12:36
yolanda        relations: {}12:36
yolanda        state: pending12:36
yolanda  postgresql:12:37
yolanda    charm: local:oneiric/postgresql-1512:37
yolanda    relations: {}12:37
yolanda    units:12:37
yolanda      postgresql/0:12:37
yolanda        machine: 012:37
yolanda        public-address: null12:37
yolanda        relations: {}12:37
yolanda        state: pending12:37
yolanda2012-03-23 13:36:14,209 INFO 'status' command finished successfully12:37
yolandasorry, i got disconnected, jamespage12:45
jamespageyolanda, I realised (so kept quiet) :-)12:45
yolandai pasted you the status of my machines, could you read it?12:45
jamespageyolanda, yep12:46
yolandaok12:46
* jamespage looks12:46
yolandalet me pastebin the full error12:46
jamespageyolanda, is that the official postgresql charm?12:46
yolandajamespage, yes, i grabbed with charm getall12:46
yolandathe openerp is a new one i'm building12:47
jamespageyolanda, and can you pastebin the metadata.yaml file for openerp as well please12:47
yolandathat is the error: https://pastebin.canonical.com/62911/12:48
yolandaand that the metadata from openerp: https://pastebin.canonical.com/62912/12:49
jamespageyolanda, so the reason for the No matching endpoints message is that the interfaces have different names12:50
jamespageopenerp - interface: postgresql12:50
jamespagepostgresql - interface: pgsql12:50
yolandaoh12:51
yolandafirst charm, so a newbie error :)12:51
yolandaand the /var/lock problem?12:51
jamespageyolanda, looking now - which version of ubuntu are you developing on?12:51
yolandaoneiric12:51
yolandai used a local instance because openstack was giving error12:52
yolandai would desired to use precise, but i can't at the moment12:52
yolandaalso, i changed dependency to pgsql but still have the endpoints error12:54
=== almaisan-away is now known as al-maisan
yolandajamespage ?13:06
jamespageyolanda, have you upgraded the charm in you local test deployment?13:07
yolandajamespage, a just did a getall13:07
yolandado i need to do something else?13:07
yolandamm, i destroyed environment and created one new, sorry, didn't understand the question13:08
jamespageyolanda, yes but if you change metadata.yaml for openerp you need to upgrade the charm that juju is using13:08
yolandaso just destroyed and created new one, so data is fresh13:08
jamespagejuju upgrade-charm --repository . local:openerp13:08
jamespageOK - so that should be OK13:08
yolandai'm trying again13:11
jamespageyolanda, have you seen this charm thats being worked on - http://charms.kapilt.com/~patrick-hetu/oneiric/openerp-server13:11
yolandajamespage, no , didn't see it13:13
jamespagequite new still - might be worth collaborating13:13
yolandajamespage, the thing is that we use a package that we are building inside canonical13:14
yolandai should ask for permission in the team13:14
jamespageyolanda, fair enough - that charm uses packages from a PPA for openerp13:14
jamespageits version 6 - is that up-to-date13:15
yolanda6.113:15
* jamespage knows nothing about OpenERP13:15
yolandait's our version13:15
yolandamm, it's different13:15
yolanda6.1 works very different than 6.013:15
yolandabut i see the relation between openerp and postgres, with db and db-admin, i'll try like that13:16
jamespageyolanda, sorry - X died on me13:18
yolandai was saying that 6.1 it's very different from 6.013:19
yolandano need for server and web, it comes together13:19
yolandai'm checking his metadata however, because that is the same13:19
yolandajamespage, the requires is the same, but i have this endpoint error, can something be wrong in my environment?13:20
jamespageyolanda, thinking13:23
jamespagemight be worth checking the metadata.yaml in the postgresql charm you have locally13:24
jamespageit should provide db:13:24
jamespageinterface: pgsql13:24
yolandayes, i checked13:24
jamespageack13:24
yolandait is13:24
yolandaname: postgresql13:24
yolandasummary: "object-relational SQL database (supported version)"13:24
yolandadescription: |13:24
yolanda  PostgreSQL is a fully featured object-relational database management13:24
yolanda  system.  It supports a large part of the SQL standard and is designed13: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, multiversion13:24
yolanda  concurrency control.  Graphical user interfaces and bindings for many13:24
yolanda  programming languages are available as well.13:24
yolandaprovides:13:24
yolanda  db:13:24
yolanda    interface: pgsql13:24
yolanda  db-admin:13:24
yolanda    interface: pgsql13:25
jamespageyolanda, I need to just finish off some testing - can you put you openerp charm somewhere I can see it and I'll try to reproduce13:33
yolandaok13:33
yolandajamespage, do you have access here? https://code.launchpad.net/~yolanda.robla/charms/oneiric/openerp/trunk13:37
jamespageyolanda, yep - can see that13:37
yolandai 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 test13:38
=== al-maisan is now known as almaisan-away
jcastrom_3, SpamapS, marcoceppi: let's have a call late in the afternoon before I close the contest.13:41
marcoceppijcastro: sounds good, it's going to be an easy day for me at work14:20
marcoceppijcastro: I'll try to find a decent microphone14:24
jcastroI think Dr. Mims is travelling today14:24
jcastroso it'll just be us three, I figure close the contest around EOD and then we have all next week to review14:25
jaaapwondering 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
jaaapfirst time using bzr and launchpad14:28
eb914I'm trying to install juju with orchestra but it doesn't work...14:46
eb914error: Environments configuration error: /home/localadmin/.juju/environments.yaml: environments.orchestra.default-series: required value not found14: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
jaaapGot it.. committed my first charm. Thanks for the great work of making juju.. this will bring a bright future, i'm sure15:04
yolandajamespage, did you see something strange in my charm?15:08
SpamapSeb914: that means what it says, you are missing default-series15:16
SpamapSeb914: 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
marrusljcastro++  o/15:29
jcastroSpamapS, hey, so marrusl and folks want an on the fly charm school. :)15:29
jcastromarrusl, he's usually dropping off his kid at school, but he should be around15:31
jcastroSpamapS, and he's left coast so I don't think 1:30 our time will be a problem15:31
jcastro^^ that message meant for marrusl15:31
marrusljcastro, hey.  makes sense.  good.  woo hoo, we got the A team!15:32
jcastromarrusl, 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.com15:41
_mup_Verify visibility of relation ids from a given hook context15:41
jamespageyolanda: think I know what the problem is - postgresql has two interfaces of type pgsql15:45
jamespagedb and db-admin15:45
jamespageyou prob need to be explicit15:45
jamespagejuju add-relation openerp:db postgresql:db15:45
jamespagejust testing now15:46
jamespage(sorry by other testing took a bit longer than expected)15:47
yolandajamespage, np15:47
yolandabtw, i'm going out for a while no15:47
yolandanow15:47
jamespageyolanda, OK - so when you get back I think that is the issue - just tested locally15:52
arosalesjcastro: m_3: you guys available for a quick chat with jamespage and I?16:03
arosalesjcastro: m_3: jamespage: I'll reschedule for Monday16:06
antonohi all16:14
antonoanyone have hudge desktop freezes when juju starts local linux containers?16:14
antonoi cannot even move mouse16:15
beI'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 known16:17
SpamapSantono: how much RAM do you have?16:20
SpamapSbe: you're using orchestra then?16:20
beyes16:21
SpamapSbe: you have to be able to resolve the hostnames of the machines from your client16:21
antonoSpamapS: 8GB16:21
SpamapSantono: I've started 4 containers on a machine w/ 4GB of RAM, so thats not typical16:21
antonoSpamapS: also i have SSD, can it affect lxc behavior?16:22
SpamapSantono: mine is also an SSD actually.. a 128G macbook air16:23
bewhat's the system to resolve it?16:23
SpamapSbe: DNS16:23
SpamapSbe: it should work to put that hostname in your /etc/hosts16:24
beThank you I resolved it but now the error is ERROR Cannot connect to machine MTMzMjUwNzQ3Mi42NTUzNzcyNi41MzQwMjI (perhaps still initializing): Invalid SSH key16:31
SpamapSbe: Can you explain to me what documentation you are following ? I have found that some of them miss the finer points16:33
jcastroSpamapS, 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
SpamapSjcastro: mmk, will look at it first16:50
jcastro<316:50
behttps://help.ubuntu.com/community/UbuntuCloudInfrastructure17:00
SpamapSbe: ok that one looks like the one I fixed recently17:02
be?17:03
SpamapSbe: so its possible that your installation did not go well, because your SSH key did not end up on the installed machine.17:04
beBut I can connect with the client using ssh directly17:05
SpamapSbe: thats odd17:06
SpamapSbe: on the machine, are there juju agents running? (ps auxw | grep juju)17:07
SpamapSbe: also, what version of juju do you have installed? (dpkg -l juju)17:07
beps auxw | grep juju                                          ubuntu   15043  0.0  0.1   9252   908 pts/0    S+   18:08   0:00 grep --color=auto juju17:09
SpamapSbe: ok, so most likely something failed when installing or starting up juju17:09
SpamapSbe: so where are you at now?17:29
SpamapSbe: stuck with an ssh key error?17:29
bejuju 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:417:29
SpamapSbe: 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
SpamapSbe: there's a useful tool, btw, 'pastebinit', which you can use to just do 'pastebinit < /var/log/cloud-init-output.log'17:31
hazmatSpamapS, i fixed a problem last night that was causing breakage.. the setuptools stuff from rev 486 was broken. latest fixed build is 49417:32
hazmater. good trunk rev17:33
hazmati've gone ahead and yanked the setuptools stuff, it was to support osx, but it caused issues for deploying branches17:33
hazmatppas/packages should have been okay though17:33
besudo pastebinit < /var/log/cloud-init-output.log -bash: /var/log/cloud-init-output.log: No such file or directory17:35
SpamapShazmat: 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.net17:51
_mup_Fix after new environments.yaml option names.17:51
_mup_juju/ftests r15 committed by gustavo@niemeyer.net18:27
_mup_Tentative test timeout logic.18:27
_mup_juju/ftests r16 committed by gustavo@niemeyer.net18:41
_mup_Only move .ssh out of the way if not previously done by18:41
_mup_an interrupted test run.18:41
_mup_Also do replace ssh-keygen's input by /dev/null, so that18: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.com19:41
_mup_Testing around child relation hook context flushes with parent, and crresponding bug fixes19:41
=== hspencer is now known as hspencer[afk]
bkerensajcastro: can I pm?20:29
bkerensaSpamapS: When you suggested "start-stop-daemon --start --oknodo --background --pidfile /run/subway.pid --startas /usr/bin/node -- subway"20:30
bkerensawhich hook did you propose this go into?20:30
bkerensathe install or just in start?20:30
bkerensaor if I could do this upstart how would I do that?20:31
bkerensaor could someone point me to a charm that creates a upstart job so I can gank it20:34
SpamapSbkerensa: in the start hook.20:46
=== hspencer[afk] is now known as hspencer
SpamapSbkerensa: I thought I recommended how to make an upstart job too20:46
_mup_juju/relation-hook-context r499 committed by jim.baker@canonical.com20:48
_mup_Verify child relation hook contexts are flushed20:48
bkerensaSpamapS: I see it now and have Bug #944246 set back for review again20: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
SpamapSbkerensa: awesome, just getting ready to start another round of reviews20:51
bkerensa:D20:51
SpamapSbkerensa: 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.com23:40
_mup_Initial commit23:40
_mup_juju/relation-ids-command r500 committed by jim.baker@canonical.com23:40
_mup_Merged upstream23:40
SubwayawbuS:-D23:50
SubwayawbuSSpamapS: you are the coolest person I've every known23:50
SpamapSSpamapS: begone, peon!23:51
SpamapSring the bell! Subway promulgated23:59

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