/srv/irclogs.ubuntu.com/2014/03/27/#juju.txt

lazyPowerjose: still kicking around?00:56
joselazyPower: yep!01:00
joselazyPower: I'm testing the newly-fixed charm :D01:00
lazyPowerjose: right on! Did you still need to PM me?01:01
lazyPoweror are you unblocked?01:01
joseI think I'm good to go by now01:02
lazyPowerallright cool. I didn't want to leave you hanging01:02
josethanks!01:02
lazyPowerThats how we roll jose. Charmers 4 lyfe01:05
jose:P01:05
=== freeflying__ is now known as freeflying
lazyPowerjose: good work on the queue too man, you're killin it with the quality MP's01:15
josethanks, just trying to :)01:15
joselet me know if any of those are buggy, maybe a couple will be01:15
lazyPowerWe'll have feedback on improvements if they are :)01:16
=== sputnik1_ is now known as sputnik13
joselazyPower: still around?01:59
lazyPowerjose: indeed. Whats up?01:59
joseI'm having some problems printing a variable01:59
lazyPowerpastebin?01:59
josesure, second01:59
joselazyPower: http://bazaar.launchpad.net/~jose/charms/precise/mailman/trunk/revision/3202:00
josethose exact lines in the diff02:00
josethey're printing literally "$DOMAIN" instead of the domain02:00
lazyPowerjose: http://paste.ubuntu.com/7160367/02:03
lazyPowerthere's an illustration of whats going on. What you're seeing is a symptom of how single quotes work in bash02:04
lazyPowerthey are string literal annotations.02:04
josehmm, got it!02:04
josethanks02:04
josew0ot, manually fixing it makes it work!02:04
lazyPowerjose: you have single quotes surrounding those blocks, thats why you're getting the "$DOMAIN" printed. I dont understand what the 'manual fix' is - but happy its working :)02:06
joseyep, testing another deployment now!02:06
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== vladk|offline is now known as vladk
=== sputnik1_ is now known as sputnik13net
josearosales: thanks for the heads up! :)06:50
arosalesjose: oh, np. Thanks for your contributions. I see you have been busy :-)06:51
arosalesgood stuff.06:51
josewell, I thought juju could use some of my time :)06:51
arosalesI too say that issue with Bip and we were wondering why proof was having an isue with a 2 character yaml key06:51
arosaless/say/saw/06:51
joseMarco mentioned it was because of a yaml issue, it needs to be 3chars min06:52
arosalesjose: well the help with improving the overally charm quality is very appreciated.06:52
jose\o/06:52
arosalesya we didn't find anything in the yaml spec, but I too saw when I changed ip to any char with 3 char or greater proof was happy06:53
jose:P06:53
arosalesjose: We are in the midst of a charm audit so it was nice to see your merge requests06:53
joseI just need to learn how to write amulet tests and I'll give a hand with tests06:54
josemaybe it can be considered for a charm school? 'Writing amulet tests for your charms'06:54
arosalesjose, for sure a good topic we should revist. We have an initial one @ https://juju.ubuntu.com/resources/videos/06:56
arosaleshttp://www.youtube.com/watch?v=KlTeRjGv4E406:56
joseoh, missed it as it wasn't at ubuntuonair, not subscribed to Jorge :P06:57
joseanyways, I'll take a look at that one and see what can I do06:57
arosaleswe trying to make the video page complete in case someone does miss a charm school or just joins and wants to catch up.06:58
arosalesjose: docs are also at https://juju.ubuntu.com/docs/tools-amulet.html06:58
joseseems easy enough06:58
arosalesif you pull the source for charms such as rabbitmq, haproxy, or memcached you'll see some code examples in /test of amulet based tests06:59
arosalesjose: our of curosity were you following jcastro's charm audit email, https://lists.ubuntu.com/archives/juju/2013-December/003331.html ?07:00
josearosales: not actually, I've been mostly involved with juju this last two or three weeks07:01
arosalesah ok well your timing on fixing charms is perfect :-)07:01
josecool!07:01
joseI'm also trying to convert most (if not all) READMEs to Markdown07:02
arosales+107:03
arosalesand I see you are using the teamplate from charm tools which is nice07:03
josemakes life easier07:04
arosalesfor sure07:08
josewell, time for me to go to bed, laters!07:11
=== Kyle is now known as Eliz
arosalesgood night jose, good to talk to virtually here07:13
=== CyberJacob|Away is now known as CyberJacob
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
jamespagegnuoy, https://code.launchpad.net/~openstack-charmers/charm-helpers/ssl-everywhere/+merge/20930108:50
gnuoylooking08:50
josemarcoceppi: hey! is the minecraft server charm still good?11:44
marcoceppijose: not really. it works but the version mineshaft is old11:52
josehmm, ok11:53
joseI'm thinking on integrating some basic tests on my pagekite charm before it gets to the store11:53
josethat charm school is really useful in that matter :)11:54
=== marcoceppi is now known as marco_traveling
josemarco_traveling: have a safe travel!11:56
joseuh, guys, I have a problem here... I am trying to write tests for pagekite but a config option would be the kite's secret12:00
yolandajamespage, i added testing for databases to my MP also12:38
yolandaMPs12:38
=== roadmr_afk is now known as roadmr
jcastroman, content-fetcher looks like a great idea13:36
=== vladk is now known as vladk|offline
lazyPowerjose: read that from an external source13:46
lazyPowerjose: scratch that idea13:46
lazyPoweri dont know what i was thinking.. need coffee13:46
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== benji_ is now known as benji
mgzjcastro: would be good to have a mini blog post about content-fetcher I think14:14
jcastronod14:14
tvansteenburghwhere are charm's hook files located on a deployed node?14:17
=== vladk|offline is now known as vladk
tvansteenburghalso, is this a bug or something i'm doing wrong:14:24
tvansteenburghtvansteenburgh@trusty-vm:~/src/charms/precise⟫ juju debug-log14:24
tvansteenburghssh: connect to host localhost port 22: Connection refused14:24
tvansteenburghERROR rc: 25514:24
tvansteenburghand which bug list would i consult to see if it's a reported bug?14:26
rick_h_tvansteenburgh: is this in an lxc environment? debug-log doesn't work in lxc if I recall14:26
tvansteenburghrick_h_: ok, yeah, it is14:26
rick_h_tvansteenburgh: ok, that's a known issue then. Looking for the hook path14:26
tvansteenburghok, hook path i can figure out, was just being lazy, hoping someone knew offhand14:27
rick_h_tv so checking real quick I find it in /var/lib/juju/agents/unit-juju-gui-0/charm/hooks14:27
rick_h_:)14:27
rick_h_all good14:27
tvansteenburghcool, thanks14:28
jcastroERROR cannot use 37017 as state port, already in use14:51
jcastroHow do we resolve that error with the local provider? ^^14:51
rick_h_jcastro: ps aux | grep mongo14:52
rick_h_kill pid14:52
jcastroman, still?14:52
rick_h_not sure if there's a different thing but it's what I know/use14:53
rick_h_normally it's something went boom14:53
jcastroyeah14:53
jcastrosomething went bada-boom14:53
lazyPowerbig bada-boom15:11
lazyPower<3 fifth element, just saying15:12
=== Ursinha is now known as Ursinha-afk
rick_h_marco_traveling: delete charm/bundle landed and removed those vms ones.15:26
rick_h_jcastro: we can garden out the old bundles with poor names now. let me know when you want to check it out15:30
jcastrorick_h_, busy with a mongo cluster ATM, just clean em!15:34
=== Ursinha-afk is now known as Ursinha
frankbanrbasak, rick_h_: quickstart 1.3.0 with the --distro-only flag just released on PyPI15:54
rbasakfrankban: thanks! Please could you update bug 1282630 to match? Then we can change the FFe and MIR bugs.15:55
rbasaks/change/chase15:55
=== sputnik1_ is now known as sputnik13net
frankbanrbasak: done15:57
rbasakfrankban: thanks! I'll chase in #ubuntu-devel.15:58
frankbanrbasak: thank you!15:58
rbasakfrankban: is the goal to get juju-quickstart on the desktop CD, on the server CD, or both?16:02
frankbanrbasak: I guess both, rick_h_? ^^^16:03
rbasakI never considered this aspect before. We'll need to check with the release team to do this at this late stage, assuming the MIR is accepted.16:04
rbasakI'm not sure if it needs an FFe or not, and we'll miss beta2.16:04
rbasak(and I hope there's space, etc)16:04
rbasakjamespage: ^^ any advice here, please?16:04
rbasakjamespage: I presume this is higher priority now that juju-core looks unlikely for main?16:05
joselazyPower: it'd still be public, yeah. any other ideas on how to do that?16:06
joseotherwise, a test wouldn't be possible unless some values are set manually16:06
jamespagerbasak, frankban: I think that's out of scope for 14.04 now16:06
jamespageif we don't mir juju-core, we won't do the mir for quickstart16:06
lazyPowerjose: reach out to the support dept/mailing list for the service and see if there are testing credentials that can be used that dont "actually" work, but will allow you to mock the login16:07
rbasakjamespage: that confuses me a little. My understanding is that we'll want juju-quickstart more in this case?16:07
rbasakrick_h_: ^^16:07
jamespagerbasak, surely juju-quickstart depends on juju-core?16:08
rbasakjamespage: no - it installs juju-core from a PPA (by default). On discussion from the MIR, it can also install from the archive only as an option.16:08
joselazyPower: hmm, the point is not about the login, but checking that the tunnel works... that would need some valid credentials16:08
rbasakjamespage: the underlying idea for juju-quickstart is that it's cross-distro multiplatform etc - eg. from PyPI.16:08
rbasakjamespage: there's some talk around this subject in the MIR bug.16:09
jamespagerbasak, yes - but not for the distro packages which should IMHO always install from the distro16:09
lazyPowerjose: no idea bud, i thought you were doing unit tests, not amulet tests16:09
joseyep, I started those :)16:09
lazyPowertheory states you could have a config option for them, that the user would have to input, but they would fail consistently in CI16:09
rbasakjamespage: please could you comment on the MIR bug in this? I did raise this point, so the option to only install from the distro was added. But I didn't ask for any particular default.16:09
rbasakjamespage: I think it makes sense for the user to at least be able to ask for a PPA installation as an option, even if it is decided that from distro is default.16:10
rbasakjamespage: in this case, juju-quickstart is still useful even without juju-core in main.16:10
lazyPowerjose: let me ping marco about this when you get back, as I have a PAAS charm in the store that needs amulet tests too, that require sensitive credentials.16:10
lazyPowers/you/he/16:10
jamespagerbasak, agree that having ppa as an option is fine16:11
joselazyPower: awesome, thanks!16:11
jamespagerbasak, but I'm not sure I see the value of including this in main without juju-core16:11
jamespage'use this fully supported tool to install a tool that's not fully supported'16:11
rbasakjamespage: I think the goal is to have it on the CD, and that was the driver for main inclusion, rather than support.16:12
rbasakrick_h_, frankban: ^^16:12
jamespagerbasak, I see juju-core and quickstart tied tbh16:12
rbasakjamespage: I guess there's a mismatch of expecations here, so we should talk soon.16:12
rbasakjamespage: I understand what you're saying - it's just that rick_h_ seemed quite keen on having juju-quickstart on the CD anyway, even without juju-core in main.16:13
frankbanrbasak, jamespage: the goal is to gice to users/developers the ability to go from zero to a fully deployed environment (including the GUI and bundles support) in a single command16:13
frankbangive even16:13
rbasakfrankban: you can more or less get that from universe though. Two commands - apt-get install juju-quickstart, and juju-quickstart. Right?16:13
rbasakfrankban: so I think what jamespage is asking is what is the additional benefit of this being in main/on the CD?16:14
jamespagerbasak, frankban: I don't see this as any different to the objections being made on the juju-core MIR re tools coming from simplestreams16:14
rbasak(if juju-core is not)16:14
rbasakjamespage: we agree that PPA is OK to be an option, so what's left is what should be the default.16:14
rbasakOh, I see.16:14
rbasakWith juju-quickstart in main and juju-core in universe, there's a dependency from main to universe, even if it's not expressly stated in metadata.16:15
rbasakI hadn't considered that.16:15
frankbanjamespage, rbasak: IC, could you please add a comment on that regard on the bug?16:16
jamespagerbasak, you got it16:16
jamespagefrankban, will do16:16
frankbanthanks16:16
rick_h_jamespage: rbasak sorry catching up, was in a meeting16:23
rick_h_jamespage: rbasak the goal for quickstart in 14.04 is not on any cd.16:23
rick_h_jamespage: rbasak It's a post 14.04 goal, so we want to keep it in mind16:23
rick_h_jamespage: rbasak I'd say first priority would be desktop cd vs server cd16:24
rick_h_jamespage: rbasak but I'm assuming on that one. I think it fits that use case more and it's part of our argument on why it's ok to use a ppa for getting juju16:24
rick_h_jamespage: rbasak and yes, the goal of quickstart is that something small is in main that users can use to get juju-core and juju-local even though it's not in main16:25
jamespagerick_h_, tbh I think that breaks the rules16:25
rick_h_jamespage: rbasak so with core not in main it's even more useful to end juju users to have that available to them16:25
rbasakjamespage: only sort of, though. Eg. "pip install <foo>" is permitted in main.16:25
rbasak(I assume it is)16:25
rick_h_jamespage: understand, that's what I'm trying to learn/get a grip on. I'm not sure on the rules. We've got a vision for a tool for end users to be able to get started with juju as easy as possible and we're working on what we can do to deliver that16:26
rbasakAs is wget, to take it to the extreme. I'd like to identify some kind of underlying principle to this kind of thing.16:26
rick_h_jamespage: rbasak the more steps we can automate and move away from the user from a fresh ubuntu install the happier everyone gets as it eases juju adoption, which is quickstart's #1 goal16:27
rbasakThe actual rule is from here: http://people.canonical.com/~cjwatson/ubuntu-policy/policy.html/ch-archive.html#s-main16:28
rick_h_looking16:28
rbasak"In addition, the packages in main...must not require a package outside of main for compilation or execution (thus, the package must not declare a "Depends", "Recommends", or "Build-Depends" relationship on a non-main package)"16:28
rbasakNow, what's the spirit of that, as well as the wording?16:28
jamespagerick_h_, rbasak: I think my argument is about how this adds value by being in main IF a) we don't want to get on the ISO and b) juju-core is not in main (think Recommends juju-core>juju-quickstart)16:28
rbasakjuju-quickstart in main is useless without _some_ external source (eg. universe or PPA). Perhaps that's a factor.16:29
rick_h_jamespage: so if we can get it on the cd then awesome, but we set expectations it might take more time to make that happen.16:29
rbasakOTOH, so is "pip install".16:29
rick_h_jamespage: so if we can get it then let's assume the value add is there16:29
rick_h_jamespage: the end value is that "user installs ubuntu, wants to try out juju, juju-quickstart will get juju, configure a lxc environment, bootstrap, and bring up the gui in one single built in command16:30
rbasakjamespage: I don't hold Recommends juju-core>juju-quickstart as highly valuable. We should have it, but I imagine that docs could tell people to install juju-quickstart and go from there.16:30
jamespagerick_h_, I'm not comfortable proposing this for the ISO unless we also have juju-core in main16:30
rick_h_jamespage: ok, so you'd suggest we get quickstart into main as step #1 with juju in universe. Next release we work on getting juju into main and quickstart on the iso?16:31
rick_h_jamespage: I'm fine staging it out, but want to make sure we konw what we need to do to make the end vision happen16:31
jamespagerick_h_, no16:31
jamespagerick_h_, I think the policy that rbasak highlighted above applies even if the relationship is not declared in the package dependencies16:32
jamespagejuju-quickstart depends on either universe or a PPA to function16:32
jamespagemain can only depend on main16:32
rick_h_jamespage: ok, so we are in universe while juju is in univsere. When they get into main we can then also go for main & on the iso at that time?16:33
jamespagerick_h_, which is why I tie quickstart and juju-core together for main inclusion16:33
jamespagerick_h_, sure16:33
rbasakjamespage: what about stuff on the iso? Normally all dependencies are included, but they wouldn't be in this case.16:34
rick_h_jamespage: ok then. I can tell that story fine. I just need to know that we're on the right path per what we're supposed to be getting to16:34
rbasakjamespage: do you think the same bundling rule should apply to the iso? ie. require juju-core to be on it if juju-quickstart will be there?16:34
jamespagerbasak, I'm not sure tbh16:34
rbasakjamespage: I understand your point of view, but I'm not completely convinced about your position myself. I can see both sides. It's very fuzzy.16:35
rbasakIt comes down to how to interpret the rule, and this is definitely a grey area.16:35
jamespagerbasak, good job its not actually up to us then :-)16:35
rbasakjamespage: perhaps we should open this up for wider discussion? ubuntu-devel ML?16:36
jamespagerbasak, I think the bug is fine16:36
=== vladk is now known as vladk|offline
rick_h_jamespage: rbasak ok, so 1) we'll have quickstart and juju-core in universe and quickstart's --distro-only flag will be ok for 14.0416:40
rick_h_jamespage: rbasak 2) Discussion is required to think on how/if quickstart can be in the iso once it and juju-core get into main in a subsequent release16:40
* rick_h_ goes for lunch afk16:44
joselazyPower: btw, the charm is ready for review whenever you want16:49
lazyPowerjose: Thanks. We're a bit slammed at the moment with stuff, we'll try to get the community charms out asap.17:05
lazyPowerthanks for the heads up17:05
joseno worries17:05
joseand no hurries too17:05
=== vladk|offline is now known as vladk
bloodearnesthmm, is there anyway to assign a (fake?) public ip to a unit using local provider? From juju's pov, I mean17:19
bloodearnestsome thing that will be returned from unit-get public-address17:20
=== vladk is now known as vladk|offline
marco_travelingrick_h_: ta!17:58
=== marco_traveling is now known as marcoceppi
jcastrohazmat, any idea why -deployer would bail if you modify a charm locally?18:11
hazmatjcastro, see flags18:15
hazmatjcastro, its a safety valve with a cli flag18:16
hazmatjcastro, it should default to allowing local mods18:16
hazmatjcastro, there's a -L flag to disallow local mods afaicr18:17
mbruzekhazmat is there an opposite to the -L flag?18:23
mbruzekWe want to allow local mods18:23
hazmatmbruzek, jcastro there's a bug that this is non obvious .. but try with and with out the -L flag ... one should work/toggle the behavior18:25
jcastroyeah I'll have to circle back18:25
jcastrothe mysql charm is broken with master-slave for us anyway18:25
blackboxswmarcoceppi as a heads up,    we have gotten our storage proposal charm branches in order, reviewed and set to Fix Committed for block-storage-broker and storage subordinate charms.18:37
=== vladk|offline is now known as vladk
Valduarehi guys19:29
Valduareim new to juju19:29
Valduarehow do I start19:29
Valduaretrying to figure out how this all works, so I start a vm and install ubuntu server on it then install juju and then use juju to deploy a service I want on that specific server?19:38
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
tvansteenburghValduare: hi, i'm new here too20:12
Valduarehi20:12
tvansteenburghhttps://juju.ubuntu.com/docs/ is a great place to start20:13
tvansteenburghthe machine you install juju on does not get services deployed to it. it's used to send commands to the environment that juju is controlling20:14
Valduareah20:17
Valduarecurrently I have a freenas box serving storage through iscsi to an esxi host box that runs 14 vm’s20:18
lazyPowerValduare: using the manual provider you could use juju to power your workloads on that esxi host20:24
lazyPowercreate the vms manually, register them in juju, then juju deploy <service> --to <machine id>20:24
Valduarewas just reading this http://insights.ubuntu.com/resources/tutorials/interested-in-maas-and-juju-heres-how-to-try-it-in-a-vm/20:25
Valduarelooks like i could possibly make this all virtualized?20:25
lazyPowerIMHO, remove the complexity of having maas as your provisioner and just use the manual provider20:26
lazyPowerwhile maas is cool, its accomplishing the same thing youa re doing with ESXI, by registering the hosts yourself to juju20:26
Valduaregives an interface for rebooting vm’s and such too though?20:27
lazyPoweractually, juju doesn't do machine management like that. Its pretty focused on service orchestration, so it sits a layer above configuration management.20:27
lazyPowerin terms of the tech stack.20:28
ValduareI mean maas would20:28
lazyPowerI'm not nearly as familiar with maas as I am with juju. Perhaps someone else with a bit more experience would be able to answer that.20:29
lazyPowersarnold: ^20:29
Valduareso on the juju subject, it lets you specify what machine to provision such and such service20:31
lazyPowerValduare: the intention behind maas is to turn bare metal into a cloud, so theres a domain controller to handle the provisioning via cloudinit so you get bare systems with an image, similar to what you would get by booting the ubuntu AMI's on aws.20:31
Valduareie mysql20:31
lazyPowerCorrect, you pick a service from teh charm store, or charm up your existing app, and define what the relationships require to operate, such as a database name, host, user/pass combo, and juju handles setting up the services20:31
lazyPowereg: mediawiki has a sql dependency. You deploy mediawiki, teh charm does nothing, deploy mysql and relate it to mediawiki and whammo, you've got a functioning mediawiki installation being managed by juju20:32
lazyPowerready to scale up/down, and be configured via the juju settings.20:32
lazyPowerand if you're using the gui, you have a nice network map to visualize your deployments20:32
Valduareso since I just have the one host right now20:33
ValduareI should deploy a juju bootstrap vm20:33
Valduareon there and then start migrating all my services over to vm’s provisioned by juju20:33
lazyPowerif you use the manual provider, the provisioning would be manual.20:35
lazyPowerjuju would handle the configuration mangement and orchestration20:35
lazyPowerie: how a service should be deployed, and how relationships are handled with the service.20:35
=== vladk is now known as vladk|offline
Valduaredoes it launch a new vm for each service?20:37
Valduareie mysql in its own ubuntu vm20:37
lazyPowerIt depends on your provider. Thats why i've been specific with terminology about the manual provider20:39
lazyPoweras it implies, all provisioning is done manually with the manual provider20:39
lazyPowerif you're using a maas provider, it pulls from the allocation pool in maas. if you're using a cloud provider like aws, hpcloud, or azure it performs the api calls to provision a new vm for you, so therefore yes it does it for you.20:39
Valduareso with the manual provider i’d specify I want mysql on such and such vm20:40
lazyPowercorrect20:40
Valduareand if I were using openstack?20:41
Valduaredoes it separate all services out to their own vm20:41
lazyPoweropenstack communicates to nova to spin up your machines for you. its got a provisioning api20:42
lazyPowersorry, juju communicates to nova to spin up your machines.20:42
lazyPoweri mistyped.20:42
Valduarethere are a ton of layers to do all this lol20:44
lazyPowerIt can be, however juju can spin up an openstack cluster in 25 minutes, i think we've benchmarked even shorter times20:45
lazyPowerand hten, you're free to create a juju environment on top of that openstack cluster that juju deployed. Using juju to deploy juju. Juju ception?20:45
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
sarnoldhaha, jujuception :)20:48
Valduarelol20:48
Valduarehow long would that take on amd e-350 processors :P20:49
lazyPowerI haven't run any benchmarks on that, so good question20:50
lazyPoweri actually dont have experience with those processors either20:50
Valduareamd version of atom processor basically20:52
lazyPowerah, well you wont be breaking any earth shattering speed records20:53
lazyPowerbut I would think it would do fine20:53
Valduareso juju sets up a full openstack system with storage and everything?21:08
Valduarehmm im not seeing a charm for nginx?21:20
joseValduare: see bug #99469921:20
_mup_Bug #994699: Charm Needed: Nginx <Juju Charms Collection:Incomplete by imbrandon> <https://launchpad.net/bugs/994699>21:21
Valduarehmm21:22
lazyPowerValduare: thats been a very back and forth topic in the past, if we want to charm up nginx as a service and deploy content as subordinates or just include nginx in your service dpeloyment21:24
lazyPowerthus far, including nginx as part of the service deployment has been the winner, but there are some new charms coming in that set a web host with subordinate based content deployments.21:24
lazyPowerhowever, nothing thats landed in the store yet21:25
Valduarewhat kind of things are you using charms to deploy?21:26
Valduareim searching through the charms now and … there’s not much?21:26
lazyPowerValduare: what are you expecting to see thats not there? we have 158 services to date of charms promulgated21:26
Valduarethings like gitlab, canvas-lms, openerp, nginx-php-fpm-mysql,21:28
lazyPowerthare are give or take ~ 70 more in personal namespaces that are not in the store, as they dont follow the store guidelines, or are not ready for public consumption.21:28
lazyPowerValduare: gitlab is in there, openerp is in there21:28
Valduarejust searched for gitlab 0 came up21:28
Valduareah now it shows heh21:28
lazyPoweri've actuallly got a prototype gitlab charm21:28
lazyPowerer, gitlab-ci charm21:28
lazyPowerits not ready for promulgation by any stretch, but ready for people to stress test and provide feedback21:29
lazyPowerand there's an openrp bundle sitting int he review q waiting to be analized and acked for the store so its drag and drop deployment.21:30
Valduarewhats the bundle do differently than the openerp charms already there?21:30
lazyPowerthe bundle is a deployment schema that has all the services required to utilize openERP in a client/server model21:32
lazyPowerwhere the backend is split from the front end, ready to be scaled individually depending on your needs21:32
lazyPowerValduare: https://juju.ubuntu.com/docs/charms-bundles.html21:32
Valduareand it’d install it all on one vm?21:40
sarnoldhowever many VMs are necessary..21:42
Valduarewhat specifies the necessity21:43
tvansteenburghGators#121:44
tvansteenburghgah. and now you all no the password to my vm21:44
tvansteenburghs/no/know/21:44
tvansteenburghif i had a nickel for every time...21:45
Valduareif you hadnt mentioned…. we’d all think you were rooting for a highschool basketball team or something...21:45
tvansteenburghwell, not high school: http://espn.go.com/mens-college-basketball/team/_/id/57/florida-gators21:48
ValduarelazyPower: I was just reading about juju some more :P they were talking about wordpress juju add-unit wordpress does juju have some sort of load balancing system in place?22:01
lazyPoweryou can deploy haproxy infront of it22:01
Valduarethis is stuff i’ve never gotten into before.. :)22:03
sarnold.. and it all seems too good to be true when you just juju add-unit -n 10 wordpress or whatever AND IT JUST HAPPENS22:03
Valduareis there a way I could setup a remote server and haproxy between the two locations so if one goes down ie internet outage it’d serve from the other location>?22:03
sarnoldscary :)22:03
lazyPowerValduare: actually, with manual provider, you can do cross datacenter orchestration like that22:08
lazyPowerand haproxy already takes care of the load balancing in the event of an outage22:09
lazyPowerbut your latency will be a factor in that style of deployment22:09
lazyPowertvansteenburgh: whats your IP again?22:10
lazyPower;)22:10
Valduarelol22:10
Valduarei sitll dont quite understand the logic behind the ha stuff22:11
Valduarethings like a php process pegging out the cpu I could understand but internet outages that’d knock your ha proxy out too22:12
=== hatch__ is now known as hatch
sarnoldValduare: normally something like haproxy would live in front of a dozen or two dozen machines in the same rack..22:15
sarnoldValduare: if you lose networking to the datacenter, so be it ;) hopefully your application has been designed to failover to another availability zone22:15
Valduarewhere would that be designed into? :P22:15
Valduareim only familar with bare metal hosting lol22:16
sarnoldValduare: it could be done at DNS level, you could do round-robin dns with haproxy IPs, one per data center..22:18
sarnoldValduare: or you could use IP Anycast if you're rich and powerful enough :)22:18
lazyPowersarnold: I couldn't have put it any better myself. *hat tip*22:19
* sarnold bows22:19
sarnoldlazyPower: thanks :) did I overlook another option?22:19
lazyPowersarnold: i'm giving a talk at CMU next friday and I need to get this abstract over to the orchestrator. Would you mind giving it a proof for me?22:19
sarnoldit feels like there's got to be at least one more option. hehe.22:19
sarnoldlazyPower: sure22:19
lazyPowersarnold: there are others, but round robin/latency based dns was my poison of choice.22:20
lazyPowerit worked at the entry point of the stack, vs complex configuration over convention22:20
lazyPowerand im a rails guy, so i'll always pick convention over configuration, any day of the week22:20
sarnoldlazyPower: yeah, load-balanced DNS has worked awesome for OFTC for years; the servers periodically report their user load and above a certain number the server is pulled, below a certain number it's re-added, and when machines are going to be serviced, they can get taken out entirely two weeks ahead of time to let people gracefully age off the thing22:21
sarnoldbut "works for an irc network" vs "works for netflix" are two different things ;) hehe22:22
Valduareright now I got a djbdns vm running on my one mini itx server host :P22:24
Valduaregodaddy points to that for the name server of all my domains22:24
sarnolddjb <322:24
Valduarecoudlnt figure out bind for the life of me22:25
lazyPowerbind is cool, until it stops being cool22:27
lazyPowerthen its a giant tree made of hate22:27
Valduaredjbdns has been pretty darn good to me so far22:28
sarnoldgiven all the wonderful alternatives, you'd have to pay me quite a lot to get me to use bind :) heh22:29
Valduareso I basically need to get a dns outside of my “data center” eh?22:29
sarnoldheh I'm surprised you were able to convince godaddy to let you use only a single dns server :)22:30
sarnoldI thought 'two servers in glue' was the requirement22:30
lazyPowerthats easy enough of masquerade22:31
lazyPowers/of/to22:31
sarnoldhahah22:31
sarnoldevil :)22:31
Valduareyou just put the same ip in both slots on godaddy22:35
=== CyberJacob is now known as CyberJacob|Away
Valduaresarnold: so with the wordpress example, and haproxy, how does it sync data23:23
sarnoldValduare: I've got no idea how you'd reasonably scale wordpress to multiple availability zones / datacenters ...23:24
Valduarehttp://www.jorgecastro.org/2013/07/31/deploying-wordpress-to-the-cloud-with-juju/23:24
sarnoldValduare: mysql data dumps on cold backups would be my first attempt if I didn't find something better from an expert :)23:24
lazyPowervalduare read up on MySQL replication with master slave relations23:29
lazyPowerwith manual provider you deploy to multip!e azs or dcs and apply the theory we have already covered23:30
Valduarehow would all the /var/www/sitedir sync?23:31
Valduarehow do you deploy to multiple servers23:31
sarnoldrsync from whatever host is used for authoring?23:32
Valduareand whatever host used for authoring is whatever host the haproxy connects you to?23:40
Valduarebear with me :P lol23:41
sarnoldValduare: It would be your laptop or something? :) I dunno how these things actually get -used- :)23:41
Valduareoh think I see whaty ou mean23:42
Valduareso from workstation rsync to all the hosts at same time?23:42
sarnoldValduare: ah! check out the "Handling wp-content" section here: http://manage.jujucharms.com/charms/precise/wordpress23:43
sarnoldof course that makes more sense than rsync. haha.23:44
Valduareok23:56
=== mhall119 is now known as mhall119|offline

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