Project

General

Profile

Bug #48031

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

Added by Dan Williams over 3 years ago. Updated over 3 years 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 (v1):
Crash signature (v2):

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 over 3 years ago

I've submitted a pull request.

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

#2 Updated by Patrick Seidensal over 3 years ago

  • Pull request ID set to 37883

#3 Updated by Nathan Cutler over 3 years ago

  • Status changed from New to Fix Under Review

#4 Updated by Sebastian Wagner over 3 years ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Sebastian Wagner over 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF