/srv/irclogs.ubuntu.com/2014/12/09/#juju.txt

Micromusif each one takes days or weeks just to test...00:00
LinStatSDRMicromus: Have you thought about using VMWare Horizon 6?00:00
LinStatSDRI'm not sure about what you're current production system does but00:00
MicromusNo, I have looked at pricing of vmware vsphere and it's extremely expensive00:00
Micromuscurrently we have the cheapo vmware essentials for 3 nodes00:00
Micromuswhich is basically free at $200 a year or something00:01
LinStatSDRDo you deploy or do any Virtual Desktops?00:01
MicromusNo, I work for an ISP00:01
LinStatSDROh okay, scratch that then.00:01
MicromusSo we don't need that much performance, but we need the safety of clustering and ease of deploying new stuff, and saved time by automation00:02
LinStatSDRHmm, if you don't mind me asking, what are you clustering and/or deploying / automating?00:03
MicromusSo definetely, the cloud is the future, but right now it's hard to pick which vendor/implementation to go with00:03
LinStatSDRJust SDN stuff? Like deploying new networks using Openstack?00:04
sarnoldMicromus: one neat thing is that juju can deploy multiple 'levels' of your system -- you could use juju to deploy openstack on your hardware and then manage all the vms in openstack by hand, or you could deploy openstack by hand and then use juju on top, or use juju for both the openstack deployment -and- the services that run on top of openstack00:04
LinStatSDRi.e OpenStack Neutron.00:04
MicromusA range of services, caching DNS for customers, authorative DNS for domains, webservers, customer e-mail platform, voip platforms, broadband provisioning systems, network monitoring systems, and systems monitoring the other systems00:04
Micromussarnold: I like that00:05
MicromusI dislike the all-or-nothing approach00:05
MicromusRisk is lower when stuff is modularized00:06
sarnoldMicromus: yeah :)00:06
sarnoldMicromus: .. and it's also neat that if you like the tool, it can work for you on multiple kinds of tasks, too00:06
LinStatSDRWell, technically it's not all or nothing. The features are there but if you're looking for a minimalistic approach you could always go knee deep into linux from scratch00:06
MicromusAnd usually, when vendors bundle stuff together like that, it's because there is some stuff you cannot live without, but some of the stuff is utter shit00:06
sarnoldMicromus: oh yes, so true..00:07
LinStatSDRMicromus: Yep, nothing like having to have bloatware on production systems.00:07
LinStatSDRAlways a good time...00:07
MicromusSo I'm always wary against "all-or-nothing" stuff, not because it's always bad, it's just likely to be bad based on prior experience and statistics :P00:08
LinStatSDRThat's why we have Dev systems00:08
MicromusYes, and the time to get the dev system up and running itself is not so costly that you basically have to go further with the project even if the pilot goes south, which very often is the case, sadly00:10
LinStatSDRI always go for the minimalistic approach but sometimes I have issues with having such an environment when/if I need to scale out the services.00:10
LinStatSDRMicromus: The only thing that's costly is them paying you for all the time do troubleshoot, install, deploy and manage it.00:11
MicromusI spent a week writing a tutorial on setting up opentsdb when going from dev to production, https://peritusconsulting.github.io/articles/2014-06-02-next-generation-monitoring-using-opentsdb.html00:11
MicromusThey also pay me to do the research/testing of the systems before install and deploy ;)00:12
MicromusSo this is actually my step 2 of that, after skimming the webpages ;)00:13
LinStatSDRI'm in the same boat, I ONLY do R&D now but I have others do the documenting for me.00:13
MicromusSo far; website awesome, community seems good (or I might just be lucky now), next step is downloading and installing later this week00:13
LinStatSDRI have a wiki, because no one ever reads the documentation00:13
MicromusYep, that tutorial is now broken, due to new incompatible versions of stuff, so not worth the time spent from a pure documentation point of view00:14
LinStatSDRMicromus: It's really a niche community here.00:14
sarnoldMicromus: you are a touch lucky now, irc isn't always this responsive; the juju team does a good job keeping up on questions in askubuntu though, so when viewed as an average-per-day it works out alright, but there are times when irc is .. thin.00:14
MicromusInternally we use wiki as well00:15
LinStatSDRsarnold: We get a lot of OpenStack / Juju questions in #Ubuntu and #Ubuntu-Offtopic00:15
Micromussarnold: hehe, the opentsdb channel for example, usually goes weeks between any activity, so I'm guessing it's all relative00:16
LinStatSDRBut please, no #ubuntu-offtopic questions. That's the place to relax00:16
sarnoldLinStatSDR: oh, interesting, I hadn't heard of #ubuntu-offtopic, and #ubuntu is like drinking from a firehose, so I'm not often there :) hehe00:16
sarnoldMicromus: nice, hehe00:16
LinStatSDR#ubuntu is a scary place with 1,800 users in it. The OT channel has like 22000:16
MicromusI usually dont go to chat or forums to ask questions, I can usually google my way to the source and solutions pretty quickly00:17
MicromusI may throw the occational fit when I spent hours on some problem that is just stupid though  :o00:18
sarnoldMicromus: this seems like something you might enjoy reading about; I don't know how far along alan is yet.. http://linux-ha.org/source-doc/assimilation/html/index.html00:18
MicromusHah, I know, discovered that a few days ago actually00:20
MicromusChatting with Alan right now on #assimilation :)00:20
sarnoldMicromus: hah, nice :)00:20
LinStatSDRMicromus: Just be glad you're not using Lync for the voip and video traffic00:21
sarnoldit could just be my alanr fanboyism, he gives a hell of a good talk, no matter what he is talking about..00:21
* LinStatSDR shutters00:21
MicromusJust wondering, why did you think I would enjoy reading about it?00:21
MicromusBecause using graph databases for CMDB etc is something I have been thinking about for about a year00:22
sarnoldMicromus: you sound curious and your opentsdb read like you enjoyed learning about it :) hehe00:22
Micromusspot on ;)00:22
sarnold\o/00:23
MicromusAnyway, it's 1.20 in the morning here and i should be asleep loong ago, thanks for the intro, I'll stick around and hopefully try some stuff later this week :D00:25
LinStatSDRAlways good to be excited about new technology. I remember a deadzone for a few years00:25
sarnoldgnight Micromus, see ya later :)00:25
LinStatSDRNight Micromus, nice talking to you00:25
Micromus:)00:27
LinStatSDRsarnold: You wouldn't happen to know if this channel is logged would you?00:32
sarnoldLinStatSDR: yeah: http://irclogs.ubuntu.com/2014/12/09/%23juju.html00:48
LinStatSDRThat's literally dated tomorrow00:48
LinStatSDRI see. I'm a fool. Don't mind me00:48
sarnoldhah, so it is :)00:49
sarnoldI was just surprised that it was so far behind..00:49
LinStatSDRIt starts at 00:00 so00:49
LinStatSDRIt's as intended00:49
LinStatSDRThank you sarnold. I appreciate it.00:55
sarnoldLinStatSDR: sure thing :)00:56
josestub: ping02:36
stubjose: pong02:36
josestub: in which moments would you expect an IP change?02:37
stubjose: I don't know. I had a query here recently from someone whose postgresql unit had an IP address change, and we needed to manually trigger some hooks to get things back online.02:37
josestub: if you want to do such checks, you could add a sentinel file to your charm02:38
joseso do 'unit-get public-address' or private-address and echo/cat it into a file, then to check if it's changed compare the output of the same command with the info on the file02:38
LinStatSDRstub: lease expire or user command?02:38
stubLinStatSDR: I have no idea. I'm usually only working in the local provider, so it doesn't happen here :)02:39
LinStatSDRAh.02:39
LinStatSDRstub: last time I had that happen to me someone was trying to change it manually and I had to trigger a hook to get it to work02:40
stubjose: last I heard, the whole system would fall over since the controller node would lose track of the units. But if that has been fixed, and the controller node follows the ip address changes of the units, then my charm needs to handle that too.02:40
josestub: unfortunately the bootstrap node isn't aware and has no way to check IP changed02:41
LinStatSDRI don't mind hooking but don't want a db full of misc. ips02:41
stubjose: That answers my question then :)02:41
josestub: IF you want some info on how to get that fixed, lemme grab a link for you02:41
LinStatSDRMaaS can make the node aware.02:41
LinStatSDRiirc02:42
joseLinStatSDR: yeah, but bare in mind we're also dealing with aws, hpcloud, local, manual and many many more02:42
josestub: http://blog.dasroot.net/reconnecting-juju-connectivity/02:42
LinStatSDRjose: Yeah, that's true.02:43
stubI'm sure it will happen one day. I think all providers provide some sort of unchanging key for each container.02:45
stub(cloud providers, not juju providers)02:46
LinStatSDRI was going to say stub lol02:46
josestub: seen that last email? \o/03:01
=== kadams54-away is now known as kadams54
stubyeah, and responded ;)03:02
jose\o/03:03
joselooks like my watch was faster than my PC fetching it03:03
=== erkules_ is now known as erkules
=== urulama_ is now known as urulama
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jrwrenI tried to follow http://blog.juju.solutions/cloud/juju/2014/11/26/debug-hooks-ext-plugin.html and no where does it say to add ~/.juju-plugins to PATH. To make it work, I had to add it to PATH. Is this intentional? Can post be updated or at least "read the README for more"?15:03
marcoceppijrwren: you must follow the instructions of the plugins15:28
cory_fujrwren: You're right that I should have mentioned that in the blog post.  There's also a requirement on python-jujuclient that I didn't mention.15:28
marcoceppijrwren: https://github.com/juju/plugins#fetch-source15:28
marcoceppicory_fu: you may just want to link to the repository readme, I'm about ot write one of those lame curl | bash scripts for the plugins archive15:29
marcoceppito do an interactive install or whatever15:29
cory_fuOk.  Should I bother submitting a PR to add the python-jujuclient requirement to the README, then?15:30
marcoceppicory_fu: go ahead15:30
cory_fuOk15:30
marcoceppino idea when this pipe dream of mine will come true15:30
marcoceppiheh, get it, PIPE dream15:30
marcoceppiman, I crack myself up15:30
cory_fu...15:31
jrwren*groan*15:31
* marcoceppi sees himself out15:31
=== CyberJacob|Away is now known as CyberJacob
cory_fumarcoceppi: PR for plugins and blog are submitted15:46
mbruzekcory_fu: marcoceppi I can take a look15:46
cory_fumbruzek: Thanks15:46
lazyPower:( nobody ack'd my big data post17:06
lazyPowerhttps://github.com/juju-solutions/juju-solutions.github.io/pull/1617:06
=== roadmr is now known as roadmr_afk
=== kadams54_ is now known as kadams54-away
marcoceppilazyPower: /me nacks18:26
marcoceppi;) <318:26
lazyPowerhuzzahhh18:26
marcoceppinot sure I agree with voice of artcile18:27
marcoceppibut that can be tuned later18:27
=== kadams54-away is now known as kadams54_
=== roadmr_afk is now known as roadmr
=== kadams54_ is now known as kadams54-away
* hatch waves at stimms20:06
=== kadams54-away is now known as kadams54_
stimmshowdy20:07
stimmsso we're looking at deploying a bunch of ubuntu machines to "the field". The field being a bunch of drilling rigs. They're going to be disconnected for the most part or connected over a really slow line.20:08
hatchstimms: hey I pm'd you :)20:09
stimmswe would defer updates to when the devices are connected over a good connection20:09
stimmsprobably once every 4-6 weeks20:09
hatchwe can take this to pm if you prefer20:10
stimmsno, no nothing secret or proprietary here20:11
hatchok sounds good :)20:11
hatchthen plz continue :)20:11
stimmsyeah so I was wondering how good of a fit this scenario would be20:12
stimmsfor the most part all the devices will be the same but they would be in different states of update20:12
hatchwell typically Juju is used to orchestrate services in an environment - deploy, scale-up/down etc20:13
hatchso juju would be really nice for actually deploying the applications to the various machines20:13
hatchand for updating them when they come online20:14
stimmsthat was my impression20:14
hatchnow the question is, are we talking about multiple physical machines?20:14
hatchor just a single one that will be virtualized20:14
stimmsYes, they're little micro ATX thingies20:14
hatchahh ok so you also probably want to take a look at MAAS20:15
hatchas well20:15
stimmsthat being said we could deploy a core os to the physical device and then layer a VM on top20:15
hatchhmm20:16
stimmsor deploy into a container20:16
sarnoldjuju is neat stuff, but if these machines are so .. disconnected .. I don't really see the need for it20:16
hatchstimms: so I suppose there are a few different ways to do this20:16
stimmsbeing able to manage the machines and see what versions they are on from a central location would be handy20:16
hatchit's actually a pretty interesting problem20:17
stimmswe live in an age of polyglot deployment20:17
hatchindeed20:17
sarnoldit is interesting, nearly everything assumes ubiquitous networking :)20:17
hatchstimms: I'm trying to think of a good approach for the intermittent connectivity20:18
hatchI'm not sure if machines can pop in/out of an environment20:18
hatchassuming having a single env for all the rigs20:18
stimmshow do you deal with network partitions?20:18
hatchyou could of course have a new env for each rig20:18
hatchwhich would probably be best20:18
sarnoldfrom hearing about this so far, I think something like canonical's landscape might make more sense, but I know part of the landscape client sends ping messages back to the control server on a fairly regular basis; you probably wouldn't want that much overhead on a modem or worse, satellite link20:19
hatchstimms, so each rig would have it's own juju environment which, when connected, you'd be able to log into and view the environment/machines/services etc20:19
hatchstimms: I'm just thinking here...20:21
hatch:)20:21
hatchI love juju for the absolute trivial deployment story for services20:22
hatchso if you could script the deployment of the applications that need to be installed on each machine you could easily deploy them to each rig's environment with a couple commands20:23
hatchthen when it came time to update any of those services it would also be as trivial as running a single juju command per environment20:24
hatchstimms: so I suppose the question is - would you want to script the deployment of the services you need to install?20:24
stimmsoh for sure I would want it scripted20:25
stimmsI'm not manually deploying things to 100 boxes20:25
hatchlol no, you probably wouldn't want to do that20:25
stimmsthis isn't windowsland20:26
hatchso yes I'd probably use a MAAS + Juju setup20:26
hatchI think you need a minimum of 2 machines to run MAAS20:26
stimmslanscape looks like it would also be a good tool for us20:26
hatchMAAS would handle getting the hardware set up, os installed, registered for Juju's use20:27
hatchand yes landscape would be very helpful as well20:27
stimmsand MAAS is (wasn't it the thing that made you walk faster in Mech Warrior 2?)20:27
hatchlol20:27
hatchhttps://maas.ubuntu.com/20:28
stimmsMetal as a Service is a great name20:30
hatchhaha I know right?20:30
stimmsalthough it is a bit close to terminator for me to be completely comfortable with it20:31
stimmswell this gives me some avenues to explore, thanks!20:31
hatchstimms: yeah there are so many different approaches to this20:32
hatchit will be a fun project for sure20:32
stimmsI'll be delighted if I get to work on it for more than an hour a week20:34
hatchdarn - well might be best to start looking at something like my Ghost blog charm20:36
hatchit's written in JS but is very basic20:36
hatchso it'll give you an idea of how a charm is structured20:36
hatchhttps://github.com/hatched/ghost-charm20:36
stimmsevery time I talk to you I hear about that charm20:36
hatchlol20:36
lazyPowerstimms: he's the author, dont let it jade you :)20:36
hatchhaha shush20:37
lazyPowerstimms: alternatively - if you have charm-tools installed there are several templates available for boilerplate based exploration20:37
hatchit's just very basic and doesn't rely on any external libs or anything20:37
hatchso easy for new ppl to understand20:37
hatchand yes that too20:37
lazyPowerto date there are 2 flavors of python template, a chef template, and a bash template - with more on the way and a possible restructuring of how we do charming once charm-helpers is a solified project20:37
lazyPower*solidified - it moves pretty quickly at present, we're adding and extending it all the time.20:38
hatchlazyPower: deploys environments all day so he would also be a great resource :)20:38
lazyPowerhatch: your work to have a js based charm would make an excellent charm template btw20:38
lazyPowerif you want help doing that lmk20:38
hatchlazyPower: until node has a synchronous exec() command js charms are funky to write20:38
lazyPowerand thats newcommer friendly? :P20:39
* lazyPower ducks20:39
hatchhahaha - well for js dev's it is20:39
hatchlazyPower: do you know of a really basic python charm?20:40
lazyPowerhatch: the one created by charm create -t python_basic20:41
hatchlazyPower: we should commit that to a repo somewhere for people to explore20:41
hatchI could probably do it20:42
hatchbut then it'll be under my gh namespace :)20:42
hatchand we don't want that :P20:42
lazyPowerhatch: actually we have a long running card to do many different avenues of going from zero to charm along the different devel paths20:42
lazyPowerif you're a chef based user, bash, python, etc.20:42
hatchoh nice20:42
lazyPowerthen having that be part of the charm author docs20:42
lazyPowerbut time has been short with all the demo's and other fringe work coming up standing in between the docs and the eco team20:42
lazyPowersome day, we'll perfect cloning and get more evilnic's20:43
=== kadams54_ is now known as kadams54-away
MicromusIs there a separate channel for MAAS stuff?20:44
MicromusWould provisioning a glusterfs SAN with MAAS/juju be possible? And would it be a good idea?20:45
sarnoldMicromus: there is a #maas20:46
sarnoldMicromus: I didn't much care for the look of glusterfs when I read the code, but I haven't actually run it myself20:46
MicromusI've looked at ceph, but it's a pain to set up, and probably worse to operate20:47
jcastrowe do have a glusterfs charm20:56
=== kadams54-away is now known as kadams54_
=== kadams54_ is now known as kadams54-away
lazyPowerit may be a bit long in the tooth - its still targeting precise20:57
hatchstimms: if you have any more questions or anything feel free to ping me or ask here20:58
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr

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