=== freeflying_away is now known as freeflying
=== CyberJacob is now known as CyberJacob|Away
Luca__jamespage: Hi there, I am trying to set up openstack using bundles and/or reducing # of required jobs. I know you are working on openstack's charms, could you provide any update on your progresses?02:11
AskUbuntuCan Juju cannot services that are in different environments? | http://askubuntu.com/q/37867904:07
=== zz_paulczar is now known as paulczar
=== CyberJacob|Away is now known as CyberJacob
AskUbuntuSwift - No ring is created when deployed using juju. attached is output of 'swift-init start main' on swift-proxy node | http://askubuntu.com/q/37877409:51
InformatiQhey guys I'm new to juju and a bit confused about the difference between deploy and add-unit10:12
InformatiQcould some one kindly explain10:13
noodles775jamespage or adam_g : If you've time, I've got a patch for what seems to be a bug in the swift-proxy charm when using essex, attached to bug 125155110:44
_mup_Bug #1251551: Essex + Keystone deploy broken <swift-proxy (Juju Charms Collection):New> <https://launchpad.net/bugs/1251551>10:44
jamespagehey noodles77510:44
noodles775Hi james :)10:44
* jamespage looks10:45
noodles775InformatiQ: `juju deploy` is for deploying a new service (and by default, it'll create a single unit for that service). add-unit can then be used to add extra units to that existing service. This blogpost shows a simple example: http://smartbridge.com/blog/use-juju-to-deploy-and-scale-wordpress-in-the-cloud/10:52
InformatiQnoodles775: thanks for the answer, so a deploy is creating the configuration and the required instances to run those, then add-unit just does the same but it would not as for configs and just clone the already deployed service10:56
InformatiQnoodles775: is that correct10:56
InformatiQnoodles775: also in that blog post, adding a worpress unit does not mean it will actually load balance or anything, i will then need to add a load balancer service to handle the actual scaling10:57
jamespagenoodles775, nice work on the template unit testing - I like that10:59
* jamespage had been pondering how todo that best10:59
noodles775InformatiQ: So yes, deploy tells juju about the service and sets up some configuration that is re-used by subsequent units. And yes, the blogpost doesn't include a load balancer. As an example of how simple that is, see "How to deploy the charm" on the haproxy charm at: https://jujucharms.com/fullscreen/search/precise/haproxy-21/#bws-readme11:05
jamespageluca__, hey - you had a question on openstack bundles?11:05
noodles775jamespage: Great - yes, I was unsure how to test the changes - I was happy to find that the choice loader just worked in those tests :)11:06
jamespagenoodles775, I made a few tweaks to how the tests get executed; we have a pattern that we have used across the other openstack charms11:06
jamespagebut it broadly looks OK11:06
noodles775Excellent, thanks.11:06
luca__jamespage: Hi James, I did but I can't remember what the question was. I'll dig through my notes to see if I can find it :)11:08
jamespagenoodles775, the proposal has changes to the README and to swift-test as well - any particular reason?11:09
noodles775jamespage: yeah, mentioned in the MP description, but happy to revert if you don't want them.11:09
noodles775jamespage: hrm, I see my changes to the readme, but not to swift-test?11:10
* jamespage ponders that one11:10
jamespageoh - sorry - that was me being an ass11:11
jamespage(to much autopep8)11:11
noodles775hah :)11:11
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
InformatiQnoodles775: thanks for your help, that helped me a lot12:01
InformatiQI am quite impressed of juju's ease of use and low barrier to entry12:01
InformatiQnot liking the bash install hooks though12:02
benjiInformatiQ: fortunately, you can write hooks in any language you want12:03
jamespageif anyone has a bit of review time:12:03
jamespage(they have been in use in testing for quite some time and where used for the keynote at the OpenStack summit a few weeks back)12:04
noodles775InformatiQ: np :) And yes, as benji said, you can use any language you want. There's also support for using configuration tools like ansible/saltstack if you're into that.12:05
noodles775jamespage: oh, that reminds me, can I swap you for a review of https://code.launchpad.net/~michael.nelson/charm-helpers/ansible-tags/+merge/19432412:05
InformatiQnoodles775: yeah i was googlng for ansible support but seemed to be still not merged12:06
noodles775InformatiQ: yeah, there's some basic support in current charm-helpers (ie. an apply_playbook() helper), but I'm hoping to get the above branch landed soon which will make the ansible suppport much nicer.12:07
noodles775jamespage: done.12:12
jamespagenoodles775, looking at your ansible one now12:12
noodles775Great, thanks.12:12
* noodles775 -> lunch12:12
jamespagenoodles775, thanks for the review (and yes alot of the delta is re-sync of charm-helpers)12:12
jamespagenoodles775, reviewed and +1'ed12:22
noodles775Great, thanks jamespage12:32
jamespagelove it when I propose branches and find my stuff is already merged12:37
jamespagefree work!12:37
jamespagedosaboy, please see my comments on mysql and rabbitmq charms re argonaut backwards compat12:38
jamespagethat fix is already in cinder and glance12:38
dosaboyjamespage: yep, actually the question was raised over whether we should allow non-openstack charms that use ceph to specify a source for the ceph packages12:43
jamespageooo - good one12:44
dosaboysince right now if deployed on precise they are forced to use Argonaut12:44
jamespagedosaboy, that might not be much of an issue - the mysql and rabbitmq charms both use the kernel module12:44
jamespageso its only the cli tools that might be incompat12:44
dosaboyyeah and that is the problem ;)12:45
jamespagedosaboy, with havana backend?12:45
dosaboyi mean i agree we should provide back-compat support12:45
dosaboybut if users want to use > A they also have that option12:45
dosaboyfor the cli tools that is12:45
dosaboyif their cluster is > A the tools may have issues12:45
jamespageits awkward12:46
jamespagedosaboy, if we go down that route the cloud-archive must be installed at a lower priority than main archive12:46
jamespagethen you can cherry pick the ceph tools by themselved12:47
jamespagethen you can cherry pick the ceph tools by themselves12:47
dosaboyjamespage: agreed12:48
dosaboyor could version ping just the packages we ned but that is a little messay12:48
dosaboymessy even12:48
InformatiQin the case where i deploy 2 wordpress + 1 mysql + haproxy then I want to have a central logging server then I would need to deploy rsyslog to each of those services with the --to param and a rsyslog service to collect them all?12:57
noodles775InformatiQ: So the rsyslog-forwarder charm is a "subordinate" charm, so you just deploy it as normal and then relate it to the services where you want it in use (juju knows not to create any separate instances for that charm, due to it being a subordinate charm).13:10
noodles775InformatiQ: Then you can deploy the rsyslog charm and relate it to the rsyslog-forwarder. (I've not used these, just going from the summary/readme at https://jujucharms.com/fullscreen/search/precise/rsyslog-1/13:12
=== gary_poster|away is now known as gary_poster
=== adeuring1 is now known as adeuring
=== paulczar is now known as zz_paulczar
jamespagenoodles775, your swift-proxy change worked OK for havana so I went ahead and merge it - thanks!14:51
jamespageit was a bit crufty  from pre-redux stuff14:51
noodles775Great, thanks jamespage. Yeah, looked like a huge cleanup!14:53
AskUbuntuWill Juju support start/stop of existing units? | http://askubuntu.com/q/37892015:09
=== zz_paulczar is now known as paulczar
=== paulczar is now known as zz_paulczar
=== zz_paulczar is now known as paulczar
noodles775jamespage: Hi, my MP is still approved but not landed - does it need to be merged manually? https://code.launchpad.net/~michael.nelson/charm-helpers/ansible-tags/+merge/19432416:09
jamespagenoodles775, yes - sorry16:09
jamespageno auto-landing just yet....16:09
mattywI seem to be able to bootstrap multiple environments for a single provider - and they are kept seperate but destroy-environment kills everything - is this a known problem?16:13
jamespagemattyw is that with maas?16:16
mattywjamespage, aws16:22
jamespagemattyw, juju version?16:23
mattywjamespage, ah - the destroy is an old version: 1.1316:24
jamespagemattyw: and do you have unique control-buckets and secrets for each environment?16:24
jamespage(just checking the obvious stuff first)16:24
mattywjamespage, bucket and secret are different16:25
jamespagemattyw, I would suspect a bug - but I could not confirm that16:26
jamespagefwereade_, jam: ^^ ring any bells?16:26
mattywjamespage, I'll try updating the old version and see if it happens again16:26
fwereade_mattyw, what provider?17:08
fwereade_mattyw, ec2 will have problems if the environments have the same name17:09
fwereade_mattyw, and I *think* openstack has the same issue17:09
fwereade_mattyw, maas is meant to be working if you have up-to-date juju and maas, and you have unique values of... er<checks>17:10
fwereade_mattyw, maas-agent-name -- but that should not be set automatically, so you're safe unless they're old environments or you're doing something really weird17:11
fwereade_mattyw, sorry, maas-agent-name *should* be set automatically17:12
* fwereade_ will bbl17:12
InformatiQusing juju with local provider, afer a reboot of the VM i get "ERROR Unable to connect to environment "local"17:50
InformatiQI was thinking that a jujud should be running but cabn't find the service17:51
marcoceppi_InformatiQ: what does `initctl list | grep juju` show on your machine?18:23
InformatiQmarcoceppi_: uju-db-rhanna-local stop/waiting18:39
InformatiQjuju-agent-rhanna-local start/running, process 90718:39
marcoceppi_InformatiQ: `sudo start juju-db-hanna-local`18:42
marcoceppi_InformatiQ: wait a few seconds, then try juju status18:42
InformatiQrecover error: abrupt end to file .juju/local/db/journal/j._1, yet it isn't the last journal file19:12
InformatiQok so apparantly juju-db cannot recover so that's why it can't start19:13
InformatiQok got it, remove journal j.__? files and restart service this should work in case of corru├ąt journal but no db chnages19:16
InformatiQfirst issue with juju == first real learning experience19:16
InformatiQgood day so far19:17
=== marcoceppi_ is now known as marcoceppi
=== gary_poster is now known as gary_poster|away
jcastrohey arosales or marcoceppi19:57
jcastrowhich one of you recorded the last charmer meeting?19:57
marcoceppijcastro: I think it was arosales19:57
jcastroI need a link to the video please!19:57
InformatiQhey guys any pointers to how to do python or ansible charms19:58
avoinewould it be correct to use admin-secret as my charm default admin password like juju-gui does?19:58
InformatiQor if you know one charm from the store written ansible/puppet/python would be cool19:58
avoineInformatiQ: I've done charm in python19:58
marcoceppiInformatiQ: http://micknelson.wordpress.com/2013/11/08/juju-ansible-simpler-charms/19:59
avoinepython-django, gunicorn, but postgresql and etherpad-lite would be better examples19:59
arosalesjcastro, I indeed did19:59
arosalesjcastro, sure let me grab it19:59
InformatiQmarcoceppi: that blog post is mentioning that the ansble stuff was not yet commited20:00
marcoceppiInformatiQ: it's been merged, that post was from august20:00
arosalesjcastro, https://www.youtube.com/watch?v=QlI2Qz2nucc20:01
InformatiQmarcoceppi: wasn't sure how fast juju gets things in ;)20:02
marcoceppiInformatiQ: that is part of charm-helpers, a seperate project that's designed to help streamling writing charms20:02
InformatiQavoine: so a big hooks.py and everything else points to it20:02
marcoceppiInformatiQ: that's one method20:02
avoineInformatiQ: yeah, this way it more convenient20:03
=== gary_poster|away is now known as gary_poster
dannfhelping someone behind a firewall in another channel - does juju use the various *_proxy variables? does it need more than http/https out to work?20:53
dannf(when talking to the charmstore)20:54
thumperdannf: not as much as I believe we should21:03
thumperI'm not sure it has been thoroughly thrashed out and exhaustively tested21:03
dannfthumper:  ack21:04
thumperso, my normal stance is, if it isn't tested, it is broken21:04
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== CyberJacob is now known as CyberJacob|Away

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