Project

General

Profile

Bug #48031

Cephadm: Needs to pass cluster.listen-address to alertmanager

Added by Dan Williams 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
cephadm/monitoring
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

When using public IP with the ceph dashboard/monitoring, alert manager will not start with the following error message:

level=warn ts=2020-10-28T17:02:48 caller=cluster.go:154 component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise add no provided" 
level=error ts=2020-10-28T17:02:48 caller=main.go:256 msg="unable to initialize gossip mesh" err="create member list: Failed to get find advertise address: No private IP address found, and explicit IP not provided" 

Workaround-ish:

Pass the ip of the node running alert manager using the extra flag "--cluster.listen-address=<ip>:9094" as part of the unit.run file.
In fact it seems passing any string instead of <ip> allows alert manager to start, just without gossip (clustering) which is probably ok in most cases.

History

#1 Updated by Dan Williams 3 months ago

I've submitted a pull request.

https://github.com/ceph/ceph/pull/37883

#2 Updated by Patrick Seidensal 3 months ago

  • Pull request ID set to 37883

#3 Updated by Nathan Cutler 3 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Sebastian Wagner 2 months ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Sebastian Wagner about 1 month ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF