codership / galera-manager-support

Galera Manager Support Repository
7 stars 2 forks source link

galera manager not starting without external connectivity | also posted on codership google group #96

Open mjhgthb opened 4 months ago

mjhgthb commented 4 months ago

We installed galera manager on an internal node, and it starts, but crashes after it finds it cannot connect to "http://checkip.amazonaws.com/": dial tcp 34.252.239.71:80: i/o timeout

Is that on purpose? Can we not run galera-manager on an internal node? :-(

INFO[2024-03-08T11:51:47.346]/go/pkg/cmd/run.go:69 [github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()](http://github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()) Starting gmd                          
INFO[2024-03-08T11:51:47.346]/go/pkg/cmd/run.go:70 [github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()](http://github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()) Listening on [127.0.0.1:8000](http://127.0.0.1:8000/)            
INFO[2024-03-08T11:51:47.346]/go/pkg/cmd/run.go:73 [github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()](http://github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()) ConfigDir = /var/lib/gmd              
INFO[2024-03-08T11:51:47.346]/go/pkg/cmd/run.go:74 [github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()](http://github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()) LogsDir = /var/log/gmd                
WARN[2024-03-08T11:51:47.347]/go/pkg/cmd/run.go:77 [github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()](http://github.com/codership/galera-manager/pkg/cmd.(*RunCommand).Execute()) Missing INFLUXDB_URL, assuming http://127.0.0.1:8086/
Get "http://checkip.amazonaws.com/": dial tcp [34.252.239.71:80](http://34.252.239.71/): i/o timeout

and the process ends.

Any way around this?

mjhgthb commented 3 months ago

No one..? Am I the only one seeing this?

byte commented 3 weeks ago

This is part of an "offline install".

From the developers: We really cannot support it easily since we rely on installing 3rd party packages, some from our private repository. Getting it to work in an unconnected environment is very non-trivial. Note, this service is used to determine gmd's external ip. Technically they can specify it manually, but believe me they will come with the other issues.

So consider this a feature request that is currently unsupported @mjhgthb

kkplein commented 3 weeks ago

Hi Colin, Thanks for clarifying this. Appreciated!