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

keremasciHi All,08:14
SuneKHey08:16
keremasciHi,08:22
keremasciis there anyone there ?08:22
keremasciHelo08:24
keremasciHelloooo08:29
thumperpeople here, some just very async08:37
keremIs there anybody there?08:49
=== frankban|afk is now known as frankban
TheAbsentOneA lot of people are here. :)08:59
iceywhen issuing a `juju run`, what user is the command run under? I thought that it was root but I don't have permissions to create some directories, so now I'm curious :)09:08
blahdeblahicey: ubuntu - same user as if you run 'juju ssh'.  If you want root, you can use sudo.09:09
iceyblahdeblah: yeah, that's what I'm doing now :); thanks!09:10
kwmonroearosales: happy valentines day:  bug 174930215:48
mupBug #1749302: manual add-cloud should be more descriptive about the endpoint requirements <docteam> <juju:New> <https://launchpad.net/bugs/1749302>15:48
kwmonroebetter late than never ;)15:48
wpkrogpeppe: re: my PR, I know; That's what I did at first, there's a deeper problem there with Mongo not joining replicaset (sometimes..)16:07
=== frankban is now known as frankban|afk
rogpeppewpk: sorry, i don't understand16:17
rogpeppewpk: how are the API addresses related to mongo replica sets?16:17
rogpeppewpk: it's just that the code that i saw just looked fragile to me.16:18
wpkrogpeppe: At first I did it your way and it failed (with mongos on HA nodes not joining replicaset), I got to think that those addresses are used for mongo too. Then I did it the way in PR and it worked. Then I tested it again and it didn't16:19
wpkthere's a weird race somewhere, currently working on it16:19
rogpeppewpk: hmm, looks like there's a deeper issue there that you're papering over... :)16:20
rogpeppewpk: i don't understand why you can't just use all the addresses anyway16:20
rogpeppewpk: ah, because you don't want to accidentally connect to a remote node i guess16:21
wpkrogpeppe: Yes16:21
wpkrogpeppe: since that caused problems before - that's why we're forcing localhost to be first on the list, but it doesn't help in all cases as apicaller can be up before apiserver16:21
rogpeppewpk: you could filter the addresses rather than just choosing the first one (filter all addresses that aren't localhost addresses)16:22
rogpeppewpk: that would be more robust (and i think it would make sense in the code too)16:22
wpkrogpeppe: For controller I'll just give one address in APIInfo.Addrs16:22
wpk(just like you suggested, as this was my first thought too)16:23
wpkBut for now I need to figure out the deeper issue16:23
rogpeppewpk: that's fine too.16:23
rogpeppewpk: yeah. replica sets can be unreliable16:23
rogpeppewpk: although i don't think we derive API addresses from mongo replicaset addresses do we?16:24
wpkrogpeppe: we don't16:24
rogpeppewpk: ah, i guess that if the API server can't connect to its local mongod, it won't be up and therefore nothing will be able to connect to it16:25
wpkrogpeppe: the final symptom is that we can't connect to local mongo (as it's not in replicaset), so we can't start state, and since we're only connecting to ourselves we can't start apicaller and the rest of stuff16:25
wpkrogpeppe: and I guess there's something to prevent it if we can connect to other controllers somehow16:25
rogpeppewpk: in that case, i think just filtering for localhost addresses should work fine (and it's a fairly local change)16:25
rogpeppewpk: network.SelectInternalHostPort(addrs, true) might do the job16:29
rogpeppewpk: or probably SelectInternalHostPorts, although there shouldn't be a difference16:29
* rogpeppe isn't very keen on the juju/network package16:29
wpkrogpeppe: the problem is somewhere else16:45
wpkDoesn't work: juju bootstrap aws --no-gui && juju switch controller && juju model-config logging-config="<root>=DEBUG" && juju enable-ha16:45
wpkWorks: juju bootstrap aws --no-gui && juju switch controller && juju model-config logging-config="<root>=DEBUG;juju.mongo=TRACE" && juju enable-ha16:45
arosaleskwmonroe: you know just how to sweet talk me.17:29
kwmonroeheh17:29
ejathi, im facing neutron-gateway/0: hook failed: "config-changed" ... im using openstack-telemetry bundle with MAAS. Any advise how should i resolve the charm19:44
kwmonroeejat: how is it failing?  juju debug-log -i neutron-gateway/0 --replay | pastebinit19:58

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