/srv/irclogs.ubuntu.com/2014/06/23/#juju.txt

=== jcsackett_ is now known as jcsackett
mwhudsonhm02:19
mwhudsonwhen using the manual provider, can you tell the added machines apart somehow?02:19
=== vladk|offline is now known as vladk
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
sparkiegeektvansteenburgh: hi could you take a look at https://code.launchpad.net/~adam-collard/charms/precise/reviewboard/trunk/+merge/224041 it fixes a bug in installation and adds a bunch of unit tests07:14
=== CyberJacob is now known as CyberJacob|Away
=== b0c1_ is now known as boci^
=== boci^ is now known as b0c1_
=== b0c1_ is now known as boci^
=== boci^ is now known as b0c1_
=== b0c1_ is now known as boci^
=== boci^ is now known as b0c1_
=== b0c1_ is now known as boci^
=== boci^ is now known as b0c1_
=== b0c1_ is now known as boci^
=== boci^ is now known as b0c1_
jamespageniedbalski, around ? looking at the ceph-osd merge proposal you made10:11
=== vladk|offline is now known as vladk
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
galebbaI am trying to colocate few openstack services in to a single maas node with lxc containers. however when i deploy them from juju, they always show up as agent pending in juju status. I can see all the containers are up and running. Any idea how to troubleshoot ?12:15
lazypowergalebba: is there anything showing up in machine-0.log that provides a hint?12:23
=== vladk is now known as vladk|offline
automatemecolemacan anyone tell me how I can upgrade my juju environment? I've tried juju upgrade-juju but it remains at 1.18.113:03
automatemecolemaI've add the juju/stable ppa and have done an apt-get update13:03
jcastroachiang, hey, I found this wrt. our last conversation: http://askubuntu.com/questions/262833/how-do-i-force-juju-to-deploy-a-fresh-charm-not-a-cached-one13:05
automatemecolemanevermind... didn't realize I can just update it from apt-get13:08
=== vladk|offline is now known as vladk
automatemecolemaSo I'm getting an error creating a blank charm here it is: https://gist.github.com/anonymous/fe34ed482cc45508de23 Not sure what to make of it13:11
lazypowerautomatemecolema: thats a known regression as of Friday in charm-tools. There's some new charm templating code to blame there.13:12
automatemecolemaSo what should I do about it?13:13
automatemecolemaNot sure how I can roll back to an older version13:13
marcoceppiautomatemecolema: there's a new release that fixes this coming out today13:14
automatemecolemafantastic13:15
automatemecolema:)13:15
lazypowerautomatemecolema: https://bugs.launchpad.net/charm-tools/+bug/1332664 - looks like it was fixed in trunk, its just not released.13:15
lazypoweroh13:15
lazypowerlooks like marco's on it :)13:15
automatemecolemaUntil the fix is released can someone point me to where I can pull the bits from a previous working version?13:17
automatemecolemalooks like I can download source files from launchpad, but only for 1.2.9 or 1.3.0, looks like tons of bugs in 1.3.013:25
tvansteenburgh1.2.9 should be fine13:31
automatemecolemaYep I just installed 1.2.9 from source13:33
tvansteenburghautomatemecolema: note that prior to 1.3 'charm create' can only create bash charms13:34
automatemecolemaSo what can charm create do in 1.3+13:38
tvansteenburghpython charms13:38
automatemecolemaAnd that's why 1.3.1 is broken because it's trying to create symbolic links for some python hooks?13:39
tvansteenburghand it adds a plugin system for charm templates so we can add more template, e.g. ansible-based charms13:39
tvansteenburghthere were several bugs, in your instance that's not the problem13:39
jamespagemarcoceppi, around? wanted to chat about mysql and how we might make it more multi-network aware13:44
marcoceppijamespage: I am around, but I'm a bit tied up at the moment. Give me an hour?13:44
jamespagemarcoceppi, works for me13:44
marcoceppitvansteenburgh: I've built a prelim release of 1.3.2, want to test it?13:55
tvansteenburghyes13:55
marcoceppiit looks good on my system13:55
tvansteenburghmarcoceppi: how do i install it?13:56
marcoceppitvansteenburgh: uploading the deb to my server, one sec13:56
tvansteenburghk13:56
marcoceppitvansteenburgh: http://marcanonical.com/charm-tools_1.3.2-0ubuntu1_all.deb13:57
tvansteenburghthanks, testing13:57
tvansteenburghmarcoceppi: it's good14:06
marcoceppitvansteenburgh: sweet, pressing now14:06
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
marcoceppiautomatemecolema: new tools released, should be available in apt in 15-20 mins14:11
automatemecolemamarcoceppi: thanks watching some of the charm school vids right now :/14:12
=== marcoceppi changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: mceppi & jcastro || News and stuff: http://reddit.com/r/juju
=== marcoceppi changed the topic of #juju to: Welcome to Juju! || Docs: http://juju.ubuntu.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://goo.gl/9yBZuv || Unanswered Questions: http://goo.gl/dNj8CP || Weekly Reviewers: marcoceppi & jcastro || News and stuff: http://reddit.com/r/juju
marcoceppiautomatemecolema: cool, keep in mind if you want the same charm create template that was generated during those charm schools you'll need to use `charm create -t bash`14:13
automatemecolemaSo moving forward python is the wave of the future of hooks in a charm?14:13
automatemecolemais there some major lingering differences in 1.3+ that will require some new charm school vids to point out?14:15
automatemecolemaAlso, will the charm school live streaming be a normal scheduled event in the future, is this just something Canonical/Ubuntu is doing to get awareness out there about juju and charms?14:19
marcoceppiautomatemecolema: we do it about every two weeks14:22
marcoceppinext one is this Friday, IIRC14:22
sparkiegeekmarcoceppi: jcastro: hi guys! could you please give some review love to https://code.launchpad.net/~adam-collard/charms/precise/reviewboard/trunk/+merge/224041? It fixes a bug in installation which is a blocker (and also adds some lovely unit tests)14:22
jcastroooooooh14:23
marcoceppisparkiegeek: will do, thanks for the heads up!14:23
sparkiegeekmarcoceppi: cheers!14:23
dpb1niedbalski: hey, did you see my review comments?  thoughts?  I'd like to get this merged up, if possible.14:31
dpb1btw: https://code.launchpad.net/~davidpbritton/charms/precise/apache2/avoid-regen-cert/+merge/22110214:36
niedbalskidpb1, answered, just minor observations.14:57
=== niemeyer_ is now known as niemeyer
automatemecolemajuju pulled down the bits for 1.3.2 . The template charm looks quite a bit different than from 1.2 versions15:08
=== hatch__ is now known as hatch
lazypowerautomatemecolema: by default it now specs out a python charm15:13
lazypowerautomatemecolema: if you wish, you can pass -t bash and it will generate a bash charm template. We recommend python based charms as its easier to unit test and typically yields higher quailty charms.15:13
automatemecolemalazypower thanks for the explantation. We are planning on use puppet to build charms with, and wonder if using bash for now is the best route15:15
lazypowerautomatemecolema: Bash is a good option. There's a precise charm for puppetmaster that may have the template structure for you - i'm not real familiar with teh charm15:16
automatemecolemaDoes anyone have a charm that I can use as a template to see how others have codified their charms with config management toolsets like chef, puppet, ansible, etc etc.15:16
lazypowerbut if you find it to be of help/use - Let us know. We'd love to build a template for puppet charms as well.15:16
automatemecolemaYea we are wanting to leverage puppet enterprise, so it seems we might have to write new charms to work with PE15:17
marcoceppiautomatemecolema: you need to use `charm create -t bash`, as I mentioned earlier, to follow along in the video15:17
marcoceppiwhy is my buffer not refreshing until I send a message15:17
marcoceppistupid IRC client15:17
lazypowerautomatemecolema: a good chef example is the rails charm, puppet master for puppet - theres a branch for Elastic Search using ansible here: https://code.launchpad.net/~michael.nelson/charms/precise/elasticsearch/trunk15:17
automatemecolemalazypower thanks reviewing the code on launchpad now15:19
automatemecolemaIs there documentation around the charm-helpers.yaml file? Not sure what all options are available to configure it with15:21
automatemecolemalazypower: looks like that example is using ansible? Same difference when using it as a reference for how others are building using config management15:24
lazypowerautomatemecolema: ah, i just pulled up puppet-master and its in bash. Not puppet - so yeah. Following the rails / elastic search charm pattern will help15:25
lazypowerboth of which call the external config management framework from bash hooks.15:25
marcoceppilazypower automatemecolema there is a puppet charm somewhere, I just can't seem to find it15:28
marcoceppimhall119: can  you comment on this when you get a chance? https://bugs.launchpad.net/charms/+bug/131728115:29
_mup_Bug #1317281: New Charm: go-pronto <Juju Charms Collection:New> <https://launchpad.net/bugs/1317281>15:29
lazypoweri remember seeing one too, but had the same results.15:29
=== sherlock_ is now known as Guest97229
Guest97229Hello. I have created containers for diffferent OpenStack services on one of the nodes. However I don't know the credentials to ssh into those lxc containers15:35
dpb1thanks niedbalski, if you agree, could you mark your review and LGTM?15:39
dpb1niedbalski: (I just replied, might take a sec to show up)15:40
automatemecolemaGuest97229 juju ssh {machine #}15:40
automatemecolemaAny good docs around configuring security for your juju environment?15:44
automatemecolemabest practice for a prod deployment maybe?15:44
automatemecolemagoing to the exposed juju-gui service using the password found in the .jenv files seems fairly insecure15:45
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
marcoceppiautomatemecolema: what is insecure about it to you?15:53
mhall119marcoceppi: commented15:55
X-warriorHow could I add a config that it is the file path to a file?16:02
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
danhariboI'm not sure if I'm missing something here; how do I deploy a charm that uses git over ssh to retrieve the repository, I don't see how I would set up the SSH keys for this16:15
automatemecolemamacroceppi: 1. Password is in clear text in a configuration file. 2. No way to delegate access rights to the juju environment (all or nothing scenario)16:20
=== rogpeppe1 is now known as rogpeppe
tvansteenburghautomatemecolema: re: charm-helpers.yaml, this may be helpful -> https://pythonhosted.org/charmhelpers/getting-started.html#updating-charmhelpers-packages16:53
wrale_must all juju charm running nodes have direct access to the public internet, so that they may install from the charm store?  i'm trying to deploy juju-gui, but i'm on a private network... bootstrap worked when i did sync-tools.. now what?16:54
tvansteenburghwrale_: most charms will try to install packages from apt, at a minimum17:02
tvansteenburghwrale_: this may be useful: https://juju.ubuntu.com/docs/howto-proxies.html17:03
wrale_tvansteenburgh: thank you.. i'm using maas.. i was hoping its deb squid would take care of this for me.. thanks for the link.. will look17:04
danhariboI kepe running into "/etc/ansible/host_vars/localhost: Expecting property name: line 1 column 1 (char 1)" during the install of python-django17:09
danharibois this charm broken or what?17:09
automatemecolematvansteenburgh: thanks lots of good stuff on that site17:12
tvansteenburghmusic to my ears :)17:12
schegihi playing around with maas/juju for a couple of days. want to deploy openstack/ceph ha cluster. is there a way to customize network configuration of the ceph charm? like to have two networks public/cluster different from the public network used by juju itself. Additionall i like to have customized osd (journal device / data device)17:12
schegiosds should be easy. just deploying naked and add osds later. but changing the networks in a deployed ceph environment would mean to replace the monitors and i am not shure if this would reflect back to juju-relations17:15
tvansteenburghdanharibo: does it break in the install hook? can you pastebin the contents of /etc/ansible/host_vars/localhost ?17:15
danharibohttps://gist.github.com/danharibo/0262671fa222564b166317:15
danhariboyes, 'hook failed: "install"'17:16
=== vladk|offline is now known as vladk
tvansteenburghdanharibo: my guess is that charmhelpers for python-django need to be upgraded17:16
tvansteenburghi recall a bug fix relevant to this issue17:17
danharibothis one? https://code.launchpad.net/~patrick-hetu/charms/precise/python-django/charmhelpers/+merge/21635117:17
danharibothat was one of things I found while searching but I wasn't sure how it related17:17
tvansteenburghdanharibo: no, let me see if i can find it17:18
tvansteenburghdanharibo: https://bugs.launchpad.net/charm-helpers/+bug/131803617:19
_mup_Bug #1318036: ansible thinks /etc/ansible/host_vars/localhost format is json <Charm Helpers:Fix Committed> <https://launchpad.net/bugs/1318036>17:19
tvansteenburghso this was fixed in charmhelpers but python-django doesn't have it yet17:20
automatemecolemaI notice when build things on my juju environment bootstrapped to Amazon, it throws tons of security groups out there. Is there anyway of making sense of what security groups match what, and any way to tidy this up a bit?17:21
danharibotvansteenburgh: according to the merge, commit 62 fixes the issue17:21
tvansteenburghdanharibo: link?17:22
danharibohttps://code.launchpad.net/~patrick-hetu/charms/precise/python-django/charmhelpers/+merge/21635117:22
tvansteenburghdanharibo: ah, theory busted :(17:22
tvansteenburghoh wait17:23
tvansteenburghdanharibo: i'm not sure these changes have made it into the charm store yet17:24
danhariboyeah that might be the issue17:24
Delair_how can i download the icehouse package for juju17:30
automatemecolemaDelair_: you mean the icehouse charms?17:36
danharibotvansteenburgh: you were right.17:36
schegiDelair you should go for the trusty packages as far as i know (juju charm get lp:trusty/XXX )17:36
schegihttps://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/OpenStackCharms17:37
schegior set your series to trusty in the environments17:38
schegibut correct me if i am wrong also kind of new to juju and charms17:39
DelairSORRY I LOST CONNECTION.. I meant to say that when i deploy openstack using juju it deploys grizzly.. I know the dashboard of icehouse is different17:39
sarnoldDelair: < schegi> or set your series to trusty in the environments < schegi> but correct me if i am wrong also kind of new to juju and charms17:39
schegihttps://wiki.ubuntu.com/TrustyTahr/ReleaseNotes/OpenStackCharms17:40
schegisomeone able to help a litte with the ceph charm? wondering if there is a way to customize network settings.17:41
sarnoldDelair_: http://paste.ubuntu.com/7691406/17:42
jamespageschegi, what are you looking todo?17:42
schegiok got juju bootstarped and it uses lets say eth0 an 1GBit interface. now i like to deploy ceph to three nodes and i want ceph to use two other interfaces as its public/custer network.17:44
schegiin a manual deployment you could pass the public network ="interface" and cluster network="interface" parameter to your ceph.conf. But the charm does not have any options to do this. Changing it after the deployment would mean to replace monitors and i have no idea how this affect juju and relations made to the ceph charm. just adding these parameters to the template in the charm breaks the deployment.17:48
Delairschegi: sure make sense.. Let me do the change from precious to trusty and test17:50
schegijamespage found this http://askubuntu.com/questions/469013/how-can-i-configure-the-public-and-cluster-network-with-the-juju-ceph-charm  similar setting. doing it post deploy does not make sense. was wondering what to tweak in the pulled charm sources.17:55
schegiDelair under precise adding openstack-origin: cloud:precise-icehouse to the config.yaml and juju deploy -c config.yaml should to the trick. take a look at the link17:59
* schegi 18:04
jamespageschegi, I've started work on making the ceph charms and their clients network aware - anything with a /network-splits suffix under https://code.launchpad.net/~james-page/ is relevant18:07
schegijamespage looks like that would do the trick. thy i will give it a try.18:11
jamespageschegi, configuring the actual network interfaces themselves is outside the scope of the charm - but if configured, ceph will use them18:11
schegithats enough, networks are already configured as long as it uses given networks (by ip) and later relations are working i am perfectly fine.18:12
danharibohmm, I issued remove-service and now lxc is just chewing up CPU18:13
=== CyberJacob|Away is now known as CyberJacob
kirklandcan someone tell me why my icon.svg isn't working?  https://jujucharms.com/~kirkland/precise/yo-3/?text=yo18:40
marcoceppikirkland: personal branches don't have icons shown18:42
marcoceppikirkland: ask all about it in #juju-gui18:42
kirklandmarcoceppi: ah, okay, makes sense18:42
kirklandmarcoceppi: I suppose you could put some rather interesting images in there ;-)18:42
marcoceppikirkland: right, that's the idea for protecting the store18:43
marcoceppikirkland: there might be a flag you can put, #juju-gui would know18:43
kirklandmarcoceppi: makes sense18:44
benjik18:51
* benji moves the mouse cursor slightly18:51
=== vladk is now known as vladk|offline
=== d_` is now known as systemsoverlord
=== systemsoverlord is now known as d_`
automatemecolemahave sort of a problem... I deployed a local charm, but it's not showing up on the GUI. If I do a juju status everything shows ok21:21
josemarcoceppi: hey, is there a possibility that the Chamilo charm can be on the store before or on Wed? upstream is having an expo and they would mention Juju on the expo21:23
=== Guest38543 is now known as wallyworld
=== scuttlemonkey is now known as scuttle|afk
marcoceppijose: not sure if it can be in the store, but it'll be reviewed by then22:15
josewell, we're hoping it works :)22:15
Tughey guys, I'm thinking about writing an adapter for capistrano. What would you recommend, a juju plugin which parses `juju status`?22:20
marcoceppiTug: that's one way22:20
marcoceppiTug: you could use python-jujuclient which interacts with the websocket api directly22:21
Tugmarcoceppi, ok let's have a look22:21
=== CyberJacob is now known as CyberJacob|Away
Tugmarcoceppi, do you know if the default public key always added when bootstrapping an environment or should I try to get the juju-client-key somehow?22:25
Tugis 'ca-private-key' in .juju/environments/{current_env}.jenv the ssh private key I can use to connect to the machines ?22:29
marcoceppiTug: it's your .ssh/id_{rsa,dsa} key22:46
Tugmarcoceppi, yeah I saw my public key was added to the list of authorized keys, not just that was always the case22:52
Tugmarcoceppi, thank you22:53
josehazmat: ping23:13

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