GCE controllers trying to connect to mongodb using the public IP

Bug #1829513 reported by Junien Fridrick
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

Hi,

Running juju 2.5.4, with HA 3. The controllers are trying to connect to each other via the public IP, which results in the following messages in the machine logs :

2019-05-17 12:14:37 WARNING juju.mongo open.go:160 mongodb connection failed, will retry: dial tcp 104.x.y.z:37017: i/o timeout
2019-05-17 12:14:37 WARNING juju.mongo open.go:160 mongodb connection failed, will retry: dial tcp 35.a.b.c:37017: i/o timeout
2019-05-17 12:14:37 WARNING juju.mongo open.go:160 mongodb connection failed, will retry: dial tcp 104.f.g.h:37017: i/o timeout

This is harmless, as jujud is also trying to (and succeeding) to connect via the internal IPs. But it's still polluting the logs.

Thanks !

Tim Penhey (thumper)
tags: added: canonical-is gce-provider
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1829513] Re: GCE controllers trying to connect to mongodb using the public IP

If things are happy otherwise, I have the feeling this is an issue around
"we list all the IPs, but they only need a subset of them", and then they
issue warnings when some of those addresses don't actually work. (eg, we
ask to connect on both public and private, but only private succeeds, but
you end up with warnings about the public ones, even though we don't need
them.)
The list of addresses to connect to Mongo (by the driver) aren't updatable
while connected (so you also run into warnings when one controller goes
down, you bring up another, but otherwise the connection remains stable.)
It might be interesting if we split the connection information so that you
had one logical unit of Mongod with multiple plausible IPs, and you
wouldn't warn as long as you were connected to one of those IPs (and we'd
want a way to update that list on an existing connection.)

On Wed, May 22, 2019 at 3:50 AM Tim Penhey <email address hidden> wrote:

> ** Tags added: canonical-is gce-provider
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1829513
>
> Title:
> GCE controllers trying to connect to mongodb using the public IP
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1829513/+subscriptions
>

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.