/srv/irclogs.ubuntu.com/2017/06/15/#juju.txt

=== scuttlemonkey is now known as scuttle|afk
Budgie^Smoreare we having fun yet?01:39
rick_hBudgie^Smore: but of course01:40
kjackalGood morning Juju world!06:56
erik_lonroth_kwmonroe: No, its stuck in "configuring spark in yarn client mode" and some of the spark tests included in the actions of the bundle fails related to spark. I'll try post it again soon as this is really close to work for us.07:10
kjackalhi erik_lonroth_ based on https://github.com/apache/bigtop/blob/master/bigtop-packages/src/charm/spark/layer-spark/reactive/spark.py#L167 in the juju logs you should be seeing something like that  "Configuring spark with deployment matrix" can you share this so we know why is the charm trying to do?07:29
boolmanhow do juju choose which IP to use as dns/agent-address? on my deployment it uses the wrong one and I end up with nodes that are unreachable08:05
kjackalboolman: I do not think you have a control over the IP unless you use the manual provider (aka create the machine/unit yourself and then add it to juju). There is however the concept of network spaces: https://jujucharms.com/docs/1.25/wip-spaces08:27
kjackalHavent used spaces myself but could help you specify your network requirements08:27
kjackalboolman: sorry this is the right url for spaces: https://jujucharms.com/docs/2.1/network-spaces08:28
boolmankjackal: the problem I'm having is that I have nodes with 4-5 subnets/vlans and I have no real control over what IP the juju agent gets. so You're saying that I need to configure the nodes myself? via curtain for example08:39
kjackalboolman: I think you should try configuring network spaces08:40
boolmanI have configured network spaces, or what do you mean by that?08:40
boolmanI have 1 space per purpose08:41
kjackalboolman: awesome, when deploying with the network space constraint you get an IP from a subnet you donot want?08:42
boolmanwhere do I specify constraint, on the machine or on the services/units?08:43
boolmanbut does that actually force the subnet on which the juju agent uses?08:43
kjackalboolman: you should be able to do something like "juju deploy mediawiki -n 2 --constraints spaces=cms"08:43
boolmanI'm not sure if I follow, on the services I'm configuring binding: space: myspace and I guess thats working. but since the nodes get the wrong DNS/IP the agents are unreachable08:46
boolmanso its not deploying shit right now08:47
boolmanif I delete that interface on the node, it chooses another random ip/subnet08:49
kjackalboolman: can you show me how you created the network spaces?08:55
boolmanthey are created from maas08:55
kjackalI see... so juju list-spaces and juju list-subnets gets you anything?08:57
boolmanhttp://ix.io/xvt08:58
kjackalok so if you do a "juju deploy mediawiki --constraints spaces=internal" you get a machine with an IP on 10.1.3.0/24 but it is not reachable by the juju controller?09:02
boolmani will get an IP of 8.8.8.0/24 range09:03
kjackalthat is strange... so you get a machine on the front-end space although you requested the internal.09:04
kjackalboolman: can you try this other syntax: "juju deploy mysql --bind db-space" ?09:06
boolmanthis seems pretty dead on https://bugs.launchpad.net/juju/+bug/147306909:07
mupBug #1473069: Inconsistency of determining IP addresses in MAAS environment between hosts and LXC containers <2.0> <addressability> <bug-squad> <cdo-qa-blocker> <landscape> <lxc> <maas-provider> <networking> <uosci> <juju:Fix Committed> <Landscape Server:Invalid> <https://launchpad.net/bugs/1473069>09:07
=== scuttle|afk is now known as scuttlemonkey
vdsI have a subordinate charm that failed on some units, https://paste.ubuntu.com/24864747/ , I know I can't remove the subordinate charm unit without removing the principal, but the system is working fine and the error doesn't really have any effect, what other option do I have to fix the deployment?14:27
SimonKLBvds: that's actually not the case, if you remove the relation to the subordinate charm it should be stopped and removed from the machine14:39
kwmonroeyeah vds, in the just released juju-2.2, removing sub relations should now remove the sub unit as well.  bug 1686696 for reference.14:55
mupBug #1686696: Subordinate units won't die until all principal relations are gone <juju:Fix Committed by 2-xtian> <https://launchpad.net/bugs/1686696>14:55
vdsSimonKLB kwmonroe thx!14:55
=== frankban is now known as frankban|afk
jay_Hello all, would like to know if anyone has ever tried taking a running docker container, and then adding it as a machine with juju? I gave it try, but come across some errors that don't really give my much insight into what might be wrong. The error just states something about an invalid entity name or password. Not much to work off of.16:31
rick_hjay_: so I think the big thing is that Juju expects to be able to download, install, and modify things in the container in such as way that normally you'd build a new image to launch.17:17
rick_hjay_: so I don't know that the juju way of "give me a machine and I'll get it all set up" works.17:17
rick_hjay_: now there's definitely some ideas around a different kind of charm or something down the road that might play along nice with other Juju managed applications but that's idea stuff atm17:18
Budgie^SmoreO/20:01
lazyPowerBudgie^Smore: \o20:05

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