Bug 1392304 - Nodes which are not connected to storage management network get incorrect cluster_network set in /etc/ceph/ceph.conf
Summary: Nodes which are not connected to storage management network get incorrect clu...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ga
: 10.0 (Newton)
Assignee: Giulio Fidente
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-07 07:20 UTC by Marius Cornea
Modified: 2016-11-07 19:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 19:38:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Marius Cornea 2016-11-07 07:20:51 UTC
Description of problem:
Nodes which are not connected to storage management network get incorrect cluster_network set in /etc/ceph/ceph.conf. 

For instance a compute node gets the following config:

/etc/ceph/ceph.conf 

[global]
osd_pool_default_min_size = 1
auth_service_required = cephx
mon_initial_members = overcloud-serviceapi-0,overcloud-serviceapi-1,overcloud-serviceapi-2
fsid = d825caf0-a446-11e6-91fe-525400a81fbf
cluster_network = 192.168.0.18/25
auth_supported = cephx
auth_cluster_required = cephx
mon_host = 10.0.0.154,10.0.0.153,10.0.0.157
auth_client_required = cephx
public_network = 10.0.0.144/25

Where 192.168.0.0/25 network is the ctlplane network.

While a Ceph storage node gets the following:

[global]
osd_pool_default_min_size = 1
auth_service_required = cephx
mon_initial_members = overcloud-serviceapi-0,overcloud-serviceapi-1,overcloud-serviceapi-2
fsid = d825caf0-a446-11e6-91fe-525400a81fbf
cluster_network = 10.0.1.14/25
auth_supported = cephx
auth_cluster_required = cephx
mon_host = 10.0.0.154,10.0.0.153,10.0.0.157
auth_client_required = cephx
public_network = 10.0.0.152/25


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-5.0.0-1.2.el7ost.noarch

How reproducible:
100%

I'm not sure if this could lead to any issue but the config on the ceph node is not reflecting the cluster network addressing.

Comment 1 Giulio Fidente 2016-11-07 10:00:23 UTC
When the config files have references to a network which isn't deployed on a node, these fallback to the 'ctlplane' by design, the behaviour we're seeing seems to match the expectations as these nodes don't have a leg on the storage management network.

Ceph clients don't need to use the Ceph cluster_network so this should not be an issue. For those nodes running the CephOSD service instead, which does use cluster_network, it is necessary to configure a NIC on the storage management network.


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