/srv/irclogs.ubuntu.com/2017/02/24/#juju.txt

Budgie^SmoreHey lazyPower have you run a redis cluster in k8s yet?01:05
lazyPwrBudgie^Smore: Its been a minute, but yeah it was part of the petstore examples01:08
Budgie^Smoreyeah I was thinking of doing it stateful :)01:09
Budgie^Smorealthough the google example only uses rcs01:09
lazyPwrStatefulSet01:09
Budgie^Smoreyup01:09
lazyPwrthat would be a solid contribution back to their examples dir too01:09
Budgie^Smorewatching Hightower at RedisConf right now01:10
lazyPwrRight on :)  Got a livestream link?01:11
Budgie^Smorejust a youtube vid from last year01:11
Budgie^Smorehttps://www.youtube.com/watch?v=0hlv9iIncik&list=PL83Wfqi-zYZHtHoGv3PcGQA3lvE9p1eRl&index=1601:11
=== lazyPwr is now known as lazyPower
kjackalGood morning Juju World!07:58
=== frankban|afk is now known as frankban
=== mup_ is now known as mup
anrahHi! What is the username that each node uses when connecting with controller?11:52
anrahI can see the password on agent.conf but I don't figure out the username11:53
lorenzotomasinitvansteenburgh: thanks, we will for sure make use of the new version of the juju lib as soon as possible, but i think that we won't be able to migrate to the new one in time for the MWC demo12:00
pranavHi Folks. Does anyone know if charms for openstack release are available yet?12:45
pranavsorry i meant openstack ocata release12:47
rick_htvansteenburgh: have you seen scripts bombing out due to "OSError: [Errno 9] Bad file descriptor" before?13:54
tvansteenburghrick_h: yes, was just working on that yesterday13:54
tvansteenburghrick_h: typically happens when you don't clean up connections before closing the event loop13:55
rick_htvansteenburgh: any clue on what tossed it? the failures are coming out of python code vs my code so not sure wtf happend13:55
rick_htvansteenburgh: oic13:55
tvansteenburghrick_h: i can look at code or hangout if you want13:55
rick_htvansteenburgh: that's a good hint. I'm not cleaning stuff up. Will poke at it13:55
tvansteenburghrick_h: cool, lmk if i can help13:55
rick_htvansteenburgh: https://pastebin.canonical.com/180649/ is what I'm hacking on atm13:55
rick_htvansteenburgh: so assume I need to add some cleanup to my stress runs13:56
=== jamespage_ is now known as jamespage
tvansteenburghrick_h: yeah you probably want to await cont.disconnect() and await stress.disconnect() at the end of the stress func13:59
rick_htvansteenburgh: makes sense ty13:59
=== admcleod_ is now known as admcleod
=== frankban is now known as frankban|afk
=== mup_ is now known as mup
=== mup_ is now known as mup
jamespagemarcoceppi: ok our openstack charms release is all clear - feel free to move charm-helpers when you're ready18:31
jamespageif there is anything I can do to help just shout18:31
marcoceppijamespage: thanks!18:31
mimizonehi all.18:34
mimizoneafter creating a juju controller via maas, when deploying a model to the same machine, the machine-0 endsup in the "down" state. How can I investigate?18:35
mimizoneI did the 2 following commands18:35
mimizonejuju bootstrap r16maas --debug --to osv16ocp1b18:35
mimizonejuju deploy juju-gui --to osv16ocp1b18:35
mimizoneI use Ubuntu Xenial, Juju 2.1.0 and MAAS 2.1.318:36
mimizonewhen sshing into the "machine 0", the juju-machine-0 service can't be started. It says it's not found.18:37
stormmoreanyone care to explain to me the logic behind having the controller model instead of having the controller be part of the default model?18:48
rick_hstormmore: because folks would bootstrap and start deploying18:56
rick_hstormmore: and the controller model cannot be destroyed18:56
rick_hstormmore: so this way, folks are put into a safe place right after bootstrap, the controller model is kept apart, and users are encouraged to use the default, create their own, and eventually remove the default model all safely18:56
stormmorerick_h, I get that. Just seems over kill to have to assign a full machine / instance for juju. Not so big a deal with cloud instances but bare metal...19:06
rick_hstormmore: you're completely free to switch over there and run things there19:07
rick_hstormmore: that tends to be the use when folks use one controller per deploy, but in a multi-model world models are cheap19:07
jhobbsstormmore i usually make a VM on the server that's running MAAS and put the controller on it19:07
rick_hso having one machine be the controller for dozens of models is what we're defaulting to19:07
rick_hstormmore: what jhobbs said ^19:07
rick_hI know of folks that setup a lxd, register it in maas, and deploy to it in that way19:08
stormmorerick_h, oh I know that too, just saying. most likely I will go multimodel at some point19:08
rick_hstormmore: but especially if you head toward HA/etc we default to the middle ground19:08
rick_hnot too scale down, not so scale up19:08
stormmorejhobbs, yeah that is the conclusion I came to too ;-)19:08
rick_hfor us it's a case of sane/safe defaults. There's more options available that will hopefully work for what you need19:08
stormmorerick_h, I actually thought about doing it as an LXD on the same node I was installing MaaS on but was wondering if it would be better to have it on the node that is going to be the cluster master and run other services on it19:10
rick_hstormmore: I guess "better" with what criteria is the question19:10
stormmorerick_h, well the basic objective is to minimize the amount of resources required for managing a cluster. for instance I am planning on moving the maas postgres db into the cluster once it fully up19:14
rick_hstormmore: interesting19:15
stormmoreThe plan is to have a bootstrap node that it "removed" once a data center is fully functional19:15
stormmoreyes it means making sure everything is HA19:16
stormmorerick_h, am I understanding you correctly, people are getting maas to manage some LXD containers as well as other bare-metal?19:37
jhobbsyeah, i've never heard of that :) if that's possible I'd like to know more19:39
* rick_h checks his sources19:39
stormmoreyou and me both jhobbs :) to me even VMs seems overkill for building a management node19:40
rick_hah, kvm is what I'm thinking of: https://blog.felipe-alfaro.com/2014/05/29/how-to-configure-maas-to-be-able-to-boot-kvm-virtual-machines/ and the like19:40
mimizonestill having issues here with the machine-0 reported down in the juju status. fresh bootstrap install via maas/physical, and trying to put the juju-gui on the machine-019:41
stormmoreyeah I was pondering that, just not as experienced with KVM as other virt tech :-/19:41
rick_hhttp://askubuntu.com/questions/665741/how-to-create-a-lxd-container-on-a-machine-and-register-it-in-maas for the lxd side19:41
rick_hmimizone: what version of juju?19:41
mimizonejuju 2.1.0-xenial-amd6419:41
rick_hmimizone: juju gui comes bundled ootb19:41
rick_hmimizone: just run juju-gui19:42
rick_hsorry19:42
rick_h"juju gui"19:42
rick_has for the reporting of down, is the machine down? can you ssh to it?19:42
rick_hmimizone: this is after you "juju switch controller" and see machine 0 there?19:42
mimizoneyes I can ssh to the machine and I see jujud-machine-0 service is up19:42
mimizonejuju switch controller? I must have read the wrong documentation, never saw this step19:43
rick_hmimizone: right, so in juju 2, there is the ability to operate multiple models19:43
rick_hmimizone: and out of the box, you end up on an empty model w/o access to the controller itself so that it's safe19:44
rick_hmimizone: you can switch to the controller and see machine 0 by using "juju switch controller"19:44
rick_hmimizone: check out 'juju models' as well19:44
rick_hmimizone: but the gui is built in so you can just run the 'juju gui' command and get it to open up.19:44
mimizoneAaaaaaahh :) much better with the right explanation :)19:45
mimizonegood to see the gui is built in19:45
rick_hmimizone: if you're new to juju2 I'd check out https://jujucharms.com/docs/stable/introducing-219:45
mimizonerick_h: thanks19:45
rick_hmimizone: and some videos from the past: https://www.youtube.com/results?search_query=juju+2.019:45
mimizoneI will check. I am doing all this for the JOID model for OPNFV19:46
mimizonerick_h: thanks again. was completely far from understanding all the changes.19:48
rick_hmimizone: all good, let us know if you have any questions19:49
rick_hmimizone: hopefully some goodness in there for you to discover19:49
stormmorehttps://insights.ubuntu.com/2015/01/15/virtualbox-extensions-for-maas/ is what I am using for inspiration right now19:49
stormmorehey lazyPower so 2 days with a restart on kube-dns :)19:55
petevgcory_fu, kwmonroe: https://github.com/juju-solutions/matrix/pull/8420:35
petevgkwmonroe: thx for the +1. I went ahead and merged the code :-)21:39
kwmonroei trust you completely petevg :)21:42
petevgI will strive to live up to your trust. Or something :-)21:42
kwmonroecory_fu: does this look familiar?  http://paste.ubuntu.com/24061228/  i just built a local jenkins charm, now it's complaining about layer.options('basic')22:06
cory_fukwmonroe: o_O  The function is definitely there: https://github.com/juju-solutions/layer-basic/blob/master/lib/charms/layer/__init__.py22:08
cory_fukwmonroe: Any chance you have an old copy of layer-basic checked out locally?22:09
kwmonroelol cory_fu, my bad22:09
kwmonroei'm dumb... "find . -name __init__.py -delete" is rarely what you wanna do.22:10
cory_fuha22:10
cory_fuI was about to be worried22:10
kwmonroenothing like a catastrophic layer-basic failure at 5pm on a friday, #amirite?22:10
cory_fu:)22:11

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