/srv/irclogs.ubuntu.com/2018/03/28/#juju.txt

ybaumydo i need ipv4 in order to get bootstrap working or setup a kubernetes cluster01:56
rick_h_ybaumy: yes, you mean vs you just have ipv6 right now?02:25
ybaumyrick_h_: im currently switching to ipv6 only where possible.03:27
ybaumyConnected to 2a01:238:4241:932f:250:56ff:fe8e:1a3a03:28
ybaumyRunning machine configuration script...03:28
ybaumythen it hangs forever03:28
ybaumythats the bootstrap03:28
ybaumynow i enabled ipv4 dhcp on that vlan. the controller gets an ip. but still hangs. ipv6 has precedence over ipv4 that might be the reason or?03:58
rick_h_ybaumy: hmm, yea might have to check the controller details in the .local/share/juju directory and see what IPs are written out there for the controller04:03
ybaumyrick_h_: in bootstrap-config.yaml and controller.yaml there is no ip04:07
rick_h_ybaumy: in cat .local/share/juju/controllers.yaml there's no api endpoints list of addresses?04:07
ybaumyapi-endpoints: []04:08
rick_h_hmm, maybe it's not gotten far enough to write that out then. Try doing the bootstrap with --debug04:08
rick_h_and seeing what it's trying to connect to04:08
ybaumyrick_h_: i think that might have to do with router advertisement ipv6 addresses in my vlan. all nodes get an address from an official range. then ipv6 takes over even if the node has an ipv4 address. ipv6 protocoll comes first04:10
ybaumyspeculating .. im running debug right now04:11
ybaumyhttp://pastebin.centos.org/613846/04:12
rick_h_ybaumy: gotcha, yea not sure. I know and audit was done a little bit ago on what was remaining to fully enable ipv6 and it was a short list, but don't know where it's at on the "make it so" list.04:12
rick_h_ybaumy: yea, so it's trying to ssh to the controller and failing04:12
rick_h_guessing the IPV6 address is failing to come across as a legit address to the code.04:13
ybaumyseems like it04:13
ybaumyis there a switch for turning off ipv6 in that case.. i cant disable RA on the router04:14
rick_h_so you can turn off ipv6 in the lxd setup...but what provider is this? MAAS?04:16
ybaumyvsphere04:16
ybaumycant turn off ipv6 in esx or vcenter04:17
rick_h_oh, you walked outside my wheelhouse now.04:17
rick_h_sorry, might have to point you to the mailing list from here04:17
ybaumyhmm04:17
TheAbsentOneAm I allowed to ping marcoceppi for some juju internals questions? ^^ I was wondering if the lifecycle diagram here is still relevant: https://stackoverflow.com/questions/25159191/explain-about-juju-charms-hooks-file-execution-orders and how the reactive framework can be visualised as every hook runs the reactive framework if I understand correctly?08:09
=== frankban|afk is now known as frankban
chrome0Heya, can someone comment on the semantics of open-port, specifically on conflict checking - why is it an error to try and open a port from several units (which throws "conflicts with existing x/y")08:55
chrome0Context is Bug #1750490 where we want to smoosh several units on one metal08:57
mupBug #1750490: conflicts with existing 5666/tcp when multiple units on the same host <canonical-bootstack> <Charm Helpers:New> <NRPE Charm:New> <https://launchpad.net/bugs/1750490>08:57
chrome0If it's for enabling firewalls, surely it would be ok to have this done from several agents?08:58
=== chrisp_ is now known as chrisp262
rick_h_one hour until the Juju Show #32! https://www.youtube.com/watch?v=jme7qiUG6SE get your party on16:57
=== frankban is now known as frankban|afk
TheAbsentOneHey rick_h_ can I ask you another question or could you tell me who I should reach out to? Maybe through mail or twitter. It's about the lifecycle of a charm and which hooks get called when17:35
rick_h_TheAbsentOne: howdy, hmm. Let me see what we've got on that.17:35
rick_h_TheAbsentOne: hmm, so https://jujucharms.com/docs/2.3/authors-charm-hooks has some basics but not a real list by list17:37
TheAbsentOneYeah I found this https://stackoverflow.com/questions/25159191/explain-about-juju-charms-hooks-file-execution-orders17:38
rick_h_cory_fu: do you know if anyone has a full list of order going?17:38
rick_h_TheAbsentOne: the big thing is that it can really "depend" on what's going on after the first few17:38
TheAbsentOneI'm wondering if this is still correct and how the reactive framework works cuz every hook starts the reactive framework right?17:38
rick_h_TheAbsentOne: heh so you have to remember that's a layer on top of the hook exec process.17:39
TheAbsentOneHmm I see, so I can't really visualise this? That's a pitty as it would really help out a starting charm writer17:39
rick_h_TheAbsentOne: so it's kind of outside all that in a way17:39
rick_h_TheAbsentOne: understand, I think we typically encourage folks to think in either the hook by hook space or the more event/flag sense of the reactive world17:39
TheAbsentOneYeah correct17:39
rick_h_TheAbsentOne: then in the reactive world you don't really worry about the hook order, just the state transitions17:40
TheAbsentOneMaybe that's the best way to approach it, as my use case will focus on reactive "only"17:40
rick_h_if anyone has any helper charts/etc cory_fu would be the one that would know about it as he's written most of the reactive stuff17:41
rick_h_TheAbsentOne: I'd encourage that tbh17:41
rick_h_TheAbsentOne: I like to explain it like using the SDK. Sure, you can probably write working code w/o the sdk but I'd not teach it to anyone new17:41
rick_h_use the SDK guide rails17:41
TheAbsentOneBut I'd really love to visualise how it works, I'm writing a piece about "juju internals" and there I kinda want to explain for a non-juju user how it all works conceptually but more technically then just talking about charms17:42
rick_h_TheAbsentOne: yea, understand. I'm looking but not seeing anything that's recent. Most things are pretty old.17:43
TheAbsentOneYeah that's the only frustrating thing I encountered the past few weeks about juju :P17:44
TheAbsentOneI might try something out and post it here for verification and otherwise no visual help I guess xD thanks for the help rick_h_ really appreciate it!17:45
rick_h_TheAbsentOne: use the mailing list. It's a good carrot for folks getting the ball rolling17:45
rick_h_"hey, I'm working on xxxx and have this but would love more detail..."17:45
rick_h_I'm sure some folks have things but doesn't look like it's out of their own notes and into something more public facing17:46
TheAbsentOneYeah well thought about that but I'm kinda hesitant as a newbie I don't really think my questions belong there17:47
rick_h_TheAbsentOne: permission granted :P17:48
TheAbsentOneI'm gonna ask my supervisors first I think before they receive my email hehe but I'll think about it thanks for the suggestion17:49
TheAbsentOneI'm allready subscribed so it's only mailing to juju@lists.ubuntu.com right?17:50
rick_h_TheAbsentOne: yea, that's the list17:50
TheAbsentOnegreath thanks again rick_h_ !17:50
rick_h_best way to kick off a conversation with folks and get lots of great feedback and completely for beginners as well to ask things :)17:50
rick_h_10minutes until the juju show!!!17:50
TheAbsentOneLooking forward to it ^^17:52
rick_h_The Juju Show - participation link: https://hangouts.google.com/hangouts/_/pnxg6ftkjfhp3d5rcfjamilurme17:53
rick_h_The streaming link https://www.youtube.com/watch?v=jme7qiUG6SE17:53
rick_h_cory_fu: kwmonroe bdx hml and other magicaltrout and other folks ^17:54
kwmonroesorry rick_h_, gonna have to sit this one out :/17:57
rick_h_kwmonroe: boooo, but have fun17:57
bdxrick_h: fyi - https://github.com/juju-solutions/layer-basic/issues/10918:15
bdxdidn't mean to rain on your parade :)18:15
rick_h_bdx: ah ok cool18:16
rick_h_I hadn't seen that one yet18:16
TheAbsentOnethis juju show was so important to me xD I completely forgot about actions18:57
=== beisner is now known as beisner-afk
=== beisner-afk is now known as beisner

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