/srv/irclogs.ubuntu.com/2013/06/10/#juju.txt

=== defunctzombie is now known as defunctzombie_zz
=== thumper is now known as thumper-afk
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== noodles785 is now known as noodles775
=== thumper-afk is now known as thumper
=== TheRealMue is now known as TheMue
=== rogpeppe1 is now known as rogpeppe
=== fdehay_ is now known as fdehay
=== BradCrittenden is now known as bac_
=== wedgwood_away is now known as wedgwood
noodles775Hi wedgwood! When you've got some time, I had some problems using the execd_preinstall() helper from charm-helpers - https://code.launchpad.net/~michael.nelson/charm-helpers/mock_call_unimportable_on_precise/+merge/16801514:21
noodles775Let me know if I've missed something there, or if you'd prefer something done differently etc.14:22
vdshi all I'm trying to run the postgres charm using non ephemeral storage but I keep getting the following error http://paste.ubuntu.com/5751820/14:31
mthaddonstub, gnuoy: do you guys have any ideas here? ^14:32
mthaddon(pg persistent storage issues - not sure if something else needs configuring)14:33
stubNo, I haven't looked into the storage stuff yet.14:33
wedgwoodnoodles775: yep, that looks saner. I think I was trying to avoid side-effects a little to aggressively. I'll merge that now14:38
wedgwoodvds: oh hi. Is that ^^ what you messaged me about?14:39
noodles775sweet, thanks wedgwood14:40
vdswedgwood, yep14:47
wedgwoodvds: mthaddon: It's been a long time since I looked at that storage code. I suspect that thedac may have looked at it more recently, but I could be wrong about that.14:47
=== defunctzombie_zz is now known as defunctzombie
* wedgwood looks at the actual error14:48
thedacsorry not specific to postgres which uses the regex for device name14:48
vdswedgwood, you recall how the configs should look like?14:48
gnuoyvds, at what point are you attaching the storage ?14:48
wedgwoodvds: yeah. which charm are you using? what's the bzr revno?14:49
wedgwoodvds: or even better, the repo path and revno14:50
gnuoyvds, I can get you a config example14:50
vdsgnuoy, I'm not attaching the storage myself, how/when should I do it. lp:~charmers/charms/precise/postgresql/trunk/ revno 5014:50
vdsgnuoy, that would be great! :)14:51
gnuoyvds, is this openstack you're using ?14:52
vdsgnuoy, yep14:52
gnuoyvds, config example http://paste.ubuntu.com/5751886/14:52
gnuoyvds, you need to create the volume and then gets its euca name14:53
gnuoyonce you have that change setup the juju config with the unit name and euca volume name ( i.e. volume-map: '{"postgresql/0": "vol-00000007"}'  )14:55
vdsgnuoy, thanks, the volume must exixts, right? Should it also have a file system already?14:57
gnuoyvds, you just need to create the volume and attach it, you don't need to format it14:57
wedgwoodvds: looking at the code, it looks like that error message might actually mean "the volume is already mounted"14:58
gnuoyI seem to remember that error message covers a multitude of sins14:58
wedgwoodbah, actually I can't tell. it's either that or it's complaining that the volume is NOT mounted14:59
gnuoyvds, if this helps this is an example of attaching storage after the unit is up: http://paste.ubuntu.com/5751998/15:24
vdsgnuoy, so the persistent storage is created after the postgres unit is fired up?15:26
gnuoyvds, you can create the storage whenever and attatch it as the juju env comes up or afterwards as I've done in the pastebin15:27
gnuoyvds, fwiw I always attach the volume as the env is being initialised, not sure what the charm does with the existing data when you add attach after its started up and established its relations15:32
vdsgnuoy, this means you deploy the postgres charm first and then you attach a new volume to the juju unit, right?15:34
gnuoyvds, yes, I usually attach as soon as nova list shows the unit as active15:35
gnuoy( well actually a python script does it )15:36
=== SpamapS_ is now known as SpamapS
vdsgnuoy, thanks15:36
gnuoynp15:36
jcastroevilnickveitch: I want to add 2 pages to the Charm Authors section for the newdocs17:07
evilnickveitchok17:07
jcastroI would name these "authors-blah.jade" right?17:07
jcastrofrom looking at the naming convention17:07
evilnickveitchjcastro, that would be best17:07
jcastrois there a way to generate a blank jade from a template? or should I just copy and paste from an existing one?17:07
evilnickveitchjcastro, just take the beginning bit from one of the existing pages...17:08
evilnickveitchi.e.17:08
evilnickveitchextends inc/layout17:08
evilnickveitchblock vars17:08
evilnickveitch  - var title='Relations'17:08
evilnickveitch  - var page='charms-relations'17:08
evilnickveitchblock content17:08
evilnickveitch  article.17:08
jcastronod17:08
evilnickveitchthen slap in your html after that17:08
evilnickveitchjade requires an indent17:09
evilnickveitchfour spaces for the <section>17:09
evilnickveitchsix for <h1>17:09
evilnickveitchif you run a make when you are done, it will helpfully spit out loads of error messages at you :)17:10
jcastroack17:10
evilnickveitchbut I am working on ditching jade in the long term17:10
evilnickveitchjcastro, if you run into difficulty getting it to build properly, just push it anyhow and let me know and I will sort it out.17:18
jcastroyep17:19
jcastroalmost got policy done17:19
jcastrothen I'll do best practices17:19
=== wedgwood is now known as wedgwood_away
=== wedgwood_away is now known as wedgwood
=== marlinc_ is now known as marlinc
=== balloons_ is now known as balloons
jcastroevilnickveitch: proposing crashes bzr!17:48
jcastrobzr lp-propose lp:juju-core/docs17:49
jcastrois that correct?17:49
jcastrobzr: ERROR: exceptions.Exception: lp:~jorge/juju-core/policy-draft is not mergeable into lp:~evilnick/juju/go-juju-docs17:49
evilnickveitchjcastro, hurrah! No, i have no idea of the arcane spells needed to fix that17:53
evilnickveitchjcastro, don't you just push it back?17:55
evilnickveitchhang on, i will try and merge it from my end17:55
evilnickveitchjcastro, done!18:05
jcastroalso I get some weird jade error about -18:05
jcastroso I wasn't able to test18:05
jcastrobut hopefully I contributed enough for you to fix my niggles. :)18:05
evilnickveitchjcastro, that's fine, I'll sort out your mess :)18:06
evilnickveitchjcastro, oh yeah, i forgot to mention, jade hates tabs18:07
=== lifeless_ is now known as lifeless
evilnickveitchwhich is one of the reasons it has to die18:07
evilnickveitchbut i will fix it18:07
jcastroevilnickveitch: when does the evilnick.org stuff regen?18:17
evilnickveitchjcastro, i operate an on demand service at the moment... I will do it when i have fixed your indents!18:25
jcastrohmmm, I was adding spaces18:25
jcastroare they all over?18:25
jcastrothe indents I mean18:25
evilnickveitchjcastro, there are tabs in there as well, it likes one or the other, not both.18:26
evilnickveitchI know... it's too fussy18:27
jcastrook, I'll pay more attention next time18:27
jcastroI could have sworn I was all spaces18:27
evilnickveitchit mostly was, but there were a few. It's a real pain! That's why I am going to ditch it once the nav stuff is finalised18:30
evilnickveitchokay, it is up on evilnick now18:30
evilnickveitchthere are no links from the nav though, so you will need to go to18:30
evilnickveitchwww.evilnick.org/juju/authors-charm-policy.html18:31
evilnickveitchjcastro:, i will fix the english tomorrow :)18:32
jcastrono worries!18:38
jcastroevilnickveitch: hmm, the 2nd section is missing18:39
jcastrounless I messed that up18:39
evilnickveitchjcastro, it's there in the source, but i guess there must be a missing </> somwhere, i'll hunt it down18:46
=== jpds is now known as Guest72281
marcoceppijcastro: evilnickveitch: good standards are not being fussy :P19:03
=== BradCrittenden is now known as bac
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== wedgwood is now known as wedgwood_away

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