/srv/irclogs.ubuntu.com/2019/09/17/#juju.txt

stickupkidFYI: i'm updating jenkins :p07:31
jamstickupkid: our recent merge commits have started mixing line endings (\r\n vs \n). so if you do 'git log --first-parent' you'll see a bunch of \r for the description parts.09:26
jamstickupkid: is that from the plugin change? or did we break something else?09:26
=== nmn is now known as nmnde
=== nmnde_ is now known as nmnde
danboidThe juju api uses port 37017 (via IP4) to communicate to its controllers right?15:54
danboidIt seems 17070 (as stated in the docs) is IP6 only15:54
danboidMy juju controller is only listening on 37017 for IP415:55
danboidShould my juju controller be listening on port 17070 for IP4?15:57
danboidIf so, how do I make it?15:58
danboidI expect I need to tell the juju controller to only use IPv4 do I? How do I do that?16:07
danboidAh! Seems 37017 is just for mongo16:10
danboidI've tried disabling IPv6 in LXD but thats only had the effect of preventing the juu controller starting anything on 17070. Now I only see mongodb ports on my controller16:21
babbageclunkdanboid: sorry, everyone in the juju team is at a team meetup at the moment so we haven't been watching the channel. If your controller isn't listening on 17070 then it sounds like it's not getting to the point of the API server starting up. If you look in the logfile /var/log/juju/machine-0.log, do you see any errors about api-server?16:33
danboidbabbageclunk, Will do if it happens again. I ended up deleting the controller container and creating a new one but running juju bootsrap has paused at `Waiting for address`16:35
danboidIts been waiting for address for a few minutes now16:36
danboidNot a good sign I'd imagine16:36
danboidI have disabled IPv6 in LXD now16:37
danboidlxc network set lxdbr0 ipv6.address none16:37
babbageclunkdanboid: if you run `lxc list` can you see the container running?16:37
babbageclunk(and an IP address?)16:38
danboidyes16:38
danboidThere is a new container but it has no IP16:38
babbageclunkah, ok - it sounds like that'll be the problem16:39
danboidStop a delete it?16:39
danboid*and16:39
babbageclunkif you launch a lxd container with `lxc launch ubuntu:` does it start ok and get an address?16:40
danboidIt created fine...16:41
babbageclunkhmm16:41
danboidno address tho16:42
danboidThe host machine is using IP416:42
danboidI created lxdbr0 with lxc init16:42
danboidCreating juu controllers was working before I disabled IPv6. Maye I should re-enable it16:43
danboidre-enable it in lxd that is16:43
babbageclunkI think juju requires it to be turned off - but I don't remember specifically how it should be configured16:44
danboidThis is where I got the idea from https://github.com/juju/docs/issues/296516:46
babbageclunkdanboid: I think that's right - it's the same error juju will report if it detects ipv6 turned on on lxd16:51
danboidI don't remember seeing any such error16:52
babbageclunkIt looks like we configure the bridge to turn ipv6 off if we create it (because we run lxd init ourselves)16:56
babbageclunkdanboid: can you run `lxc network show lxdbr0` for me?17:00
danboidbabbageclunk, It was like this:17:01
danboidbabbageclunk, https://gist.github.com/danboid/6ce3fd2b0f298fc76630985c8d25d6fd17:01
danboidI have since deleted that container and its rebooting17:02
danboidWhat I thought I'd try is17:02
danboidlxc network set lxdbr0 ipv6.nat false17:02
danboidbut it wasn't letting me, hence the reboot :)17:03
babbageclunkdanboid: just looked at my config - I have ipv6.nat set to true17:03
danboidbut ip6 addressing disabled? Seems a bit odd17:04
babbageclunkthat's the only difference I see from your config17:04
babbageclunkyeah, I wouldn't expect it has any effect17:04
babbageclunkdanboid: sorry, this isn't an area I know much about - I'm tempted to suggest uninstalling and reinstalling lxd.17:06
babbageclunkdanboid: I have to go now unfortunately - sorry to leave you in the lurch!17:08
danboidbabbageclunk, OK, thanks for your help!17:12
danboidFixed it!18:01
danboidI had to add a grub kernel boot parameter on the lxd host machine to disable ipv618:01
danboidipv6.disable=118:01
danboidupdate grub, reboot... tada!18:02
danboidHow long is juju destro-controller supposed to take?18:13
danboidI'm trying to destroy some controllers that were never used18:13
danboidI deleted their conrainers first tho, maybe thats the problem?18:14
danboidI presume it would delete their containers if I'd nor already done that18:15
danboidI don't think its working18:16
danboid`juju controllers --refresh` doesn't seem to work either18:17
rick_hdannf:  yea, if the containers are already gone just use "juju unregister"19:11
rick_hsorry danboid ^19:11
rick_hwho's gone...19:11
=== exsdev0 is now known as exsdev

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