Project

General

Profile

Actions

Documentation #44828

closed

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

Added by Sebastian Wagner about 4 years ago. Updated almost 4 years 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)

Actions #1

Updated by Sebastian Wagner about 4 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Tracker changed from Bug to Documentation
Actions #5

Updated by Zac Dover about 4 years ago

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

This PR addresses this issue.

Actions #6

Updated by Sebastian Wagner about 4 years ago

  • Assignee set to Zac Dover
Actions #7

Updated by Sebastian Wagner almost 4 years ago

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

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #9

Updated by Zac Dover almost 4 years 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".

Actions #10

Updated by Juan Miguel Olmo Martínez almost 4 years 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.

Actions #11

Updated by Sebastian Wagner almost 4 years ago

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

Also available in: Atom PDF