/srv/irclogs.ubuntu.com/2016/10/13/#juju.txt

lazyPowerhallyn - environments.yaml is a juju 1.x convention00:23
lazyPoweri'm assuming you're using 1.25.6 after re-reading that statement.... as kvm local provider only exists on the 1.x series of juju atm00:24
hallynheh, then i suppose it's a good thing i'm using that.  i was thinking of trying 2.0 as surely it must be better, but...01:59
hallynok let's look through the source02:17
hallynthough finding the src package can be a challange.  wow.02:22
hallynugh, having the source doesn't always help :)02:27
hallynrogpeppe: hey!02:27
hallynoh here we go, maybe in ./src/github.com/juju/juju/container/kvm/kvm.go02:31
hallyn*sigh*  https://juju.ubuntu.com/docs/reference-constraints.html redirecting to fluff is helpful02:34
=== verterok` is now known as verterok
=== thumper is now known as thumper-cooking
hallynall right i guess i'll stick to manually doing set-constraints on every deploy05:15
=== thumper-cooking is now known as thumper-dogwalk
pmatulishallyn, bonjour, where did you get that link?05:42
pmatulishallyn, try inserting /1.25/ or /2.0/ after /docs/05:44
rogpeppehallyn: hiya06:44
herb64Hi all, does anybody know how to bootstrap juju controller into openstack cloud with self signed certificate?06:45
herb64--debug tells me, that certificate has unknown authority. Searching for something similar as with using nova --insecure06:46
anrahherb64: i have no problems using self signed certificates06:47
herb64I'm using Juju 2.0 beta06:47
herb642.0-beta15-xenial-amd64 exactly06:48
anrahok, i have rc206:48
herb64Good to hear, that it basically should work and that there's no general problem with it. I'll go for an update. Thank you06:50
anrahHmm, but now after looking my novarc file the keystone url is only http06:52
=== thumper-dogwalk is now known as thumper
herb64Well, but updating might be a good idea, anyway06:53
=== frankban|afk is now known as frankban
kjackal_Good morning juju world!07:24
magicaltroutgod help us08:10
herb64I now upgraded to juju 2.0 rc3 - but still the same, when bootstrapping into openstack08:20
herb64auth fails, because "x509: certificate signed by unknown authority"08:21
herb64any ideas, how to bootstrap into openstack with self signed certs, some flag similar to --insecure with nova?08:22
magicaltroutherb64: dunno, kjackal_ appears to be awake though so might know someone who knows08:35
magicaltroutor jamespage might be around and might have a clue if you've not spoken with him about it08:36
kjackal_Hi magicaltrout herb6408:36
magicaltrouti've not used openstack, but i'd imagine most certs are self signed aren't they?08:37
magicaltroutconsidering how many people use it to test rather than in production08:37
magicaltroutawww08:38
magicaltroutas if08:38
magicaltroutoh well08:38
magicaltroutin other news.... it turns out my goldfish likes to be stroked......08:39
=== bpierre is now known as 6A4AAA1WT
=== med_ is now known as Guest38941
=== zeus is now known as Guest10825
autonomouseHi, I don't know much about the non-reactive charms (or that much about reactive ones either, but I'm getting there) but I have a problem with getting a reactive charm to talk to it. The relation doesn't seem to be triggering anything on the non-reactive side. When I look in the hooks folder, I can see lots of symlinks in the hooks folder for the relations with other charms, with names such as "xxx-relation-joined" or "yyy-relation-changed".10:50
autonomouseThe one I'm trying to trigger is @hooks.hook('oildashboard-relation-joined') in hooks.py. Looking at the symlink files, they all just seem to be symlinks to the hooks.py - could this be the cause? Do I just make a new symlink called oildashboard-relation-joined? Seems a bit random...?10:50
=== freyes__ is now known as freyes
hallynpmatulis: https://juju.ubuntu.com/docs/1.25/reference-constraints.html doesn't work either :(   link came from a blogpos iirc13:37
hallynbut blaming the blog post would be wrong.  this is the internet.13:37
hallynrogpeppe: i was looking for someone who could point me to docs about the keys available in environments.yaml13:59
rogpeppehallyn: there is none. https://bugs.launchpad.net/juju/+bug/162886514:00
mupBug #1628865: bootstrap command help does not document possible configuration values <juju:Triaged> <https://launchpad.net/bugs/1628865>14:00
rogpeppehallyn: unfortunately the source code seems to be the only reliable place and the relevant code is now all over the place since the key space has been split up14:01
hallynrogpeppe: d'oh14:01
hallynright, key space split up is what i ran into last night looking for the answer in the src :)  ok thx14:01
rogpeppehallyn: good places to look are: controller/config.go environs/bootstrap/config.go environs/config/config.go14:02
rogpeppehallyn: there are probably others that i don't know about14:02
hallynrogpeppe: i was assuming there was some structure, i.e. "container: kvm\nconstraints.mem: 2G"14:05
rogpeppehallyn: what version of juju are you using?14:06
hallyn1.25.6-xenial-amd6414:13
vmorrisShould I expect a unit that's error/idle with a failed update-status hook to ignore any attempts to remove it?14:20
vmorriseven with a --force switch, unit-remove seems to have zero affect on the hung unit14:26
iceythe 16.10 release announce mentions juju 2.0 GA, is that going out today? http://insights.ubuntu.com/2016/10/13/canonical-releases-ubuntu-16-10/14:26
lazyPowervmorris - which substrate is this?14:27
vmorrislazyPower lxd/local14:27
lazyPowervmorris juju remove-machine # --force (assuming only one application/charm is deployed there) should remove that stuck unit14:27
lazyPowerthats kind of a big hammer approach to removing a stuck unit, but it does work.14:28
vmorrisyeah, i suppose that would be fine for lxd14:28
lazyPowericey we can hope :D14:29
rick_h_icey: yes14:30
marcoceppilazyPower: did you see the reply here? http://askubuntu.com/questions/835522/kubectl-cluster-info-get-502-bad-gateway-error14:35
lazyPowermarcoceppi did just now :( and it makes me sad14:36
lazyPowerdefault  lxd-test    localhost/localhost  2.0-rc3  -- we dont support lxd deployments yet14:36
marcoceppilazyPower: yeah, is there not a profile we can add to LXD to at least get it around14:36
* lazyPower will update the question and edit it to be approrpiate14:36
lazyPowernope, lxd constraints will keep flannel from working so it'll never fully turn up14:36
lazyPoweryou'd have to run the entire thing as priveldged containers and i'm not certain that works14:37
lazyPowerCynerva - have we tried that? stuffing k8s in priv. lxd containers?14:37
CynervalazyPower: tried master, haven't tried worker. With master in privileged LXD I got pretty far, but nginx-ingress-controller seemed to have trouble deploying. That may have been a sporadic issue though. I didn't look into it further.14:39
lazyPowerthats odd its jsut an nginx container + ssl certs14:39
lazyPowerbut ok, we've taken a prelim look at it.14:46
lazyPowermarcoceppi i'm not sure what i can add here to the conversation. I could reasonably rewrite the question/answer to be mroe specific to the problem and go into technical detail about the different components and what we think needs to happen14:54
lazyPoweris that overkill?14:54
ahasenackmarcoceppi: hi, around? I got a very surprising update-status hook failure in the ubuntu charm14:55
ahasenackit was running ok every 5min, and now it's failing in every run with ImportError: No module named 'charmhelpers'14:55
ahasenackthere was no code or charm upgrade triggered by me14:55
ahasenackI filed #163310614:56
mupBug #1633106: update-status hook failure: cannot import charmhelpers <kanban-cross-team> <landscape> <ubuntu (Juju Charms Collection):New> <https://launchpad.net/bugs/1633106>14:56
ahasenackmarcoceppi: n/m, forgot that this machine was mid release-upgrade :(15:01
arosalesrick_h_:  we continue to hit the lxd issues with rabbitmq15:19
arosalesrick_h_: specifically https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/1563271 and https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/158490215:19
mupBug #1563271: update-status hook errors when unable to connect <landscape> <openstack> <rabbitmq-server (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1563271>15:19
mupBug #1584902: Setting RabbitMQ NODENAME to non-FQDN breaks on MaaS 2.0 <backport-potential> <canonical-bootstack> <conjure> <cpec> <juju2> <maas2> <sts> <rabbitmq-server (Juju Charms Collection):New for james-page> <https://launchpad.net/bugs/1584902>15:19
arosalesrick_h_: I think vmorris is seeing this with lxd/local with openstack charms on s390x15:19
arosalesrick_h_: suggestion how we should proceed? In 1584902 we were unable to work around the issue in charms, and thought it may need to be resolved at the lxd or juju level, thus wanted to get your thoughts15:20
vmorrisyep -- adding calls to configure_nodename() in the update-status and amqp-relation-changed hooks seems to help15:21
rick_h_arosales: looking15:25
rick_h_dooferlad: ping, we should be in a place where all lxd containers have hostnames now as of rc3 right?15:27
dooferladI believe so15:29
rick_h_dooferlad: created a card for the rabbitmq hostname issue there if you can please look into that as a next line of owrk15:31
rick_h_dooferlad: looks like the hostname turns into ubuntu or something there15:31
arosalesvmorris: I think kwmonroe was looking at using the hostname in the big data charms to work around a similar issue15:32
arosales*think*15:32
vmorrisrick_h_ dooferlad : the hostname is set to ubuntu at initial deploy, then is changed to juju-##### however the rmq-server configuration in /etc never gets updated15:33
hallynSo - juju 2.0 does not have the local/kvm provider, what will be the proposed alternative?15:36
rick_h_hallyn: lxd provider is the only alternative. Manual provider if you want to create kvm machines and add-machine them to a juju model15:37
kwmonroeyeah rick_h_ arosales vmorris dooferlad, the hostnames are legit after the initial deployment (i think because the containers are rebooted).  unfortuantely, that doesn't help containers talk to each other.15:39
kwmonroehttp://paste.ubuntu.com/23318452/15:39
kwmonroeseems like the lxd containers should have '.lxd' as their domainname instead of '.localdomain'.  dooferlad, does that sound right to you?15:40
dooferladkwmonroe: I don't know the specifics of if .localdomain, .lxd or something else is right.15:42
dooferladrick_h_, vmorris, kwmonroe: the hostname is set by Cloud Init - Juju just asks it to write the files. I didn't see hostname = ubuntu during my testing.15:43
dooferladnone of this provides DNS though.15:45
rick_h_kwmonroe: this is on the manual provider?15:45
vmorrisdooferlad et.al https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/1563271/comments/515:45
mupBug #1563271: update-status hook errors when unable to connect <landscape> <openstack> <rabbitmq-server (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1563271>15:45
rick_h_kwmonroe: vmorris that is ? ^15:46
rick_h_e.g. that cloud-init might not be in play here?15:46
dooferladrick_h_: cloud-init only runs at the first boot.15:46
dooferladrick_h_: so no, that is nothing to do with that.15:46
rick_h_dooferlad: right, my point is to see if an original hostname is set when the machine is created, and when it's added to juju with add-machine does it change/not change in some way that's causing an issue?15:47
dooferladrick_h_: OK, that won't have anything to do with cloud-init. I can't get to that today, but I will look at it first thing tomorrow.15:48
rick_h_dooferlad: k15:48
kwmonroerick_h_: in my case, it's fine that 'ubuntu' is used when the machine is created so long as it has a real FQDN when the application is installed.  for me, it's a problem that 2 containers can't resolve the FQDNs in the same deployment.. so i opened https://bugs.launchpad.net/juju/+bug/1633126.15:49
mupBug #1633126: can't resolve lxd containers by fqdn <juju:New> <https://launchpad.net/bugs/1633126>15:49
dooferladrick_h_: (because Juju doesn't run until cloud-init has finished)15:49
arosalesrick_h_: I believe kwmonroe is using local/lxd on 2.0 and big data charms, not rabbit, but similar issues15:49
rick_h_arosales: k, so the s390 will be different than local/lxd so trying to narrow down where we're looking atm.15:49
arosalesrick_h_: gotcha and in bigdata charm we see the issue everywhere, not just s390x, but also on x and p, aiui15:51
dooferladkwmonroe, arosales: do those LXDs have a DNS server that will resolve the Juju names? If not, how do we expect it to work?15:51
arosalesrick_h_: for s390x we are seeing https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/1563271 and https://bugs.launchpad.net/juju/+bug/163203015:51
mupBug #1563271: update-status hook errors when unable to connect <landscape> <openstack> <rabbitmq-server (Juju Charms Collection):Confirmed> <https://launchpad.net/bugs/1563271>15:51
mupBug #1632030: juju-db fails to start -- WiredTiger reports Input/output error <juju> <juju-db> <mongodb> <s390x> <juju:Incomplete> <Ubuntu on IBM z Systems:Incomplete> <https://launchpad.net/bugs/1632030>15:51
rick_h_arosales: right, and the second one we've got eyes/work going into15:51
kwmonroesure dooferlad.. those LXDs use the lxdbr0 as their nameserver... and they can all resolve each other as "juju-foo-X.lxd".  just not "juju-foo-X.localdomain"15:52
rick_h_arosales: so I'd like to take one issue at a time and ask dooferlad to look into hostname issues specifically wherever we're seeing those15:52
arosalesrick_h_: thanks, and the rabbit issue sounds related to the one the openstack folks opened, https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/158490215:52
mupBug #1584902: Setting RabbitMQ NODENAME to non-FQDN breaks on MaaS 2.0 <backport-potential> <canonical-bootstack> <conjure> <cpec> <juju2> <maas2> <sts> <rabbitmq-server (Juju Charms Collection):New for james-page> <https://launchpad.net/bugs/1584902>15:52
arosalesrick_h_: thanks and very reasonable approach.15:52
arosales:-)15:52
dooferladkwmonroe: thanks - that certainly points to a fix!15:52
arosalesthanks to vmorris for testing and providing feedback15:52
vmorristhanks arosales & all for the attention15:53
arosalesrick_h_: admcleod was also going to be setting up openstack on s390x, manual on lpar, and with lxd (I think) and see if he can reproduce https://bugs.launchpad.net/juju/+bug/163203015:53
mupBug #1632030: juju-db fails to start -- WiredTiger reports Input/output error <juju> <juju-db> <mongodb> <s390x> <juju:Incomplete> <Ubuntu on IBM z Systems:Incomplete> <https://launchpad.net/bugs/1632030>15:53
arosalesvmorris: I think LXD + Ubuntu on LPAR is a really solid use case, so would like to make sure it is working smoothly15:54
kwmonroedooferlad: fwiw, this feels eerily familiar to https://bugs.launchpad.net/juju/+bug/1623480, but that bug was about a single container not being able to address itself.  it's like just a baby step farther to make sure multiple containers can address each other (by ensuring domainname = '.lxd').. i think :)15:56
mupBug #1623480: Cannot resolve own hostname in LXD container <lxd> <network> <juju:Fix Released by dooferlad> <https://launchpad.net/bugs/1623480>15:56
dooferladkwmonroe: agreed.15:56
hallynrick_h_: thanks.  too bad.16:09
vmorrisarosales: agreed, the platform is great for packing in containers16:10
beisnerhi arosales, rick_h_ - heads up.  ceilometer and aodh are also about to become more dns-sensitive, not due to changes in the charms, but changes in upstream code where they really really want sane A/PTR resolution all the way around.  this will be a growing theme, not specific to openstack /methinks.16:50
lazyPowerbeisner yep, K8s has gone that way as well on our side of the infra wall. Nice to see we're converging around some of the same ideas in the deployment.16:59
rick_h_beisner: right, we have a long term plan that we've tested works well that'll be coming soon16:59
beisnerfresh bug for reference:  https://bugs.launchpad.net/juju-core/+bug/1632909   slightly different set of tools and providers than the other bugs though, so new bug.17:01
mupBug #1632909: ceilometer-api fails to start on xenial-newton (maas + lxd) <maas-provider> <uosci> <OpenStack AODH Charm:New> <juju-core:New> <ceilometer (Juju Charms Collection):New> <https://launchpad.net/bugs/1632909>17:01
beisnerrick_h_ lazyPower arosales - ultimately if this new canary bundle fails, then all sorts of workloads should be expected to fail.  i'd go as far as to suggest TDD on juju-core, gated on this passing on providers:  http://bazaar.launchpad.net/~ost-maintainers/openstack-charm-testing/trunk/view/head:/bundles/other/magpie-lxc.yaml17:05
beisnerif that^ passes, so will rabbitmq, ceilometer, nova-cloud-controller and others who need to know names and numbers :-)17:06
rick_h_beisner: that'd be good to send to tbauman and try to get into the stack of things they test there17:06
rick_h_beisner: once we know it works, guessing it doesnt at all currentlY/17:06
rick_h_?17:06
beisnerrick_h_, yep we talked about it at the sprint and sinzui is planning something i believe.17:07
rick_h_ok17:07
beisnerrick_h_, for ex., that is known to fail on the openstack provider and manual provider, since lxc units go to an island behind nat.  if you need a measure of fixing that, then this bundle is your baby.17:10
arosalesbeisner: it feels like the problem is larger than rabbit, thanks for testing your bundle to confirm that with data.17:13
=== frankban is now known as frankban|afk
beisnerarosales, lazyPower - yep, glad we're either all crazy or right :-)17:19
lazyPowerbeisner the one difference is k8s is shipping with its own dns provider to do the mapping. its not relying on env specific dns17:20
lazyPowerits kind of boggling how it all works, theres a lot of moving componentry there that can and might break.17:20
kwmonroecan i specify a unit in the "to: X" bundle placement directive?17:22
arosalesForgot to say happy Yakkety release day17:22
arosalesand OpenStack 16.10 charm release day17:22
kwmonroereading this:  https://jujucharms.com/docs/2.0/charms-bundles#bundle-placement-directives, it seems like i should be able to say "to: ubuntu/0" if an ubuntu was defined earlier.. but that doesn't work:17:23
kwmonroeE: placement ubuntu/0 refers to non-existent service ubuntu/017:23
kwmonroeperhaps that documentation is *only* for lxd placement on a unit?17:23
beisnerwoohoo yes arosales !17:23
rick_h_kwmonroe: you have to target machiens not applications17:23
rick_h_kwmonroe: we don't map the application/unit to the machine, it's to a new machine, new container on an existing machine, etc17:24
beisnerkwmonroe, it'd be --to "ubuntu=0" in juju-deployer speak.17:24
rick_h_kwmonroe: I seriously think that doc section is a lie :/17:25
kwmonroebeisner: say what?  what is this juju-deployer --to stuff you speak of?17:25
beisnerha!  anyway, this has worked for us for all of time:  http://pastebin.ubuntu.com/23319065/17:26
kwmonroemy stars beisner!  i'm fixin to send you an ecard if this works.17:26
rick_h_beisner: ok, but only with the deployer though? or does that work with juju itself?17:26
beisnerrick_h_, i believe so.  juju dash deployer ! juju space deploy ;-)17:27
rick_h_beisner: looking at the code it checks the directive is a machine17:28
kwmonroei think not beisner.. invalid placement syntax "ganglia=0"17:28
rick_h_yea17:28
kwmonroeusing "juju deploy", not "juju-deployer"17:28
beisnerright.  so, rick_h_ as we continue to ramp up 2.0 in osci, you'll likely see a load of feature parity wishlist items from us.  such as this.17:29
rick_h_beisner: I look forward to getting the liste of requests17:30
kwmonroeso rick_h_, riddle me this.  my bundle defines 1 machine.  in juju1, that needs to be 'machine: 1' because machine 0 is taken by the bootstrap node.  in juju2, juju will create the machine as machine-0, so subsequent placement fails (there is no machine-1 in juju2).17:30
beisneroh i've been trying to solve for that equation too.  /me stands by17:30
rick_h_kwmonroe: so bundles all start at 0 and include only machines defined in the bundle17:30
kwmonroei'll whip up a proper bug report, but i think that's what's happeneing17:30
rick_h_kwmonroe: so you're saying that bundle fails on the deployer side? I thought it was updated to accept that in the v4 format17:30
kwmonroerick_h_: if i have a bundle define machine 0 and deploy it on juju1, stuff gets colocated on my bootstrap node17:31
rick_h_kwmonroe: so the machine number cannot and does not relate to a machine in your model, it's all new machines17:31
rick_h_kwmonroe: not with the gui, I'd have to test deployer then17:31
beisnerrick_h_, that's exactly why addressing them by name is valuable ^17:31
kwmonroeyeah rick_h_ -- probably a j-deployer thing.. like i said, i'll write it up more betterer.17:31
kwmonroe+1 beisner17:32
rick_h_beisner: understand, but async and order and ... so name is hard17:32
rick_h_beisner: but yea, it's cool to get it as a request and look at it17:32
rick_h_beisner: just saying that it's been this way for xxxxx months and to get it the day of release is a can of "sorry"17:32
* rick_h_ is having too much fun today, take all that with a giant :)17:32
beisnerha! :-) no i'm not asking for that.17:32
beisnernative deploy ftw;  i've just got both paths to regression test for the lifetime of Trusty, so it's tricky to craft bundles in a way that we don't have to maintain two sets of bundles.17:34
kwmonroewait, we're not doing double digit RCs?17:34
rick_h_beisner: right, but where's the bug on this as part of native deploy?17:35
beisnerback to arosales - happy Yakkety day!17:35
cory_fulazyPower, kjackal_, petevg, kwmonroe: Can I get a re-review on https://github.com/juju-solutions/layer-apache-kafka/pull/1317:39
petevgcory_fu: +1 (I agree that it's okay to fail on a weirdly composed tarball.)17:40
bdxrene4jazz: glad you made it!17:41
bdxlazyPower: I want to introduce you to a colleague of mine, Rene Lopez (rene4jazz)17:42
lazyPowerGreetings rene4jazz o/17:43
bdxlazyPower: Rene is interested in deploying your kub bundle, I thought I would put you guys in touch17:43
beisnerrick_h_, ha, had to dig deep as the one i had been tracking is invalid.  https://bugs.launchpad.net/juju-core/+bug/158344317:43
mupBug #1583443: juju 2.0 doesn't support bundles with 'to: ["service=0"]' placement syntax <juju-core:Invalid> <https://launchpad.net/bugs/1583443>17:43
rick_h_beisner: ah yea not on our radar looking at invalid bugs17:44
rene4jazzGreetings lazyPower17:44
lazyPowerrene4jazz I'm happy to help get you started with Kubes. Do you have any initial questions?17:45
bdxrene4jazz: lazyPower is the maintainer of the kub bundle, I wanted to introduce you two, so hopefully you can bounce ideas off eachother as you run through kub deploys17:45
lazyPowerco-maintainer*17:45
rene4jazzthanks bdx17:45
bdxmybad *^17:45
bdxnp17:45
lazyPowermbruzek does a lot of the heavy lifting too :)  pedantic i know, but he deserves some credit too17:45
bdxdef17:46
bdxmbruzek: props!17:46
lazyPowerhe's out ot lunch and getting props, haha17:46
lazyPowerhe's gonna be bummed he's missing it17:46
lazyPoweri'll relay though. So back to kubernetes17:47
lazyPowerrene4jazz - tell me a little bit about your wants/needs here. I have it on good authority you were pioneering on LXD - which is unfortunately not supported at this time for most of the charms.17:47
rene4jazzlazyPower, I'm curious about the kub bundle and started to mess with it. My first approach was to try with the localhost (lxc based) provider17:48
lazyPoweryeah, we really need to move that warning up in the README... its buried at the bottom under the caveats17:48
rene4jazzMy goal is first deploy the bundle then start adding pods for several app related services17:49
lazyPowerOk. Is localhost your primary option for exploration? The cost of using clouds being the prohibitive factor here....17:50
rene4jazzlazyPower, correct... cost is a factor17:50
lazyPowerrene4jazz - so this limits options, but we can work with this. Are you familiar with KVM?17:51
rene4jazzlazyPower, the Hypervisor?17:52
lazyPowercorrect. What i'm going to propose is using the manual provider to enlist a few KVM vm's, and test there. We can trim the bundle down to only the K8s charms whcih will save you some effort in how many VM's to provision.17:53
bdxlazyPower: what about developer.juju.solutions .. is that not a thing anymore?17:55
lazyPowerbdx - oh yeah! i forgot all about it17:55
lazyPowerbdx nice save17:55
rene4jazzlazyPower, bundle size is fine, I can deal with the VM numbers17:55
kwmonroerick_h_: i'm game to make a juju doc PR.  to be clear, the placement directive section should talk about machine placement only, and those should be defined in a 0-based "machines:" section.  right?17:55
=== adam_g` is now known as adam_g
kwmonroerick_h_: and to be doubly clear, i'm talking about updating this page: https://jujucharms.com/docs/2.0/charms-bundles#bundle-placement-directives17:56
lazyPowerrene4jazz - alternatively, if you're up for it we can get you on the charm developer program which will give you some AWS runtime while you explore the bundle in its entirety, on aws.17:56
rick_h_kwmonroe: yes17:56
kwmonroegot it17:56
lazyPowerrene4jazz if you're interested in the charm developer program - head over to http://developer.juju.solutions and sign up for the CDP17:57
rene4jazzlazyPower: great to know, right now will keep exploring local options, thanks for the help17:58
lazyPowerrene4jazz - OK. I'm here to lend a hand if you have any questions. feel free to ping17:58
kwmonroeah crap.. #thatfeelingwhen you mistype 'branch -d' instead of 'checkout -b' :/18:02
lazyPowerhope you pushed it remotely so you can re-fetch18:02
kwmonroedont' be silly lazyPower.  i'm too agile for all this "pushing" and "remote" nonsense18:03
kwmonroeand to top it off, my time machine backup disk died 2 days ago, and of course i turned off mobilebackups because #dumb.18:03
lazyPowerWhoops18:03
kwmonroeshould have gotten a thinkpad18:04
lazyPowermy thinkpad has hw failure scrolling in dmesg :(18:04
kwmonroelol.. maybe a dell then.18:04
lazyPowerwell i also purchased it like fifth or sixth hand18:04
lazyPowerassuming anyway18:04
=== Guest38941 is now known as med_
vmorrisdoes anyone have experience using nginx or haproxy to reverse proxy access to juju applications?19:49
vmorrislink to a tutorial or some guidance would be appreciated!19:51
x58Is james page in this channel?20:18
vmorrisx58: yeah20:19
x58What's his nick?20:22
vmorrisjamespage20:23
x58Nevermind, found it :P20:23
vmorris><20:23
x58Just didn't tab enough. Too many james's20:23
jamespagehello20:23
jamespagevmorris, there is a haproxy charm that does that20:23
vmorrisjamespage thanks, i'm looking into it now20:23
jamespagebasically any juju app that provides an http interface can be loadbanlanced20:23
jamespagevmorris, context?20:24
x58jamespage: https://bugs.launchpad.net/charms/+source/rabbitmq-server/+bug/1584902 this being reverted is worrying to me...20:24
mupBug #1584902: Setting RabbitMQ NODENAME to non-FQDN breaks on MaaS 2.0 <backport-potential> <canonical-bootstack> <conjure> <cpec> <juju2> <maas2> <sts> <rabbitmq-server (Juju Charms Collection):New for james-page> <https://launchpad.net/bugs/1584902>20:24
jamespagex58, well it broke alot more things than it fixed - what's your specific concern?20:24
x58jamespage: It will break our deployment on 2.0, where it will use the wrong NODENAME and won't cluster/do anything.20:25
x58The fix that went in was specifically to support deployments on 2.0, I understand that it apparently breaks 1.25.x but reverting it doesn't seem like the right thing to do either.20:26
jamespagex58, no it still needs fixing20:26
jamespagex58, tbh alot of this relates to the fact that we need a consistent, resolvable hostname based environment from juju20:27
x58We have had 40+ deployments in our lab with 2.0 with the charm as it stands now, and everything clusters and works without issues.20:27
x58Yeah...20:27
jamespagex58, a charm should never have to mess with /etc/hosts20:27
jamespageand that was the fix we tried20:27
jamespagebasically unless every rabbit unit had the same view as every other one, units failed to cluster20:28
x58As I mentioned, currently it works for us. It may not be ideal, but it works. Reverting it will break it.20:29
x58A better solution should be found...20:29
jamespagex58, fix your charm version for the time being20:30
jamespagex58, we will have a better fix for 2.0 users20:31
jamespageif a particular version works now, continue to use that and don't upgrade20:31
x58Ok. Will do.20:31
jamespagex58, actually wait - which charm version are you using? I reverted this in the stable charm as well as the dev brnach20:31
x58Let me check my bundle file.20:31
=== rmcall_ is now known as rmcall
x58prod: cs:~openstack-charmers-next/xenial/rabbitmq-server lab: rabbitmq-server20:34
x58I just noticed the comment on the bug, we haven't had to redeploy lab yet, but I have a feeling that as soon as we grab the reverted version, we are going to hit the original bug.20:35
kwmonroerick_h_ beisner: if you'd like to double check the language, i merged the "machine specifications" and "bundle placement" sections into 1 as per our earlier discussion:  https://github.com/juju/docs/pull/144820:35
kwmonroe(that is, apps can specify machine placement, not service/X placement)20:35
x58jamespage: ^^20:37
jamespagex58, yeah if you deploy clustered I think you will20:37
x58What was the previous version so we can pin that?20:38
vmorristhis is a dumb question, but how do i get the credentials for the percona db post-deploy?20:39
beisnervmorris, i believe you have to set it via the charm config options20:40
vmorrisdeployed via the openstack-base bundle, it wasn't set20:40
vmorrislooking at the juju config output...20:41
vmorris  root-password:20:41
vmorris    default: true20:41
vmorris?20:41
jamespagex58, I think its https://jujucharms.com/rabbitmq-server/xenial/520:44
jamespagerabbitmq-server-520:44
jamespagevmorris, ok so there is a gotcha here - if you want to deploy multiple pxc units, you must provide via configuration20:45
jamespagevmorris, I need to spend some time on pxc overhauling the bootstrap process and password management stuff to use leader election20:45
jamespageit pre-dates juju providing anything helpful for generating passwords for clustered services from with a unit20:46
beisnerhi kwmonroe, rick_h_ i'd prefer to defer to someone on juju-core who is code-familiar with native deployer re: docs.20:47
jamespagex58, just confirming that now - have a MAAS 2.0 /Juju 2.0 env I'm doing some other testing in20:48
jamespageits nippy so spinning a few more contains is OK20:48
jamespagex58, yup that version lgtm20:52
jamespagehttp://paste.ubuntu.com/23320046/20:52
x58Excellent. Will pin it.20:53
x58Thanks jamespage!20:57
x58Looking forward to seeing the issue fixed properly.20:57
x58Is there something logging the channel to HTTP? Something like botbot.me would be awesome.20:59
x58https://botbot.me/request/21:00
hallynso if i have a workload running in, say environment gce, can i juju switch amazon, start a differnet workload, and switch back and forth?  /me is afraid to try and ruin the currnet install :)21:02
freyesx58, you can find the logs at https://irclogs.ubuntu.com/2016/10/13/%23juju.html21:05
x58Excellent.21:05
x58Would be nice to drop a link to that in the topic!21:05
x58Doesn't have latest logs :-(21:06
x58I spoke too soon ;-)21:07
vmorrisjamespages: thanks for that21:27
kwmonroehallyn: sure, you can switch back and forth between controllers/models.  the only think i would be wary of is doing something like "juju bootstrap foo" in a tmux session and then "juju bootstrap bar" in another.22:06
kwmonroehallyn: that said, once the controller has received your request and you're returned to a command prompt, you can switch to whatever your heart desiers.22:07
kwmonroe*desires22:07
hallynkwmonroe: and switch back and forth?22:10
kwmonroesure hallyn.. juju doesn't forget when you switch to something else :)22:11
rick_h_hallyn: kwmonroe and most commands taje a -m for a model or controller:model combo22:11
rick_h_so you can status w/o a switch and such22:12
kwmonroehallyn: 'juju controllers' and 'juju models' are a lifesaver for me to remember where my stuff is deployed22:12
hallynkwmonroe: awesome!  thx :)22:12
kwmonroehallyn: let me know when you try it so i can sign off22:12
kwmonroe(totally kiddin)22:13
hallyn:)22:13
hallyndrat, i guess models are purely a 2.0 thing22:17
rick_h_hallyn: yes, whooe new world22:18
rick_h_whole22:19
kwmonroehallyn: it's true models are new in 2.0, but you can still switch in juju 1.25.  i go from aws to azure all the time.22:30
kwmonroehallyn: again, the only thing i would be concerned about is if you did an operation (like bootstrapping one env) and switched before it was completed.22:31
kwmonroebut you should really just go to juju2. like rick_h_ said, it's a whole new (better) world :)22:31
kwmonroego to yacketty while you're at it ;)22:31
pmatulishow do i influence the contents of /etc/neutron/plugins/ml2/ml2_conf.ini ? i'm using a bundle to set up openstack23:56

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