Project

General

Profile

Documentation #44828

cephadm: clarify "Failed to infer CIDR network for mon ip"

Added by Sebastian Wagner 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
cephadm (binary)
Target version:
% Done:

0%

Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

[22:27:31] <xirius> I follow the instruction to bootstrap a new (octopus) cluster: cephadm bootstrap --mon-ip *<mon-ip>* but I get an error: ERROR: Failed to infer CIDR network for mon ip ***; pass --skip-mon-network to configure it later
[22:27:37] <xirius> What does it mean ?

We have to clarify the error message. E.g. tell users that they have to call

ceph config set mon public_network <mon_network>

after they've called bootstrap.

(alternatively, add an argument --public-network to bootstrap)

History

#1 Updated by Sebastian Wagner 3 months ago

  • Priority changed from Normal to High

#2 Updated by Sebastian Wagner 3 months ago

  • Tracker changed from Bug to Documentation

#5 Updated by Zac Dover 3 months ago

See
https://github.com/ceph/ceph/pull/34589

This PR addresses this issue.

#6 Updated by Sebastian Wagner 3 months ago

  • Assignee set to Zac Dover

#7 Updated by Sebastian Wagner 3 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 34590

#8 Updated by Sebastian Wagner 2 months ago

  • Status changed from Fix Under Review to Pending Backport

#9 Updated by Zac Dover about 2 months ago

https://pad.ceph.com/p/cidr_error_cephadm_docs

The list of commands in this Etherpad represents Zac Dover's 26 May 2020 walkthrough of the docs as they currently stand on https://ceph.readthedocs.io/en/latest/cephadm/install/

The upshot is that the procedure as described on the website results in a CIDR error exactly like the one here.

We will need to provide an example command to accompany "ceph config set mon public_network <mon_network>", because right now it is not clear what "<mon_network>" is supposed to look like. My ignorant guess is something like "192.168.1.0/24".

#10 Updated by Juan Miguel Olmo Martínez about 1 month ago

Zac Dover wrote:

https://pad.ceph.com/p/cidr_error_cephadm_docs

The list of commands in this Etherpad represents Zac Dover's 26 May 2020 walkthrough of the docs as they currently stand on https://ceph.readthedocs.io/en/latest/cephadm/install/

The upshot is that the procedure as described on the website results in a CIDR error exactly like the one here.

We will need to provide an example command to accompany "ceph config set mon public_network <mon_network>", because right now it is not clear what "<mon_network>" is supposed to look like. My ignorant guess is something like "192.168.1.0/24".

In the same document you pointed:
https://ceph.readthedocs.io/en/latest/cephadm/install/
You have the section (DEPLOY ADDITIONAL MONITORS (OPTIONAL)¶) that offers the practical example you need.

#11 Updated by Sebastian Wagner about 1 month ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.4

Also available in: Atom PDF