/srv/irclogs.ubuntu.com/2012/04/02/#juju.txt

shazzneranyone here skilled with curl on the commandline?02:31
shazznerok figured it out :)03:29
_mup_juju/states-with-principals r332 committed by kapil.thangavelu@canonical.com04:10
_mup_replace security facade with usage of concrete classes04:10
_mup_juju/states-with-principals r333 committed by kapil.thangavelu@canonical.com04:34
_mup_remove extant refs to old node security adapter04:34
shazzneranyone online? :)04:53
shazznerhave a quick question04:54
=== TheMue_ is now known as TheMue
_mup_Bug #971400 was filed: Juju should open up required ports on LXC deployments <juju:New> < https://launchpad.net/bugs/971400 >09:33
=== d0od_ is now known as d0od
=== d0od_ is now known as d0od
=== asavu_ is now known as asavu
melmothHola. i m reading the juju tutorial, and playing with it (with lxc vms locally). I m wondering, once i have deployed and exposed wordpress.. Wich url exactl shall i use to acces it ?12:14
melmothturial used is https://juju.ubuntu.com/docs/user-tutorial.html , i m using precise instead of oneiric though.12:14
melmothi can ssh into the wordpress machine, but i do not see where does it change the apache configuration to tell apache to change its htdocs to /somewhere/where/wordpress/is12:15
koolhead17melmoth: pastebin juju status12:17
melmothkoolhead17: http://pastebin.com/LUHLnZvB12:18
=== almaisan-away is now known as al-maisan
melmothi m also wondering why mysql "agent-state" set to pending btw.12:19
koolhead17melmoth: it takes sometime i suppose12:19
koolhead17melmoth: 192.168.122.129 this will give you the wordpress12:21
melmoththe package installed in 192.168.122.129  only put stuff in /usr/share/wordpress/12:21
melmothnot a single change in apacge12:21
melmothso apache is not actually serving those page12:21
melmoththat s the part i dont get12:21
koolhead17melmoth: juju charm takes care of everything for you :)12:22
melmothbut what url to use ? If i use http://129.168.122.129, i end up wiht the apache defautl page12:22
koolhead17melmoth: because all the charms are not initializew12:23
koolhead17d12:23
melmothdoes it mean i have to wait (it been this way for sometimes) or that the wordpress charm is not finished ?12:25
melmoth(like the install hook is only "apt-get install wordpress")12:25
koolhead17melmoth: there is other hooks as well in charm apart from install hook i suppose.12:26
melmothah, yep, a db-relation-changed one seems to make a syminks in /var/www12:27
melmothfunny thing is, i do not even have a /var/www directory...12:27
koolhead17melmoth: :P12:27
melmothah, yes, i have one.. i was not looing in the right box12:28
koolhead17melmoth: if you think its really too much time12:29
koolhead17try juju destroy-environment12:29
koolhead17and do a juju-bootstrap once again12:29
koolhead17followed by deploying chars again12:29
melmothI m also a bit worried about the .mrconfig warning i have when deploying  aservice http://pastebin.com/7Rt3b0CY12:39
melmothis it something i should worry about or can safely ignore ?12:39
koolhead17SpamapS: jcastro anyone around?12:44
koolhead17melmoth: i remember someone asking same question sometime back12:44
koolhead17melmoth:  what does juju status says now12:48
melmothlooks better:12:49
melmothhttp://pastebin.com/3xcq9yEw12:49
melmothbut still, the symlinks in /var/www has not been set12:50
melmothit s like the mysql-changed-thingy hook was not called12:50
koolhead17i think you need to expose the service as well12:50
melmothah did not do it this time. true.12:51
_mup_juju/security-policy-with-topology r329 committed by kapil.thangavelu@canonical.com12:55
_mup_merge states-with-principals12:55
koolhead17melmoth: is it working finally12:57
melmothnope, still  no /var/www/wordpress something12:57
melmothi have a conf call now...Will try to figure out what s happening later....12:58
koolhead17melmoth: dpkg -l juju12:58
koolhead17k12:58
melmoth0.5+bzr504-1juju4~precise112:58
* koolhead17 wonders why ask a question link https://answers.launchpad.net/ubuntu/+source/juju/+addquestion lineked on juju project page13:04
melmothhmmm. I think i ll retry on oneiric just to see if i have the same 1) behaviour and 2) funny .mrconfig waring messages13:15
koolhead17melmoth: https://answers.launchpad.net/ubuntu/+source/juju/+addquestion  <-- how about trying this13:16
koolhead17because i think someone else had same issue13:16
melmothhmm, i havet browse the existing questions good idea.13:17
melmoththere does not seem to be any question... I ll probably post one if i have the same behaviour on oneirirc then.13:18
_mup_juju/states-with-principals r334 committed by kapil.thangavelu@canonical.com13:18
_mup_security api cleanup13:18
jamespagemelmoth, koolhead17: the .mrconfig warning is not harmful (its just a file used when you use charm tools to grab all charms)13:20
jamespagenot sure why juju is trying to parse it...13:20
melmothgood to know :)13:21
koolhead17jamespage: and it gives a warning msg too13:21
jamespageyeah - I think its worth a bug report13:21
koolhead17melmoth: remove that file/directory and try a bootstrap again :)13:21
koolhead17melmoth: and as jamespage suggested a bug report :D13:22
jamespagemelmoth, I'd def test the wordpress charm using an oneiric environment - it might work on precise but most charms currently target oneiric unless explicitly stated13:23
jamespagehttp://charms.kapilt.com/charms/oneiric13:23
jamespagehttp://charms.kapilt.com/charms/precise13:23
melmothon my way to try on oneirirc then.13:24
_mup_juju/security-agents-with-identity r319 committed by kapil.thangavelu@canonical.com14:08
_mup_merge parent14:08
=== al-maisan is now known as almaisan-away
andrewsmedinahi14:51
andrewsmedinaHas anyone here ever used juju to OpenStack + keystone?14:52
jcastroSpamapS: marcoceppi: m_3: hey we should chat about the contest today, it'd be nice to close it out by Wednesday15:00
marcoceppijcastro: sounds good15:01
melmothhmmm, on oneiric, mysql service still in pending state after like 30mn.15:03
marcoceppimelmoth: what size instance/service?15:04
marcoceppiprovider*15:04
melmothm1.large in lxc container15:05
marcoceppinot sure then, I know aws and t1.micros don't work well with MySQL15:05
melmothwhat i feel frustrating is, there s not that much occuring on the juju-debug console15:06
melmothi wonder what to do to "see" what could be happening (or not...)15:07
jcastromelmoth: that happened to me this weekend15:10
* jcastro didn't investigate yet though15:10
melmothdid you fix it, did it fix itself automatically ?15:10
melmothor did you just give up ? :)15:10
jcastroI gave up and was going to follow up15:13
jcastrothough I thought it was just me15:13
koolhead17melmoth: file a bug15:23
melmothi m trying again after a destroy-environment, and a new boostrap. will give it like .... 20mn, and file a bug if it  s still pending15:24
shazznerif anyone wants to test it out, I finished (mostly) the charm for kusabax which is a 2-channel like imageboard: https://code.launchpad.net/~shazzner/charms/precise/kusabax/trunk15:31
melmothkoolhead17: i m wondering if it could be https://bugs.launchpad.net/juju/+bug/90765515:45
_mup_Bug #907655: hangs when lxc fails to start <local> <lxc> <juju:Confirmed> < https://launchpad.net/bugs/907655 >15:45
koolhead17melmoth: k15:46
melmothhowever, i do not have any "ERROR lxc_start - failed to spawn " in /var/log/syslog15:46
melmothprobably something else, i know nothing about lxc, but it looks like i can have acess to the mysql box console, so it s up15:52
=== zyga is now known as zyga-food
_mup_Bug #971664 was filed: deploying mysql service hang in "pending" state with lxc <juju:New> < https://launchpad.net/bugs/971664 >16:05
melmothwell, #971664  is it then :)16:05
_mup_Bug #971664: deploying mysql service hang in "pending" state with lxc <juju:New> < https://launchpad.net/bugs/971664 >16:05
jamespagemelmoth, are you running on precise?16:22
jamespagemelmoth, I think you might be getting some sort of distro skew16:26
jamespageas you are using juju-origin: distro16:26
jamespagejuju in oneiric is way old16:26
andrewsmedinaI'm with a problem using juju with openstack and keytone, can someone helpme?16:26
jamespagecould you try it with juju-origin: ppa please?16:26
jamespagemelmoth, ^^16:26
jamespageandrewsmedina, I can try - what are you having trouble with?16:27
koolhead17melmoth: let me pastebin you my config.yaml16:29
koolhead17i am using oneiric16:29
andrewsmedinajamespage: I'm with a problem in juju bootstrap16:30
koolhead17melmoth: http://pastebin.com/AsnUajqQ16:30
koolhead17i am using juju on oneiric and that is how my enviornment.yaml look slike16:31
andrewsmedinajamespage: juju use group info to get group owner id16:31
andrewsmedinajamespage: but with keystone, openstack returns project id instead project name16:32
jamespageandrewsmedina, OK - so you are trying to use juju against openstack?16:33
andrewsmedinajamespage: yes16:33
=== zyga-food is now known as zyga
jamespagegreat - so ATM openstack integration is through the ec2 provider16:34
andrewsmedinajamespage: The problem occurs when I use the keystone OpenStack16:34
jamespageso it does not really know about keystone16:34
melmothjamespage: i had the problem on oneiric16:34
andrewsmedinajamespage: ATM?16:34
jamespageandrewsmedina: At The Moment16:34
andrewsmedinajamespage: without keystone works fine16:35
melmothand yep i was using juju-origin distro, will try with origin:ppa in a couple of minutes16:35
jamespagemelmoth, I think that will fix it up - bear in mind that the version in the distro in oneiric is quite along way behind the version inthe PPA interms of features16:36
melmothi did not pay attention to my origin setting.16:37
melmothi just installed juju from a ppa and some charm from bzr16:37
melmothand used the environment.yaml that once worked.16:37
andrewsmedinajamespage: The problem occurs in this line http://bazaar.launchpad.net/~juju/juju/trunk/view/head:/juju/providers/ec2/launch.py#L9816:38
melmothok, deployement in progress.Let s wait a bit16:40
jamespageandrewsmedina, ah - I see - so instead of the project_name you get an id back - which then does not work16:42
andrewsmedinajamespage: yes, but the keystone way is returns the id instead name16:45
avoineandrewsmedina: can you show me your .juju/environments.yaml file (without the passwords) and tell me what is the version of openstack your using?16:48
andrewsmedinaavoine: I'm using diablo16:53
avoineok16:53
avoineandrewsmedina: and your using what as ec2-uri ?16:53
andrewsmedinaavoine: http://dpaste.org/NhKzW/16:55
avoineandrewsmedina: your configured the right way16:56
avoineandrewsmedina: I guess it's a bug in the keystone package16:57
jamespageandrewsmedina, I suspect that this is a bug in openstack - keystone landed as a core package very late16:57
jamespageand the ec2 API is not the most loved thing upstream16:57
jamespageavoine, great minds think alike :-)16:57
avoinehehe16:58
avoineandrewsmedina: I'm using the last essex release and it works fine16:58
avoineif you can, I suggest you to upgrade16:58
andrewsmedinaavoine: upgrade openstack?16:59
andrewsmedinaavoine: what openstack version you use?16:59
avoineandrewsmedina: yes16:59
andrewsmedinaavoine: diablo is a stable one17:00
melmothagent-state: started \o/ Thanks jamespage and koolhead1717:00
avoineandrewsmedina: I'm using essex release candidate but if you wait 3 days it's gona be stable17:00
avoineandrewsmedina: http://wiki.openstack.org/EssexReleaseSchedule17:00
andrewsmedinaavoine: I will upgrade to essex version here17:00
avoineandrewsmedina: yeah diablo is stable but keystone have a lot of improvement in the essex release17:01
avoineandrewsmedina: if you need help with that, you can ping me17:01
jamespagemelmoth, \o/17:02
andrewsmedinaavoine: can you show your euca-describe-instances outuput?17:03
avoineandrewsmedina: http://paste.openstack.org/show/12356/17:05
shazznerare there any charms at the moment that depend on tomcat7?17:10
shazznerI'd like to see how the relation is joined17:11
jcastrohey shazzner, are you interested in reviewing charms at some point?17:15
jcastroI'd like to grow the amount of reviewers on charms too17:15
andrewsmedinaavoine: thanks17:18
shazznerjcastro: yeah sure :)17:28
shazznerhuh, nothing in the charm store depends on tomcat that I could see17:34
=== d0od_ is now known as d0od
=== d0od_ is now known as d0od
marcoceppishazzner: I've got some feedback for your kusabax charm18:11
=== d0od_ is now known as d0od
shazznermarcoceppi: awesome18:20
=== d0od_ is now known as d0od
=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
_mup_juju/relation-hook-context r519 committed by jim.baker@canonical.com18:51
_mup_Logging of setting changes are labeled if they are not on an implied relation; docstrings/comments18:51
=== zyga is now known as zyga-afk
smoserhey..19:36
smoser http://paste.ubuntu.com/911936/19:36
smoserwhat is calling hostname -f19:36
smoserhazmat, SpamapS ^19:37
marcoceppiIt's probably the db-reltation-joined hook19:39
shazznerhow do domains work with juju?19:55
shazznerin kusabax it requires you to set the domain in teh config file19:55
shazznerbut if you wanted to migrate to blah.com how would you set a hook for that?19:56
marcoceppishazzner: you could have it as a config option20:03
marcoceppithe charm would automatically write the instance URL20:03
marcoceppithen in config-changed have an option for site-domain or something20:03
=== Daviey_ is now known as Daviey
shazznermarcoceppi: ok, add it to the config.yaml that's what I was thinking thanks! :)20:31
marcoceppiyup, there's a few other things that I'm writing up in the bug report that are blockers though :\20:31
=== d0od_ is now known as d0od
=== d0od__ is now known as d0od
marcoceppiSweet found a bug with wget21:06
andrewgaugerSo I was installing Ubuntu 12.04 and it mentioned Juju.  I was wondering if there was any way to bring juju to the Mac so we can support our current developers.21:36
=== s1aden is now known as sladen
robbiewandrewgauger: we have plans for that during the next cycle, 12.10, and will probably add it via our Backports archive to 12.0421:41
andrewgaugerVery exciting times.  Best of luck!21:43
hazmatsmoser, the unit agent is to identify the net address22:12
jimbakermy oscon talk on "jython concurrency" was accepted22:13
imbrandonandrewgauger: yes thats one of my main goals ( juju on the Mac )23:16
bkerensaSpamapS: any news on the juju contest?23:46
shazznerjuju on mac would be interesting23:52

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