/srv/irclogs.ubuntu.com/2018/02/07/#juju.txt

=== mup_ is now known as mup
=== mup_ is now known as mup
=== mup_ is now known as mup
stubcory_fu: whoops, sorry.07:40
stubuploaded07:41
=== mthaddon` is now known as mthaddon
=== frankban|afk is now known as frankban
elmaciejHello! Does anyone have expierience with installing mapr using juju13:30
rick_hSorry elmaciej  not done it here. What charm are you using and what are you hitting?13:50
=== Sune_ is now known as SuneK
SuneKHi, I'm trying to deploy the canonical kubernetes cluster through juju gui. I exported and modified the yaml file to add constraints for the workers, however these constraints were not met by the provisioned machines.14:37
SuneK(Of course I also reimported the updated yaml file :-)14:38
SuneKI know I could just add constraints to the machines, but as far as I understood adding the constraints to the applications, should ensure, that the application was deployed on machines with sufficient resources14:39
SuneKmsg NickServ register 0G2YOU8ipDoh sune.kjaergaard@gmail.com14:49
SuneKlol14:49
cory_fustub: Thanks.  Any chance we could automate the release process somehow so that they stay in sync?  Or perhaps give me and / or tvansteenburgh access on pypi to update it if it's missed?  We depend on the pypi version in conjure-up (we use pypi to bundle it into the snap)14:53
stubPPA gets built automatically, snap published to edge automatically but needs manual promotion to stable (by me, since snapstore doesn't have teams), pypi isn't automatic14:55
stubI can give you and Tim access to Pypi, sure14:55
cory_fuThanks.  That'll at least take care of the case where one or two of us is unavailable14:56
stubIt will lose gpg signing by my key, but I don't think anyone in the real world cares about that.14:57
akshay__Hi All, on my OCATA setup (openstack+my application) when I revert the snapshot to openstack only state and then try to re-deploy my application it is not allowing me to add relation and errors out as the relation being added already exists. Can someone please help me out.14:58
stubcory_fu: Is done14:58
cory_fustub: Thanks!15:00
kwmonroerats, i missed SuneK.  if that person comes back with the application vs machine contraint issue, it's bug 1676986.  workaround is that you need machine constraints to affect initial bundle deployment; app constraints alone won't do it.15:46
mupBug #1676986: juju doesn't honor bundle application constraints (2.1.2) <constraints> <juju:Invalid> <https://launchpad.net/bugs/1676986>15:46
magicaltroutis there an answer you don't know kwmonroe .......16:02
kwmonroemagicaltrout: i don't know why you keep messing with my backscroll!16:09
rick_hkwmonroe: magicaltrout bdx hml externalreality_ and folks a heads up on juju show in 105min17:16
hmlrick_h: :-) - what’s today’s topic?17:16
hmlagprado: ^^17:16
rick_hhml: upgrading juju17:16
rick_hagprado: that's what I was looking for. I was looking in the G's trying to find his nick17:17
rick_hhml: IS has a cool tool for upgrading juju controllers and models I want to show off and get folks involved with17:17
=== frankban is now known as frankban|afk
yosefrow_@kwmonroe, is it possible yet to deploy a bundle with a manual cloud. iirc last time I tried that, it failed because juju could not use the manually added machines to deploy for some reason.18:20
rick_hyosefrow_: so the newer juju supports a flag on bundle deploy --use-existing that should work out for you18:22
rick_hoh damn too slow and wrong command https://jujucharms.com/docs/2.3/charms-bundles#recycling-machines18:23
kwmonroeheh18:24
kwmonroehe'll be back.  they always come back.18:24
* rick_h adds that as a note to the juju show18:26
rick_h30min! and then party time!18:26
yosefrowrick_h, wheres the party?18:34
rick_hyosefrow: juju show in 26min!18:35
yosefrow:o18:35
yosefrowwhere?18:35
rick_hyosefrow: and https://jujucharms.com/docs/2.3/charms-bundles#recycling-machines for ya18:35
rick_hyosefrow: https://www.youtube.com/watch?v=Pkbp4VK8-vo18:35
rick_hat the top of the hour18:35
yosefrow@rick_h, this was in answer to my question?18:35
yosefrowrecycling18:36
rick_hyosefrow: yep, if I understand your question correctly18:36
yosefrowthis looks amazing18:36
yosefrowits probably exactly what i need18:36
yosefrowwish i knew about that months ago18:36
rick_hyosefrow: well it's a month old I think in the last release or two18:37
yosefrowah i heard about it then18:37
rick_hso yea, added a note to mention it on the juju show today in case it slipped by others18:37
yosefrowwhen i originally had the problem i complained to canonical and they said is a feature coming to the next release18:37
yosefrow@rick_h, specifically useful when deploying manual cloud18:38
rick_hyosefrow: definitely18:38
rick_hyosefrow: what machines are you running on then?18:38
rick_hyosefrow: is it something we don't support as a cloud or just machines lying around or ?18:38
yosefrowmy use case is 3 nodes manually provided by a client who doesnt want me to access their hypervisor. Then bootstrapping to kvm node on management node and deploying k8s to the 3 manual nodes with a bundle18:38
rick_hyosefrow: oic18:39
yosefrowi fell short of deployment and was forced to use rancher18:39
yosefrowbecause juju insisted on ignoring my manually added machines18:39
yosefrowglad to see this fixed18:39
rick_hyosefrow: definitely18:40
yosefrowill include it in my blog post about manual deployment with juju when i get around to it18:40
rick_hyosefrow: I'd love to see it when you get around to it18:41
yosefrowsure18:41
yosefrowyou can see my previous posts and correct any glaring issues if you want18:41
yosefrowhavent had many ppl review it and im wondering if my posts are clear enough18:42
yosefrowrick_h, do you work with maas much?18:42
rick_hyosefrow: I use it, I've got my own maas cluster at the house I use for testing and such but don't work on it18:42
rick_hyosefrow: but I'm a fan :)18:42
yosefrowcool18:43
yosefrowhow deeply are you involved with juju?18:43
rick_hI think it really solves a cool problem that more folks have than realize (maas that is)18:43
rick_hI've worked all around it for a while. I'm pretty involved.18:43
rick_h(juju that is)18:43
yosefrownice18:45
yosefrowyou write code for juju?18:45
rick_hI've written more code around juju, the gui, the charmstore, etc. I've not written the main juju Go code. I work with those teams a lot.18:46
yosefrowcool :o18:47
yosefrowIm confident that Juju / MAAS have a prominent place in the present and future of cloud computing18:48
yosefrowWithout them my life would be a nightmare18:48
rick_hyosefrow: glad to hear. hopefully the updates get your deploys going smoother18:52
rick_hhttps://hangouts.google.com/hangouts/_/kzm7m5vmn5f5lbfm5yr4wkowk4e bdx kwmonroe hml agprado externalreality_  and such for joining the hangout18:52
yosefrowrick_h, before juju was not on option for certain clients. now it is. I just need to test it18:53
rick_hhttps://www.youtube.com/watch?v=Pkbp4VK8-vo for watching in 7 min18:53
rick_hyosefrow: if you hit anything you know where to find us :)18:53
yosefrowhehe yep :)18:53
zeestratrick_h: A tip on how to build older juju clients would be handy too for us stragglers who need to test things in staging19:16
zeestratrick_h: Would love to crib some notes.19:25
rick_hzeestrat: gotcha, will put together a pastebin for you19:25
zeestratThanks19:25
yosefrow@rick_h, well that was fun. I originally meant to join as a spectator, but I guess it all worked out. How often do you do this show?19:29
rick_hyosefrow: every two weeks, same bat time, same bat channel19:29
yosefrowjuju operates on bat time?19:29
rick_hyosefrow: http://youtube.com/jujucharms check out the playlist for the juju show19:29
rick_hyosefrow: is there any other? :P19:29
yosefrowhehe\19:29
=== agprado is now known as agprado|lunch
rick_hzeestrat: https://pastebin.canonical.com/209481/ is the gist of what I did19:32
rick_hzeestrat: that creates a bin directory with a juju in it juju-core_2.2.9/bin/juju19:32
rick_hI *think* those are the steps needed. I had to monkey around a bit to get it to work but think these are the required ones19:32
yosefrowrick_h, while you are here, do you know off the top of your head if theres a way to customize the location of the juju gui download automatically downloaded when you bootstrap, or a way to skip the gui being installed so that the installation does not timeout?19:36
yosefrowthis becomes in an issue in ari-gapped environments19:36
zeestratrick_h: Getting "You do not currently have access to the pastebin." Internal only?19:36
yosefrowair-gapped*19:36
rick_hyosefrow: yes, there's a --no-gui option to bootstrap and then you can always download any gui release tarball and use that as an upgrade-gui command19:36
rick_hzeestrat: oh doh my bad19:36
rick_hyosefrow: https://github.com/juju/juju-gui/releases19:36
rick_hzeestrat: try https://paste.ubuntu.com/26537367/19:37
zeestratty19:37
yosefrowrick_h, is this the recommended way of performing air gapped installs?, or is a kind of --gui-url option being planned ?19:37
rick_hyosefrow: no, nothing in the plans. Worth a bug perhaps but unfortunately not a priority there since there's the work around19:38
yosefrowunderstood. noting the workaround. Thanks19:38
yosefrowI wish I joined this channel earlier instead of futzing around on my own for so long. You guys are totally cool19:38
yosefrowThanks for all the help19:39
rick_hyosefrow: no problem, thanks for hacking with stuff and definitely we want people to use our stuff :)19:40
yosefrowrick_h, This is cutting edge stuff. So I'm glad to be part of the juju movement, even if just as a user/bug reporter.19:41
yosefrowIll definitely report bugs and clarify any roadblocks i run into here19:42
rick_h<319:42
ryebotI'm having a hard time getting the cloudinit-userdata model config to work: https://gist.github.com/wwwtyro/77d79e971f8c79590ea47e87b4875d8a20:03
ryebotI've tried numerous permutations, but I never see anything set in /var/lib/cloud/instance/user-data.txt.i or any of its siblings20:04
ryebotAny suggestions/examples?20:05
thumperryebot: which version of juju are you using?20:33
thumperhml: ^^20:33
ryebot@thumper: 2.3.220:33
ryebotthumper: I just discovered this: https://github.com/juju/juju/blob/2.3/cloudconfig/userdatacfg_unix.go#L35720:33
ryebotwhich invalidates that experiment20:34
ryebotbut I'm trying to get ca-certs to work20:34
ryebotI'm going to try with final_message next and see if I can even get it to show up20:34
hmlryebot: packages should be allowed - they are handled separately20:36
hmlryebot: they are merged into the juju packages list20:36
hmlryebot: any chance you can check the cloudinit log files on the machine?20:37
ryebothml: yeah no problem20:37
ryebothml: anything in particular you'd like me to look for?20:38
hmlryebot: see what references to ack-grep there are.  did it find it in the cloud init files and were there problems installing it20:38
hmlryebot: you can also see if it make it into /var/lib/cloud/instance/user-data.txt.i20:39
ryebothml: no references to ack-grep in /var/log/cloud-init.log or /var/log/cloud-init-output.log20:39
ryebothml: it's not in /var/lib/cloud/instance/user-data.txt.i either20:40
hmlryebot: hrm…20:40
hmlryebot: trying something in my setup20:40
ryebothml sweet thanks20:41
ryebothml: fwiw, I wasn't able to get final_message or ca-certs to work either20:42
hmlryebot: you’re config file worked locally for me20:43
ryebotwell, poop20:43
hmlryebot: what series are you using?20:44
ryebothml xenial20:45
* hml scratching head20:45
ryebothml: are you on 2.3.2? or dev branch or?20:45
hmlryebot: i’m on dev right now - but it works on 2.3.2, went in for 2.3.1, but i’ll double check 2.3.2 in a minute to be paranoid20:46
ryebothml: also did you try with a fresh model? I've been reusing the same model and just launching a new machine after each model-config change20:46
hmlryebot: i had to bootstrap - so it’s all fresh20:47
hmlryebot: did you bootstrap 2.3.2 or upgrade?20:47
ryebotgah, my controller is 2.3.120:47
ryebotdangit20:47
ryebotlemme bootstrap a new one20:47
rick_hryebot: upgrade! /me did the juju-upgrader tool in the juju show today21:14
rick_hvs bootstrap, oh except I see there's some question of issues with an upgraded setup21:14
ryebotrick_h: hmm well I probably should have to add another datapoint, but too late now21:14
ryebotrick_h: I'll remember next time :)21:15
=== Sune_ is now known as SuneK
SuneKHi I need some help understanding constraints22:09
SuneKI was under the impression that when i specify a constraint for an application in a bundle, juju would provision machines that met those constraints?22:09
knobbythat would be my assumption as well. What specific constraint are you using and in what environment?22:10
SuneKI'm trying to setup the canonical kubernetes distribution22:11
knobbyon bare metal, aws, gce?22:11
SuneKon vsphere22:11
SuneKSo i loaded the bundle in the juju gui, exported it, and added constraints for the worker nodes, and reimported it to my model22:12
SuneKBut the machines created are way to small22:13
SuneKI know i could set constraints for the machines themselves, but that's not how it's suppose to be (in my mind at least)22:14
kwmonroeSuneK!!22:14
knobbyI'm not sure about vsphere and constraints. I thought I saw something about that in an issue recently but I can't find it now. Maybe one of the juju guys can help.22:14
SuneKkwmonroe: ?22:15
kwmonroeSuneK: sorry, i forgot to paste the thing i was exlaiming you for...22:17
kwmonroeso, earlier you asked about this constraint thing, but i wasn't fast enough with the reply before you dropped..22:17
kwmonroehere's the deal:  bug 167698622:17
mupBug #1676986: juju doesn't honor bundle application constraints (2.1.2) <constraints> <juju:Invalid> <https://launchpad.net/bugs/1676986>22:17
SuneKYeah sorry about that; I had to pickup kids :-)22:17
kwmonroeSuneK: on initial deploy, machine contraints will take prescedent.  application constraints will take effect for stuff like "add-unit"22:18
SuneKBut thanks, I'll look into that22:18
SuneKOk, well now there's an explanation, I can work around that22:18
SuneKThanks again!22:18
kwmonroenp22:19

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