[02:31] <shazzner> anyone here skilled with curl on the commandline?
[03:29] <shazzner> ok figured it out :)
[04:10] <_mup_> juju/states-with-principals r332 committed by kapil.thangavelu@canonical.com
[04:10] <_mup_> replace security facade with usage of concrete classes
[04:34] <_mup_> juju/states-with-principals r333 committed by kapil.thangavelu@canonical.com
[04:34] <_mup_> remove extant refs to old node security adapter
[04:53] <shazzner> anyone online? :)
[04:54] <shazzner> have a quick question
[09:33] <_mup_> Bug #971400 was filed: Juju should open up required ports on LXC deployments <juju:New> < https://launchpad.net/bugs/971400 >
[12:14] <melmoth> Hola. 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] <melmoth> turial used is https://juju.ubuntu.com/docs/user-tutorial.html , i m using precise instead of oneiric though.
[12:15] <melmoth> i 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/is
[12:17] <koolhead17> melmoth: pastebin juju status
[12:18] <melmoth> koolhead17: http://pastebin.com/LUHLnZvB
[12:19] <melmoth> i m also wondering why mysql "agent-state" set to pending btw.
[12:19] <koolhead17> melmoth: it takes sometime i suppose
[12:21] <koolhead17> melmoth: 192.168.122.129 this will give you the wordpress
[12:21] <melmoth> the package installed in 192.168.122.129  only put stuff in /usr/share/wordpress/
[12:21] <melmoth> not a single change in apacge
[12:21] <melmoth> so apache is not actually serving those page
[12:21] <melmoth> that s the part i dont get
[12:22] <koolhead17> melmoth: juju charm takes care of everything for you :)
[12:22] <melmoth> but what url to use ? If i use http://129.168.122.129, i end up wiht the apache defautl page
[12:23] <koolhead17> melmoth: because all the charms are not initializew
[12:23] <koolhead17> d
[12:25] <melmoth> does 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:26] <koolhead17> melmoth: there is other hooks as well in charm apart from install hook i suppose.
[12:27] <melmoth> ah, yep, a db-relation-changed one seems to make a syminks in /var/www
[12:27] <melmoth> funny thing is, i do not even have a /var/www directory...
[12:27] <koolhead17> melmoth: :P
[12:28] <melmoth> ah, yes, i have one.. i was not looing in the right box
[12:29] <koolhead17> melmoth: if you think its really too much time
[12:29] <koolhead17> try juju destroy-environment
[12:29] <koolhead17> and do a juju-bootstrap once again
[12:29] <koolhead17> followed by deploying chars again
[12:39] <melmoth> I m also a bit worried about the .mrconfig warning i have when deploying  aservice http://pastebin.com/7Rt3b0CY
[12:39] <melmoth> is it something i should worry about or can safely ignore ?
[12:44] <koolhead17> SpamapS: jcastro anyone around?
[12:44] <koolhead17> melmoth: i remember someone asking same question sometime back
[12:48] <koolhead17> melmoth:  what does juju status says now
[12:49] <melmoth> looks better:
[12:49] <melmoth> http://pastebin.com/3xcq9yEw
[12:50] <melmoth> but still, the symlinks in /var/www has not been set
[12:50] <melmoth> it s like the mysql-changed-thingy hook was not called
[12:50] <koolhead17> i think you need to expose the service as well
[12:51] <melmoth> ah did not do it this time. true.
[12:55] <_mup_> juju/security-policy-with-topology r329 committed by kapil.thangavelu@canonical.com
[12:55] <_mup_> merge states-with-principals
[12:57] <koolhead17> melmoth: is it working finally
[12:57] <melmoth> nope, still  no /var/www/wordpress something
[12:58] <melmoth> i have a conf call now...Will try to figure out what s happening later....
[12:58] <koolhead17> melmoth: dpkg -l juju
[12:58] <koolhead17> k
[12:58] <melmoth> 0.5+bzr504-1juju4~precise1
[13:04]  * koolhead17 wonders why ask a question link https://answers.launchpad.net/ubuntu/+source/juju/+addquestion  lineked on juju project page
[13:15] <melmoth> hmmm. I think i ll retry on oneiric just to see if i have the same 1) behaviour and 2) funny .mrconfig waring messages
[13:16] <koolhead17> melmoth: https://answers.launchpad.net/ubuntu/+source/juju/+addquestion  <-- how about trying this
[13:16] <koolhead17> because i think someone else had same issue
[13:17] <melmoth> hmm, i havet browse the existing questions good idea.
[13:18] <melmoth> there 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.com
[13:18] <_mup_> security api cleanup
[13:20] <jamespage> melmoth, koolhead17: the .mrconfig warning is not harmful (its just a file used when you use charm tools to grab all charms)
[13:20] <jamespage> not sure why juju is trying to parse it...
[13:21] <melmoth> good to know :)
[13:21] <koolhead17> jamespage: and it gives a warning msg too
[13:21] <jamespage> yeah - I think its worth a bug report
[13:21] <koolhead17> melmoth: remove that file/directory and try a bootstrap again :)
[13:22] <koolhead17> melmoth: and as jamespage suggested a bug report :D
[13:23] <jamespage> melmoth, I'd def test the wordpress charm using an oneiric environment - it might work on precise but most charms currently target oneiric unless explicitly stated
[13:23] <jamespage> http://charms.kapilt.com/charms/oneiric
[13:23] <jamespage> http://charms.kapilt.com/charms/precise
[13:24] <melmoth> on my way to try on oneirirc then.
[14:08] <_mup_> juju/security-agents-with-identity r319 committed by kapil.thangavelu@canonical.com
[14:08] <_mup_> merge parent
[14:51] <andrewsmedina> hi
[14:52] <andrewsmedina> Has anyone here ever used juju to OpenStack + keystone?
[15:00] <jcastro> SpamapS: marcoceppi: m_3: hey we should chat about the contest today, it'd be nice to close it out by Wednesday
[15:01] <marcoceppi> jcastro: sounds good
[15:03] <melmoth> hmmm, on oneiric, mysql service still in pending state after like 30mn.
[15:04] <marcoceppi> melmoth: what size instance/service?
[15:04] <marcoceppi> provider*
[15:05] <melmoth> m1.large in lxc container
[15:05] <marcoceppi> not sure then, I know aws and t1.micros don't work well with MySQL
[15:06] <melmoth> what i feel frustrating is, there s not that much occuring on the juju-debug console
[15:07] <melmoth> i wonder what to do to "see" what could be happening (or not...)
[15:10] <jcastro> melmoth: that happened to me this weekend
[15:10]  * jcastro didn't investigate yet though
[15:10] <melmoth> did you fix it, did it fix itself automatically ?
[15:10] <melmoth> or did you just give up ? :)
[15:13] <jcastro> I gave up and was going to follow up
[15:13] <jcastro> though I thought it was just me
[15:23] <koolhead17> melmoth: file a bug
[15:24] <melmoth> i m trying again after a destroy-environment, and a new boostrap. will give it like .... 20mn, and file a bug if it  s still pending
[15:31] <shazzner> if 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/trunk
[15:45] <melmoth> koolhead17: i m wondering if it could be https://bugs.launchpad.net/juju/+bug/907655
[15:45] <_mup_> Bug #907655: hangs when lxc fails to start <local> <lxc> <juju:Confirmed> < https://launchpad.net/bugs/907655 >
[15:46] <koolhead17> melmoth: k
[15:46] <melmoth> however, i do not have any "ERROR lxc_start - failed to spawn " in /var/log/syslog
[15:52] <melmoth> probably something else, i know nothing about lxc, but it looks like i can have acess to the mysql box console, so it s up
[16:05] <_mup_> Bug #971664 was filed: deploying mysql service hang in "pending" state with lxc <juju:New> < https://launchpad.net/bugs/971664 >
[16:05] <melmoth> well, #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:22] <jamespage> melmoth, are you running on precise?
[16:26] <jamespage> melmoth, I think you might be getting some sort of distro skew
[16:26] <jamespage> as you are using juju-origin: distro
[16:26] <jamespage> juju in oneiric is way old
[16:26] <andrewsmedina> I'm with a problem using juju with openstack and keytone, can someone helpme?
[16:26] <jamespage> could you try it with juju-origin: ppa please?
[16:26] <jamespage> melmoth, ^^
[16:27] <jamespage> andrewsmedina, I can try - what are you having trouble with?
[16:29] <koolhead17> melmoth: let me pastebin you my config.yaml
[16:29] <koolhead17> i am using oneiric
[16:30] <andrewsmedina> jamespage: I'm with a problem in juju bootstrap
[16:30] <koolhead17> melmoth: http://pastebin.com/AsnUajqQ
[16:31] <koolhead17> i am using juju on oneiric and that is how my enviornment.yaml look slike
[16:31] <andrewsmedina> jamespage: juju use group info to get group owner id
[16:32] <andrewsmedina> jamespage: but with keystone, openstack returns project id instead project name
[16:33] <jamespage> andrewsmedina, OK - so you are trying to use juju against openstack?
[16:33] <andrewsmedina> jamespage: yes
[16:34] <jamespage> great - so ATM openstack integration is through the ec2 provider
[16:34] <andrewsmedina> jamespage: The problem occurs when I use the keystone OpenStack
[16:34] <jamespage> so it does not really know about keystone
[16:34] <melmoth> jamespage: i had the problem on oneiric
[16:34] <andrewsmedina> jamespage: ATM?
[16:34] <jamespage> andrewsmedina: At The Moment
[16:35] <andrewsmedina> jamespage: without keystone works fine
[16:35] <melmoth> and yep i was using juju-origin distro, will try with origin:ppa in a couple of minutes
[16:36] <jamespage> melmoth, 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 features
[16:37] <melmoth> i did not pay attention to my origin setting.
[16:37] <melmoth> i just installed juju from a ppa and some charm from bzr
[16:37] <melmoth> and used the environment.yaml that once worked.
[16:38] <andrewsmedina> jamespage: The problem occurs in this line http://bazaar.launchpad.net/~juju/juju/trunk/view/head:/juju/providers/ec2/launch.py#L98
[16:40] <melmoth> ok, deployement in progress.Let s wait a bit
[16:42] <jamespage> andrewsmedina, ah - I see - so instead of the project_name you get an id back - which then does not work
[16:45] <andrewsmedina> jamespage: yes, but the keystone way is returns the id instead name
[16:48] <avoine> andrewsmedina: can you show me your .juju/environments.yaml file (without the passwords) and tell me what is the version of openstack your using?
[16:53] <andrewsmedina> avoine: I'm using diablo
[16:53] <avoine> ok
[16:53] <avoine> andrewsmedina: and your using what as ec2-uri ?
[16:55] <andrewsmedina> avoine: http://dpaste.org/NhKzW/
[16:56] <avoine> andrewsmedina: your configured the right way
[16:57] <avoine> andrewsmedina: I guess it's a bug in the keystone package
[16:57] <jamespage> andrewsmedina, I suspect that this is a bug in openstack - keystone landed as a core package very late
[16:57] <jamespage> and the ec2 API is not the most loved thing upstream
[16:57] <jamespage> avoine, great minds think alike :-)
[16:58] <avoine> hehe
[16:58] <avoine> andrewsmedina: I'm using the last essex release and it works fine
[16:58] <avoine> if you can, I suggest you to upgrade
[16:59] <andrewsmedina> avoine: upgrade openstack?
[16:59] <andrewsmedina> avoine: what openstack version you use?
[16:59] <avoine> andrewsmedina: yes
[17:00] <andrewsmedina> avoine: diablo is a stable one
[17:00] <melmoth> agent-state: started \o/ Thanks jamespage and koolhead17
[17:00] <avoine> andrewsmedina: I'm using essex release candidate but if you wait 3 days it's gona be stable
[17:00] <avoine> andrewsmedina: http://wiki.openstack.org/EssexReleaseSchedule
[17:00] <andrewsmedina> avoine: I will upgrade to essex version here
[17:01] <avoine> andrewsmedina: yeah diablo is stable but keystone have a lot of improvement in the essex release
[17:01] <avoine> andrewsmedina: if you need help with that, you can ping me
[17:02] <jamespage> melmoth, \o/
[17:03] <andrewsmedina> avoine: can you show your euca-describe-instances outuput?
[17:05] <avoine> andrewsmedina: http://paste.openstack.org/show/12356/
[17:10] <shazzner> are there any charms at the moment that depend on tomcat7?
[17:11] <shazzner> I'd like to see how the relation is joined
[17:15] <jcastro> hey shazzner, are you interested in reviewing charms at some point?
[17:15] <jcastro> I'd like to grow the amount of reviewers on charms too
[17:18] <andrewsmedina> avoine: thanks
[17:28] <shazzner> jcastro: yeah sure :)
[17:34] <shazzner> huh, nothing in the charm store depends on tomcat that I could see
[18:11] <marcoceppi> shazzner: I've got some feedback for your kusabax charm
[18:20] <shazzner> marcoceppi: awesome
[18:51] <_mup_> juju/relation-hook-context r519 committed by jim.baker@canonical.com
[18:51] <_mup_> Logging of setting changes are labeled if they are not on an implied relation; docstrings/comments
[19:36] <smoser> hey..
[19:36] <smoser>  http://paste.ubuntu.com/911936/
[19:36] <smoser> what is calling hostname -f
[19:37] <smoser> hazmat, SpamapS ^
[19:39] <marcoceppi> It's probably the db-reltation-joined hook
[19:55] <shazzner> how do domains work with juju?
[19:55] <shazzner> in kusabax it requires you to set the domain in teh config file
[19:56] <shazzner> but if you wanted to migrate to blah.com how would you set a hook for that?
[20:03] <marcoceppi> shazzner: you could have it as a config option
[20:03] <marcoceppi> the charm would automatically write the instance URL
[20:03] <marcoceppi> then in config-changed have an option for site-domain or something
[20:31] <shazzner> marcoceppi: ok, add it to the config.yaml that's what I was thinking thanks! :)
[20:31] <marcoceppi> yup, there's a few other things that I'm writing up in the bug report that are blockers though :\
[21:06] <marcoceppi> Sweet found a bug with wget
[21:36] <andrewgauger> So 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:41] <robbiew> andrewgauger: we have plans for that during the next cycle, 12.10, and will probably add it via our Backports archive to 12.04
[21:43] <andrewgauger> Very exciting times.  Best of luck!
[22:12] <hazmat> smoser, the unit agent is to identify the net address
[22:13] <jimbaker> my oscon talk on "jython concurrency" was accepted
[23:16] <imbrandon> andrewgauger: yes thats one of my main goals ( juju on the Mac )
[23:46] <bkerensa> SpamapS: any news on the juju contest?
[23:52] <shazzner> juju on mac would be interesting