Bug 2104947 - [RFE] [orchestrator] : orchestrator can be lenient in matching subnets : says 10.1.xxx.xxx doesn't belong to 10.0.0.0/8
Summary: [RFE] [orchestrator] : orchestrator can be lenient in matching subnets : says...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 6.0
Assignee: Redouane Kachach Elhichou
QA Contact: Manisha Saini
Eliska
URL:
Whiteboard:
Depends On:
Blocks: 2126050
TreeView+ depends on / blocked
 
Reported: 2022-07-07 14:40 UTC by Vasishta
Modified: 2023-03-20 18:57 UTC (History)
6 users (show)

Fixed In Version: ceph-17.2.3-24.el9cp
Doc Type: Bug Fix
Doc Text:
.The network check no longer causes the hosts to be excluded from the monitor network Previously, the network check would fail because `cephadm` would look for the exact match between the host network and some of the configured public networks. This caused the hosts with valid network configuration, which are the hosts with an interface that belonged to `public_network`, to be excluded from the monitor network. With this fix, instead of looking for an exact match, it checks if the host network overlaps with any configured public networks, therefore valid hosts are no longer excluded from the monitor network.
Clone Of:
Environment:
Last Closed: 2023-03-20 18:57:08 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-4682 0 None None None 2022-07-07 14:49:56 UTC
Red Hat Product Errata RHBA-2023:1360 0 None None None 2023-03-20 18:57:48 UTC

Description Vasishta 2022-07-07 14:40:51 UTC
Description of problem:
Wanted to add a monitor with address 10.1.xxx.xxx to cluster which had 10.8.xxx.0/21 as public_network.

changed public network to 10.0.0.0/8, and updated placement
mgr logs said 
>> Filtered out host depxxxx003.xxxx.rxxxxx.com: does not belong to mon public_network (10.0.0.0/8)

cephadm list-networks had listed down below as network -
>>  "10.1.xxx.0/23"

Updated mon public_network to (10.8.xxx.0/21,10.1.xxx.0/23) and reapplied placement

mon got successfully added.

This RFE is to make orchestrator lenient as consider 10.0.0.0/8 as valid public_network as it is.

Version-Release number of selected component (if applicable):
<latest>

Comment 6 Redouane Kachach Elhichou 2022-09-16 08:56:23 UTC
doc text updated.

Comment 8 Redouane Kachach Elhichou 2022-09-21 14:28:15 UTC
Hello Eliska,

Text revision is OK,

Thanks,
Redouane.

Comment 16 errata-xmlrpc 2023-03-20 18:57:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 6.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:1360


Note You need to log in before you can comment on or make changes to this bug.